public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Can't Play avi/mov files after S4 Resume
@ 2004-03-11  5:19 Ow Mun Heng
       [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA04A92547-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ow Mun Heng @ 2004-03-11  5:19 UTC (permalink / raw)
  To: Acpi-List (E-mail)



> > -----Original Message-----
> > From: Ow Mun Heng 
> > Hi All,
> > 
> > RH9 + D600 + 2.6.3 kernel (acpi-20040211 patch + laptop mode)
> > suspend is compiled into the kernel
> > tg3/sound/usb as modules
>   S4 Suspend and resume works Great
>
> > I've tried S1 and S3..no Dice. The suspend works ok.. but 
> > on powering on.. hard disk spins up.. no Console/X11.
> > (I guess this is a known issue)
> > 
However, I just found out that Video will not work(after
resuming from S4 suspend). Eg: Playing any
AVI/MOV etc files. Sound will be Ok but no picture. Xine/Mplayer is 
the same. 

It'll work fine once I perform proper reboot.

Any Ideas?

 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

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

* Re: Can't Play avi/mov files after S4 Resume
       [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA04A92547-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
@ 2004-03-11 11:08   ` Nils Faerber
  0 siblings, 0 replies; 4+ messages in thread
From: Nils Faerber @ 2004-03-11 11:08 UTC (permalink / raw)
  To: Ow Mun Heng; +Cc: Acpi-List (E-mail)

Am Do, den 11.03.2004 schrieb Ow Mun Heng um 06:19:
> > > -----Original Message-----
> > > From: Ow Mun Heng 
> > > Hi All,
> > > 
> > > RH9 + D600 + 2.6.3 kernel (acpi-20040211 patch + laptop mode)
> > > suspend is compiled into the kernel
> > > tg3/sound/usb as modules
> >   S4 Suspend and resume works Great
> >
> > > I've tried S1 and S3..no Dice. The suspend works ok.. but 
> > > on powering on.. hard disk spins up.. no Console/X11.
> > > (I guess this is a known issue)
> > > 
> However, I just found out that Video will not work(after
> resuming from S4 suspend). Eg: Playing any
> AVI/MOV etc files. Sound will be Ok but no picture. Xine/Mplayer is 
> the same. 
> It'll work fine once I perform proper reboot.
> Any Ideas?

Is this using X11/XFree86?
If yes then check (after resume) with xvinfo if your XVideo extensions
are still online, I suspect not. Another clue would be to try the x11
mplayer driver instead of the probable deafult xv driver.

If this helps then the video driver of your card is a little broken and
does not reinitialise the XV...

CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* RE: Can't Play avi/mov files after S4 Resume
@ 2004-03-12  2:25 Ow Mun Heng
       [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA04A925FF-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ow Mun Heng @ 2004-03-12  2:25 UTC (permalink / raw)
  To: Nils Faerber; +Cc: Acpi-List (E-mail)



> -----Original Message-----
> From: Nils Faerber [mailto:nils.faerber-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org]
> Sent: Thursday, March 11, 2004 7:08 PM
> To: Ow Mun Heng
> Cc: Acpi-List (E-mail)
> Subject: Re: [ACPI] Can't Play avi/mov files after S4 Resume
> 
> 
> Am Do, den 11.03.2004 schrieb Ow Mun Heng um 06:19:
> > > > -----Original Message-----
> > > > From: Ow Mun Heng 
> > > > Hi All,
> > > > 
> > > > RH9 + D600 + 2.6.3 kernel (acpi-20040211 patch + laptop mode)
> > > > suspend is compiled into the kernel
> > > > tg3/sound/usb as modules
> > >   S4 Suspend and resume works Great
> > >
> > > > I've tried S1 and S3..no Dice. The suspend works ok.. but 
> > > > on powering on.. hard disk spins up.. no Console/X11.
> > > > (I guess this is a known issue)
> > > > 
> > However, I just found out that Video will not work(after
> > resuming from S4 suspend). Eg: Playing any
> > AVI/MOV etc files. Sound will be Ok but no picture. Xine/Mplayer is 
> > the same. 
> > It'll work fine once I perform proper reboot.
> > Any Ideas?
> 
> Is this using X11/XFree86?
> If yes then check (after resume) with xvinfo if your XVideo extensions
> are still online, I suspect not. Another clue would be to try the x11
> mplayer driver instead of the probable deafult xv driver.
> 
> If this helps then the video driver of your card is a little 
> broken and
> does not reinitialise the XV...


Yes.. X11/XFree86

Diff -Nau /tmp/xvinfo-boot /tmp/xvinfo-resume
--- /tmp/xvinfo-boot	2004-03-12 09:19:23.119722264 +0800
+++ /tmp/xvinfo-resume	2004-03-12 09:15:31.000000000 +0800
@@ -27,19 +27,19 @@
               client gettable attribute (current value is 1)
       "XV_BRIGHTNESS" (range -1000 to 1000)
               client settable attribute
-              client gettable attribute (current value is 0)
+              client gettable attribute (current value is -2)
       "XV_CONTRAST" (range -1000 to 1000)
               client settable attribute
-              client gettable attribute (current value is 0)
+              client gettable attribute (current value is -12)
       "XV_SATURATION" (range -1000 to 1000)
               client settable attribute
-              client gettable attribute (current value is 0)
+              client gettable attribute (current value is -2)
       "XV_COLOR" (range -1000 to 1000)
               client settable attribute
-              client gettable attribute (current value is 0)
+              client gettable attribute (current value is -2)
       "XV_HUE" (range -1000 to 1000)
               client settable attribute
-              client gettable attribute (current value is 0)
+              client gettable attribute (current value is -2)
       "XV_RED_INTENSITY" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)

So.. Seems to me that everything's OK I guess. Unless the "-2"
are at fault.

I've tried all drivers I guess. I'm using "Auto" in Xine.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

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

* Re: Can't Play avi/mov files after S4 Resume
       [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA04A925FF-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
@ 2004-03-15  1:22   ` Stefan Seyfried
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Seyfried @ 2004-03-15  1:22 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Fri, Mar 12, 2004 at 10:25:25AM +0800, Ow Mun Heng wrote:

> Yes.. X11/XFree86
> 
> Diff -Nau /tmp/xvinfo-boot /tmp/xvinfo-resume
> --- /tmp/xvinfo-boot	2004-03-12 09:19:23.119722264 +0800
> +++ /tmp/xvinfo-resume	2004-03-12 09:15:31.000000000 +0800
> @@ -27,19 +27,19 @@
>                client gettable attribute (current value is 1)
>        "XV_BRIGHTNESS" (range -1000 to 1000)
>                client settable attribute
> -              client gettable attribute (current value is 0)
> +              client gettable attribute (current value is -2)
>        "XV_CONTRAST" (range -1000 to 1000)
>                client settable attribute
> -              client gettable attribute (current value is 0)
> +              client gettable attribute (current value is -12)

> So.. Seems to me that everything's OK I guess. Unless the "-2"
> are at fault.

no, probably your player set them, these are user settable attributes.
but maybe the driver is just plain broken. Try restarting X after resume
(although for me this is almost equivalent to rebooting the machine from
a users viewpoint), maybe it helps.
 
> I've tried all drivers I guess. I'm using "Auto" in Xine.

No. I'm not familiar with xine, but it probably detects that xv should
work and uses it. Although it does not work any longer....
Try explicitly selecting "-vo x11" on mplayer or the equivalent on xine,
but this will disable hardware accelerated scaling.
-- 
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

end of thread, other threads:[~2004-03-15  1:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11  5:19 Can't Play avi/mov files after S4 Resume Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA04A92547-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-11 11:08   ` Nils Faerber
  -- strict thread matches above, loose matches on Subject: below --
2004-03-12  2:25 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA04A925FF-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-15  1:22   ` Stefan Seyfried

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