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

Re: New sleep code for ATI M6, M7 and M9

On Wednesday 19 March 2003 17:24, Francesco Rao wrote:
> Jamie Wilkinson wrote:
> >TiBook IV, Radeon M9.  Commenting out Load "dri" and the Section "DRI"
> > from XF86Config-4 sleeps and wakes up, with DRI enabled the screen
> > doesn't come back on.  I do not know if it has woken up, though.
> Hi all,
> I've a TiBook 15' 1GHz SuperDrive.
> For me it is the same story.
>     - I'm able to awake from sleep only when DRI is off. No matter if I
> have "DRIReinit"                 option on or off

I had the same problems with DRI on a TiBook IV 1GHz with M9, although on a 
gentoo (nobody's perfect...) and running xfree-4.3.0 and gentoo's xfree-drm 
(should be same source as debian drm-trunk-modules). I wasn't able to awake 
from sleep with DRI enabled and the "DRIReinit" option on. Furthermore, I 
would get the following warning in my XFree86.log :
 (**) Option "dpms"
(**) RADEON(0): DPMS enabled
(WW) RADEON(0): Option "DRIReinit" is not used

However I got it working, following advice on the gentoo forums, by adding the 
"ForcePCIMode" "false" and "AGPMode" "4" options to my XF86Config-4, which 
thus is as follows :
Section "Device"
        Identifier "Accel"
        Driver "ati"
        Option "UseFBDev" "true"
        Option "DRIReinit" "true"
        Option "ForcePCIMode" "false"
        Option "AGPMode" "4"
        BusID   "0:16:0"

Now I still get the "DRIReinit not used", but dri is enabled and my 'book goes 
to sleep and wakes up like a charm (well, except, alsa gets a bit messed up 
and has to be restarted, and it is definitely not a good idea to leave the 
firewire HD mounted...).

The usual bits of info:

cpu             : 7455, altivec supported
clock           : 1000MHz
revision        : 3.2 (pvr 8001 0302)
bogomips        : 997.28
machine         : PowerBook3,5
motherboard     : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as     : 80 (PowerBook Titanium IV)
pmac flags      : 0000000b
L2 cache        : 256K unified
memory          : 512MB
pmac-generation : NewWorld

  Bus  0, device  11, function  0:
    Host bridge: Apple Computer Inc. UniNorth 1.5 AGP (rev 0

  Bus  0, device  16, function  0:
    VGA compatible controller: PCI device 1002:4c66 (ATI Tec
hnologies Inc) (rev 1).

Reply to: