由于 Windows 上闪烁和边缘粗糙的问题,即使没有 nvidia 驱动程序,我还是尝试手动重建整个 xorg。我运行了 X -configure 并得到了一个我必须编辑的标准 xorg.conf。我设置了显示器,但总是得到“未找到屏幕”的信息。这是怎么回事?
这是我当前的 xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "dbe"
Load "record"
Load "dri2"
Load "dri"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "SamsungSyncMasterP2770"
HorizSync 30-75
VertRefresh 56-61
Modeline "1920x1080@60" 182.28 1920 1952 2640 2672 1080 1102 1113 1135
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "SamsungSyncMasterP2770"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080@60"
EndSubSection
EndSection
顺便问一下。为什么默认情况下没有 xorg.conf?如果没有它,Ubuntu 如何获取图形数据?
这是 xorg 输出(它是 2 因为我使用 xinit -- :2 测试配置)
[ 7441.101]
X.Org X Server 1.9.0
Release Date: 2010-08-20
[ 7441.101] X Protocol Version 11, Revision 0
[ 7441.101] Build Operating System: Linux 2.6.24-27-server x86_
答案1
[ 7441.884] (EE) NV: 内核模式设置驱动程序正在使用中,拒绝加载
在引导加载程序中传递nomodeset
内核命令行。