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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59339: closed (mpv: possible misconfiguration)
Date: Tue, 22 Nov 2022 07:52:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 22 Nov 2022 08:51:26 +0100
with message-id <87v8n7ig01.fsf <at> gnu.org>
and subject line Re: bug#59378: [PATCH] gnu: mpv: Add libxpresent input.
has caused the debbugs.gnu.org bug report #59279,
regarding mpv: possible misconfiguration
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59279: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59279
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kristian Lein-Mathisen <kristianlein <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: mpv: possible misconfiguration
Date: Thu, 17 Nov 2022 19:08:39 +0100
[Message part 3 (text/plain, inline)]
Hi,

I'm using mpv a lot and on the latest guix pull it stopped working with
this error message:

klm <at> pal ~ ➤ mpv
https://download.blender.org/durian/trailer/sintel_trailer-480p.ogv
[ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked.
 (+) Video --vid=1 'Sintel Trailer' (theora 854x480)
 (+) Audio --aid=1 (vorbis 2ch 48000Hz)
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be
unavailable.
[vo/gpu] Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] Failed to set CRTC for connector 95: Permission denied
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)
klm <at> pal ~ ➤ readlink $(which mpv)
/gnu/store/3i6dmnksdr4sif66hlgh1g0dxfqwxzsi-mpv-0.35.0/bin/mpv

After some looking around a bit, I found that gpu-contexts have changed:

klm <at> pal ~ ➤ mpv -gpu-context help
GPU contexts (APIs):
    auto (autodetect)
    wayland (opengl)
    drm (opengl)
klm <at> pal ~ ➤ /gnu/store/2chvq95z20s7xihyayiayiy40fvyqn0g-mpv-0.34.1/bin/mpv
-gpu-context help
GPU contexts (APIs):
    auto (autodetect)
    wayland (opengl)
    x11egl (opengl)
    drm (opengl)

I don't know if it's relevant but may help tracking the cause of this
problem down. mpv 0.34.0 works without problems.
I found this recent patch on mpv: https://issues.guix.gnu.org/28457

Is it possible that mpv's default configuration has changed and is now
causing problems for old X11 setups?
I'm in integrated Intel graphics, Linux-Libre 6.0.8-gnu #1 SMP
PREEMPT_DYNAMIC 1 x86_64 GNU/Linux

Thanks,
K.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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’.


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

Previous Next


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