Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
Margarita Manterola (04/01/2011): > […] because I've been configuring the synaptics input device and a > created an xorg.conf for that. I guess you could use something like /etc/X11/xorg.conf.d/42-my-synaptic-settings.conf with only synaptics stuff, instead of keeping a complete xorg.conf, see “xorg.conf.d” in xorg.conf(5). KiBi. signature.asc Description: Digital signature
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
Hola Michel Dänzer! > > So, I really don't know what's going on, but now it's a full squeeze system > > and it's working, when it was not working before... The only possible > > conclusion, except that I'm mad that I hope I'm not, is that some > > configuration was changed by ubuntu's packages that fixed the problem. > > Can't think offhand of anything that could be other > than /etc/modprobe.d/radeon-kms.conf or /etc/X11/xorg.conf{,.d/*} ... Well, I already pasted the radeon-kms.conf. I had no xorg.conf for the initial tests, but I do have an xorg.conf now, because I've been configuring the synaptics input device and a created an xorg.conf for that. I could try moving it away and checking if it works or fails. Will get back about this. > Could it be that it was a different kernel exhibiting the problems? No, the kernel is the same. > If not, I'm afraid I don't have any good ideas offhand how to figure out > what happened short of installing again and if the problem still occurs, > saving all even remotely relevant configuration and log files and then > looking for differences in them after the problem is fixed. Re-installing that machine is not really possible. But it's a really nice model, and I think I might be getting hold of another one soon. -- Love, Marga -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110104123635.ga4...@localhost
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
On Mon, 2011-01-03 at 09:15 -0300, Margarita Manterola wrote: > > > Let me get this straight: With the Debian driver package installed, > > suspend/hibernation doesn't work no matter which kernel etc. you're > > using. With the Ubuntu driver package installed, both work. And these > > symptoms remain the same after switching back and forth between the > > versions of the driver package. Did I get that right? > > I tested it and this was right, after reverting everything back to squeeze, > suspend/hibernate work fine. Well, actually that wasn't what I meant, but it's good to clarify that in any case. :) > > KMS should be enabled by default in both cases, so colour me skeptical. > > But you can try flipping it with the radeon kernel module parameter > > 'modeset' to see if it makes any difference in either case. > > It was set to 1. I tried setting it to 0, and something new happened: both > suspend and hibernate worked but when it came back it didn't show X, it > showed some kernel messages, but doing Ctrl-Alt-F7 worked. I couldn't go > back to those kernel messages afterwards. > > Should I try setting it to something else? No, this confirms that both KMS and UMS (can) work fine, thanks. > So, I really don't know what's going on, but now it's a full squeeze system > and it's working, when it was not working before... The only possible > conclusion, except that I'm mad that I hope I'm not, is that some > configuration was changed by ubuntu's packages that fixed the problem. Can't think offhand of anything that could be other than /etc/modprobe.d/radeon-kms.conf or /etc/X11/xorg.conf{,.d/*} ... Could it be that it was a different kernel exhibiting the problems? If not, I'm afraid I don't have any good ideas offhand how to figure out what happened short of installing again and if the problem still occurs, saving all even remotely relevant configuration and log files and then looking for differences in them after the problem is fixed. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1294071821.6019.108.ca...@thor.local
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
Hola Michel Dänzer! > Let me get this straight: With the Debian driver package installed, > suspend/hibernation doesn't work no matter which kernel etc. you're > using. With the Ubuntu driver package installed, both work. And these > symptoms remain the same after switching back and forth between the > versions of the driver package. Did I get that right? I tested it and this was right, after reverting everything back to squeeze, suspend/hibernate work fine. Now I feel like I'm going crazy. It looks like installing ubuntu's packages left something behind that made it work, because with a 100% squeeze system it works fine, when it didn't work 3 days ago, before installing maverick's packages. > KMS should be enabled by default in both cases, so colour me skeptical. > But you can try flipping it with the radeon kernel module parameter > 'modeset' to see if it makes any difference in either case. It was set to 1. I tried setting it to 0, and something new happened: both suspend and hibernate worked but when it came back it didn't show X, it showed some kernel messages, but doing Ctrl-Alt-F7 worked. I couldn't go back to those kernel messages afterwards. Should I try setting it to something else? > Otherwise, apart from any possible code differences between the driver > package versions (haven't checked yet), I assume that switching between > them also requires switching versions of other packages, in particular > xserver-xorg-core. The difference might actually be there. E.g. it might > be interesting rebuilding the Debian driver package against the Ubuntu X > server and vice versa and seeing what happens in each case. This was the state before downgrading back to squeeze: -*- libxfont1 1:1.4.3-1 newer than version in archive wireless-crda 1.12 installed: No available version in archive xserver-common 2:1.9.2.902-1 newer than version in archive xserver-xorg/squeeze upgradeable from 1:7.5+6ubuntu3 to 1:7.5+8 xserver-xorg-core 2:1.9.2.902-1 newer than version in archive xserver-xorg-input-all 1:7.6~2 newer than version in archive xserver-xorg-input-evdev 1:2.5.99.901-1 newer than version in archive xserver-xorg-input-synaptics 1.3.0-1 newer than version in archive xserver-xorg-video-fbdev 1:0.4.2-3 newer than version in archive xserver-xorg-video-radeon/squeeze upgradeable from 1:6.13.1-1ubuntu5 to 1:6.13.1-2+squeeze1 xserver-xorg-video-vesa 1:2.3.0-4 newer than version in archive -*- Some of this packages were from experimental and some from maverick. Now it's all back to squeeze, so it's just: -*- wireless-crda 1.12 installed: No available version in archive -*- (Something that the installer left there, apparently) So, I really don't know what's going on, but now it's a full squeeze system and it's working, when it was not working before... The only possible conclusion, except that I'm mad that I hope I'm not, is that some configuration was changed by ubuntu's packages that fixed the problem. -- Love, Marga -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110103121521.ga17...@localhost
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
On Mon, 2011-01-03 at 08:02 -0300, Margarita Manterola wrote: > > > > After looking at the changelogs and differences between the two packages, > > > I > > > have the sensation that the problem might be related to kms, but I really > > > don't know enough about X to debug this myself. > > > > KMS should be enabled by default in both cases, so colour me skeptical. > > But you can try flipping it with the radeon kernel module parameter > > 'modeset' to see if it makes any difference in either case. > > > > Otherwise, apart from any possible code differences between the driver > > package versions (haven't checked yet), > > I was refering to code differences regarding kms. I did read the > changes, and there were differences regarding kms in the code, that's > why I suggested that there might be a problem there. What changes are you referring to specifically? I can only see the changes below, which shouldn't be relevant to your problem. > > I assume that switching between them also requires switching > > versions of other packages, in particular xserver-xorg-core. The > > difference might actually be there. E.g. it might be interesting > > rebuilding the Debian driver package against the Ubuntu X server and > > vice versa and seeing what happens in each case. > > Uhmm... Not -core. I did install xserver-xorg from maverick, although I'm > not sure if it ships any interesting files. The Ubuntu version of the driver package depends on the virtual package xorg-video-abi-8.0, which is not provided by xserver-xorg-core in squeeze. diff -up -ru xserver-xorg-video-ati-6.13.1-1ubuntu5/src/r6xx_accel.c xserver-xorg-video-ati-6.13.1-2+squeeze1/src/r6xx_accel.c --- xserver-xorg-video-ati-6.13.1-1ubuntu5/src/r6xx_accel.c 2010-07-05 00:56:14.0 +0200 +++ xserver-xorg-video-ati-6.13.1-2+squeeze1/src/r6xx_accel.c 2011-01-03 12:53:36.0 +0100 @@ -1262,9 +1262,9 @@ void r600_finish_op(ScrnInfoPtr pScrn, i void r600_vb_no_space(ScrnInfoPtr pScrn, int vert_size) { -#ifdef XF86DRM_MODE RADEONInfoPtr info = RADEONPTR(pScrn); struct radeon_accel_state *accel_state = info->accel_state; +#ifdef XF86DRM_MODE if (info->cs) { if (accel_state->vb_bo) { diff -up -ru xserver-xorg-video-ati-6.13.1-1ubuntu5/src/radeon_video.c xserver-xorg-video-ati-6.13.1-2+squeeze1/src/radeon_video.c --- xserver-xorg-video-ati-6.13.1-1ubuntu5/src/radeon_video.c 2010-07-05 00:56:14.0 +0200 +++ xserver-xorg-video-ati-6.13.1-2+squeeze1/src/radeon_video.c 2011-01-03 12:53:36.0 +0100 @@ -2216,11 +2216,15 @@ RADEONCopyData( swap = RADEON_HOST_DATA_SWAP_32BIT; break; } - } else if (bpp != pScrn->bitsPerPixel) { - if (bpp == 8) + } else { + switch (pScrn->bitsPerPixel) { + case 16: + swap = RADEON_HOST_DATA_SWAP_16BIT; + break; + case 32: swap = RADEON_HOST_DATA_SWAP_32BIT; - else - swap = RADEON_HOST_DATA_SWAP_HDW; + break; + } } #endif -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1294056433.6019.95.ca...@thor.local
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
Hola Michel Dänzer! > > After installing the xserver driver from maverick (1:6.13.1-1ubuntu5), both > > started working properly. So it seems that there's a difference in the > > patches applied in one and the other that makes suspension/hibernation work > > with one and not the other. > > Let me get this straight: With the Debian driver package installed, > suspend/hibernation doesn't work no matter which kernel etc. you're > using. With the Ubuntu driver package installed, both work. And these > symptoms remain the same after switching back and forth between the > versions of the driver package. Did I get that right? No, no. Only switching back and forth between kernels. I never tried downgrading the X driver back to squeeze's. I could try that, my guess is that it's a code change and so it won't work, but I'll try it just to document it. > > After looking at the changelogs and differences between the two packages, I > > have the sensation that the problem might be related to kms, but I really > > don't know enough about X to debug this myself. > > KMS should be enabled by default in both cases, so colour me skeptical. > But you can try flipping it with the radeon kernel module parameter > 'modeset' to see if it makes any difference in either case. > > Otherwise, apart from any possible code differences between the driver > package versions (haven't checked yet), I was refering to code differences regarding kms. I did read the changes, and there were differences regarding kms in the code, that's why I suggested that there might be a problem there. > I assume that switching between > them also requires switching versions of other packages, in particular > xserver-xorg-core. The difference might actually be there. E.g. it might > be interesting rebuilding the Debian driver package against the Ubuntu X > server and vice versa and seeing what happens in each case. Uhmm... Not -core. I did install xserver-xorg from maverick, although I'm not sure if it ships any interesting files. The machine is not mine and I'll have limited access to it after today, which was why I tried to get help debugging this on IRC as quickly as possible, but unfortunately couldn't get it. Anyway, I'll do as much testing as I can before having to give it up, and then my response time about this bug is going to be much slower. -- Love, Marga -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110103110232.gb15...@localhost
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
On Sam, 2011-01-01 at 22:09 -0300, Margarita Manterola wrote: > > I'm working with an Asus EeePC 1215T, that comes with a Mobility Radeon HD > 4200, after installing a fresh squeeze into it, suspend and hibernate > didn't work properly: suspend worked, but when returning, no video > returned, hibernation didn't work (black screen but no power off). > > After installing the xserver driver from maverick (1:6.13.1-1ubuntu5), both > started working properly. So it seems that there's a difference in the > patches applied in one and the other that makes suspension/hibernation work > with one and not the other. Let me get this straight: With the Debian driver package installed, suspend/hibernation doesn't work no matter which kernel etc. you're using. With the Ubuntu driver package installed, both work. And these symptoms remain the same after switching back and forth between the versions of the driver package. Did I get that right? > After looking at the changelogs and differences between the two packages, I > have the sensation that the problem might be related to kms, but I really > don't know enough about X to debug this myself. KMS should be enabled by default in both cases, so colour me skeptical. But you can try flipping it with the radeon kernel module parameter 'modeset' to see if it makes any difference in either case. Otherwise, apart from any possible code differences between the driver package versions (haven't checked yet), I assume that switching between them also requires switching versions of other packages, in particular xserver-xorg-core. The difference might actually be there. E.g. it might be interesting rebuilding the Debian driver package against the Ubuntu X server and vice versa and seeing what happens in each case. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1294049157.6019.80.ca...@thor.local
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
Hola Sven Joachim! > The difference is that the preinst of the Ubuntu package removes the > file /etc/modprobe.d/radeon-kms.conf (it is not needed on Ubuntu, > because Ubuntu kernels are built with KMS enabled), leaving you with UMS > even after you reinstall the Debian package. As I already stated in the bug report, the kms file is NOT missing. I'm not exactly sure why, but it didn't get removed. Contents of /etc/modprobe.d/radeon-kms.conf: options radeon modeset=1 > The first thing I would do is to test a newer kernel, e.g. 2.6.37-c7 > from experimental, and restore the missing file. I forgot to include this in the report, sorry. I have already tried with the kernel and X from experimental, no different outcome. Only after trying both from experimental did I switch to trying Ubuntu's. Also, once I installed the X driver from Ubuntu, all 3 kernels (Maverick's, Squeeze's and Experimental's suspended and hibernated correctly), so it looks like it's not a kernel problem, it's an X problem. So, newer kernel doesn't help, the kms file is not missing. Why could Ubuntu's driver be making suspend work? -- Love, Marga -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110102144232.ga7...@localhost
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
On 2011-01-02 02:09 +0100, Margarita Manterola wrote: > I'm working with an Asus EeePC 1215T, that comes with a Mobility Radeon HD > 4200, after installing a fresh squeeze into it, suspend and hibernate > didn't work properly: suspend worked, but when returning, no video > returned, hibernation didn't work (black screen but no power off). > > After installing the xserver driver from maverick (1:6.13.1-1ubuntu5), both > started working properly. So it seems that there's a difference in the > patches applied in one and the other that makes suspension/hibernation work > with one and not the other. The difference is that the preinst of the Ubuntu package removes the file /etc/modprobe.d/radeon-kms.conf (it is not needed on Ubuntu, because Ubuntu kernels are built with KMS enabled), leaving you with UMS even after you reinstall the Debian package. The first thing I would do is to test a newer kernel, e.g. 2.6.37-c7 from experimental, and restore the missing file. > In the logs below, I have removed the messages that were redundant (lines > and lines of the same FBDEV error). > The weird "atom" errors that show in the dmesg logs appear when > hibernating/dehibernating, and are very surprising, taking into account > this is NOT an Atom netbook. They refer to the AtomBIOS found in Radeon GPUs. Cheers, Sven -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87pqsfn2xi@turtle.gmx.de
Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation
Package: xserver-xorg-video-radeon Version: 1:6.13.1-2+squeeze1 Severity: normal Hi! I'm working with an Asus EeePC 1215T, that comes with a Mobility Radeon HD 4200, after installing a fresh squeeze into it, suspend and hibernate didn't work properly: suspend worked, but when returning, no video returned, hibernation didn't work (black screen but no power off). After installing the xserver driver from maverick (1:6.13.1-1ubuntu5), both started working properly. So it seems that there's a difference in the patches applied in one and the other that makes suspension/hibernation work with one and not the other. Before using Ubuntu's packages, I tried blacklisting the radeon module, and it also didn't work. I tried using the radeonhd package, but that left me with no video. After looking at the changelogs and differences between the two packages, I have the sensation that the problem might be related to kms, but I really don't know enough about X to debug this myself. I'm in need of a few extra pointers as to what to do/test next. In the info included by reportbug this (apparently relevant) file is missing: Contents of /etc/modprobe.d/radeon-kms.conf: options radeon modeset=1 In the logs below, I have removed the messages that were redundant (lines and lines of the same FBDEV error). The weird "atom" errors that show in the dmesg logs appear when hibernating/dehibernating, and are very surprising, taking into account this is NOT an Atom netbook. Please let me know what other information I should include, or what other tests I should perform. -- Love, Marga. -- Package-specific info: /var/lib/x11/X.roster does not exist. /var/lib/x11/X.md5sum does not exist. X server symlink status: lrwxrwxrwx 1 root root 13 Dec 31 11:31 /etc/X11/X -> /usr/bin/Xorg -rwxr-xr-x 1 root root 1770468 Dec 5 00:05 /usr/bin/Xorg /var/lib/x11/xorg.conf.roster does not exist. VGA-compatible devices on PCI bus: 01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200] /var/lib/x11/xorg.conf.md5sum does not exist. Xorg X server configuration file status: -rw-r--r-- 1 root root 51 Dec 31 15:35 /etc/X11/xorg.conf /etc/X11/xorg.conf does not exist. Kernel version (/proc/version): Linux version 2.6.32-5-686 (Debian 2.6.32-29) (b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Fri Dec 10 16:12:40 UTC 2010 Xorg X server log files on system: -rw-r--r-- 1 root root 73932 Jan 1 21:28 /var/log/Xorg.0.log Contents of most recent Xorg X server log file /var/log/Xorg.0.log: [16.214] X.Org X Server 1.9.2.902 (1.9.3 RC 2) Release Date: 2010-12-03 [16.214] X Protocol Version 11, Revision 0 [16.214] Build Operating System: Linux 2.6.26-2-amd64 i686 Debian [16.214] Current Operating System: Linux hedwig 2.6.32-5-686 #1 SMP Fri Dec 10 16:12:40 UTC 2010 i686 [16.214] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=f3006679-0f37-4560-bc0b-3461a41e4911 ro [16.214] Build Date: 05 December 2010 03:00:18AM [16.214] xorg-server 2:1.9.2.902-1 (Cyril Brulebois ) [16.214] Current version of pixman: 0.16.4 [16.214]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [16.214] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [16.214] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 31 17:11:06 2010 [16.226] (==) Using config file: "/etc/X11/xorg.conf" [16.226] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [16.282] (==) No Layout section. Using the first Screen section. [16.282] (==) No screen section available. Using defaults. [16.282] (**) |-->Screen "Default Screen Section" (0) [16.282] (**) | |-->Monitor "" [16.283] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [16.283] (==) Automatically adding devices [16.283] (==) Automatically enabling devices [16.362] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [16.362]Entry deleted from font path. [16.490] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins [16.490] (==) ModulePath set to "/usr/lib/xorg/modules" [16.490] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [16.490] (II) Loader magic: 0x81f5d80 [16.490] (II) Module ABI versions: [16.490]X.Org ANSI C Emulation: 0.4 [16.490]X.Org Video Driver: 8.0