mpv-player / mpv-player/mpv

MPV interfering with macOS lock screen &/ screen saver

Open
#16,062 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:mac
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv Information
mpv 0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Sep 28 2024 21:48:54
libplacebo version: v7.349.0
FFmpeg version: 6.1.2
FFmpeg library versions:
   libavcodec      60.31.102
   libavdevice     60.3.100
   libavfilter     9.12.100
   libavformat     60.16.100
   libavutil       58.29.100
   libswresample   4.12.100
   libswscale      7.5.100
Other Information
- macOS version: 15.3.2 (24D81)
- Source of mpv: ?
- Latest known working version: don't think I suffered this issue last month and since the last mpv release was months ago (i.e. 2024-09-23) I sense a macOS update is responsible for this issue..?
- Issue started after the following happened: perhaps latest macOS update (i.e. 15.3.2 (24D81)-ish)
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

  1. Open MPV
  2. Play an audio file
  3. Observe macOS screen saver &/ lock screen no longer functions/triggers

If you're reading and:

  • agree then please vote up (e.g. +1, like), or;
  • disagree then please vote down (e.g. -1, dislike) - I'd love to know why?

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:
  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached output.txt and reproducing the issue on macOS 15.3.2 with mpv 0.39.0 while audio is playing. Done means the macOS screen saver and lock screen trigger normally while mpv remains open and playing audio.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.