mpv: possible misconfiguration

  • Done
  • quality assurance status badge
Details
2 participants
  • Kristian Lein-Mathisen
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Kristian Lein-Mathisen
Severity
normal
Merged with
K
K
Kristian Lein-Mathisen wrote on 17 Nov 2022 19:08
(address . bug-guix@gnu.org)
CAAGQtHzEU9rAd3reXQNEmv_ipkLHPYswJ1Kv_Ti=SCUD1+TgPg@mail.gmail.com
Hi,

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

klm@pal ~ ? mpv
[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: file
T
T
Tobias Geerinckx-Rice wrote on 18 Nov 2022 14:08
(name . Kristian Lein-Mathisen)(address . kristianlein@gmail.com)
874juwcst2.fsf@nckx
retitle 59279 MPV does not work on X11
merge 59279 59339
thanks

Kristian Lein-Mathisen ???
Toggle quote (2 lines)
> Is it possible that mpv's default configuration has changed

Yes, that seems to be the case. Thanks for the report!

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY3eEKQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15olQBAOO6yJerT0I0g/N1qJ3jjWfOJ6G5pgxVpSIA7nxG
QQR4AQCwW0x/XwANN31UEidzesJpOma4ZaK2vNPa6n8HHotlDQ==
=GoWh
-----END PGP SIGNATURE-----

?