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.

Full log


View this message in rfc822 format

From: Markus Nilsson <markusnilsson890 <at> gmail.com>
To: 59279 <at> debbugs.gnu.org
Subject: bug#59279: 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)]

This bug report was last modified 2 years and 178 days ago.

Previous Next


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