Bug 24097

Summary: screen backlight off after resume-from-suspend when using ATI KMS
Product: DRI Reporter: Bryce Harrington <bryce>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: high CC: kees, stekman
Version: unspecifiedKeywords: regression
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg.txt
none
CurrentDmesg.txt
none
dmesg following resume
none
registers when vt1 active after a coldboot
none
registers when Xorg active after a coldboot
none
registers after resume when vt1 was active during suspend
none
registers after resume when Xorg was active during suspend none

Description Bryce Harrington 2009-09-22 17:40:13 UTC
Forwarding this bug from Ubuntu reporter Kees Cook:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/434956

[Problem]
Resume works normally if I do not boot with "radeon.modeset=1".  Resume technically works, but the screen never comes back.  I can log in blind and reboot, etc.

[Original Description]
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  kees       3868 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with STAC9750,51 at irq 7'
   Mixer name	: 'SigmaTel STAC9750,51'
   Components	: 'AC97a:83847650'
   Controls      : 36
   Simple ctrls  : 23
Date: Tue Sep 22 17:11:01 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=dd5a07c0-5fb9-4c26-8d00-96f85883501f
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 413c:8000 Dell Computer Corp. BC02 Bluetooth Adapter
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Computer Corporation Inspiron 8600
Package: linux-image-2.6.31-10-generic 2.6.31-10.34
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-10-generic root=UUID=7c473bb8-1b58-4622-bc01-6fb0ea4f20a8 ro splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-10-generic N/A
 linux-firmware 1.19
RfKill:
 1: hci0: Bluetooth
 	Soft blocked: no
 	Hard blocked: no
SourcePackage: linux
Uname: Linux 2.6.31-10-generic i686
WpaSupplicantLog:
 
dmi.bios.date: 06/30/2005
dmi.bios.vendor: Dell Computer Corporation
dmi.bios.version: A14
dmi.board.name: 0D5689
dmi.board.vendor: Dell Computer Corporation
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Computer Corporation
dmi.modalias: dmi:bvnDellComputerCorporation:bvrA14:bd06/30/2005:svnDellComputerCorporation:pnInspiron8600:pvr:rvnDellComputerCorporation:rn0D5689:rvr:cvnDellComputerCorporation:ct8:cvr:
dmi.product.name: Inspiron 8600
dmi.sys.vendor: Dell Computer Corporation
Comment 1 Bryce Harrington 2009-09-22 17:41:12 UTC
Created attachment 29782 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2009-09-22 17:41:35 UTC
Created attachment 29783 [details]
CurrentDmesg.txt
Comment 3 Alex Deucher 2009-09-23 05:36:30 UTC
If you can try drm-next, there are a number of s/r related fixes.
Comment 4 Kees Cook 2010-01-22 02:37:54 UTC
For reference this is:
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50]

I suspect this bug is likely a dup of bug 23103 which is also a 9600 RV350.
Comment 5 Kees Cook 2010-01-26 12:59:29 UTC
Created attachment 32827 [details]
dmesg following resume
Comment 6 Kees Cook 2010-01-26 12:59:59 UTC
Created attachment 32828 [details]
registers when vt1 active after a coldboot
Comment 7 Kees Cook 2010-01-26 13:00:30 UTC
Created attachment 32830 [details]
registers when Xorg active after a coldboot
Comment 8 Kees Cook 2010-01-26 13:02:14 UTC
Created attachment 32831 [details]
registers after resume when vt1 was active during suspend
Comment 9 Kees Cook 2010-01-26 13:02:45 UTC
Created attachment 32832 [details]
registers after resume when Xorg was active during suspend
Comment 10 Rafał Miłecki 2010-01-26 13:25:16 UTC
Please check bug #26185 , I think this can be duplicate.

pm-utils needs to avoid any restoring of GPU state as it's done in KMS driver now. Version 1.3 of pm-utils will do that correctly when finally released (we have rc3 currently).
Comment 11 Kees Cook 2010-01-26 13:52:54 UTC
It's not a dup of that bug -- I am already running pm-utils 1.3.0, and I can see that it detects KMS and drops all video quirks:

system.firmware.version = A14
system.firmware.vendor = Dell Computer Corporation
system.firmware.release_date = 06/30/2005
system.hardware.vendor = Dell Computer Corporation
system.hardware.product = Inspiron 8600
system.hardware.version =
system.board.product = 0D5689
system.board.version =
system.board.vendor = Dell Computer Corporation
system.hardware.primary_video.vendor = 0x1002
system.hardware.primary_video.product = 0x4e50
system.hardware.primary_video.driver = radeon
system.hardware.primary_video.using_kms = true
system.kernel.version = 2.6.32-11-generic
Comment 12 Jeremy Huddleston Sequoia 2011-10-11 11:38:48 UTC
Is this still an issue?  If so, what is blocking its progress?
Comment 13 stekman 2012-05-04 00:49:55 UTC
(In reply to comment #12)
> Is this still an issue?  If so, what is blocking its progress?

It is still an issue for me at least.
Comment 14 Alex Deucher 2012-05-04 05:48:46 UTC

*** This bug has been marked as a duplicate of bug 23103 ***

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.