+ -
当前位置:首页 → 问答吧 → [已搞定] 折腾了我N天,SLK12的Xorg在我的本本上启动X就是花屏,要么黑屏。各位进来帮忙看看

[已搞定] 折腾了我N天,SLK12的Xorg在我的本本上启动X就是花屏,要么黑屏。各位进来帮忙看看

时间:2007-08-11

来源:互联网

说明一下。我使用的是系统是Absolute 12.0.2 ,基于SLK12,装它的11版本的时候,装好就可以进X 了,可是装了Absolute 12.0.2后,不管我怎么配置就是进不了X ,要么花屏,要么黑屏。系统没有失去响应。但退不出X。可以reboot。试了xorgconfig也是不行,接下来贴一下xorg.conf 。各位帮我看一下,问题出在什么地方。

本本配置是 迅弛1代 512M内存 855GM主板 显卡自带

1、这个是Absolute 12.0.2装好后称xorg配置后,默认配置的xorg.conf
代码:
Section "ServerLayout"
 Identifier "X.org Configured"
 Screen 0 "Screen0" 0 0
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 RgbPath "/usr/share/X11/rgb"
 ModulePath "/usr/lib/xorg/modules"
 FontPath "/usr/share/fonts/TTF"
 FontPath "/usr/share/fonts/OTF"
 FontPath "/usr/share/fonts/Type1"
 FontPath "/usr/share/fonts/misc"
 FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
 Load "glx"
 Load "extmod"
 Load "xtrap"
 Load "record"
 Load "GLcore"
 Load "dbe"
 Load "dri"
 Load "freetype"
 Load "type1"
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 "Monitor0"
 VendorName "Monitor Vendor"
 ModelName "Monitor Model"
EndSection

Section "Device"
 ### Available Driver options are:-
 ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
 ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
 ### [arg]: arg optional
 #Option "NoAccel" # [<bool>]
 #Option "SWcursor" # [<bool>]
 #Option "ColorKey" # <i>
 #Option "CacheLines" # <i>
 #Option "Dac6Bit" # [<bool>]
 #Option "DRI" # [<bool>]
 #Option "NoDDC" # [<bool>]
 #Option "ShowCache" # [<bool>]
 #Option "XvMCSurfaces" # <i>
 #Option "PageFlip" # [<bool>]
 Identifier "Card0"
 Driver "intel"
 VendorName "Intel Corporation"
 BoardName "82852/855GM Integrated Graphics Device"
 BusID "PCI:0:2:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor "Monitor0"
 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
 EndSubSection
EndSection
2、这个是我根据上面这个默认配置修改的配置

代码:
Section "ServerLayout"
 Identifier "X.org Configured"
 Screen 0 "Screen0" 0 0
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 RgbPath "/usr/share/X11/rgb"
 ModulePath "/usr/lib/xorg/modules"
 FontPath "/usr/share/fonts/TTF"
 FontPath "/usr/share/fonts/OTF"
 FontPath "/usr/share/fonts/Type1"
 FontPath "/usr/share/fonts/misc"
 FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
 Load "glx"
 Load "extmod"
 Load "xtrap"
 Load "record"
 Load "GLcore"
 Load "dbe"
 Load "dri"
 Load "freetype"
 Load "type1"
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"
EndSection

Section "Monitor"
 Identifier "Monitor0"
 VendorName "Monitor Vendor"
 ModelName "Monitor Model"
 HorizSync 31.5 - 50.0
 VertRefresh 40-90
 Option "UseEdidFreqs" "1"
EndSection

Section "Device"
 ### Available Driver options are:-
 ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
 ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
 ### [arg]: arg optional
 #Option "NoAccel" # [<bool>]
 #Option "SWcursor" # [<bool>]
 #Option "ColorKey" # <i>
 #Option "CacheLines" # <i>
 #Option "Dac6Bit" # [<bool>]
 #Option "DRI" # [<bool>]
 #Option "NoDDC" # [<bool>]
 #Option "ShowCache" # [<bool>]
 #Option "XvMCSurfaces" # <i>
 #Option "PageFlip" # [<bool>]
 Identifier "Card0"
 Driver "intel"
 VendorName "Intel Corporation"
 BoardName "82852/855GM Integrated Graphics Device"
 BusID "PCI:0:2:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor "Monitor0"
 DefaultDepth 24

 SubSection "Display"
 Depth 24
 Modes "1024x768"
 #Viewport 0 0
 EndSubSection
EndSection
3、这个是在Absolute 11.0.92中安装好默认可用的xorg.conf

代码:
# ***********************************************************************
# This file was generated by vidconfig (Absolute Xorg configuration tool)
# ***********************************************************************


# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
        RgbPath "/usr/X11R6/lib/X11/rgb"
 FontPath "/usr/X11R6/lib/X11/fonts/TTF"
 FontPath "/usr/X11R6/lib/X11/fonts/misc/"
 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection


# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
        Load "glx"
        Load "extmod"
        Load "xtrap"
        Load "record"
        Load "dbe"
        Load "dri"
        Load "freetype"
        Load "type1"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontVTSwitch"
# Option "DontZap"
# Option "DontZoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
# Option "blank time" "10" # 10 minutes
# Option "standby time" "20"
# Option "suspend time" "30"
# Option "off time" "60"

# Option "EstimateSizesAggresively" "0"

EndSection

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
        Identifier      "Keyboard1"
        Driver  "kbd"
#       Option "Protocol" "Xqueue"
#       Option "AutoRepeat" "500 5"
#       Option "Xleds" "1 2 3"
#       Option "XkbDisable"

        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" ""
#       Option "XkbVariant" "us"
#       Option "XkbOptions" ""
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
        Identifier "Mouse1"
        Driver "mouse"
        Option "Protocol" "Auto"
        Option "Device" "/dev/mouse"
#       Option "Protocol" "Xqueue"
#       Option "BaudRate" "9600"
#       Option "SampleRate"   "150"
#       Option "Emulate3Buttons"
#       Option "Emulate3Timeout" "50"
#       Option "ChordMiddle"
        Option "ZAxisMapping" "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
        Identifier "Monitor1"
 VendorName "Monitor Vendor"
 ModelName "The monitor"
 HorizSync 31.5 - 50.0
 VertRefresh 40-90
 Option "UseEdidFreqs" "1"

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
        Identifier "Videocard1"
        VendorName "Intel Corporation"
        BoardName "82852/855GM Integrated Graphics Device"
        Driver "i810"
        BusID "PCI:0:2:0"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
 Identifier "Videoconfig"
 Device "Videocard1"
 Monitor "Monitor1"

 DefaultDepth 24

 Subsection "Display"
 Depth 8
 Modes "1024x768" "800x600" "640x480"
 EndSubsection
 Subsection "Display"
 Depth 16
 Modes "1024x768" "800x600" "640x480"
 EndSubsection
 Subsection "Display"
 Depth 24
 Modes "1024x768" "800x600" "640x480"
 EndSubsection
 Subsection "Display"
 Depth 32
 Modes "1024x768" "800x600" "640x480"
 EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
 Identifier "Simple Layout"
 Screen "Videoconfig"
 InputDevice "Mouse1" "CorePointer"
 InputDevice "Keyboard1" "CoreKeyboard"
EndSection

作者: jazzly   发布时间: 2007-08-11

楼下nbxmedia兄说的有道理

作者: laxi1982   发布时间: 2007-08-12

引用:
Section "Device"
Identifier "Videocard1"
VendorName "Intel Corporation"
BoardName "82852/855GM Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
EndSection
引用:
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82852/855GM Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection



这样看明白了没?

作者: nbxmedia   发布时间: 2007-08-12

按照楼上的,我改成了 i810的驱动,仍然无效。startx后仍然花屏。

顺便问一下。当我startx花屏后,系统还是正常的。那么我怎么样退回到控制台模式呢?
我按alt+F1 或者 ctrl+alt+backspace等都无效。我每次都是ctrl+alt+del 重启再试。这样太郁闷了呀。

作者: jazzly   发布时间: 2007-08-12

xkbcomp 这个包安装了么?

作者: sxzzsf   发布时间: 2007-08-13

http://serghei.net/linux/slackware/s...ches/packages/
升级intel的xorg驱动 slk12自带的intel驱动有点问题!


参考信息:
http://forums.droplinegnome.org/viewtopic.php?t=5611

作者: aishen944   发布时间: 2007-08-13

我还是用的 i810 的驱动 intel 2.x 的进x 系统会先黑一会儿 不爽

作者: sxzzsf   发布时间: 2007-08-13

引用:
作者: sxzzsf
xkbcomp 这个包安装了么?
这个包安装盘默认装上的,x/xkbcomp-1.0.3-i486-1.tgz
版本如上。

我先安装新的intel驱动试试。下载去喽

作者: jazzly   发布时间: 2007-08-13

引用:
作者: aishen944
http://serghei.net/linux/slackware/s...ches/packages/
升级intel的xorg驱动 slk12自带的intel驱动有点问题!


参考信息:
http://forums.droplinegnome.org/viewtopic.php?t=5611

我在你提供的地址看到一个
xf86-video-intel-2.1.0-i486-1.tgz
我想应该是这个吧。直接覆盖安装就行了吧,不用先卸载吧。
不管了。先装上再说

作者: jazzly   发布时间: 2007-08-13

按照aishen944兄说的,安装了xf86-video-intel-2.1.0-i486-1.tgz后终于在startx后可以进入桌面了。谢谢。有个新问题

我的855GM应该选哪个驱动? i810 还是 i830 ,或是其它?
而且在退出X的时候会提示两个错误

(EE) intel (0) I830 Vblank Pipe Setup Failed 0
(EE) intel (0) I830 Vblank Pipe Setup Failed 0

这个代表什么?

作者: jazzly   发布时间: 2007-08-13

用intel就可以了,它是intel官方的开源驱动。i810比较旧了。

作者: windrose   发布时间: 2007-08-13

引用:
作者: windrose
用intel就可以了,它是intel官方的开源驱动。i810比较旧了。
哦。那安装好后,xorg自动配置的文件没有错喽。呵呵。明白了。
那两个错误代表的是什么?

作者: jazzly   发布时间: 2007-08-13

引用:
作者: windrose
用intel就可以了,它是intel官方的开源驱动。i810比较旧了。
我也来学习一下,一直用i810的,看来要用intel了~

作者: laxi1982   发布时间: 2007-08-13

855集成显卡用旧i810驱动几乎完美,用intel驱动不稳定

作者: skyround   发布时间: 2007-09-13

但要使用宽屏的话, 用intel驱动吧.

作者: fredricktoy   发布时间: 2007-09-14

引用:
作者: jazzly
按照楼上的,我改成了 i810的驱动,仍然无效。startx后仍然花屏。

顺便问一下。当我startx花屏后,系统还是正常的。那么我怎么样退回到控制台模式呢?
我按alt+F1 或者 ctrl+alt+backspace等都无效。我每次都是ctrl+alt+del 重启再试。这样太郁闷了呀。
我也想知道~~~

作者: gggompgf   发布时间: 2007-09-14

把xorg的日志贴出来看看

作者: fredricktoy   发布时间: 2007-09-14