[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suspend-to-disk doesn't work with DRI on albook with ATI Radeon 9600



At Wed, 14 Jun 2006 16:41:16 +0200, Gaudenz Steinlin wrote:
> 
> Since upgrading to Xorg 7.0 I have 3D accelerated graphics working with
> DRI and the r300 driver. But this breaks suspend-to-disk. The computer
> resumes, but X does not restart. I have to kill the X server and restart
> it manually. 

I have noticed this too.  I thought it happened after a kernel
upgrade, but not sure.  It could be related to a newer DRM version.

I just tried a suspend-to-disk after unloading the radeon en the drm
kernel modules.  The laptop resumed fine.  I then re-loaded the radeon
and drm kernel modules and started Xorg again.  However, Xorg did not
start properly, but hogged the cpu. It refused to be killed.

I did notice the following in kern.log: (that's on the re-load)

Jun 14 20:11:07 guava kernel: [drm] Initialized drm 1.0.1 20051102
Jun 14 20:11:07 guava kernel: [drm] Initialized radeon 1.24.0 20060225 on minor 0
Jun 14 20:11:19 guava kernel: agpgart: Putting AGP V2 device at 0000:00:0b.0 into 1x mode
Jun 14 20:11:19 guava kernel: agpgart: Putting AGP V2 device at 0000:00:10.0 into 1x mode
Jun 14 20:11:19 guava kernel: [drm] Setting GART location based on old memory map
Jun 14 20:11:19 guava kernel: [drm] Loading R300 Microcode
Jun 14 20:11:19 guava kernel: [drm] writeback test failed

Normally, that last line looks like this:
Jun 14 20:19:43 guava kernel: [drm] writeback test succeeded in 1 usecs

I don't know whether that's important... it seems one can disable
writeback with a parameter for the radeon module.

> If I disable DRI (by not loading the X module) suspend-to-disk works
> just as with xorg 6.8 (where AFAIK the r300 driver did not work and DRI
> was disabled by default).
> 
> Suspend-to-RAM works even with DRI enabled.

suspend-to-ram works fine here too.

Ruben


-----
My hardware/software:

guava ~ # lspci | grep VGA
0000:00:10.0 VGA compatible controller: ATI Technologies Inc M11 NV
  [FireGL Mobility T2e] (rev 80)

guava ~ # cat /proc/cpuinfo 
processor	: 0
cpu		: 7447A, altivec supported
clock		: 666.666000MHz
revision	: 0.2 (pvr 8003 0102)
bogomips	: 36.76
timebase	: 18432000
platform	: PowerMac
machine		: PowerBook6,7
motherboard	: PowerBook6,7 MacRISC3 Power Macintosh 
detected as	: 287 (iBook G4)
pmac flags	: 0000001b
L2 cache	: 512K unified
pmac-generation	: NewWorld

guava ~ # uname -a
Linux guava 2.6.17-rc6 #2 Fri Jun 9 19:32:32 CEST 2006 ppc GNU/Linux


software: (this also happened with the libgl1-mesa-dri from unstable)
  xserver-xorg-video-ati [1:6.5.8.0-1]
  libgl1-mesa-dri [6.5.0.cvs.20060524-1]



Reply to: