this post was submitted on 02 Jan 2026
25 points (96.3% liked)

Linux Gaming

23605 readers
503 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

I am trying to set up sunshine to capture using the wlr method and do it headlessly. no dummy plug, no monitor. Supposedly this is possible, but I'm having trouble.

first I create the user in fedora and give them the permissions needed. I set up setd and create the service file for systemd to fire a sway instance. I edit sway config for that user to include the virtual display output by including this line:

output HEADLESS-1 { pos 0,0 mode 3840x2160@60hz }

That should make a virtual monitor that wayland can render to and sunshine can capture the framebuffer from sway with.

Sway launches fine, sunshine see the wayland instance, but it sees no monitor attached so it has nothing in it can capture from.

I cannot use swaymsg from SSH since its not part of that wayland session so it cant access it and pass commands to it. it just complains about socket errors. So I dont know what I'm supposed to do to make this headlessly run.

you are viewing a single comment's thread
view the rest of the comments
[–] muusemuuse@sh.itjust.works 1 points 3 weeks ago

Also, if you are using an intel ARC GPU, you might want to run through fwupd as there are issues with these cards that the windows installer resolves during driver install that we cant run on linux that way, so we can tell linux to do that step for us with fwupd.