Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1220        
   




------- Additional Comments From [EMAIL PROTECTED]  2004-09-10 07:09 -------
hi,

I've talked to Cunningham and we came to the conclusion, that this is
a dri fault.

It's not a fault, but a missing implementation of resume with acpi.
(This was told to me by the dri developers.)
This should work fine with APM, which is not a solution for me!

You can try to install X.org 6.8 and remove the dri support.
After that it'll work fine.

I use an other solution, which works with acpi and dri, 
but need 5 sec more to resume from Suspend to Disk:
I start after suspend a Fake Xsession, which reloads the dri driver and
everything works fine.

Because of the Xsession this script can not be run by a key
combination, but this must be only a output fault of
the fake Xsession command, which must be fixed(have no time
to care about).

You can try this script:

---------------CUT HERE ------------------

#!/bin/sh

#
# IT'S NOT A SOLUTION, BUT ONLY A WORK AROUND FOR
# THE DRI FAULT. FOR USERS WITH A GARBAGE SCREEN
# AFTER RESUME AND ESPECIALLY THOSE WITH ACPI.
# WORKS FOR RADEON AND NVIDIA USERS!!!!
#
# RELEASED UNDER GPL License 2 and later ....


# Software-Suspend 2 script
# Or where ever your hibernate script
# or command is.
/usr/local/sbin/hibernate

# Use this, if you don't have 
# Software Suspend 2, but only
# the integretad software-suspend
# from Kernel
# echo -n 4 > /proc/acpi/sleep

# Or this,which depends on your kernel config
# For pmdisk(Suspend to disk called) mode
# echo -n disk > /sys/power/state

# Only on some systems need, try to run the
# fake Xsession command without suspend 
# stuff as User root.
# Gentoo Users will need this!
export PATH=/usr/X11R6/bin:"${PATH}"  

# Starts a fake Xsession and abort it afterwards
# The dri fault in the radeon driver need this,
# to remove the garbage screen after resume from
# Suspend to Disk
/usr/bin/X11/xinit /bin/false -- :1 &  


exit 0

----------------- CUT HERE --------------------


Suspend to RAM works fine without!

Greetz

Konstantin Filtschew        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to