all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60171] Fix mpv on X11
@ 2022-12-18  0:21 phodina via Guix-patches via
  2022-12-18 12:17 ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: phodina via Guix-patches via @ 2022-12-18  0:21 UTC (permalink / raw)
  To: 60171; +Cc: Ludovic Courtès, Tobias Geerinckx-Rice, andreas@enge.fr


[-- Attachment #1.1: Type: text/plain, Size: 594 bytes --]

Hi,

for some reason the mpv player is broken on X11 and does not play movies. Enabling support for X11 solves the problem.

$ mpv movie.mkv
(+) Video --vid=1 (*) (h264 1280x544 23.976fps)
(+) Audio --aid=1 (*) (aac 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

----
Petr

[-- Attachment #1.2: Type: text/html, Size: 969 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-mpv-Enable-x11-video.patch --]
[-- Type: text/x-patch; name=0001-gnu-mpv-Enable-x11-video.patch, Size: 718 bytes --]

From 80111b265152cec985adf862fc077e81c0b2b931 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Sun, 18 Dec 2022 01:01:17 +0100
Subject: [PATCH] gnu: mpv: Enable x11 video.

* gnu/packages/video.scm (mpv)[arguments]: Enable x11 video in configure-flags.

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a15c86ee07..1cbe07f1bf 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2214,6 +2214,7 @@ (define-public mpv
       #~(list "--enable-libmpv-shared"
               "--enable-cdda"
               "--enable-dvdnav"
+              "--enable-x11"
               "--disable-build-date")
       ;; No check function defined.
       #:tests? #f))
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-25 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-18  0:21 [bug#60171] Fix mpv on X11 phodina via Guix-patches via
2022-12-18 12:17 ` Tobias Geerinckx-Rice via Guix-patches via
2022-12-19  5:29   ` phodina via Guix-patches via
2022-12-25 18:05     ` phodina via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.