as another note, I am going to have to dig deeper into the fact that seat0 is the only one with TTYs. (not doing VirtualTerminal::self()->init(); on non-seat0) , there is no way for it to determine that it is active, and that is one of the reasons why the framebuffer does not draw on seat1)
You use udev only here, so you can write it like that
framebufferDevice = Udev().primaryFramebuffer()->devNode()
i.e. make Udev local to this scope. I see potentially primaryFramebuffer can return nullptr which will cause a crash without exclusive check.
I am not sure what to do from here?
nerdopolis@nerdopolis:~/kwin2upstream$ arc diff Usage Exception: There are several revisions which match the working copy: - D9554: udev: Add the ability to query the current framebuffer. - D9556: fb_backend: use new udev function to detect framebuffer devices, if one is not set Use '--update' to choose one, or '--create' to create a new revision.