© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•2y ago•
190 replies
Teires

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
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
PrivateBin
Encrypted note on PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
Encrypted note on PrivateBin
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Spammed journalctl by kwin_wayland
BazziteBBazzite / 🛟bazzite-help
3mo ago
Possilble memory leak within kwin_wayland
BazziteBBazzite / 🛟bazzite-help
10mo ago
Wayland nvidia crash
BazziteBBazzite / 🛟bazzite-help
2y ago
Too many open files crashing kwin_wayland
BazziteBBazzite / 🛟bazzite-help
4mo ago