You are not logged in.

#1 2020-05-17 09:22:42

celianvdb
Member
Registered: 2020-05-17
Posts: 3

Wrong permissions on renderD128

Hi,
Since couple of months I got some troubles with applications using vulkan, then I noticed that my /dev/dri/renderD128 doesn't have right permissions.

celian  ~ > ls -lsh /dev/dri/
total 0
0 drwxr-xr-x  2 root root       80 17 mai   10:57 by-path
0 crw-rw----+ 1 root root 226,   0 17 mai   10:57 card0
0 crw-------  1 root root 226, 128 17 mai   10:57 renderD128

According to default udev rules, it's supposed to be root:render 0666. When I fix permissions manually everything is working perfectly but I don't understand why I need to do it myself, udev should do it.

In my /lib/udev/rules.d/50-udev-default.rules I have the line that's supposed to do it :

SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="0666"

So I started udev as debug mode and that's what I found in log file :

systemd-udevd[421]: renderD128: Preserve permissions of /dev/dri/renderD128, uid=0, gid=0, mode=0600

I don't know at all how to debug that, any help would be appreciated.
Thx in advance ! Have a nice day !

Offline

#2 2020-05-17 21:13:03

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Wrong permissions on renderD128

Sounds like something interferes with the default rule.

What videocard & driver are you using ?

Please post the full dmesg / journal with udev in debug mode (you may want to use a pastebin client, check archwiki for details)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2020-05-18 11:24:47

celianvdb
Member
Registered: 2020-05-17
Posts: 3

Re: Wrong permissions on renderD128

Thank you for your answer.
My computer is a DELL xps 15 9570 so I have a intel hd630 ( i915 driver ) and 1050ti max q but I don't use it.

Journal : https://imgcc.xyz/Fr1b/fTmdl2
Dmesg : https://imgcc.xyz/3GVr/lQoGbz

Last edited by celianvdb (2020-05-18 11:24:58)

Offline

Board footer

Powered by FluxBB