Re: mpv error message
- Reply: Antony Uspensky : "Re: mpv error message"
- In reply to: Dave Cottlehuber: "Re: mpv error message"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Nov 2024 13:29:56 UTC
On Fri, 2024-11-01 at 12:27 +0000, Dave Cottlehuber wrote: > On Fri, 1 Nov 2024, at 12:22, ft wrote: > > Hello, > > > > since last upgrade there is an error, when I start mpv. > > When I start it as root (with sudo), everything is OK, but without root, > > there > > is an error. > > > libEGL warning: failed to open /dev/dri/card0: Permission denied > > Are you a member of video group? > sudo ls -AFGhl /dev/dri /dev/dri/card0 lrwxr-xr-x 1 root wheel 8B 1 Nov. 01:28 /dev/dri/card0@ -> ../drm/0 /dev/dri: total 0 lrwxr-xr-x 1 root wheel 8B 1 Nov. 01:28 card0@ -> ../drm/0 lrwxr-xr-x 1 root wheel 10B 1 Nov. 01:28 renderD128@ -> ../drm/128 # add group to ft pw usermod ft -G video id uid=1001(ft) gid=1001(ft) groups=1001(ft),0(wheel),80(www) #--> my accout is ft, but there is no group video ??? id ft uid=1001(ft) gid=1001(ft) groups=1001(ft),0(wheel),44(video),80(www) #--> with video ??? the error has not disappeared. Franz > what are permissions on those devices? > > sudo ls -AFGhl /dev/dri /dev/dri/card0 > > A+ > Dave >