! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-power-manager vlc fullscreen blanking
Status:
RESOLVED: WONTFIX
Product:
Xfce4-power-manager
Component:
General

Comments

Description Rosen Aleksandrov 2015-05-05 12:03:48 CEST
Hello! From a long time (since 2010) i was wrote here bugreport but i lose my registration, this is new one.
Problem is same

When use for example VLC (fullscreen) on xfce xfce4-power-manager all the time blanking screen. In VLC is checked option "inhibit power manager" I tryied some ideas from IRC channel but doesnt help or doesnt get any information.

LANG=C xfce4-power-manager --dump
---------------------------------------------------
       Xfce power manager version 1.4.4
With policykit support
With network manager support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: True
Has battery: False
Has brightness panel: False
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: False

xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  20
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  6/5    threshold:  2
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/100dpi/,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 1200
  DPMS is Enabled
  Monitor is On

roko__@GA990-FXA-UD3_FX8320 [ 13:03:36 ] [ 05/05/15 ] [ pts/2 ] ~ % xfce4-power-manager --quit && xfce4-power-manager --no-daemon

(xfce4-power-manager:4929): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode


** (xfce4-power-manager:4929): WARNING **: No outputs have backlight property

(xfce4-power-manager:4929): xfce4-power-manager-WARNING **: Failed to get keyboard max brightness level : Method "GetMaxBrightness" with signature "" on interface "org.freedesktop.UPower.KbdBacklight" doesn't exist
Comment 1 Simon Steinbeiss editbugs 2015-05-05 12:33:20 CEST
"timeout:  600" is likely why you're seeing the blanking.

Have you tried manipulating the Blank settings in the Display tab of xfce4-power-manager-settings? This should change the timeout and you can also pull the slider to the absolute left, which should inhibit blanking.
Generally speaking, enabling the presentation mode (via the power manager panel plugin) should also work for your usecase.
Comment 2 Rosen Aleksandrov 2015-05-05 12:42:43 CEST
(In reply to Simon Steinbeiss from comment #1)
> "timeout:  600" is likely why you're seeing the blanking.
> 
> Have you tried manipulating the Blank settings in the Display tab of
> xfce4-power-manager-settings? This should change the timeout and you can
> also pull the slider to the absolute left, which should inhibit blanking.
> Generally speaking, enabling the presentation mode (via the power manager
> panel plugin) should also work for your usecase.

No effect!

http://s016.radikal.ru/i334/1505/4d/c4c71ab93a83.png
Comment 3 Simon Steinbeiss editbugs 2015-05-05 13:12:45 CEST
When manipulating the Blanking setting in the tab you show in your screenshot, does "xset q | grep timeout" show changed values?
(E.g. when setting blanking in xfce4-power-manager to 5 minutes, the value in the terminal should be 300)
Comment 4 Rosen Aleksandrov 2015-05-05 14:05:01 CEST
(In reply to Simon Steinbeiss from comment #3)
> When manipulating the Blanking setting in the tab you show in your
> screenshot, does "xset q | grep timeout" show changed values?
> (E.g. when setting blanking in xfce4-power-manager to 5 minutes, the value
> in the terminal should be 300)

Yeah they changed but when i turn it off Screen doesnt sleep when pc is inactive..

xset q | grep timeout
  timeout:  0    cycle:  0
Comment 5 Simon Steinbeiss editbugs 2015-05-05 14:12:58 CEST
Right, so it seems at least that part works fine. Are the values remembered correctly when you restart the session?
Comment 6 Rosen Aleksandrov 2015-05-05 14:16:20 CEST
(In reply to Simon Steinbeiss from comment #5)
> Right, so it seems at least that part works fine. Are the values remembered
> correctly when you restart the session?

Yes they stored but just doesnt work as expected..
My favourite is vlc and in fullscreen xfce just blanking screen..
Comment 7 Simon Steinbeiss editbugs 2015-05-05 14:32:57 CEST
I'm not sure what you're expecting. In case you expect xfce4-power-manager to actively detect that vlc is running and playing something back and consequently inhibit the screensaver, then I'm sorry to say but that's impossible. Vlc can however inhibit the screensaver on its own (e.g. via xdg-screensaver).

From what I can see, xfce4-power-manager behaves as expected, i.e. with "Presentation mode" activated the screen doesn't blank and with the Blanking timeout set to 0 it doesn't blank at all.
Comment 8 Rosen Aleksandrov 2015-05-05 15:28:04 CEST
(In reply to Simon Steinbeiss from comment #7)
> I'm not sure what you're expecting. In case you expect xfce4-power-manager
> to actively detect that vlc is running and playing something back and
> consequently inhibit the screensaver, then I'm sorry to say but that's
> impossible. Vlc can however inhibit the screensaver on its own (e.g. via
> xdg-screensaver).
> 
> From what I can see, xfce4-power-manager behaves as expected, i.e. with
> "Presentation mode" activated the screen doesn't blank and with the Blanking
> timeout set to 0 it doesn't blank at all.

with 0 doesnt blank but doesnt turn of when pc is inactive.. in XFCE is the only issue.. I reported this in 2010 pretty same..
Comment 9 Simon Steinbeiss editbugs 2015-05-05 15:34:29 CEST
As I said, xfce4-power-manager cannot determine when to inhibit the screensaver and when not to, that is up to the media-player (in your case VLC). We implemented screensaver-inhibition in Parole, so this works fine there. Since we know that this is a problem with some media-players we implemented the Presentation mode as a workaround for this problem, so you can easily and quickly flip a single switch to inhibit the screensaver.

Overall things haven't changed since 2010 unfortunately, it's still up to VLC to inhibit the screensaver because there are no general standards for screensaver-interaction...
Comment 10 Rosen Aleksandrov 2015-05-05 15:38:30 CEST
(In reply to Simon Steinbeiss from comment #9)
> As I said, xfce4-power-manager cannot determine when to inhibit the
> screensaver and when not to, that is up to the media-player (in your case
> VLC). We implemented screensaver-inhibition in Parole, so this works fine
> there. Since we know that this is a problem with some media-players we
> implemented the Presentation mode as a workaround for this problem, so you
> can easily and quickly flip a single switch to inhibit the screensaver.
> 
> Overall things haven't changed since 2010 unfortunately, it's still up to
> VLC to inhibit the screensaver because there are no general standards for
> screensaver-interaction...

Why Invalid ?! This is XFCE problem... If you cant fix one problem for 5 years... This is just sucks...
Comment 11 Rosen Aleksandrov 2015-05-05 15:40:40 CEST
Its not fixed!
Its different wontfix and fixed!

Bug #11889

Reported by:
Rosen Aleksandrov
Reported on: 2015-05-05
Last modified on: 2015-05-05

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Attachments

Additional information