-
Notifications
You must be signed in to change notification settings - Fork 3k
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
MPV interfering with macOS lock screen &/ screen saver #16062
Comments
first of all, i just tested it and everything works as expected. eg for music only playback (without instantiated vo) my screensaver + lock screen activate as configured in the system settings. the log you posted is not a log with your issue happening, eg you don't open and play any file. also try a current build from master. do you use the bundle or the binary directly? to log every second which processes prevent sleep you can use this command:
[edit] |
Thanks for quick reply I tested again and, respectfully, still have the issue If I play a file (e.g. audio) with MPV then macOS fails to activate screen saver and thus screen lock - whether MPV is active window or not doesn't seem to matter either Erm, I'm using Homebrew so rather not (have to) mess around with specific builds at this point but may resort to that if problem persists later - simply some acknowledgement this issue exists is good enough for me to wait for fix I'm using UI so no flags while true; do echo "-----------------------------------------"; pmset -g assertions | grep -i sleep; sleep 1; done
-----------------------------------------
PreventUserIdleDisplaySleep 1
PreventSystemSleep 0
PreventUserIdleSystemSleep 1
pid 511(coreaudiod): [0x00011b6100019ec9] 00:06:51 PreventUserIdleSystemSleep named: "com.apple.audio.BuiltInSpeakerDevice.context.preventuseridlesleep"
pid 440(powerd): [0x00011a6100019e96] 00:11:07 PreventUserIdleSystemSleep named: "Powerd - Prevent sleep while display is on"
pid 17238(mpv): [0x00011b6100059ecd] 00:06:51 PreventUserIdleDisplaySleep named: "io.mpv.video_playing_back"
----------------------------------------- Ya, seems to suggest got a MPV issue here 👍 - fix tips welcome! Hope to hear back Cheers |
mpv Information
Other Information
Reproduction Steps
Hi all,
Hope you're OK!
Thanks for software - appreciate you!
As title
As a (macOS) user, when MPV is running, I still want macOS screen saver &/ lock screen to function because otherwise it's a security issue for me
This issue seems to have emerged around the same time as seeing the new "game mode" issue so maybe related..?
Steps to reproduce issue
If you're reading and:
Welcome feedback/input
Hope this helps & to hear back
Cheers
Expected Behavior
macOS screen saver &/ lock screen still functions/triggers
Actual Behavior
macOS screen saver &/ lock screen no longer functions/triggers
Log File
output.txt
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: