-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X11 regression: mpv no longer prevents screen lock #4752
Comments
The problem is a bug in xdg-screensaver making it not work on KDE's powerdevil see https://bugs.freedesktop.org/show_bug.cgi?id=102124 good luck ever getting this fixed since Freedesktop thinks their shit being completely broken is just "minor" |
If xscrnsaver helps you just add back, easy revert to maintain, at least for a while |
Thanks. For the time being, I already reverted to the last release (0.26.0) which also works fine. I just hope that the problem will be eventually dealt with somehow. |
Similar problem here. |
@fhlfibh try installing xdg-screensaver. |
@CounterPillow UPD.
7 packages only to let the monitor not to go black... |
@fhlfibh no, I mean xdg-utils |
@fhlfibh well you go tell that to the chucklefucks that complained about the xscreensaver dependency then |
I have xdg-screensaver, but i was experiencing this problem until i did apply the mc4man's patch. |
@CounterPillow actually, it was me #4404 But as far as I remember, first a) mpv had Anyway, personally I have only a little idea about how all these screensavers work, I only noted an issue and that the patch fixes it. |
@fhlfibh so you complained about the dependencies being there and wanted to disable them, and now you complain about them being gone? Fuck this I'm out. I clearly cannot comprehend the enlightened intellect it takes to be a gentoo user. |
@CounterPillow Being a gentoo user actually requires no intellect, only an ass to sit on. And I'm sitting on mine long enough. |
All that 'patch' does is revert the commit behind this, i.e. the way it was. |
Well, after replacing the xdg-screensaver script with newer version, it works fine. |
@cranes-bill What exactly "newer version" do you mean? Not sure if I should open a new issue or keep going here... Anyway:
And the patch from above doesn't work anymore... |
Yeah, they took what worked fine for 99% of users & now screwed it up but good. If 6694048 means one has to find some new xdg script then it's even stupider than the 1st minor screwup. |
@mc4man Is is possible to make a new patch that replaces the recent commit with the old code? Maybe the new xscrnsaver thing now works out Ok for someones, but for me personally all this screensaver story goes only from bad to worse, from its very beginning... |
I can confirm that 6694048 doesn't fix the issue for me. |
anyone affected by this, you must:
|
fwiw, for comparison, since mpv devs apparently like looking to vlc for guidance, the situation there is that after much bikeshedding, dbus was finally implemented as the least worst solution: https://trac.videolan.org/vlc/ticket/4739, https://trac.videolan.org/vlc/ticket/7824, https://github.com/videolan/vlc/blob/master/modules/misc/inhibit/dbus.c |
There's no need for sarcasm, and it won't help your cause. You do realize the changes are not made to annoy users, right? and they can be improved or reverted over time, based on feedback. The information you provide is good enough. |
On 08/15/2017 06:21 PM, Kranky K. Krackpot wrote:
@mc4man <https://github.com/mc4man> Is is possible to make a new patch
that replaces the recent commit with the old code?
Maybe the new xscrnsaver thing now works out Ok for someones, but for
me personally all this screensaver story goes only from bad to worse...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4752 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFr3WbP6RVjFNCvR-108bteQs7EllSUEks5sYhnwgaJpZM4O1DFd>.
(- thought I'd repiled to you, maybe thunderbird sent somewhere else..
Ultimately a waste of time reverting multiple commits, also consider
next threatened move is to remove it all.
You can do yourself if you clone the complete repo, either directly with
a git revert command or use git show -R command to create patch.
Just work newest to oldest commit to revert.
Like (use full commit number if this place truncates. -
git revert 6694048
git revert 3f75b3c
(you can probably string in 1 command, didn't look..
or for a patch
git show -R 6694048 3f75b3c > ../ss3.patch
|
@fhlfibh commented 10 hours ago:
@catharanthus commented 10 hours ago:
|
If it doesn't work this time, I'll remove all X11 screensaver code. Fixes #4763.
This is now broken in XFCE as well, I double checked that I have The logs with the latest mpv (git) show: However, opening mpv and then separately calling
In my case, in XFCE, I get output resembling:
Note: While the error still appears in the logs, it does stop the display from blanking out while the video is playing. I don't know why the current mpv implementation doesn't work for XFCE but hopefully this is helpful towards finding a solution. |
Broken in LXDE too, xdg-tools is installed. Can you just revert these screensaver related commits to how it was? It is useless trying to fix this if Gnome and KDE guys can't agree upon a simple protocol, at least legacy protocol worked |
Sadly I am having the same behavior "screen lock" behavior with MPV 0.32.0 in Ubuntu 20.04.1 with GNOME 3.36.3 as reported here: Should I create a new issue!? @LaserEyess |
mpv version and platform
mpv version: 0.26.0-140-g1a1f6e8581
Kubuntu 17.04 with KDE Plasma 5.9.4
Reproduction steps
In system settings, set the screen lock delay to some small value (like 1 min)
Start playing some video with mpv
Wait for a specified time without keyboard/mouse events
Expected behavior
mpv should prevent the system from locking the screen when video is being played.
Actual behavior
The system automatically locks the screen.
The regression manifests itself since 3f75b3c.
Log file
https://pastebin.com/4QRpbmEZ
The text was updated successfully, but these errors were encountered: