I'd like to try to get fedora to host a second headless Wayland session in the background for a remote user. I have a GPU but I want to share its render and compute, not the physical HDMI output, so I need a virtual Wayland session for the second seat.

Supposedly logind could handle the seat and udev permission issues clean enough, but headless use is still beyond me there.

I'd like a KDE Plasma environment running headless and then sunshine can just stream this session out using the war capture method. I just don't know how to start up a separate Wayland session under another linux user in the background with a plasma session drawing to an imaginary monitor.

There seem to be 2 ways of doing this.

  • wlheadless-run - a young project made to solve this particular problem
  • kwin --virtual can theoretically do this, but I'm not finding clear examples of it
you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 months ago (1 child)

iirc for GPU acceleration you need to make the GPU pretend to use one of it’s ports (you don’t actually need to plug anything into it)

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 3 months ago

    nope I got around that. I don't need video, just the render node. dma-buf pulls it from render to encode without passing through the CPU or system ram.

    now I just need to figure out the udev multi seat crap. seats expect physical hardware to be assigned to them.

  • source
  • parent