UB
Universal Blueβ€’4mo ago
Dex

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
wolfyreload
wolfyreloadβ€’4mo ago
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.
Dex
DexOPβ€’4mo ago
yeah i think i've got to add
install_optional_items+="/usr/lib/firmware/samsung-q800t-hdmi2.1"
install_optional_items+="/usr/lib/firmware/samsung-q800t-hdmi2.1"
to a file in /etc/dracut.conf.d/ and then do
rpm-ostree initramfs --enable
rpm-ostree initramfs --enable
i wonder if i need the optional items thing if the file is already in the firmware folder
wolfyreload
wolfyreloadβ€’4mo ago
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.
Dex
DexOPβ€’4mo ago
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
wolfyreload
wolfyreloadβ€’4mo ago
That would be amazing! Looking forward to seeing it πŸ™‚
Dex
DexOPβ€’4mo ago
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?
wolfyreload
wolfyreloadβ€’4mo ago
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
Want results from more Discord servers?
Add your server