Lachsak
Lachsak
UBUniversal Blue
Created by Lachsak on 9/16/2024 in #🛟bazzite-help
SELinux blocks kwin_wayland access to nvidia modeset
I installed bazzite on my brothers desktop pc a few days ago through the nvidia open kde image. Most things run smoothly, but sometimes he gets kicked back to the sddm greeter after a few minutes. This only happens if the boot process takes longer than normally. Here is a journal of a boot where this problem happens https://privatebin.net/?bdb03f3bfc7dab4e#3mguFkxecd8R5dmvs9cWCxfdUS2SxXPzAb7PnT3KAxMF I noticed the line AVC avc: denied { getattr } for pid=5037 comm="kwin_wayland" path="/dev/nvidia-modeset" dev="devtmpfs" ino=1013 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=0 but I dont know if thats the root cause of the issue. The only other problem was that the firefox flatpak often crashed during startup. It tried accessing /run/flatpak/wayland-0 display but timed out. The X11 display was not set for some reason (null) so it crashed. Im not sure if this is related, but I worked around it by layering firefox through rpm-ostree and this issue does not happen with the native version Is something messed up with SELinux the issue here, or could it be something else? Thanks for your help
191 replies