From patchwork Sun Dec 18 00:21:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 45404 Return-Path: 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 ; 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 ) 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 ) 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 ) 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 ) 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 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Dec 2022 00:23:01 +0000 Resent-Message-ID: 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?= , Tobias Geerinckx-Rice , "andreas@enge.fr" X-Debbugs-Original-To: Guix Patches 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 ) 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 ) 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 ) 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 ) 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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina 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 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 From 80111b265152cec985adf862fc077e81c0b2b931 Mon Sep 17 00:00:00 2001 From: Petr Hodina 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