GNU bug report logs - #59279
MPV does not work on X11

Previous Next

Package: guix;

Reported by: "Jorge P. de Morais Neto" <jorge+list <at> disr.it>

Date: Tue, 15 Nov 2022 06:17:02 UTC

Severity: normal

Merged with 59339

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59279 in the body.
You can then email your comments to 59279 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#59279; Package guix. (Tue, 15 Nov 2022 06:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jorge P. de Morais Neto" <jorge+list <at> disr.it>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 15 Nov 2022 06:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Jorge P. de Morais Neto" <jorge+list <at> disr.it>
To: bug-guix <at> gnu.org
Subject: MPV does not work on X11 on Debian
Date: Mon, 14 Nov 2022 15:54:58 -0300
Hi.  MPV stopped working on my Debian bullseye since the upgrade to
version 0.35.  I have locally fixed the problem by adding libxpresent
input to mpv recipe.

Regards
-- 
- Many people hate injustice but few check the facts; this causes more
  injustice.  Ask me about <https://stallmansupport.org>
- Please adopt free/libre formats like PDF, Org, LaTeX, ODF, Opus, WebM and 7z.
- Libre apps for AOSP (Replicant, LineageOS, etc.) and Android: F-Droid
- https://www.gnu.org/philosophy/free-sw.html "What is free software?"




Information forwarded to bug-guix <at> gnu.org:
bug#59279; Package guix. (Thu, 17 Nov 2022 00:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 59279 <at> debbugs.gnu.org (full text, mbox):

From: Markus Nilsson <markusnilsson890 <at> gmail.com>
To: 59279 <at> debbugs.gnu.org
Subject: Mpv also won't play video on Guix System
Date: Thu, 17 Nov 2022 00:08:51 +0000
[Message part 1 (text/plain, inline)]
I can confirm that on Guix System mpv also fails after the upgrade to 0.35
<https://issues.guix.gnu.org/59240>.

Mpv won't play videos but it can play audio in the terminal. When trying to
play videos it will give the following error:

"[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be
unavailable.
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
[vo/gpu] Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] Failed to set CRTC for connector 66: Permission denied
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)"

This also sometimes causes the desktop environment to crash and go to the
login screen.

A quick google search indicates that this seems to happen because mpv now
needs libxpresent to work with x11 (just like Jorge P. de Morais said above
):

Mpv Issue no.
<https://github.com/mpv-player/mpv/issues/10327#issuecomment-1162820068>
10327
<https://github.com/mpv-player/mpv/issues/10327#issuecomment-1162820068>
Arch Linux package mpv-git
<https://aur.archlinux.org/packages/mpv-git#comment-870591>
Mpv Issue no. 9773
<https://github.com/mpv-player/mpv/issues/9773#issuecomment-1175611463>

I would submit a patch to fix this if I was better at guile. Is someone out
there up to the task?

Cheers
Markus
[Message part 2 (text/html, inline)]

Changed bug title to 'MPV does not work on X11' from 'MPV does not work on X11 on Debian' Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Fri, 18 Nov 2022 13:10:02 GMT) Full text and rfc822 format available.

Merged 59279 59339. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Fri, 18 Nov 2022 13:10:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#59279; Package guix. (Sat, 19 Nov 2022 09:55:01 GMT) Full text and rfc822 format available.

Message #15 received at 59279 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 59279 <at> debbugs.gnu.org
Subject: Re: bug#59279: MPV does not work on X11
Date: Sat, 19 Nov 2022 10:53:52 +0100
[Message part 1 (text/plain, inline)]
Hi,

Could someone test the patch at 
<https://issues.guix.gnu.org/59378>?

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#59279; Package guix. (Sat, 19 Nov 2022 20:58:01 GMT) Full text and rfc822 format available.

Message #18 received at 59279 <at> debbugs.gnu.org (full text, mbox):

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "59279 <at> debbugs.gnu.org" <59279 <at> debbugs.gnu.org>
Cc: "59378 <at> debbugs.gnu.org" <59378 <at> debbugs.gnu.org>
Subject: Re: bug#59279: MPV does not work on X11
Date: Sat, 19 Nov 2022 20:57:07 +0000
Hi,

I recently encountered the same error with mpv 0.35 on X11, and can confirm that the patch in https://issues.guix.gnu.org/59378 fixes the playback error.

Cheers,
Kaelyn




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 22 Nov 2022 07:52:02 GMT) Full text and rfc822 format available.

Notification sent to "Jorge P. de Morais Neto" <jorge+list <at> disr.it>:
bug acknowledged by developer. (Tue, 22 Nov 2022 07:52:02 GMT) Full text and rfc822 format available.

Message #23 received at 59279-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Martin Marshall <law <at> martinmarshall.com>
Cc: 59378-done <at> debbugs.gnu.org, 59279-done <at> debbugs.gnu.org
Subject: Re: bug#59378: [PATCH] gnu: mpv: Add libxpresent input.
Date: Tue, 22 Nov 2022 08:51:26 +0100
Hi,

Martin Marshall <law <at> martinmarshall.com> skribis:

> Fixes issue 59279 "MPV does not work on X11".
>
> * gnu/packages/video.scm (mpv)[inputs]: Add libxpresent.

Works for me too.  Applied, thanks!

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 22 Nov 2022 07:52:02 GMT) Full text and rfc822 format available.

Notification sent to Kristian Lein-Mathisen <kristianlein <at> gmail.com>:
bug acknowledged by developer. (Tue, 22 Nov 2022 07:52:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Dec 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.