LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2766|回复: 16

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

[复制链接]
发表于 2007-8-11 19:00:46 | 显示全部楼层 |阅读模式
说明一下。我使用的是系统是Absolute 12.0.2 ,基于SLK12,装它的11版本的时候,装好就可以进X 了,可是装了Absolute 12.0.2后,不管我怎么配置就是进不了X ,要么花屏,要么黑屏。系统没有失去响应。但退不出X。可以reboot。试了xorgconfig也是不行,接下来贴一下xorg.conf 。各位帮我看一下,问题出在什么地方。

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

[color="Red"]1、这个是Absolute 12.0.2装好后称xorg配置后,默认配置的xorg.conf
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6. EndSection

  7. Section "Files"
  8.         RgbPath      "/usr/share/X11/rgb"
  9.         ModulePath   "/usr/lib/xorg/modules"
  10.         FontPath     "/usr/share/fonts/TTF"
  11.         FontPath     "/usr/share/fonts/OTF"
  12.         FontPath     "/usr/share/fonts/Type1"
  13.         FontPath     "/usr/share/fonts/misc"
  14.         FontPath     "/usr/share/fonts/75dpi/:unscaled"
  15. EndSection

  16. Section "Module"
  17.         Load  "glx"
  18.         Load  "extmod"
  19.         Load  "xtrap"
  20.         Load  "record"
  21.         Load  "GLcore"
  22.         Load  "dbe"
  23.         Load  "dri"
  24.         Load  "freetype"
  25.         Load  "type1"
  26. EndSection

  27. Section "InputDevice"
  28.         Identifier  "Keyboard0"
  29.         Driver      "kbd"
  30. EndSection

  31. Section "InputDevice"
  32.         Identifier  "Mouse0"
  33.         Driver      "mouse"
  34.         Option      "Protocol" "auto"
  35.         Option      "Device" "/dev/input/mice"
  36.         Option      "ZAxisMapping" "4 5 6 7"
  37. EndSection

  38. Section "Monitor"
  39.         Identifier   "Monitor0"
  40.         VendorName   "Monitor Vendor"
  41.         ModelName    "Monitor Model"
  42. EndSection

  43. Section "Device"
  44.         ### Available Driver options are:-
  45.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  46.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  47.         ### [arg]: arg optional
  48.         #Option     "NoAccel"                   # [<bool>]
  49.         #Option     "SWcursor"                  # [<bool>]
  50.         #Option     "ColorKey"                  # <i>
  51.         #Option     "CacheLines"                # <i>
  52.         #Option     "Dac6Bit"                   # [<bool>]
  53.         #Option     "DRI"                       # [<bool>]
  54.         #Option     "NoDDC"                     # [<bool>]
  55.         #Option     "ShowCache"                 # [<bool>]
  56.         #Option     "XvMCSurfaces"              # <i>
  57.         #Option     "PageFlip"                  # [<bool>]
  58.         Identifier  "Card0"
  59.         Driver      "intel"
  60.         VendorName  "Intel Corporation"
  61.         BoardName   "82852/855GM Integrated Graphics Device"
  62.         BusID       "PCI:0:2:0"
  63. EndSection

  64. Section "Screen"
  65.         Identifier "Screen0"
  66.         Device     "Card0"
  67.         Monitor    "Monitor0"
  68.         SubSection "Display"
  69.                 Viewport   0 0
  70.                 Depth     1
  71.         EndSubSection
  72.         SubSection "Display"
  73.                 Viewport   0 0
  74.                 Depth     4
  75.         EndSubSection
  76.         SubSection "Display"
  77.                 Viewport   0 0
  78.                 Depth     8
  79.         EndSubSection
  80.         SubSection "Display"
  81.                 Viewport   0 0
  82.                 Depth     15
  83.         EndSubSection
  84.         SubSection "Display"
  85.                 Viewport   0 0
  86.                 Depth     16
  87.         EndSubSection
  88.         SubSection "Display"
  89.                 Viewport   0 0
  90.                 Depth     24
  91.         EndSubSection
  92. EndSection
复制代码


[color="Red"]2、这个是我根据上面这个默认配置修改的配置

  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6. EndSection

  7. Section "Files"
  8.         RgbPath      "/usr/share/X11/rgb"
  9.         ModulePath   "/usr/lib/xorg/modules"
  10.         FontPath     "/usr/share/fonts/TTF"
  11.         FontPath     "/usr/share/fonts/OTF"
  12.         FontPath     "/usr/share/fonts/Type1"
  13.         FontPath     "/usr/share/fonts/misc"
  14.         FontPath     "/usr/share/fonts/75dpi/:unscaled"
  15. EndSection

  16. Section "Module"
  17.         Load  "glx"
  18.         Load  "extmod"
  19.         Load  "xtrap"
  20.         Load  "record"
  21.         Load  "GLcore"
  22.         Load  "dbe"
  23.         Load  "dri"
  24.         Load  "freetype"
  25.         Load  "type1"
  26. EndSection

  27. Section "InputDevice"
  28.         Identifier  "Keyboard0"
  29.         Driver      "kbd"
  30. EndSection

  31. Section "InputDevice"
  32.         Identifier  "Mouse0"
  33.         Driver      "mouse"
  34.         Option      "Protocol" "auto"
  35.         Option      "Device" "/dev/input/mice"
  36.         Option      "ZAxisMapping" "4 5"
  37. EndSection

  38. Section "Monitor"
  39.         Identifier   "Monitor0"
  40.         VendorName   "Monitor Vendor"
  41.         ModelName    "Monitor Model"
  42.         HorizSync    31.5 - 50.0
  43.         VertRefresh  40-90
  44.         Option       "UseEdidFreqs" "1"
  45. EndSection

  46. Section "Device"
  47.         ### Available Driver options are:-
  48.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  49.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  50.         ### [arg]: arg optional
  51.         #Option     "NoAccel"                   # [<bool>]
  52.         #Option     "SWcursor"                  # [<bool>]
  53.         #Option     "ColorKey"                  # <i>
  54.         #Option     "CacheLines"                # <i>
  55.         #Option     "Dac6Bit"                   # [<bool>]
  56.         #Option     "DRI"                       # [<bool>]
  57.         #Option     "NoDDC"                     # [<bool>]
  58.         #Option     "ShowCache"                 # [<bool>]
  59.         #Option     "XvMCSurfaces"              # <i>
  60.         #Option     "PageFlip"                  # [<bool>]
  61.         Identifier  "Card0"
  62.         Driver      "intel"
  63.         VendorName  "Intel Corporation"
  64.         BoardName   "82852/855GM Integrated Graphics Device"
  65.         BusID       "PCI:0:2:0"
  66. EndSection

  67. Section "Screen"
  68.         Identifier "Screen0"
  69.         Device     "Card0"
  70.         Monitor    "Monitor0"
  71.         DefaultDepth    24

  72.         SubSection "Display"
  73.                 Depth     24
  74.                 Modes   "1024x768"
  75.                 #Viewport   0 0
  76.         EndSubSection
  77. EndSection
复制代码


[color="Red"]3、这个是在Absolute 11.0.92中安装好默认可用的xorg.conf


  1. # ***********************************************************************
  2. # This file was generated by vidconfig (Absolute Xorg configuration tool)
  3. # ***********************************************************************


  4. # **********************************************************************
  5. # Files section.  This allows default font and rgb paths to be set
  6. # **********************************************************************
  7. Section "Files"
  8.         RgbPath      "/usr/X11R6/lib/X11/rgb"
  9.     FontPath   "/usr/X11R6/lib/X11/fonts/TTF"
  10.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  11.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  12.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  13.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  14. EndSection


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

  19. Section "Module"
  20.         Load  "glx"
  21.         Load  "extmod"
  22.         Load  "xtrap"
  23.         Load  "record"
  24.         Load  "dbe"
  25.         Load  "dri"
  26.         Load  "freetype"
  27.         Load  "type1"
  28. EndSection

  29. # **********************************************************************
  30. # Server flags section.
  31. # **********************************************************************

  32. Section "ServerFlags"
  33. #    Option     "NoTrapSignals"
  34. #    Option     "DontVTSwitch"
  35. #    Option     "DontZap"
  36. #    Option     "DontZoom"
  37. #    Option     "DisableVidModeExtension"
  38. #    Option     "AllowNonLocalXvidtune"
  39. #    Option     "DisableModInDev"
  40. #    Option     "AllowNonLocalModInDev"
  41. #    Option      "blank time"    "10"    # 10 minutes
  42. #    Option      "standby time"  "20"
  43. #    Option      "suspend time"  "30"
  44. #    Option      "off time"      "60"

  45. # Option   "EstimateSizesAggresively" "0"

  46. EndSection

  47. # **********************************************************************
  48. # Core keyboard's InputDevice section
  49. # **********************************************************************
  50. Section "InputDevice"
  51.         Identifier        "Keyboard1"
  52.         Driver        "kbd"
  53. #        Option     "Protocol"      "Xqueue"
  54. #        Option     "AutoRepeat"    "500 5"
  55. #        Option     "Xleds" "1 2 3"
  56. #        Option     "XkbDisable"

  57.         Option     "XkbRules"      "xorg"
  58.         Option     "XkbModel"      "pc105"
  59.         Option     "XkbLayout"     ""
  60. #        Option     "XkbVariant"    "us"
  61. #        Option     "XkbOptions"    ""
  62. EndSection


  63. # **********************************************************************
  64. # Core Pointer's InputDevice section
  65. # **********************************************************************

  66. Section "InputDevice"

  67. # Identifier and driver
  68.         Identifier "Mouse1"
  69.         Driver             "mouse"
  70.         Option             "Protocol" "Auto"
  71.         Option             "Device" "/dev/mouse"
  72. #        Option     "Protocol" "Xqueue"
  73. #        Option     "BaudRate" "9600"
  74. #        Option     "SampleRate"        "150"
  75. #        Option     "Emulate3Buttons"
  76. #        Option     "Emulate3Timeout" "50"
  77. #        Option     "ChordMiddle"
  78.         Option     "ZAxisMapping" "4 5"
  79. EndSection


  80. # **********************************************************************
  81. # Monitor section
  82. # **********************************************************************

  83. Section "Monitor"
  84.         Identifier     "Monitor1"
  85.      VendorName "Monitor Vendor"
  86.      ModelName "The monitor"
  87.      HorizSync 31.5 - 50.0
  88.      VertRefresh 40-90
  89.      Option "UseEdidFreqs" "1"

  90. EndSection


  91. # **********************************************************************
  92. # Graphics device section
  93. # **********************************************************************

  94. # Any number of graphics device sections may be present

  95. Section "Device"
  96.         Identifier     "Videocard1"
  97.         VendorName  "Intel Corporation"
  98.         BoardName   "82852/855GM Integrated Graphics Device"
  99.         Driver     "i810"
  100.         BusID       "PCI:0:2:0"
  101. EndSection

  102. # **********************************************************************
  103. # Screen sections
  104. # **********************************************************************

  105. Section "Screen"
  106.     Identifier  "Videoconfig"
  107.     Device      "Videocard1"
  108.     Monitor     "Monitor1"

  109.    DefaultDepth 24

  110.     Subsection "Display"
  111.         Depth       8
  112.         Modes "1024x768" "800x600" "640x480"
  113.     EndSubsection
  114.     Subsection "Display"
  115.         Depth       16
  116.         Modes "1024x768" "800x600" "640x480"
  117.     EndSubsection
  118.     Subsection "Display"
  119.         Depth       24
  120.         Modes "1024x768" "800x600" "640x480"
  121.     EndSubsection
  122.     Subsection "Display"
  123.         Depth       32
  124.         Modes "1024x768" "800x600" "640x480"
  125.     EndSubsection
  126. EndSection

  127. # **********************************************************************
  128. # ServerLayout sections.
  129. # **********************************************************************

  130. Section "ServerLayout"
  131.     Identifier     "Simple Layout"
  132.     Screen      "Videoconfig"
  133.     InputDevice     "Mouse1" "CorePointer"
  134.     InputDevice     "Keyboard1" "CoreKeyboard"
  135. EndSection
复制代码
发表于 2007-8-11 20:46:22 | 显示全部楼层
楼下nbxmedia兄说的有道理
回复 支持 反对

使用道具 举报

发表于 2007-8-12 03:20:03 | 显示全部楼层
Section "Device"
        Identifier     "Videocard1"
        VendorName  "Intel Corporation"
        BoardName   "82852/855GM Integrated Graphics Device"
        Driver     "i810"
        BusID       "CI:0:2:0"
EndSection
Section "Device"
        Identifier  "Card0"
       Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82852/855GM Integrated Graphics Device"
        BusID       "CI:0:2:0"
EndSection




这样看明白了没?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-12 14:13:04 | 显示全部楼层
按照楼上的,我改成了 i810的驱动,仍然无效。startx后仍然花屏。

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

使用道具 举报

发表于 2007-8-12 20:05:32 | 显示全部楼层
xkbcomp 这个包安装了么?
回复 支持 反对

使用道具 举报

发表于 2007-8-12 21:14:39 | 显示全部楼层
http://serghei.net/linux/slackware/slackware/patches/packages/
升级intel的xorg驱动  slk12自带的intel驱动有点问题!


参考信息:
http://forums.droplinegnome.org/viewtopic.php?t=5611
回复 支持 反对

使用道具 举报

发表于 2007-8-12 22:44:26 | 显示全部楼层
我还是用的 i810 的驱动 intel 2.x 的进x 系统会先黑一会儿 不爽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-12 23:44:01 | 显示全部楼层
Post by sxzzsf
xkbcomp 这个包安装了么?


这个包安装盘默认装上的,x/xkbcomp-1.0.3-i486-1.tgz
版本如上。

我先安装新的intel驱动试试。下载去喽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-12 23:47:27 | 显示全部楼层
Post by aishen944
http://serghei.net/linux/slackware/slackware/patches/packages/
升级intel的xorg驱动  slk12自带的intel驱动有点问题!


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



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

使用道具 举报

 楼主| 发表于 2007-8-13 00:08:49 | 显示全部楼层
按照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

这个代表什么?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表