mpv compiled without x11 support

  • Done
  • quality assurance status badge
Details
4 participants
  • Ludovic Courtès
  • Maxim Cournoyer
  • (
  • Saku Laesvuori
Owner
unassigned
Submitted by
Saku Laesvuori
Severity
normal
S
S
Saku Laesvuori wrote on 22 Nov 2022 21:33
(address . bug-guix@gnu.org)
20221122203313.wytrm4hhybsqzlhy@X-kone
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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmN9MgkACgkQJX0oSiod
OjItKxAAnYWCjQO6rDk+tBwcEGhzXBqhJOicFWQJSUDcDjJ79HQuiUi1OPr/H4hL
DGKXXeUWrzfcsB7ZBE+9dmXwJJa0ZgqeJP6EEBbVmUSfg0ddOgkXK152yLEishBC
fTGYxQITXoWogW1JgrnCE5Q31UeR23RmBIU9tHqPjCYWGtz3+Gx0csaQPvm3NduI
xXjoGUtyT+l4SX5gWTejkwcDNrcW31OeMEtnvLIjs49FbeeRwBfHsWQb34WLAaGe
HK3jExGMsOn2SKBbyCNGhd0Wd97ty4aeMVDCSHo+AUqFhoGMHKQ58PnVpcXf2Jds
IvwnDreNXaqtlejAsP4T95gwsNI55CIiaWx+zmA0uqryJWvI9HdbMtJ2blNQpGzP
DHaeJDWsUxflBu61UKMGEk/ARaf4oKL/raE0rQQ12c/k0YQLubuvyEOkLpvLlWnq
7Ci9iZJ18Zd4G9zy6vJmVd1B9H+VWJh77Nj+0k7cb5J4OzjrbV2goB8Ih/TWCvf7
rKHcUSa7ml4rZR7/zpLy9y0TChiHAxKPrFvUg47Wor0q+rROkqVyqpVOkf4sbbbG
4cxFDdrGcJ2FIJI4XdvXqIKHYPIAMnrwbVos8SU7XBRYc6whZzmYoh7ftVW6TX/1
08J4oF9j3w9uL7sQF9TC7imRJp4/o/YoFQLq1ZGBUMeJsFCQYcM=
=4DmC
-----END PGP SIGNATURE-----


(
COK15XHLZMTR.2BBNK4KZIHXB0@guix-framework
On Tue Nov 22, 2022 at 8:33 PM GMT, Saku Laesvuori via Bug reports for GNU Guix wrote:
Toggle quote (4 lines)
> 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.

-- (
L
L
Ludovic Courtès wrote on 24 Nov 2022 00:11
(name . Saku Laesvuori)(address . saku@laesvuori.fi)(address . 59508@debbugs.gnu.org)
87leo1clm6.fsf@gnu.org
Hi,

Saku Laesvuori <saku@laesvuori.fi> skribis:

Toggle quote (8 lines)
> 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’.
S
S
Saku Laesvuori wrote on 24 Nov 2022 21:00
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 59508@debbugs.gnu.org)
20221124200058.o4erp32ejedznsm3@X-kone
Toggle quote (6 lines)
> 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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmN/zXoACgkQJX0oSiod
OjIaeRAAuw6z71VXsDBvy6MfzNr9Q1abbQqeGyHFrsp6yup/4xerDcVRe6rjrU/R
Lr7zdXx0XfiFkge8klPFTf1NXm/9AtAcWOzA0tyxOBa9K0Axp4wf6Cvj+J9FYmeH
zCOclA9SyYy0MW80p+6MPAP7MnJhyYnBBT4rVbbzVtvNe+EmSjZ59C1A4c6i/VNj
0dWRqAt5HjTF/2et6ZJ/vAyWEHLr2bjYUnWPdzlm+QS0mWHSj6VUHONyWPD6jj10
am0EZn2YgjnZ2waBJve2Tv2F8r6XSnoBIUpELzLPAN1d7M3RzhF8IUJleDDQr36i
UAK3h0viZjXmbSk/EiGC3kd082uBDH/bJU+jxtnpE10hrfoUhBGOzYD4sY4i1aHx
4YHfmUvA7gveU1YMHMlIOEYj/tFWsosxGzKoNdjpuJPgjL48OirWzYdjOg73VwpB
n+qIEbVJUmUtld1w7MBPJj4jOSjA37G9JnA19OdA6KngRNCK2GDcI2cXtiWWCH0m
JWPEhqSMA/IpywXXl+WMaesMWAZ/Rho0yYCAROtWkr9JNZJJ8iSWl9czu1pjmq68
FKcmVjYKOXLx0JKB8ccY4osnLKID9mM8ky9tyBtIMwk6NtQ0ppXEfvSa3xY6af4F
9TANXunH2n+QlU8WdJWarbSMgi1eg/FYnhtRRA1Esefc9l/NJBI=
=wIx4
-----END PGP SIGNATURE-----


M
M
Maxim Cournoyer wrote on 26 Nov 2022 03:43
(name . Saku Laesvuori)(address . saku@laesvuori.fi)
87lenyfnap.fsf@gmail.com
Hi,

Saku Laesvuori <saku@laesvuori.fi> writes:

Toggle quote (8 lines)
>> 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 59508@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 59508
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch