Page 1 of 1
關於VMware的畫面
Posted: Mon Nov 22, 2004 3:30 am
by breaking
因為一些不得不的理由,我在我的gentoo上裝上了VMware
可當我要full screen mode的時候,它卻告訴我說:Xfree86 direct graphics (DGA extension) initalization failed.Cannot switch to full screen mode.
還是和我的/etc/X11/xorg.conf有關?
Code: Select all
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
請問有解麼?
p.s.VMware原本慢到不行的效能讓我到現在還不能睡覺的說(應該說讓我白白等了半個多小時

),不過renice一下,效能就真的很不錯!

Posted: Mon Nov 22, 2004 7:55 am
by hata
Code: Select all
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
把那行 mark 起來就可以了。
Posted: Mon Nov 22, 2004 12:22 pm
by breaking
hata wrote:Code: Select all
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
把那行 mark 起來就可以了。
嗯嗯..........謝謝囉
不過這行 mark 起來,會有其他影響ㄇ?
Posted: Mon Nov 22, 2004 1:24 pm
by 【Palatis】
那個 subsection 是告訴你, 若要關掉 extmod 中某 module, 就用那個方法...
如果您想要全部打開, 就不要放那個 subsection........
Posted: Mon Nov 22, 2004 8:08 pm
by breaking
可是我一把那行 mark 起來X就掛點了........><||
而且我發現它自動生了一個nvidia.ko#new
也就是在我的lib/modules/2.6.9-gentoo-r4/video/中變成有nvidia.ko及nvidia.ko#new這兩個檔案.....就進不了X的說
我只好又把那行 un-mark 起來,然後要re-emerge nvidia-kernel 、nvidia-glx後,才進得了X-win的說.........
我該怎辦?有解麼?
p.s.到http://forums.gentoo.org找資料,也沒找到ㄉ說......><"
/var/log/Xorg.0.log如下
Code: Select all
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE8000000
(--) NVIDIA(0): MMIO registers at 0xE6000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informati
on.
Posted: Mon Nov 22, 2004 8:22 pm
by 【Palatis】
把 mark 起來的 log 跟沒 mark 起來的 log 用 diff 比較看看.
說不定能看出些什麼端倪...
Posted: Mon Nov 22, 2004 11:03 pm
by breaking
在這
http://www.linux.org.tw/CLDP/HOWTO/hard ... WTO-8.html看到
Code: Select all
8.2 不能執行 startx, 日誌當中有這樣的訊息:"(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!"
這是核心模組的問題, 請先用 lsmod 查看模組的載入情況, 如果沒有AGP驅動模組請用 modprobe 載入, 如果在載入的時候出{問題, 可能你所載入的模組並不是為你的核心編譯的. 在編譯的驅動{式的時候可以指定你的核心: 'make install SYSINCLUDE=/path/to/kernel/headers' 模組的名稱為 "NVdriver"
我想應該是nvidia-kernel的問題........

我總於可用使用full mode的vmware在我的nvidia囉...
Posted: Fri Nov 26, 2004 9:40 pm
by breaking
修改/etc/X11/xorg.conf
將這三行註解掉
Code: Select all
SubSection "extmod"
Option "omit xfree86-dga"extension
EndSubSection
然後加上這一行
以下這裡我有開啟.....(但不是粉確定是否可以關掉)
Code: Select all
Load "dri"
Section "DRI"
Mode 0666
EndSection
<僅供參考囉>