Message ID | 0KT7v1YfqloZjcI2j0jrHoQJn1Jtj6StAJUGmAzWgcao2SUu1icc_s52hoSOeIkJhLaO4tl1R5pjjFPLL7dLd84IOxYn46PveAvaxgdnoVQ=@protonmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A1CF327BBE9; Sun, 18 Dec 2022 00:23:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E748427BBEB for <patchwork@mira.cbaines.net>; Sun, 18 Dec 2022 00:23:33 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1p6hSO-0005JI-TP; Sat, 17 Dec 2022 19:23:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1p6hSI-0005If-Fd for guix-patches@gnu.org; Sat, 17 Dec 2022 19:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1p6hSI-00049f-7g for guix-patches@gnu.org; Sat, 17 Dec 2022 19:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1p6hSH-0003rG-Ve for guix-patches@gnu.org; Sat, 17 Dec 2022 19:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60171] Fix mpv on X11 Resent-From: phodina <phodina@protonmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Dec 2022 00:23:01 +0000 Resent-Message-ID: <handler.60171.B.167132293014798@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 60171@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Tobias Geerinckx-Rice <me@tobias.gr>, "andreas@enge.fr" <andreas@enge.fr> X-Debbugs-Original-To: Guix Patches <guix-patches@gnu.org> Received: via spool by submit@debbugs.gnu.org id=B.167132293014798 (code B ref -1); Sun, 18 Dec 2022 00:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2022 00:22:10 +0000 Received: from localhost ([127.0.0.1]:58808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1p6hRS-0003qc-7R for submit@debbugs.gnu.org; Sat, 17 Dec 2022 19:22:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:53352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phodina@protonmail.com>) id 1p6hRR-0003qW-1q for submit@debbugs.gnu.org; Sat, 17 Dec 2022 19:22:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <phodina@protonmail.com>) id 1p6hRQ-0005Fd-Ja for guix-patches@gnu.org; Sat, 17 Dec 2022 19:22:08 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <phodina@protonmail.com>) id 1p6hRO-00046g-Kd; Sat, 17 Dec 2022 19:22:08 -0500 Date: Sun, 18 Dec 2022 00:21:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1671322916; x=1671582116; bh=MP7l5d7zBG/brg7z948ThOwYCZzJKTI1RComrAmJhX8=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=GWRXejaztCiTCqaRJBZ9n7oD6CEcIrvmPgDNh+ozHXNj7CsS9dMMGEits/NjsIjGU EB1EQm8Qu3z65IWEz/eaGpZZY3aZmf7fZdrNp3z8QsEXphdZrK2uE9X5KXi/v1doc4 A3oyzUPCQf0/XP1fenA0DWRTR3mHnj+6aBex721LF/Kf/pA6us+8GFp/yc4PwJyBiy WgKHOUV46rsRLtYadiJpr2Ie2s6rVybRt9ohCctusuNPy/3i0DTzESvkTp4BJFcQc6 NO3gPJpG1l47SkSGnHkJFQP6PiHpC2r17Z75tq5lqkBOJENeH/ujsesacpOsUXMKuU xeSwxiklRHSGA== Message-ID: <0KT7v1YfqloZjcI2j0jrHoQJn1Jtj6StAJUGmAzWgcao2SUu1icc_s52hoSOeIkJhLaO4tl1R5pjjFPLL7dLd84IOxYn46PveAvaxgdnoVQ=@protonmail.com> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_dEgU1lkglrPcWkX0JnwRPGxXmpu2LlXJllxzAzGZ5yg" Received-SPF: pass client-ip=185.70.40.134; envelope-from=phodina@protonmail.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: phodina <phodina@protonmail.com> X-ACL-Warn: , phodina via Guix-patches <guix-patches@gnu.org> From: phodina via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#60171] Fix mpv on X11
|
|
Commit Message
phodina
Dec. 18, 2022, 12:21 a.m. UTC
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
Comments
Hi!
phodina 写道:
> Enabling support for X11 solves the problem.
Are you sure your Guix & mpv installation are up to date?
See
https://issues.guix.gnu.org/59508 (patch)
https://issues.guix.gnu.org/59279
and specifically
https://issues.guix.gnu.org/59378#2 and linked
https://issues.guix.gnu.org/59339
which mentions your exact error message as being fixed back in
November.
Kind regards,
T G-R
Sent with Proton Mail secure email. ------- Original Message ------- On Sunday, December 18th, 2022 at 1:17 PM, Tobias Geerinckx-Rice <me@tobias.gr> wrote: > Hi! > > phodina 写道: > > > Enabling support for X11 solves the problem. > > > Are you sure your Guix & mpv installation are up to date? > > See > > https://issues.guix.gnu.org/59508 (patch) > https://issues.guix.gnu.org/59279 > > and specifically > > https://issues.guix.gnu.org/59378#2 and linked > https://issues.guix.gnu.org/59339 > > which mentions your exact error message as being fixed back in > November. > > Kind regards, > > T G-R Hi Tobias, I checked the patch is applied. I use the following setup SDDM running under wayland and GNOME on wayland - here it works ok. However, I have a second environment where I spend half the time and it runs i3. Here the `mpv` gives me an error. $ guix describe Generation 11 Dec 18 2022 00:32:54 (current) guix f28ca24 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: f28ca2447c5e2eef1ba6a3a11587380a665b0e26 ---- Petr
Hi Tobias, you were right. There's no need for this patch as the mpv installed in my home profile was causing the trouble. I've found out when comparing the paths to the mpv. This ticket can be closed now. ---- Petr
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