mkinitcpio question: Streaming with sunshine from virtual screens without dummy plug
Hey,
i'd love to run sunshine without my connected tv running.
This reddit guide has all the needed steps for arch for this:
https://www.reddit.com/r/linux_gaming/comments/199ylqz/streaming_with_sunshine_from_virtual_screens/
I managed to create an RPM to add the EDID file to bazzite via rpm-ostree and know how to add the kernel option with the same tool.
I have no idea how to add the mkinitcpio stuff to the initramfs though.
If you can help me that would be awesome. I'm happy to share the RPM with you guys as soon as this is working.
Reddit
From the linux_gaming community on Reddit
Explore this post and more from the linux_gaming community
7 Replies
I'd guess that you'd need to do something with
rpm-ostree initramfs
have a look at rpm-ostree initramfs --help
for more information there.yeah i think i've got to add
to a file in /etc/dracut.conf.d/
and then do
i wonder if i need the optional items thing if the file is already in the firmware folder
Going to be a bunch of trial and error. Hope it works out. Kyle or someone who works alot with the Bazzite images might be able to give you some better guidance with playing with initramfs.
if this works i've got hdr10 streaming from the pc to the steam deck with 1280:800 without turning on the pc, so i guess it's worth it π
thank you for your help!
Yup those commands work! Got a virtual second TV now π I'll post a guide below tomorrow
That would be amazing! Looking forward to seeing it π
Meh I have seen the second virtual screen on one boot but not the next one?
Did I have to do something to make rpm-ostree stick?
If you have layered the RPM, written to /etc/dracut.conf.d/ and enabled initramfs, I don't see any reason why the settings wouldn't stick on one reboot and not on another. Did you do a
rpm-ostree reset
at some point to confirm all the steps?
It could also be the virtual screen is disabled in the screen config settings and the last config is remembered. Maybe open the screen config settings gui and see if the virtual screens show up there or not