unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59508: mpv compiled without x11 support
@ 2022-11-22 20:33 Saku Laesvuori via Bug reports for GNU Guix
  2022-11-23 22:32 ` paren--- via Bug reports for GNU Guix
  2022-11-23 23:11 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Saku Laesvuori via Bug reports for GNU Guix @ 2022-11-22 20:33 UTC (permalink / raw)
  To: 59508

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

The mpv package from (gnu packages video) is compiled without x11
support and fails with:

[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

when trying to play a video. This can be fixed by adding "--enable-x11"
to configure-flags (tested with guix shell).

I'm not sure  is that enough to make guix consider the package updated
(though I would assume so), so I didn't prepare a patch. Anyway the fix
is a trivial one line addition.

- Saku

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#59508: mpv compiled without x11 support
  2022-11-22 20:33 bug#59508: mpv compiled without x11 support Saku Laesvuori via Bug reports for GNU Guix
@ 2022-11-23 22:32 ` paren--- via Bug reports for GNU Guix
  2022-11-23 23:11 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: paren--- via Bug reports for GNU Guix @ 2022-11-23 22:32 UTC (permalink / raw)
  To: Saku Laesvuori, 59508

On Tue Nov 22, 2022 at 8:33 PM GMT, Saku Laesvuori via Bug reports for GNU Guix wrote:
> I'm not sure  is that enough to make guix consider the package updated
> (though I would assume so), so I didn't prepare a patch. Anyway the fix
> is a trivial one line addition.

It is.

    -- (




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

* bug#59508: mpv compiled without x11 support
  2022-11-22 20:33 bug#59508: mpv compiled without x11 support Saku Laesvuori via Bug reports for GNU Guix
  2022-11-23 22:32 ` paren--- via Bug reports for GNU Guix
@ 2022-11-23 23:11 ` Ludovic Courtès
  2022-11-24 20:00   ` Saku Laesvuori via Bug reports for GNU Guix
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-11-23 23:11 UTC (permalink / raw)
  To: Saku Laesvuori; +Cc: 59508

Hi,

Saku Laesvuori <saku@laesvuori.fi> skribis:

> The mpv package from (gnu packages video) is compiled without x11
> support and fails with:
>
> [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

I believe this was fixed by commit
78f03567f44f704dfbc03cb64368aa42a01e78ad, though not by adding
‘--enable-x11’ (see <https://issues.guix.gnu.org/59279>).

Anyway it definitely works for me on X11.  Could you confirm?

Thanks,
Ludo’.




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

* bug#59508: mpv compiled without x11 support
  2022-11-23 23:11 ` Ludovic Courtès
@ 2022-11-24 20:00   ` Saku Laesvuori via Bug reports for GNU Guix
  2022-11-26  2:43     ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Saku Laesvuori via Bug reports for GNU Guix @ 2022-11-24 20:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 59508

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

> I believe this was fixed by commit
> 78f03567f44f704dfbc03cb64368aa42a01e78ad, though not by adding
> ‘--enable-x11’ (see <https://issues.guix.gnu.org/59279>).
> 
> Anyway it definitely works for me on X11.  Could you confirm?

Yes, that seems to have fixed it.

- Saku

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#59508: mpv compiled without x11 support
  2022-11-24 20:00   ` Saku Laesvuori via Bug reports for GNU Guix
@ 2022-11-26  2:43     ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-11-26  2:43 UTC (permalink / raw)
  To: Saku Laesvuori; +Cc: 59508-done, Ludovic Courtès

Hi,

Saku Laesvuori <saku@laesvuori.fi> writes:

>> I believe this was fixed by commit
>> 78f03567f44f704dfbc03cb64368aa42a01e78ad, though not by adding
>> ‘--enable-x11’ (see <https://issues.guix.gnu.org/59279>).
>> 
>> Anyway it definitely works for me on X11.  Could you confirm?
>
> Yes, that seems to have fixed it.

OK, closing!

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2022-11-26  2:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 20:33 bug#59508: mpv compiled without x11 support Saku Laesvuori via Bug reports for GNU Guix
2022-11-23 22:32 ` paren--- via Bug reports for GNU Guix
2022-11-23 23:11 ` Ludovic Courtès
2022-11-24 20:00   ` Saku Laesvuori via Bug reports for GNU Guix
2022-11-26  2:43     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).