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
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