|
我的显卡是 nVidia [GeForce 6100],xorg.conf文件是通过nvidia-xconfig命令自动生成的,但是startx之后就是黑屏,什么都看不到,xorg.conf文件当中的Section "Device"如下
- Section "Device"
- Identifier "Device0"
- Driver "nvidia"
- VendorName "NVIDIA Corporation"
- EndSection
复制代码
如果我把当中的 Driver "nvidia" 改为 Driver "vesa"的话,运行startx就能正常启动X界面,而且这样启动过后Ctrl+Alt+Backspace返回命令行,再重新改回Driver "nvidia",运行startx也可以正常启动了,而且效果好像还更好一点。
请问大家谁知道这是怎么回事?
我的xorg.conf 文件如下,请大家帮忙看下,如果有错误应该如何修改:
- # nvidia-xconfig: X configuration file generated by nvidia-xconfig
- # nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu Jun 5 00:10:21 PDT 2008
- Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0"
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "Mouse0" "CorePointer"
- EndSection
- Section "Files"
- RgbPath "/usr/lib/X11/rgb"
- FontPath "/usr/share/fonts/TTF"
- FontPath "/usr/share/fonts/wqyfonts"
- EndSection
- Section "Module"
- Load "dbe"
- Load "extmod"
- #Load "type1"
- Load "freetype"
- Load "glx"
- Load "vbe"
- Load "int10"
- Load "ddc"
- #Load "shadow"
- EndSection
- Section "InputDevice"
- # generated from default
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/psaux"
- Option "Emulate3Buttons" "no"
- Option "ZAxisMapping" "4 5"
- EndSection
- Section "InputDevice"
- # generated from default
- Identifier "Keyboard0"
- Driver "keyboard"
- EndSection
- Section "Monitor"
- Identifier "Monitor0"
- VendorName "Unknown"
- ModelName "Unknown"
- HorizSync 30.0 - 110.0
- VertRefresh 50.0 - 150.0
- Option "DPMS"
- EndSection
- Section "Device"
- Identifier "Device0"
- Driver "nvidia"
- VendorName "NVIDIA Corporation"
- Option "RenderAccel" "true"
- EndSection
- Section "Screen"
- Identifier "Screen0"
- Device "Device0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 24
- Modes "1280x1024" "1024x768"
- EndSubSection
- EndSection
复制代码 |
|