{SOLVED} Issue screen blacking out with MPV ONLY !!

Earthworm4478

Member
Joined
Jul 30, 2022
Messages
32
Reaction score
3
Credits
297
I want to use MPV but cannot because the screen is being blacked out after 5 minutes. I have that set up in Power Management.
I do not have that issue with VLC.
Anyone has any workaround so MPV would behave as VLC ?
 
Last edited:


forester

Well-Known Member
Joined
Mar 5, 2022
Messages
544
Reaction score
315
Credits
3,829
Were the repos updated and upgraded before the install of MPV?
Have you removed any other media players previously installed prior to upgrade?
 
OP
E

Earthworm4478

Member
Joined
Jul 30, 2022
Messages
32
Reaction score
3
Credits
297
@forester
The repos weren't upgraded/updated prior to installing.
I have removed once MPV to run a clean install of MPV but same issue.
@Tolkem I am using Arco Linux. Gnome using Wayland. mpv 0.34
 
OP
E

Earthworm4478

Member
Joined
Jul 30, 2022
Messages
32
Reaction score
3
Credits
297
Probably have the reason why MPV is dimming the screen

MPV Dimming

Disabling Screensaver​


By default, mpv tries to disable the OS screensaver during playback (only if a VO using the OS GUI API is active). --stop-screensaver=no disables this.

A common problem is that Linux desktop environments ignore the standard screensaver APIs on which mpv relies. In particular, mpv uses the Screen Saver extension (XSS) on X11, and the idle-inhibit protocol on Wayland.

GNOME in particular still ignores the idle-inhibit protocol, and has its own D-Bus interfaces for display power management, which mpv does not support.

Before mpv 0.33.0, the X11 backend ran xdg-screensaver reset in 10 second intervals when not paused in order to support screensaver inhibition in these environments. This functionality was removed in 0.33.0, but it is possible to call the xdg-screensaver command line program from a user script instead.

Don't know how to fix the issue though :D
 
OP
E

Earthworm4478

Member
Joined
Jul 30, 2022
Messages
32
Reaction score
3
Credits
297
I tried to use extensions such as caffein/espresso but then I have issue with suspend when I activate those xtensions. My rig never sleeps when those xtensions are ON.
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,906
Reaction score
4,913
Credits
36,907
VLC is looking pretty good...?
 

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,504
Reaction score
1,241
Credits
10,990

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,410
Reaction score
7,334
Credits
33,623
I have Arcolinux Xfce and Arcolinux Cinnamon in my stable. Both running under x11 (X.org).

On the Xfce I had to install mpv. I only have an audio CD from the car to use, and it plays fine and shows on the status bar but the rest of the windowed screen is black.

On the Cinnamon it was pre-installed, but also has Celluloid as a GTK frontend. Same appearance, same results in that it plays the music OK.

Have you taken a look yet at Erik Dubois' Arcolinux Forum? Might be something to be asked there.

Chris Turner
wizardfromoz
 
OP
E

Earthworm4478

Member
Joined
Jul 30, 2022
Messages
32
Reaction score
3
Credits
297
Let the penguin march. Linux awesome sauce. Issue is resolved with 'mpv_inhibit_gnome' installation.
On arch easy install if you are using another distro, don't know if available.
Thanks guys for your replies..
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,410
Reaction score
7,334
Credits
33,623
Great news. :)

If you go to your first Post, you can edit it to put

[SOLVED]

at the start of your subject title.

Cheers

Wizard
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com


Top