GNU bug report logs - #60171
Fix mpv on X11

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sun, 18 Dec 2022 00:23:01 UTC

Severity: normal

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60171 in the body.
You can then email your comments to 60171 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60171; Package guix-patches. (Sun, 18 Dec 2022 00:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to phodina <phodina <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 18 Dec 2022 00:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: Guix Patches <guix-patches <at> gnu.org>
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, "andreas <at> enge.fr" <andreas <at> enge.fr>
Subject: Fix mpv on X11
Date: Sun, 18 Dec 2022 00:21:40 +0000
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
[0001-gnu-mpv-Enable-x11-video.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#60171; Package guix-patches. (Sun, 18 Dec 2022 12:29:01 GMT) Full text and rfc822 format available.

Message #8 received at 60171 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: phodina <phodina <at> protonmail.com>
Cc: 60171 <at> debbugs.gnu.org
Subject: Re: Fix mpv on X11
Date: Sun, 18 Dec 2022 13:17:21 +0100
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#60171; Package guix-patches. (Mon, 19 Dec 2022 05:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 60171 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 60171 <at> debbugs.gnu.org
Subject: Re: Fix mpv on X11
Date: Mon, 19 Dec 2022 05:29:39 +0000




Sent with Proton Mail secure email.

------- Original Message -------
On Sunday, December 18th, 2022 at 1:17 PM, Tobias Geerinckx-Rice <me <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#60171; Package guix-patches. (Sun, 25 Dec 2022 18:06:02 GMT) Full text and rfc822 format available.

Message #14 received at 60171 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 60171 <at> debbugs.gnu.org
Subject: Re: Fix mpv on X11
Date: Sun, 25 Dec 2022 18:05:19 +0000
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




bug closed, send any further explanations to 60171 <at> debbugs.gnu.org and phodina <phodina <at> protonmail.com> Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sun, 25 Dec 2022 18:09:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Jan 2023 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.