Watch out for authatieventsd.sh & atieventsd!
In order to help track down the problem, I installed this new driver again. I did all the tricks bridgman suggested in xorg.conf, still no go. I noticed a subtle difference as compared to 8.40.4, i.e. the last OLD codebase driver which I'm still stick to for all these months. It's this authatieventsd.sh script. Using the OLD driver, I never see it in running processes, so I assume it's only run at the X startup, and quits when it finishes its job. But in the NEW driver, this process keeps running
So I did some experiments after switching to console
1. Issue a gdm stop, which takes CONSIDERABLY longer than with the OLD driver. However, X is still running and I can not kill it.
2. Manually kill the authatieventsd.sh process, and X is automatically released. (Note that authatieventsd.sh will be respawned by atieventsd immediately, which is OK)
3. Issue a gdm start, which seems normal.
And whoops, the gdm (and X) was successfully restarted. While I don't know if authatieventsd.sh is supposed to be running all the time in the new driver, I'm almost sure that it has something to do with the freezing problem. Hope this gives clues.
My xorg.conf and Xorg.0.log should give you every detail of my configuration and hardware.
xorg.conf:
P.S. As ivanovic mentioned, the freezing problem does not occur EVERY time; it's often after some time of use, like 10 minutes or so. I've never been able to figure out what exactly makes the difference. If you're repeating my steps above and not experiencing noticable lag of gdm stop, then you're in the lucky cycle, which means you can then directly issue a gdm start. In other words, the problem didn't occur in your test. However if it does occur and you skip step 2, then you will fail to start X with the message like "an X server has already started on display :0.0".
In order to help track down the problem, I installed this new driver again. I did all the tricks bridgman suggested in xorg.conf, still no go. I noticed a subtle difference as compared to 8.40.4, i.e. the last OLD codebase driver which I'm still stick to for all these months. It's this authatieventsd.sh script. Using the OLD driver, I never see it in running processes, so I assume it's only run at the X startup, and quits when it finishes its job. But in the NEW driver, this process keeps running
Code:
sh -c /etc/ati/authatieventsd.sh grant :0 (null)
1. Issue a gdm stop, which takes CONSIDERABLY longer than with the OLD driver. However, X is still running and I can not kill it.
2. Manually kill the authatieventsd.sh process, and X is automatically released. (Note that authatieventsd.sh will be respawned by atieventsd immediately, which is OK)
3. Issue a gdm start, which seems normal.
And whoops, the gdm (and X) was successfully restarted. While I don't know if authatieventsd.sh is supposed to be running all the time in the new driver, I'm almost sure that it has something to do with the freezing problem. Hope this gives clues.
My xorg.conf and Xorg.0.log should give you every detail of my configuration and hardware.
xorg.conf:
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf(5) manual page. # (Type "man xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Logitech VX Revolution" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad" EndSection Section "Files" 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" EndSection Section "Module" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" Load "GLcore" EndSection Section "ServerFlags" Option "AIGLX" "off" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Logitech VX Revolution" Driver "evdev" Option "SendCoreEvents" "true" Option "vendor" "0x046d" Option "product" "0xc521" Option "version" "0x0111" Option "evBits" "+0-2 -3" Option "HWHEELRelativeAxisButtons" "7 6" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "true" EndSection Section "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "InputDevice" Identifier "eraser" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "InputDevice" Identifier "cursor" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "Monitor" Identifier "Builtin Monitor" HorizSync 30.0 - 67.0 VertRefresh 50.0 - 75.0 Option "DPMS" EndSection Section "Device" Identifier "ATI Mobility Radeon X1300 Internal" Driver "fglrx" Option "VideoOverlay" "off" Option "OpenGLOverlay" "off" Option "TexturedVideo" "off" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Default Screen" Device "ATI Mobility Radeon X1300 Internal" Monitor "Builtin Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "Disable" EndSection
Comment