LinuxSir.cn,穿越时空的Linuxsir!

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

求助:新登录造成死机 [初步判断是xorg和ATi驱动的兼容性问题]

[复制链接]
发表于 2006-9-4 11:42:26 | 显示全部楼层 |阅读模式
版本: x86 2006.1
硬件:Laptop acer 5022 /AMD64/ATi X600 64M/1G/100G

症状:在GNOME中使用"新登录"/"切换用户"  都会造成黑屏然后长久没有响应,而且此时无法用 "ctrl+alt+F1" 切换到字符界面,所以只有硬关机了。

显卡驱动已正查加载:
  1. acer ~ # /opt/ati/bin/fglrxinfo
  2. display: :0.0  screen: 0
  3. OpenGL vendor string: ATI Technologies Inc.
  4. OpenGL renderer string: MOBILITY RADEON X600 Generic
  5. OpenGL version string: 2.0.6011 (8.28.8)
复制代码

以下是x配置文件请大家帮助。

File: /etc/X11/xorg.conf
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Synaptics" "CorePointer"
  5.         InputDevice    "Mouse"      "SendCoreEvents"
  6.         InputDevice    "Keyboard0" "CoreKeyboard"
  7.         Option               "OffTime"  "3"        # 3 indicates number of min until monitor-off
  8. EndSection
  9. Section "ServerFlags"
  10.   Option        "AllowMouseOpenFail"
  11. EndSection
  12. Section "dri"
  13. # Access to OpenGL ICD is allowed for all users:
  14. #    Mode 0666
  15. # Access to OpenGL ICD is restricted to a specific user group:
  16.     Group 27    # video
  17.     Mode 0660
  18. EndSection
  19. Section "Files"
  20.         RgbPath      "/usr/lib/X11/rgb"
  21.         ModulePath   "/usr/lib/modules"
  22.         ModulePath   "/usr/lib/xorg/modules"
  23.         FontPath     "/usr/share/fonts/misc/"
  24.         FontPath     "/usr/share/fonts/TTF/"
  25.         FontPath     "/usr/share/fonts/Type1/"
  26.         FontPath     "/usr/share/fonts/CID/"
  27.         FontPath     "/usr/share/fonts/75dpi/"
  28.         FontPath     "/usr/share/fonts/100dpi/"
  29. EndSection
  30. Section "Module"
  31.         Load  "glx"
  32.         # This loads the miscellaneous extensions module, and disables
  33.         # initialisation of the XFree86-DGA extension within that module.
  34.             SubSection  "extmod"
  35.                  Option    "omit xfree86-dga"   # don't initialise the DGA extension
  36.             EndSubSection
  37.         Load  "dbe"
  38.         Load  "dri"
  39.         Load  "xtrap"
  40.         Load  "record"
  41.         Load  "freetype"
  42.         Load  "type1"
  43. EndSection
  44. Section "InputDevice"
  45.         Identifier  "Keyboard0"
  46.         Driver          "kbd"
  47. EndSection
  48. Section "InputDevice"
  49.   Identifier    "Synaptics"
  50.   Driver        "synaptics"
  51.   Option        "Device"        "/dev/psaux"
  52.   Option        "Protocol"      "auto-dev"
  53.   Option        "LeftEdge"      "1700"
  54.   Option        "RightEdge"     "5300"
  55.   Option        "TopEdge"       "1700"
  56.   Option        "BottomEdge"    "4200"
  57.   Option        "FingerLow"     "25"
  58.   Option        "FingerHigh"    "30"
  59.   Option        "MaxTapTime"    "180"
  60.   Option        "MaxTapMove"    "220"
  61.   Option        "VertScrollDelta" "100"
  62.   Option        "MinSpeed"      "0.09"
  63.   Option        "MaxSpeed"      "0.18"
  64.   Option        "AccelFactor"   "0.0015"
  65.   Option        "SHMConfig"     "on"
  66. #  #  Option       "Repeater"      "/dev/ps2mouse"
  67. EndSection
  68. Section "InputDevice"
  69.   Identifier    "Mouse"
  70.   Driver        "mouse"
  71.   Option        "Device"        "/dev/input/mice"
  72.   Option        "Protocol"      "imps/2"
  73.   Option        "ZAxisMapping"  "4 5"
  74.   Option        "Buttons"        "5"
  75. EndSection
  76. Section "Monitor"
  77.         Identifier   "Monitor0"
  78.         VendorName   "LPL"
  79.         ModelName    "0"
  80.         Option             "DPMS"
  81. EndSection
  82. # === ATI device section ===
  83. Section "Device"
  84.     Identifier  "Card0"
  85.     Driver      "fglrx"       
  86.     VendorName  "ATI Technologies Inc"
  87.     BoardName   "ATI Mobility X600"
  88. # ### generic DRI settings ###
  89. # === disable PnP Monitor  ===
  90.     #Option                              "NoDDC"
  91. # === disable/enable XAA/DRI ===
  92.     Option "no_accel"                   "no"
  93.     Option "no_dri"                     "no"
  94. # === misc DRI settings ===
  95.     Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
  96. # ### FireGL DDX driver module specific settings ###
  97. # === Screen Management ===
  98.     Option "DesktopSetup"               "0x00000100"
  99.     Option "MonitorLayout"              "NONE,LVDS"
  100.     Option "IgnoreEDID"                 "off"
  101.     Option "HSync2"                     "unspecified"
  102.     Option "VRefresh2"                  "unspecified"
  103.     Option "ScreenOverlap"              "0"
  104. # === TV-out Management ===
  105.     Option "NoTV"                       "yes"
  106.     Option "TVStandard"                 "NTSC-M"
  107.     Option "TVHSizeAdj"                 "0"
  108.     Option "TVVSizeAdj"                 "0"
  109.     Option "TVHPosAdj"                  "0"
  110.     Option "TVVPosAdj"                  "0"
  111.     Option "TVHStartAdj"                "0"
  112.     Option "TVColorAdj"                 "0"
  113.     Option "GammaCorrectionI"           "0x00000000"
  114.     Option "GammaCorrectionII"          "0x00000000"
  115. # === OpenGL specific profiles/settings ===
  116.     Option "Capabilities"               "0x00000000"
  117. # === Video Overlay for the Xv extension ===
  118.     Option "VideoOverlay"               "on"
  119. # === OpenGL Overlay ===
  120. # Note: When OpenGL Overlay is enabled, Video Overlay
  121. #       will be disabled automatically
  122.     Option "OpenGLOverlay"              "off"
  123. # === Center Mode (Laptops only) ===
  124.     Option "CenterMode"                 "off"
  125. # === Pseudo Color Visuals (8-bit visuals) ===
  126.     Option "PseudoColorVisuals"         "off"
  127. # === QBS Management ===
  128.     Option "Stereo"                     "off"
  129.     Option "StereoSyncEnable"           "1"
  130. # === FSAA Management ===
  131.     Option "FSAAEnable"                 "no"
  132.     Option "FSAAScale"                  "1"
  133.     Option "FSAADisableGamma"           "no"
  134.     Option "FSAACustomizeMSPos"         "no"
  135.     Option "FSAAMSPosX0"                "0.000000"
  136.     Option "FSAAMSPosY0"                "0.000000"
  137.     Option "FSAAMSPosX1"                "0.000000"
  138.     Option "FSAAMSPosY1"                "0.000000"
  139.     Option "FSAAMSPosX2"                "0.000000"
  140.     Option "FSAAMSPosY2"                "0.000000"
  141.     Option "FSAAMSPosX3"                "0.000000"
  142.     Option "FSAAMSPosY3"                "0.000000"
  143.     Option "FSAAMSPosX4"                "0.000000"
  144.     Option "FSAAMSPosY4"                "0.000000"
  145.     Option "FSAAMSPosX5"                "0.000000"
  146.     Option "FSAAMSPosY5"                "0.000000"
  147. # === Misc Options ===
  148.     Option "UseFastTLS"                 "0"
  149.     Option "BlockSignalsOnLock"         "on"
  150.     Option "UseInternalAGPGART"         "no"
  151.     Option "ForceGenericCPU"            "no"
  152.     Option "DynamicClocks"                "on" # Use ATI Powerplay features
  153.     BusID "PCI:1:0:0"    # vendor=1002, device=3150
  154.     Screen 0
  155. EndSection
  156. #Section "Device"
  157.         ### Available Driver options are:-
  158.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  159.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  160.         ### [arg]: arg optional
  161.         #Option     "NoAccel"                    # [<bool>]
  162.         #Option     "SWcursor"                   # [<bool>]
  163.         #Option     "Dac6Bit"                    # [<bool>]
  164.         #Option     "Dac8Bit"                    # [<bool>]
  165.         #Option     "BusType"                    # [<str>]
  166.         #Option     "CPPIOMode"                  # [<bool>]
  167.         #Option     "CPusecTimeout"              # <i>
  168.         #Option     "AGPMode"                    # <i>
  169.         #Option     "AGPFastWrite"               # [<bool>]
  170.         #Option     "AGPSize"                    # <i>
  171.         #Option     "GARTSize"                   # <i>
  172.         #Option     "RingSize"                   # <i>
  173.         #Option     "BufferSize"                 # <i>
  174.         #Option     "EnableDepthMoves"           # [<bool>]
  175.         #Option     "EnablePageFlip"             # [<bool>]
  176.         #Option     "NoBackBuffer"               # [<bool>]
  177.         #Option     "DRIReinit"                  # [<bool>]
  178.         #Option     "PanelOff"                   # [<bool>]
  179.         #Option     "DDCMode"                    # [<bool>]
  180.         #Option     "MonitorLayout"              # [<str>]
  181.         #Option     "IgnoreEDID"                 # [<bool>]
  182.         #Option     "UseFBDev"                   # [<bool>]
  183.         #Option     "VideoKey"                   # <i>
  184.         #Option     "MergedFB"                   # [<bool>]
  185.         #Option     "CRT2HSync"                  # [<str>]
  186.         #Option     "CRT2VRefresh"               # [<str>]
  187.         #Option     "CRT2Position"               # [<str>]
  188.         #Option     "MetaModes"                  # [<str>]
  189.         #Option     "MergedDPI"                  # [<str>]
  190.         #Option     "NoMergedXinerama"           # [<bool>]
  191.         #Option     "MergedXineramaCRT2IsScreen0"         # [<bool>]
  192.         #Option     "DisplayPriority"            # [<str>]
  193.         #Option     "PanelSize"                  # [<str>]
  194.         #Option     "ForceMinDotClock"           # <freq>
  195.         #Option     "RenderAccel"                # [<bool>]
  196.         #Option     "SubPixelOrder"              # [<str>]
  197.         #Option     "ShowCache"                  # [<bool>]
  198.         #Option     "DynamicClocks"              # [<bool>]
  199.         #Option     "VGAAccess"                  # [<bool>]
  200.         #Option     "LVDSProbePLL"               # [<bool>]
  201.         #Option     "ReverseDDC"                 # [<bool>]
  202.         #Option     "BIOSHotkeys"                # [<bool>]
  203. #        Identifier  "Card0"
  204. #        Driver      "ati"
  205. #        VendorName  "ATI Technologies Inc"
  206. #        BoardName   "ATI Mobility X600"
  207. #        BusID       "PCI:1:0:0"
  208. #EndSection
  209. Section "Screen"
  210.         Identifier "Screen0"
  211.         Device     "Card0"
  212.         Monitor    "Monitor0"
  213.            DefaultDepth 24
  214.         SubSection "Display"
  215.                 Viewport   0 0
  216.                 Depth     16
  217.                 Modes     "1280x800"
  218.         EndSubSection
  219.         SubSection "Display"
  220.                 Viewport   0 0
  221.                 Depth     24
  222.                 Modes     "1280x800"
  223.         EndSubSection
  224. EndSection
复制代码
 楼主| 发表于 2006-9-10 01:17:24 | 显示全部楼层
初步判断是Xorg和ATi驱动的兼容性问题:

我做了如下尝试

在 /etc/modules.autoload.d/kernel-2.6 里去掉了 fglrx

并在xorg.conf 中去掉fglrx
改用Xorg的开源驱动,则没有出现以上症状。

于是我将问题锁定到 fglrx 上

又做了如下尝试

在 /etc/modules.autoload.d/kernel-2.6 重新加入 fglrx
而仍然使用Xorg的开源驱动,则也没有出现以上症状。

也就是说只要xorg 成功载入了fglrx 则会造成这种情况,

大家看看有不有什么解决方法
回复 支持 反对

使用道具 举报

发表于 2006-9-10 09:20:26 | 显示全部楼层
我还以为是我自己才会有的问题,我的显卡是9600,刚开始用xorg的驱动,一切正常,后来装了ati-drivers后可以正常登陆,我是用fluxbox。当进去fluxbox后,退出X,再startx,就死机了,必须强行关机,看那个硬盘在扫描,真是心痛
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-10 09:46:55 | 显示全部楼层
Post by hfjuncn
我还以为是我自己才会有的问题,我的显卡是9600,刚开始用xorg的驱动,一切正常,后来装了ati-drivers后可以正常登陆,我是用fluxbox。当进去fluxbox后,退出X,再startx,就死机了,必须强行关机,看那个硬盘在扫描,真是心痛

有同感,而且本本上没有reset键。只有按电源键3秒硬关!!!

转自Debian专题  
Post by biinn
我用过 mandriva, debian, ubuntu, arch, 用 fglrx 的驱动都会出现随机性死机。现在只好用 vesa 的驱动了。好在我对 3D 没啥要求。。。
回复 支持 反对

使用道具 举报

发表于 2006-9-10 10:13:40 | 显示全部楼层
郁闷,我这两天才搞定显卡和声卡,汉化也搞得差不多,现在让我不用3D?
回复 支持 反对

使用道具 举报

发表于 2006-9-10 10:16:32 | 显示全部楼层
why not open source ATI driver? Also supports dri
回复 支持 反对

使用道具 举报

发表于 2006-9-10 10:28:54 | 显示全部楼层
Post by bookstack
why not open source ATI driver? Also supports dri

r300
还不OK.
回复 支持 反对

使用道具 举报

发表于 2006-9-10 12:14:40 | 显示全部楼层
Post by bookstack
why not open source ATI driver? Also supports dri


请问你说的open source ATI driver是不是下面网址说的?
http://zh.gentoo-wiki.com/HOWTO_ATI_Open-Source_Drivers
好像我emerge x11-drm会出错
回复 支持 反对

使用道具 举报

发表于 2006-9-10 12:18:51 | 显示全部楼层
这个wiki的有点麻烦
forum上有个讨论贴,里面有portage overlay和安装方法

我前阵子在我的笔记本上装了(PM 1.6G/R9600)
但是AIGLX直接死机(系统全死),很是不爽
不管这个的话,跑xorg 7.1是没问题的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-10 22:59:41 | 显示全部楼层
我现在已经不用fglrx,反正游戏只耍 极品9 得跑到win里去

等它有了linux版再说
回复 支持 反对

使用道具 举报

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

本版积分规则

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