unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Kristian Lein-Mathisen <kristianlein@gmail.com>
To: 59339@debbugs.gnu.org
Subject: bug#59339: mpv: possible misconfiguration
Date: Thu, 17 Nov 2022 19:08:39 +0100	[thread overview]
Message-ID: <CAAGQtHzEU9rAd3reXQNEmv_ipkLHPYswJ1Kv_Ti=SCUD1+TgPg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

Hi,

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

klm@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@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@pal ~ ➤ mpv -gpu-context help
GPU contexts (APIs):
    auto (autodetect)
    wayland (opengl)
    drm (opengl)
klm@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.

[-- Attachment #2: Type: text/html, Size: 2180 bytes --]

             reply	other threads:[~2022-11-18 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17 18:08 Kristian Lein-Mathisen [this message]
2022-11-18 13:08 ` bug#59339: mpv: possible misconfiguration Tobias Geerinckx-Rice via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAGQtHzEU9rAd3reXQNEmv_ipkLHPYswJ1Kv_Ti=SCUD1+TgPg@mail.gmail.com' \
    --to=kristianlein@gmail.com \
    --cc=59339@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).