[arch-general] MAYDAY - drm/mesa/libgl/radeon updates - laptop stuck in 1152x864 - kdm locks on logout!

David C. Rankin drankinatty at suddenlinkmail.com
Wed Dec 23 03:24:49 EST 2009


Guys,

I got bit bad tonight by the updates tonight. X starts but is stuck at 1152x864, if I log out, X freezes. Looks like bad libdrm and lib32-libdrm packages. Specifically, I upgraded:

[2009-12-23 00:30] starting full system upgrade
[2009-12-23 00:31] upgraded libdrm (2.4.17-1 -> 2.4.17-2)
[2009-12-23 00:31] upgraded libgl (7.6-2 -> 7.6.1-1)
[2009-12-23 00:31] upgraded ati-dri (7.6-2 -> 7.6.1-1)
[2009-12-23 00:31] upgraded lib32-libdrm (2.4.16-1 -> 2.4.17-2)
[2009-12-23 00:31] upgraded lib32-libgl (7.6-2 -> 7.6.1-1)
[2009-12-23 00:31] upgraded lib32-mesa (7.6-2 -> 7.6.1-1)
[2009-12-23 00:31] upgraded mesa (7.6-2 -> 7.6.1-1)
[2009-12-23 00:31] upgraded system-config-printer-common (1.1.13-1 -> 1.1.15-1)
[2009-12-23 00:31] upgraded system-config-printer-gnome (1.1.13-1 -> 1.1.15-1)

Next logout, the machine changed from 1440x900 to 1152x864 (the initial frame buffer resolution). Currently I am not using KMS with the radeon driver due to the current driver/initrd issues. I tried using a minimal xorg.conf setting the preferred resolution to 1440x900 (like I have done before to switch between the radeon/radeonhd drivers). X crashed immediately. Yes I had screens defined. X always started just fine with this xorg before. This is a short log:

(this is the complete Xorg.0.log)

X.Org X Server 1.7.3.901 (1.7.4 RC 1)
Release Date: 2009-12-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH x86_64
Current Operating System: Linux alchemy 2.6.32-ARCH #1 SMP PREEMPT Sun Dec 20 10:01:30 CET 2009 x86_64
Kernel command line: root=/dev/disk/by-uuid/b004715c-1666-458a-b827-2bbb1d4a735e ro
Build Date: 12 December 2009  08:39:02PM

<snipped the definitions>

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor

OK, so I had 2 choices, either try KMS with the nonworking drm or downgrade. I decided to downgrade. So I tried to downgrade with:

pacman -U /var/cache/pacman/pkg/libdrm-2.4.17-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/libgl-7.6.1-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/ati-dri-7.6.1-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/lib32-libdrm-2.4.16-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/lib32-libgl-7.6.1-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/lib32-mesa-7.6.1-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/mesa-7.6.1-1-x86_64.pkg.tar.gz

Which failed dependencies with mesa/libmesa requiring libdrm/lib32-libdrm > or = 2.4.17-2. HUH?? Deps whacked somewhere, I just upgraded from 2.4.17-1 and it was working fine...

So I just eliminated the libdrm/lib32-libdrm packages and downgraded leaving drm the way mesa/libmesa wanted it. (Note the different downgrade times for libdrm below)

X was still stuck in 1152x864, this caused me to suspect libdrm was the problem. So I went ahead and downgraded libdrm/lib32-drm with pacman -U --nodeps and then rebooted --> BING0 right back to 1440x900.

Some notes on the log for the downgrade. The downgrade log looks weird to me. Maybe that's the way it should look, but I would expect correct version numbers:

[2009-12-23 02:00] upgraded libgl (7.6.1-1 -> 7.6.1-1)
[2009-12-23 02:00] upgraded ati-dri (7.6.1-1 -> 7.6.1-1)
[2009-12-23 02:00] upgraded lib32-libgl (7.6.1-1 -> 7.6.1-1)
[2009-12-23 02:00] upgraded lib32-mesa (7.6.1-1 -> 7.6.1-1)
[2009-12-23 02:00] upgraded mesa (7.6.1-1 -> 7.6.1-1)
[2009-12-23 02:04] upgraded libdrm (2.4.17-2 -> 2.4.17-1)
[2009-12-23 02:04] upgraded lib32-libdrm (2.4.17-2 -> 2.4.16-1)

I may have missed some changelog that says change your config to XYZ for these packages, but honestly it just looks like this set of updates isn't quite done cooking yet. Let me know if you need for info, etc. I'm glad to provide logs, etc. I'll also go ahead and open a ticket if you think it is necessary. Thanks.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


More information about the arch-general mailing list