-
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
dmabuf-wayland in git doesn't block the screensaver, even while videos are playing and with/without --stop-screensaver=yes|always #15181
Comments
mpv is doing everything fine from its side, this is probably a KDE bug because it's confused about subsurfaces |
Reported against powerdevil then: https://bugs.kde.org/show_bug.cgi?id=495375 Let's see. |
Should be a report against Kwin |
Yeah, I wondered about that. Thanks. |
We had similar issue in the past on mutter (#14206) and the culprit ended up being that we didn't set the idle inhibitor on the surface actually playing the video and changed it to that. I think the change for mutter was correct however so I would expect kwin needs a fix. |
To be clear, we should set the idle inhibitor on the surface that's always visible. This is the video subsurface, but the osd subsurface may be above it which might cause Kwin to think the video surface is occluded? Can't think of anything else |
We are using transparent buffers for the osd though. |
btw. I experience the video turning black with vo=dmabuf-wayland, when screen geometry changes (i.e. additional displays get turned on / off), pausing/unpausing doesn't help - moving foward/backward does though. And strange behavior with i and o when paused, info / progress doesn't always show on the video, often needs two or more button presses. Are these kwin issues as well or should I open new issues here? |
Those sound like kwin problems to me. Changing around outputs shouldn't affect the idle inhibitor. |
No, these two issues don't relate to the idle inhibitor, and thus not to this issue. I'm just unsure where to file them. |
Oh I thought by "turning black" you mean the idle inhibiting thing not actually rendering black. You can open up a new issue here although it's not clear to me why that would happen (does sound like upstream but I didn't verify myself yet). |
mpv Information
Other Information
Reproduction Steps
play video file with mpv --no-config --vo=dmabuf-wayland (optionally with --stop-screensaver=yes|always)
Expected Behavior
Screen blanking/screensaver doesn't kick in while video is playing (defaults, --stop-screensaver=yes)
Screen blanking/screensaver doesn't kick in at all (--stop-screensaver=always)
Actual Behavior
Screen blanking/screensaver starts, even while the video is playing.
This doesn't happen with --vo=gpu-next
Log File
mpv.log
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: