public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Re: Resume -> higher power drain?
       [not found]               ` <20050509090724.GA7781-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
@ 2005-05-09 12:53                 ` Henrik Brix Andersen
       [not found]                   ` <1115643194.15912.41.camel-7g89Hwo0MwsWlyYapE9R8Q@public.gmane.org>
  2005-05-09 13:38                 ` Matthew Garrett
  2005-05-09 13:52                 ` Carl-Daniel Hailfinger
  2 siblings, 1 reply; 11+ messages in thread
From: Henrik Brix Andersen @ 2005-05-09 12:53 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
> That said, a recent X.org radeon driver should post the card, bring the light
> back on (it does on my Dell D600) and make vbetool unnecessary on ATI radeon
> chipsets

How recent? Does this driver also turn off the backlight during S3?

Sincerely,
Brix
-- 
Henrik Brix Andersen <brix-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]               ` <20050509090724.GA7781-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
  2005-05-09 12:53                 ` Henrik Brix Andersen
@ 2005-05-09 13:38                 ` Matthew Garrett
       [not found]                   ` <1115645886.27560.6.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
  2005-05-09 13:52                 ` Carl-Daniel Hailfinger
  2 siblings, 1 reply; 11+ messages in thread
From: Matthew Garrett @ 2005-05-09 13:38 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
> On Sat, May 07, 2005 at 10:02:25PM +0200, Pavel Machek wrote:
> 
> > > So at least for my T42p I can recommend NOT to use vbetool at all for
> > > suspend/resume but rather to use s3_bios!
> > 
> > Can you suggest a patch to Documentation/power/video.txt?
> 
> according to some X guys, vbetool vbestate save/restore is "problematic"
> at least and should only be used as a measure of last resort, if everything
> else fails.

The main advantage of saving/restoring the VBE state is that the code to
do so is likely to actually be there, which is something that you can't
say about POSTing. As far as I can tell, there shouldn't be any issue in
making vbestate calls from text mode, especially in situations where the
alternative is to have no graphics functionality at all. It would be
interesting to look at video card state to see what the difference is
afterwards...

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]                   ` <1115643194.15912.41.camel-7g89Hwo0MwsWlyYapE9R8Q@public.gmane.org>
@ 2005-05-09 13:47                     ` Matthew Garrett
       [not found]                       ` <1115646459.27560.10.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
  2005-05-09 18:26                     ` Stefan Seyfried
  1 sibling, 1 reply; 11+ messages in thread
From: Matthew Garrett @ 2005-05-09 13:47 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, 2005-05-09 at 14:53 +0200, Henrik Brix Andersen wrote:
> On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
> > That said, a recent X.org radeon driver should post the card, bring the light
> > back on (it does on my Dell D600) and make vbetool unnecessary on ATI radeon
> > chipsets
> 
> How recent? Does this driver also turn off the backlight during S3?

Unlikely. At the moment, X doesn't know that the system is suspending.

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]               ` <20050509090724.GA7781-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
  2005-05-09 12:53                 ` Henrik Brix Andersen
  2005-05-09 13:38                 ` Matthew Garrett
@ 2005-05-09 13:52                 ` Carl-Daniel Hailfinger
  2 siblings, 0 replies; 11+ messages in thread
From: Carl-Daniel Hailfinger @ 2005-05-09 13:52 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Stefan Seyfried schrieb:
> On Sat, May 07, 2005 at 10:02:25PM +0200, Pavel Machek wrote:
> 
> 
>>>So at least for my T42p I can recommend NOT to use vbetool at all for
>>>suspend/resume but rather to use s3_bios!
>>
>>Can you suggest a patch to Documentation/power/video.txt?
> 
> 
> according to some X guys, vbetool vbestate save/restore is "problematic"
> at least and should only be used as a measure of last resort, if everything
> else fails.
> 
> That said, a recent X.org radeon driver should post the card, bring the light
> back on (it does on my Dell D600) and make vbetool unnecessary on ATI radeon
> chipsets

A recent X.org radeon driver will switch on the backlight and crash
afterwards on my Samsung P35, exactly the thing "vbetool post" does.
However, POSTing is not enough for my card, I have to restore the
vesa state to actually see something on screen.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]                       ` <1115646459.27560.10.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
@ 2005-05-09 13:55                         ` Nils Faerber
  0 siblings, 0 replies; 11+ messages in thread
From: Nils Faerber @ 2005-05-09 13:55 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Garrett wrote:
> On Mon, 2005-05-09 at 14:53 +0200, Henrik Brix Andersen wrote:
>>On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
>>>That said, a recent X.org radeon driver should post the card, bring the light
>>>back on (it does on my Dell D600) and make vbetool unnecessary on ATI radeon
>>>chipsets
>>How recent? Does this driver also turn off the backlight during S3?
> Unlikely. At the moment, X doesn't know that the system is suspending.

And additionally switching the light off is what seems to work most
reliably on most platforms - just the way back seems to be more critical ;)

CU
  nils faerber

- --
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCf2u0JXeIURG1qHgRAh8rAKDP7rABItff09qN+3aelZvfGaKkjACgw127
kOpzujOrjDBwN1Ct5T64PFQ=
=gzy+
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Re: Resume -> higher power drain?
@ 2005-05-09 13:57 balister
  2005-05-09 14:07 ` Matthew Garrett
  0 siblings, 1 reply; 11+ messages in thread
From: balister @ 2005-05-09 13:57 UTC (permalink / raw)
  To: acpi-devel, Matthew Garrett

x.org from FC3 handles video suspending fine on my 600m.

Philip

>===== Original Message From Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> =====
>On Mon, 2005-05-09 at 14:53 +0200, Henrik Brix Andersen wrote:
>> On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
>> > That said, a recent X.org radeon driver should post the card, bring the 
light
>> > back on (it does on my Dell D600) and make vbetool unnecessary on ATI 
radeon
>> > chipsets
>>
>> How recent? Does this driver also turn off the backlight during S3?
>
>Unlikely. At the moment, X doesn't know that the system is suspending.
>
>--
>Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: NEC IT Guy Games.
>Get your fingers limbered up and give it your best shot. 4 great events, 4
>opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
>win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Re: Resume -> higher power drain?
  2005-05-09 13:57 Re: Resume -> higher power drain? balister
@ 2005-05-09 14:07 ` Matthew Garrett
  0 siblings, 0 replies; 11+ messages in thread
From: Matthew Garrett @ 2005-05-09 14:07 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, 2005-05-09 at 09:57 -0400, balister wrote:
> x.org from FC3 handles video suspending fine on my 600m.

No, x.org from FC3 does nothing whatsoever when you suspend your 600m,
because X doesn't know that the system is suspending. That's fine,
though, because (for the most part) we don't /want/ the X server to fuck
about with the video registers since on resume we're going to fuck about
with them ourselves.
-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]                   ` <1115643194.15912.41.camel-7g89Hwo0MwsWlyYapE9R8Q@public.gmane.org>
  2005-05-09 13:47                     ` Matthew Garrett
@ 2005-05-09 18:26                     ` Stefan Seyfried
  1 sibling, 0 replies; 11+ messages in thread
From: Stefan Seyfried @ 2005-05-09 18:26 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, May 09, 2005 at 02:53:14PM +0200, Henrik Brix Andersen wrote:
> On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
> > That said, a recent X.org radeon driver should post the card, bring the light
> > back on (it does on my Dell D600) and make vbetool unnecessary on ATI radeon
> > chipsets
> 
> How recent? 

seife@strolchi:~> X -version
X Window System Version 6.8.2
Release Date: 9 February 2005

> Does this driver also turn off the backlight during S3?

Well, i have never had problems with the light not turning off during S3
except for one very crappy SHARP machine, but that one turned it off on
lid close, so that was no problem. So usually the problem is getting the
light back _on_ after resume :-)
-- 
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]                   ` <1115645886.27560.6.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
@ 2005-05-09 18:28                     ` Stefan Seyfried
       [not found]                       ` <20050509182836.GB25273-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Seyfried @ 2005-05-09 18:28 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, May 09, 2005 at 02:38:06PM +0100, Matthew Garrett wrote:
> On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
> 
> > according to some X guys, vbetool vbestate save/restore is "problematic"
> > at least and should only be used as a measure of last resort, if everything
> > else fails.

Again, to be clear: this is not my wisdom but from people who know the radeon
chips prettty good (Matthias Hopf, among others)

> The main advantage of saving/restoring the VBE state is that the code to
> do so is likely to actually be there, which is something that you can't
> say about POSTing. As far as I can tell, there shouldn't be any issue in

The radeon X driver apparently knows enough about the chips to re-post them.
Excerpt from my X log:
(WW) RADEON(0): zero MEMSIZE, probably at D3cold. Re-POSTing via int10.
(II) RADEON(0): Primary V_BIOS segment is: 0xc000

> making vbestate calls from text mode, especially in situations where the
> alternative is to have no graphics functionality at all. It would be

Thats what i meant with "only be used as a measure of last resort" :-)

> interesting to look at video card state to see what the difference is
> afterwards...

Probably. Note that i have no knowledge about graphics cards at all, i just
tell what i have been told ;-)
-- 
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]                       ` <20050509182836.GB25273-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
@ 2005-05-09 19:21                         ` Matthew Garrett
  2005-05-10  8:27                         ` Carl-Daniel Hailfinger
  1 sibling, 0 replies; 11+ messages in thread
From: Matthew Garrett @ 2005-05-09 19:21 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, 2005-05-09 at 20:28 +0200, Stefan Seyfried wrote:
> On Mon, May 09, 2005 at 02:38:06PM +0100, Matthew Garrett wrote:

> > The main advantage of saving/restoring the VBE state is that the code to
> > do so is likely to actually be there, which is something that you can't
> > say about POSTing. As far as I can tell, there shouldn't be any issue in
> 
> The radeon X driver apparently knows enough about the chips to re-post them.
> Excerpt from my X log:
> (WW) RADEON(0): zero MEMSIZE, probably at D3cold. Re-POSTing via int10.
> (II) RADEON(0): Primary V_BIOS segment is: 0xc000

Right, but that's only possible if the video BIOS code is still there.
It often isn't, at which point your X server is executing random code.
That's generally a bad thing.

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Resume -> higher power drain?
       [not found]                       ` <20050509182836.GB25273-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
  2005-05-09 19:21                         ` Matthew Garrett
@ 2005-05-10  8:27                         ` Carl-Daniel Hailfinger
  1 sibling, 0 replies; 11+ messages in thread
From: Carl-Daniel Hailfinger @ 2005-05-10  8:27 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Stefan Seyfried schrieb:
> On Mon, May 09, 2005 at 02:38:06PM +0100, Matthew Garrett wrote:
> 
>>On Mon, 2005-05-09 at 11:07 +0200, Stefan Seyfried wrote:
>>
>>
>>>according to some X guys, vbetool vbestate save/restore is "problematic"
>>>at least and should only be used as a measure of last resort, if everything
>>>else fails.
> 
> 
> Again, to be clear: this is not my wisdom but from people who know the radeon
> chips prettty good (Matthias Hopf, among others)
> 
> 
>>The main advantage of saving/restoring the VBE state is that the code to
>>do so is likely to actually be there, which is something that you can't
>>say about POSTing. As far as I can tell, there shouldn't be any issue in
> 
> 
> The radeon X driver apparently knows enough about the chips to re-post them.
> Excerpt from my X log:
> (WW) RADEON(0): zero MEMSIZE, probably at D3cold. Re-POSTing via int10.
> (II) RADEON(0): Primary V_BIOS segment is: 0xc000

Can you please ask the gurus: What is the difference between POSTing with
the X driver and POSTing with vbetool, if both versions use int10? And can
I have the "better int10" of the X driver as an isolated piece of code so
that resume will eventually work even if X is not running?

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-05-10  8:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-09 13:57 Re: Resume -> higher power drain? balister
2005-05-09 14:07 ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2005-05-07 13:53 Nils Faerber
2005-05-07 13:59 ` Carl-Daniel Hailfinger
2005-05-07 14:14   ` Hendrik Jürgens
2005-05-07 14:44     ` Dominik Brodowski
2005-05-07 15:27       ` Nils Faerber
2005-05-07 15:51         ` Nils Faerber
2005-05-07 20:02           ` Pavel Machek
2005-05-09  9:07             ` Stefan Seyfried
     [not found]               ` <20050509090724.GA7781-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-05-09 12:53                 ` Henrik Brix Andersen
     [not found]                   ` <1115643194.15912.41.camel-7g89Hwo0MwsWlyYapE9R8Q@public.gmane.org>
2005-05-09 13:47                     ` Matthew Garrett
     [not found]                       ` <1115646459.27560.10.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
2005-05-09 13:55                         ` Nils Faerber
2005-05-09 18:26                     ` Stefan Seyfried
2005-05-09 13:38                 ` Matthew Garrett
     [not found]                   ` <1115645886.27560.6.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
2005-05-09 18:28                     ` Stefan Seyfried
     [not found]                       ` <20050509182836.GB25273-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-05-09 19:21                         ` Matthew Garrett
2005-05-10  8:27                         ` Carl-Daniel Hailfinger
2005-05-09 13:52                 ` Carl-Daniel Hailfinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox