Forwarding this bug from Ubuntu reporter Guillaume Giroux: http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/546578 [Problem] Screen goes black after switching from primary to secondary user and back several times. Occurs regardless of whether KMS or compiz are enabled or disabled. [Original Description] Up-to-date Lucid with radeon driver. After switching user a few times (usually between 3 and 5 times), the screen goes black with only the mouse cursor visible after entering the user's password. VTs are also completely black. Restarting gdm fixes the issue, and nothing odd appears in XOrg.0.log when the black screen occurs. - It also happens with KMS disabled. - It also happens with compiz disabled for all users. Another user adds that they see the same issue on an Xpress 200m, and finds the black screen always happens on the return to the primary user, never in the primary->secondary user case. Architecture: i386 Date: Wed Mar 24 21:43:21 2010 DistroRelease: Ubuntu 10.04 DkmsStatus: Error: [Errno 2] No such file or directory InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5) Lsusb: Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Hewlett-Packard HP dx5150 MT(PV753AA) Package: xorg 1:7.5+3ubuntu1 ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-17-generic root=UUID=2f620498-4095-49f2-8ea6-7355f3d696ec ro ProcEnviron: LANG=en_US.utf8 ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1 SourcePackage: xorg Uname: Linux 2.6.32-17-generic i686 dmi.bios.date: 03/08/2007 dmi.bios.vendor: Phoenix Technologies, LTD dmi.bios.version: 1.19 dmi.board.name: 09AC dmi.board.vendor: MSI dmi.chassis.type: 3 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr1.19:bd03/08/2007:svnHewlett-Packard:pnHPdx5150MT(PV753AA):pvr:rvnMSI:rn09AC:rvr:cvnHewlett-Packard:ct3:cvr: dmi.product.name: HP dx5150 MT(PV753AA) dmi.sys.vendor: Hewlett-Packard system: codename: lucid architecture: i686 kernel: 2.6.32-17-generic
00:00.0 Host bridge [0600]: ATI Technologies Inc RS480 Host Bridge [1002:5950] (rev 01) Subsystem: Hewlett-Packard Company Device [103c:3009] 01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS480 [Radeon Xpress 200G Series] [1002:5954] Subsystem: Hewlett-Packard Company Device [103c:3009]
Created attachment 34561 [details] XorgLogOld.txt
Created attachment 34562 [details] XorgLog.txt
Created attachment 34563 [details] CurrentDmesg.txt
Created attachment 34564 [details] BootDmesg.txt
Created attachment 34565 [details] regdump_good.txt
Created attachment 34566 [details] regdump_bad.txt
Created attachment 34567 [details] regdump.diff
This kms drm patch may help for the kms case: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=d805f50aa1d9eef63fec356b2be557e2da3cd643
This might be related to other reports about the CLUT not getting properly restored after VT switching away from the X server while the screensaver is doing its fade-out effect. Does something like xgamma -gamma 1.0 restore the proper display?
(In reply to comment #10) > Does something like > > xgamma -gamma 1.0 > > restore the proper display? Yes it does.
(In reply to comment #10) > This might be related to other reports about the CLUT not getting properly > restored after VT switching away from the X server while the screensaver is > doing its fade-out effect. Does something like > > xgamma -gamma 1.0 > > restore the proper display? > The binary fglrx driver is also affected by this bug. And also here xgamma -gamma 1.0 saves the day. So does this mean that the problem lies with the X server? And is there anyway distro's can workaround this bug till it's get fixed?
(In reply to comment #12) > The binary fglrx driver is also affected by this bug. And also here xgamma > -gamma 1.0 saves the day. So does this mean that the problem lies with the X > server? Yes, there have also been reports with the intel driver. Reassigning, this should probably also block the xserver 1.8 blocker bug, if there was one...
A workaround we could apply at the distro level would be very helpful.
*** Bug 27505 has been marked as a duplicate of this bug. ***
Problem seems to be to be commented out option xf86HandleColormaps. Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn) { xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, "Initializing kms color map\n"); if (!miCreateDefColormap(pScreen)) return FALSE; /* all radeons support 10 bit CLUTs */ if (!xf86HandleColormaps(pScreen, 256, 10, drmmode_load_palette, NULL, CMAP_PALETTED_TRUECOLOR #if 0 /* This option messes up text mode! (eich@suse.de) */ | CMAP_LOAD_EVEN_IF_OFFSCREEN #endif | CMAP_RELOAD_ON_MODE_SWITCH)) return FALSE; return TRUE; } If I enable the disabled option lut is restored correctly when switching back from VT. But there is still problem that lut is not restored when switching away from xserver. So this is not correct fix to the problem.
(In reply to comment #14) > A workaround we could apply at the distro level would be very helpful. I doubt finding a workaround in the server would be significantly easier than fixing the problem in the first place.
*** Bug 27821 has been marked as a duplicate of this bug. ***
I'm pretty sure this is fixed now.
Could you let us know whether this is fixed in the 1.12.x branch, or the 1.11.x branch of xserver? (A pointer to the relevant git commit would be nice as well.) I am currently running Debian Sid with xserver 1.11.3, and the bug is still present. When I change to a virtual terminal from the X server while gnome-screensaver is fading out, the virtual terminal is also faded. (Please see my duplicate Bug 27821 for a detailed explanation of how to reproduce this bug.)
I can confirm this is still a bug running gentoo with 1.12.2
I don't think this old bug is an issue anymore.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.