mpv is broken on latest release v3.3.1
(+) Video --vid=1 (*) (h264)
(+) Audio --aid=1 --alang=und (*) (aac)
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[vo/opengl/x11] X11 error: BadValue (integer parameter out of range
for operation)
[vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: 0, serial: 37
[vo/opengl/x11] Error code: 2, request code: 9a, minor code: 3
[vo/opengl/x11] X11 error: GLXBadContext
[vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: a00003, serial: 38
[vo/opengl/x11] Error code: aa, request code: 9a, minor code: 5
[vo/opengl/x11] X11 error: 0
[vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: 0, serial: 38
[vo/opengl/x11] Error code: 0, request code: 9a, minor code: 1a
[vo/opengl] Could not set GLX context!
I looked on the archives and found a hint, that I should addgroup me
to video. But I already did that long before and the issue remains.
Ciao
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
On Thu, Jan 21, 2016 at 12:54:32AM -0200, Alba Pompeo wrote:
> mpv is broken on latest release v3.3.1> (+) Video --vid=1 (*) (h264)> (+) Audio --aid=1 --alang=und (*) (aac)> libGL error: failed to open drm device: Permission denied> libGL error: failed to load driver: i965> libGL error: unable to load driver: swrast_dri.so> libGL error: failed to load driver: swrast> [vo/opengl/x11] X11 error: BadValue (integer parameter out of range> for operation)> [vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: 0, serial: 37> [vo/opengl/x11] Error code: 2, request code: 9a, minor code: 3> [vo/opengl/x11] X11 error: GLXBadContext> [vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: a00003, serial: 38> [vo/opengl/x11] Error code: aa, request code: 9a, minor code: 5> [vo/opengl/x11] X11 error: 0> [vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: 0, serial: 38> [vo/opengl/x11] Error code: 0, request code: 9a, minor code: 1a> [vo/opengl] Could not set GLX context!> > I looked on the archives and found a hint, that I should addgroup me> to video. But I already did that long before and the issue remains.
ls -l /dev/dri/
I suspect that for unknown reasons, eudev isn't setting the proper group.
Currently mdev isn't either...Ah, mdev is only looking for the old
directory-free pathnames (card0 instead of dri/card0).
Adding this to mdev.conf should fix it for those who don't need eudev:
dri/* root:video 0660
There may be a similar oversight in the eudev rules, or there might not.
HTH,
Isaac Dunham
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
Chromium also have the same error.
And I am sure I'm on the video group.
libGL error: failed to open drm device: Permission denied
On Thu, Jan 21, 2016 at 1:23 AM, Isaac Dunham <ibid.ag@gmail.com> wrote:
> On Thu, Jan 21, 2016 at 12:54:32AM -0200, Alba Pompeo wrote:>> mpv is broken on latest release v3.3.1>> (+) Video --vid=1 (*) (h264)>> (+) Audio --aid=1 --alang=und (*) (aac)>> libGL error: failed to open drm device: Permission denied>> libGL error: failed to load driver: i965>> libGL error: unable to load driver: swrast_dri.so>> libGL error: failed to load driver: swrast>> [vo/opengl/x11] X11 error: BadValue (integer parameter out of range>> for operation)>> [vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: 0, serial: 37>> [vo/opengl/x11] Error code: 2, request code: 9a, minor code: 3>> [vo/opengl/x11] X11 error: GLXBadContext>> [vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: a00003, serial: 38>> [vo/opengl/x11] Error code: aa, request code: 9a, minor code: 5>> [vo/opengl/x11] X11 error: 0>> [vo/opengl/x11] Type: 0, display: 0x43f43492980, resourceid: 0, serial: 38>> [vo/opengl/x11] Error code: 0, request code: 9a, minor code: 1a>> [vo/opengl] Could not set GLX context!>>>> I looked on the archives and found a hint, that I should addgroup me>> to video. But I already did that long before and the issue remains.>> ls -l /dev/dri/>> I suspect that for unknown reasons, eudev isn't setting the proper group.>> Currently mdev isn't either...Ah, mdev is only looking for the old> directory-free pathnames (card0 instead of dri/card0).> Adding this to mdev.conf should fix it for those who don't need eudev:> dri/* root:video 0660>> There may be a similar oversight in the eudev rules, or there might not.>> HTH,> Isaac Dunham
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
> On 10 Feb 2016, at 15:36, Alba Pompeo <albapompeo@gmail.com> wrote:> > Chromium also have the same error.> And I am sure I'm on the video group.> libGL error: failed to open drm device: Permission denied
I’ve been having the same issue with mdev, it somehow failing to set the
/dev/dri/* permissions properly despite configuration to the opposite.
Regardless, su -c 'chown -R root:video /dev/dri' fixes the issue, until you reboot.
- Shiz
On Wed, Feb 10, 2016 at 04:55:21PM +0100, Shiz wrote:
> > > On 10 Feb 2016, at 15:36, Alba Pompeo <albapompeo@gmail.com> wrote:> > > > Chromium also have the same error.> > And I am sure I'm on the video group.> > libGL error: failed to open drm device: Permission denied> > I’ve been having the same issue with mdev, it somehow failing to set the> /dev/dri/* permissions properly despite configuration to the opposite.> > Regardless, su -c 'chown -R root:video /dev/dri' fixes the issue, until you reboot.
On my system (uses mdev), this line in mdev.conf solved it:
dri/.* root:video 0660
If you have current busybox-initscripts from edge, this line is in
/etc/mdev.conf as packaged -- or /etc/mdev.conf.apk-new if you've edited
the config file.
If you are using eudev, THIS CANNOT HELP.
eudev uses its own rules, which apparently might have a similar issue
(ie, matching the regex dri/.* should be used instead of moving to dri/).
I am not an expert in (e)udev.
I do not recommend trying mdev-with-X on non-experimental systems.
If you want to try using mdev with X:
- disable X autostarting
- enable mdev, disable eudev
- apk add mdev-like-a-boss-xorg (and xf86-input-synaptics for laptops)
- reboot (so that you use the mdev-prepared /dev, rather than thinking
it's working because of a stale udev-prepared dir).
- start X
- check that mouse and keyboard work
Thanks,
Isaac Dunham
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
It has passed 3 months and it's still not fixed.
I don't have root access in all my systems and it bothers me to be
unable to use mpv in those cases.
Can we please have this fixed?
Thanks.
On Thu, Feb 11, 2016 at 5:23 AM, Isaac Dunham <ibid.ag@gmail.com> wrote:
> On Wed, Feb 10, 2016 at 04:55:21PM +0100, Shiz wrote:>>>> > On 10 Feb 2016, at 15:36, Alba Pompeo <albapompeo@gmail.com> wrote:>> >>> > Chromium also have the same error.>> > And I am sure I'm on the video group.>> > libGL error: failed to open drm device: Permission denied>>>> I’ve been having the same issue with mdev, it somehow failing to set the>> /dev/dri/* permissions properly despite configuration to the opposite.>>>> Regardless, su -c 'chown -R root:video /dev/dri' fixes the issue, until you reboot.>> On my system (uses mdev), this line in mdev.conf solved it:> dri/.* root:video 0660>> If you have current busybox-initscripts from edge, this line is in> /etc/mdev.conf as packaged -- or /etc/mdev.conf.apk-new if you've edited> the config file.>>> If you are using eudev, THIS CANNOT HELP.>> eudev uses its own rules, which apparently might have a similar issue> (ie, matching the regex dri/.* should be used instead of moving to dri/).> I am not an expert in (e)udev.>> I do not recommend trying mdev-with-X on non-experimental systems.> If you want to try using mdev with X:> - disable X autostarting> - enable mdev, disable eudev> - apk add mdev-like-a-boss-xorg (and xf86-input-synaptics for laptops)> - reboot (so that you use the mdev-prepared /dev, rather than thinking> it's working because of a stale udev-prepared dir).> - start X> - check that mouse and keyboard work>>> Thanks,> Isaac Dunham>
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---