Re: mplayer, dpms problem

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

 




--- Antonio Olivares <olivares14031@xxxxxxxxx> wrote:

> Dear all,
>   I would like to kindly ask for your advice
> regarding
> an issue with mplayer.  I have the Gnome power
> control
> enabled to blank the screen after 2 minutes. 
> Previously, when playing films with mplayer the
> command 
> $ mplayer dvd:// -alang en -stop-xscreensaver 
> worked till the movie finished.  
> In Fedora Core 5 and the new inclusion of
> gnome-screensaver, this also worked.  However, with
> Core 6, mplayer plays the movie but dpms kicks in
> and
> blanks the screen.  How can I tell dpms not to kick
> in
> and allow mplayer to play the complete movie without
> blanking the screen?
> 
> I have tried to use
> $ xset -dpms and
> $ xset dpms off but
> Power Savings kicks in and monitor blanks after 2
> minutes.  I do not want to disable power savings on
> in
> Gnome Power Manager.  I want to find a viable
> solution.  Thank you for your time and advice.  
> 
> Regards,
> 
> Antonio 
> 
> 
>  
>
____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail.yahoo.com
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> 

Sorry to reply to my own post, but here's an example
what I have tried so far,

[olivares@localhost singles]$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED
mask:  00000002
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell
duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0   
WhitePixel:  16777215
Font Path:
  unix/:7100,built-ins
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file:     /var/log/Xorg.0.log
[olivares@localhost singles]$ xset dpms off
xset:  unknown option off

usage:  xset [-display host:dpy] option ...
    To turn bell off:
        -b                b off               b 0
    To set bell volume, pitch and duration:
         b [vol [pitch [dur]]]          b on
    To disable bug compatibility mode:
        -bc
    To enable bug compatibility mode:
        bc
    To turn keyclick off:
        -c                c off               c 0
    To set keyclick volume:
         c [0-100]        c on
    To control Energy Star (DPMS) features:
        -dpms      Energy Star features off
        +dpms      Energy Star features on
         dpms [standby [suspend [off]]]     
              force standby 
              force suspend 
              force off 
              force on 
              (also implicitly enables DPMS features) 
              a timeout value of zero disables the
mode 
    To control font cache:
         fc [hi-mark [low-mark [balance]]]
            both mark values spcecified in KB
            balance value spcecified in percent (10 -
90)
    Show font cache statistics:
         fc s
    To set the font path:
         fp= path[,path...]
    To restore the default font path:
         fp default
    To have the server reread font databases:
         fp rehash
    To remove elements from font path:
        -fp path[,path...]  fp- path[,path...]
    To prepend or append elements to font path:
        +fp path[,path...]  fp+ path[,path...]
    To set LED states off or on:
        -led [1-32]         led off
         led [1-32]         led on
    To set mouse acceleration and threshold:
         m [acc_mult[/acc_div] [thr]]    m default
    To set pixel colors:
         p pixel_value color_name
    To turn auto-repeat off or on:
        -r [keycode]        r off
         r [keycode]        r on
         r rate [delay [rate]]
    For screen-saver control:
         s [timeout [cycle]]  s default    s on
         s blank              s noblank    s off
         s expose             s noexpose
         s activate           s reset
    For status information:  q
[olivares@localhost singles]$ xset -dpms
[olivares@localhost singles]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED
mask:  00000002
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell
duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0   
WhitePixel:  16777215
Font Path:
  unix/:7100,built-ins
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file:     /var/log/Xorg.0.log
[olivares@localhost singles]$ mplayer dvd:// -alang en
-stop-xscreensaver
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2700+ (Family: 6, Model: 8,
Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1
SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow
3DNowEx SSE

Playing dvd://.
There are 13 titles on this DVD.
There are 22 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid:
128.
audio stream: 1 format: ac3 (5.1) language: fr aid:
129.
audio stream: 2 format: ac3 (5.1) language: es aid:
130.
number of audio channels on disk: 3.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: fr
subtitle ( sid ): 2 language: es
number of subtitles on disk: 3
Selected DVD audio channel: 128 language: en
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7500.0
kbps (937.5 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver
window.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video
passthrough
VDec: vo config request - 720 x 480 (preferred
colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf
scale...
Opening video filter: [scale]
The selected video_out device is incompatible with
this codec.
Try adding the scale filter, e.g. -vf spp,scale
instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video
decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1
or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with
liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17%
(ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred
colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie
aspect.
VO: [xv] 720x480 => 854x480 Planar YV12 
A:   0.5 V:   0.5 A-V:  0.015 ct:  0.030  15/ 12 ??%
??% ??,?% 4 0 
demux_mpg: 24000/1001fps progressive NTSC content
detected, switching framerate.
A: 123.8 V: 123.8 A-V:  0.005 ct:  0.067 2972/2969 12%
 1%  1.7% 9 0 
A: 136.9 V: 136.9 A-V:  0.026 ct:  0.066 3286/3283 12%
 1%  1.7% 12 0 
Exiting... (Quit)
[olivares@localhost singles]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED
mask:  00000002
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell
duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0   
WhitePixel:  16777215
Font Path:
  unix/:7100,built-ins
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file:     /var/log/Xorg.0.log
[olivares@localhost singles]$ man xset
[olivares@localhost singles]$ xset -dpms
[olivares@localhost singles]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED
mask:  00000002
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell
duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0   
WhitePixel:  16777215
Font Path:
  unix/:7100,built-ins
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file:     /var/log/Xorg.0.log
[olivares@localhost singles]$ mplayer dvd:// -alang en
-stop-xscreensaver
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2700+ (Family: 6, Model: 8,
Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1
SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow
3DNowEx SSE

Playing dvd://.
There are 13 titles on this DVD.
There are 22 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid:
128.
audio stream: 1 format: ac3 (5.1) language: fr aid:
129.
audio stream: 2 format: ac3 (5.1) language: es aid:
130.
number of audio channels on disk: 3.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: fr
subtitle ( sid ): 2 language: es
number of subtitles on disk: 3
Selected DVD audio channel: 128 language: en
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7500.0
kbps (937.5 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver
window.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video
passthrough
VDec: vo config request - 720 x 480 (preferred
colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf
scale...
Opening video filter: [scale]
The selected video_out device is incompatible with
this codec.
Try adding the scale filter, e.g. -vf spp,scale
instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video
decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1
or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with
liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17%
(ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred
colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie
aspect.
VO: [xv] 720x480 => 854x480 Planar YV12 
A:   0.5 V:   0.5 A-V:  0.023 ct:  0.026  15/ 12 ??%
??% ??,?% 0 0 
demux_mpg: 24000/1001fps progressive NTSC content
detected, switching framerate.
A: 128.1 V: 128.0 A-V:  0.006 ct:  0.068 3074/3071 13%
 1%  1.3% 0 0 
Exiting... (Quit)
[olivares@localhost singles]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED
mask:  00000002
  auto repeat delay:  500    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell
duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0   
WhitePixel:  16777215
Font Path:
  unix/:7100,built-ins
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file:     /var/log/Xorg.0.log
[olivares@localhost singles]$ 



If you follow closely along, I manually disable dpms
using xset -dpms, and try to play the movie, but then
it automatically enables despite the command not to do
it.  Somewhere I read that it was a bug in Xorg, but I
could not find it.  

Thank you for your help/advice,

Antonio 


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux