Screen lock after some minutes while playing vidoes from mpv player.

Bug #1895941 reported by Suraj Poudel
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mpv (Ubuntu)
Confirmed
Undecided
Unassigned
mutter (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I installed mpv player from APT repository.
It was working fine but from last week I have been experiencing this issue.
The issue is: Screen gets locked while watching video.

Normally, this should not have happened. But something has gone wrong.
Video continue to play in background but to watch it I need to unlock the screen. I was using wayland when this problem started..

Something is triggering to lock the screen while playing any movies/videos, which is very weird.
Let me know if you need more output to resolve this issue.

suraj@surtoshwi ~> mpv --version
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil 56.31.100
   libavcodec 58.54.100
   libavformat 58.29.100
   libswscale 5.5.100
   libavfilter 7.57.100
   libswresample 3.5.100
ffmpeg version: 4.2.4-1ubuntu0.1

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mpv 0.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
Uname: Linux 5.4.0-47-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 17 13:18:02 2020
InstallationDate: Installed on 2020-04-24 (145 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: mpv
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Suraj Poudel (suraj1109) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mpv (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If you are using the standard Xorg session then this shouldn't happen at all.

If you are using a Wayland session then it's a known issue. Though I can't seem to find the previous bug report right now.

Does the problem really happen in Xorg sessions or were you using Wayland at the time?

Changed in mpv (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This sounds like https://github.com/mpv-player/mpv/issues/4752 but we already have the fix for that.

Please report the issue to the developers at:

  https://github.com/mpv-player/mpv/issues

and then tell us the new issue ID.

Revision history for this message
Suraj Poudel (suraj1109) wrote :

i was using wayland at that time..

Changed in mpv (Ubuntu):
status: Incomplete → New
description: updated
Revision history for this message
Compiler (pranav.bhattarai) wrote :
Revision history for this message
Compiler (pranav.bhattarai) wrote :

Just reported a new issue in Github: https://github.com/mpv-player/mpv/issues/8097

Revision history for this message
Doug McMahon (mc3man) wrote :

Likely from this which has been dragging on for a couple of years
https://gitlab.gnome.org/GNOME/mutter/-/issues/20

Probably could be resolved via a patch but Ubuntu won't be doing that..
(- patched testing mutter available in a ppa upon request.

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in mpv (Ubuntu):
status: New → Confirmed
Revision history for this message
Doug McMahon (mc3man) wrote :

Well someone requested so here, self explanatory on ppa page, patch in /debian/patches folder..
 https://launchpad.net/~mc3man/+archive/ubuntu/mutterpatch

Revision history for this message
Compiler (pranav.bhattarai) wrote :

I don't want to try "probably not will be maintained" personl project PPA as it says, "Purely for testing, will probably not maintain. Only lightly tested for unintended consequences..".

But hope there will a fix from big players instead.

Changed in mutter:
status: Unknown → New
Changed in mutter:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.