Bug 19581

Summary: RC410 cannot resume using DRI
Product: xorg Reporter: Mark Baas <mark.baas123>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: darrell, dvanlanduyt, matteo.zandi, the.dmol
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
output from lspci -vv
none
Xorg.0.log file before suspend, after attempt to come back from suspend there are no new entries. none

Description Mark Baas 2009-01-15 04:38:53 UTC
Since around june 3d acceralation and composite work with the open source radeon driver. However when enabling dri suspend does not work anymore.
Currently i am running ubuntu intrepid and update my radeon driver to the latest version. drm and radeon kernel module have been updated from git.

Suspending works, however when i turn the computer back on, it simply hangs, i get no information from the system logs. I just seems like it didnt return into the system and that it is hanging on something.

I have a Ati Radeon Xpress 200M, in lspci it reports as RS480 i think. I included lspci -vv.
Comment 1 Mark Baas 2009-01-15 04:40:53 UTC
Created attachment 22007 [details]
output from lspci -vv
Comment 2 Mark Baas 2009-01-15 04:45:05 UTC
I was mistaken lspci reports the video card as:
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
Comment 3 cooper 2009-01-16 02:20:42 UTC
Please try setting run level as 3, then suspend and resume while radeon module is absent (lsmod | grep radeon).
Comment 4 Mark Baas 2009-01-16 02:42:40 UTC
Okay I have restarted in runlevel 3, no X running and no radeon, fglrx or drm module loaded. This works half, the computer resumes, the keyboard works, remote login works, however the screen does not go on. This is probably another issue.

When I run X, without drm or radeon module loaded, I can suspend and resume.
When I run X using the fglrx driver, without drm or radeon loaded, I can suspend and resume.
Comment 5 Mark Baas 2009-01-16 02:50:02 UTC
I also tried playing around with the options in /etc/default/acpi-support (ubuntu)
POST_VIDEO SAVE_VBE_STATE USE_DPMS.

Changing suspend mode from s3 to s1.

Adding drm and radeon to the unload list.

No luck either.
Comment 6 Matteo Zandi 2009-03-28 04:04:16 UTC
I have the same problem, but with a X700 card. Turning off DRI seems to solve the problem (I was able to suspend and resume correctly for a couple of times).

I added my xorg log with dri enabled and disabled on launchpad (https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/333377/)
Comment 7 Dimitri V.L. 2009-04-29 06:54:05 UTC
Exact same problem with RC410 (Radeon Xpress 200M). I can suspend with DRI off fine.
This happens on Linux Kernel 2.6.28-11 (ubuntu jaunty) and mainline 2.6.30 kernel.
I will attach Xorg.log.0 and messages.log.

#lspci -vv
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
	Subsystem: Micro-Star International Co., Ltd. Device 0241
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (2000ns min), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 1: I/O ports at 5800 [size=256]
	Region 2: Memory at fd8f0000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at fd8c0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Kernel modules: radeonfb

Comment 8 Dimitri V.L. 2009-04-29 06:55:00 UTC
Created attachment 25255 [details] [review]
Xorg.0.log file before suspend, after attempt to come back from suspend there are no new entries.
Comment 9 Darrell 2009-04-29 15:18:11 UTC
I can confirm the same behaviour as Dmitri, using the same two kernels.

If I start X on my machine with DRI, I must reboot before resume works - killing X and removing the radeon and dri kernel modules is not enough. This is reproducible always.my Xorg.0.log (when failing) is identical to Dmitri's.All the logs etc from my system can be found over at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/353035

Darrell
Comment 10 Alex Deucher 2009-12-15 08:24:12 UTC

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

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.