new ATI sleep code freezes

7 messages, 3 authors, 2003-06-05 · open the first message on its own page

new ATI sleep code freezes

From: <hidden>
Date: 2003-05-29 15:41:43

Hi all,
This has taken me a while to decide it was a bug and not a freak
accident. About one to two times a week I have noticed that my powerbook
will hand during the sleep process. Usually, when the sleep operation
completes, there is a quick screen power blank. Then about another 1.5
seconds of the LCD being illuminated, with what looks like some random
part of video memory being displayed, then finally the machine goes
to sleep. Occasionally I am seeing a freeze during the step where the
machine stays on for 1.5 seconds and has not quite been put to sleep. I
have been unable to diagnose this, as it happens so infrequently, but I
figured by posting I could hopefully get some more people experiencing
this as well. my specs:
	1ghz tipb, 1gig ram, radeon 9M, 2.4.20-ben8

I also do not seem to be doing any tasks at this time, just idling my
window manager.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: new ATI sleep code freezes

From: Michel Dänzer <hidden>
Date: 2003-06-01 19:36:11

On Thu, 2003-05-29 at 17:41, mutex@kerneli.org wrote:
Hi all,
This has taken me a while to decide it was a bug and not a freak
accident. About one to two times a week I have noticed that my powerbook
will hand during the sleep process. Usually, when the sleep operation
completes, there is a quick screen power blank. Then about another 1.5
seconds of the LCD being illuminated, with what looks like some random
part of video memory being displayed, then finally the machine goes
to sleep. Occasionally I am seeing a freeze during the step where the
machine stays on for 1.5 seconds and has not quite been put to sleep. I
have been unable to diagnose this, as it happens so infrequently, but I
figured by posting I could hopefully get some more people experiencing
this as well. my specs:
	1ghz tipb, 1gig ram, radeon 9M, 2.4.20-ben8
Pretty much the same configuration here, but I haven't seen this, even
though I've been enjoying uptimes of weeks, usually with at least one
sleep cycle a day.

What's your DRI related setup?


--
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: new ATI sleep code freezes

From: <hidden>
Date: 2003-06-04 16:28:37

see below...

On Sun, Jun 01, 2003 at 09:36:11PM +0200 or thereabouts, Michel D?nzer wrote:
On Thu, 2003-05-29 at 17:41, mutex@kerneli.org wrote:
quoted
This has taken me a while to decide it was a bug and not a freak
accident. About one to two times a week I have noticed that my powerbook
will hand during the sleep process. Usually, when the sleep operation
completes, there is a quick screen power blank. Then about another 1.5
seconds of the LCD being illuminated, with what looks like some random
part of video memory being displayed, then finally the machine goes
to sleep. Occasionally I am seeing a freeze during the step where the
machine stays on for 1.5 seconds and has not quite been put to sleep. I
have been unable to diagnose this, as it happens so infrequently, but I
figured by posting I could hopefully get some more people experiencing
this as well. my specs:
	1ghz tipb, 1gig ram, radeon 9M, 2.4.20-ben8
Pretty much the same configuration here, but I haven't seen this, even
though I've been enjoying uptimes of weeks, usually with at least one
sleep cycle a day.

What's your DRI related setup?
hmmm well i don't seem to have _any_ sort of DRI setup. Although
you noting for me to look at my XF86Config, i noticed i had left
AGPFastWrite enabled for a test i was running for benh a while ago.
I will set that off and see if that helps at all. I have attached my
XF86Config

Dave

Re: new ATI sleep code freezes

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-06-04 17:15:55

Also make sure you have APM emulation working (check XFree log to see if it found & opened the APM device)

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: new ATI sleep code freezes

From: <hidden>
Date: 2003-06-05 16:35:50

On Wed, Jun 04, 2003 at 07:15:55PM +0200 or thereabouts,
Benjamin Herrenschmidt wrote:
Also make sure you have APM emulation working (check XFree log to see
if it found & opened the APM device)
from my XF86Config file...

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)

But my kernel config says...
CONFIG_PMAC_APM_EMU=y

The only thing unusual is I am running devfs..
so i checked /dev

heliosphan dev # find . -name *apm*
./misc/apm_bios
./apm_bios

/dev/misc/apm_bios has perms:

crw-------    1 mutex    root      10, 134 Dec 31  1969 apm_bios

are those normal permissions ? Also, I'm running an enlightenment
battery applet which afaik uses apm layer to report battery level. So
something has to be working.

Dave

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: new ATI sleep code freezes

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-06-05 16:47:53

On Thu, 2003-06-05 at 18:35, mutex@kerneli.org wrote:
On Wed, Jun 04, 2003 at 07:15:55PM +0200 or thereabouts, Benjamin Herrenschmidt wrote:
quoted
Also make sure you have APM emulation working (check XFree log to see if it found & opened the APM device)
from my XF86Config file...

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)

But my kernel config says...
CONFIG_PMAC_APM_EMU=y

The only thing unusual is I am running devfs..
Poor boy... ;)
so i checked /dev

heliosphan dev # find . -name *apm*
./misc/apm_bios
./apm_bios

/dev/misc/apm_bios has perms:

crw-------    1 mutex    root      10, 134 Dec 31  1969 apm_bios

are those normal permissions ?  Also, I'm running an enlightenment battery applet which afaik uses apm layer to report battery level.  So something has to be working.
Dave
I don't know wtf with devfs & perms, but the problem is here, once you
fix that, it should work much better ;)

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: new ATI sleep code freezes

From: Michel Dänzer <hidden>
Date: 2003-06-05 20:20:48

On Thu, 2003-06-05 at 18:35, mutex@kerneli.org wrote:
On Wed, Jun 04, 2003 at 07:15:55PM +0200 or thereabouts,
Benjamin Herrenschmidt wrote:
quoted
Also make sure you have APM emulation working (check XFree log to see
if it found & opened the APM device)
from my XF86Config file...

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)

But my kernel config says...
CONFIG_PMAC_APM_EMU=y

The only thing unusual is I am running devfs..
so i checked /dev

heliosphan dev # find . -name *apm*
./misc/apm_bios
./apm_bios

/dev/misc/apm_bios has perms:

crw-------    1 mutex    root      10, 134 Dec 31  1969 apm_bios

are those normal permissions ?
I don't know, I don't use devfs, I have:

crw-rw----    1 root     root      10, 134 2003-04-29 13:04
/dev/apm_bios

Anyway, the X server doesn't try to use /dev/misc/apm_bios but
/dev/apm_bios and gets ENOENT.

Also, I'm running an enlightenment battery applet which afaik uses apm
layer to report battery level. So something has to be working.
It might use /proc/apm.


--
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help