Gaming Mode incorrect rotation and resolution

I've had this minipc floating around for awhile and wanted to make it a steamos portable instead. Unfortunately this screen is portrait by default. I got the screen to work right in desktop mode, but if I try using gaming mode it doesn't work. I can always just use big picture mode in desktop if it won't be possible to fix, but would like to have it boot into it correctly.
No description
No description
86 Replies
Effeminatly Femboy
Effeminatly FemboyOP•3d ago
To clarify I'm really just repurposing this PC for fun. I don't expect good performance or anything out of it.
Entwives System
Entwives System•3d ago
Edit: mistyped the location, sorry Check for config files here:
ls ~/.config/scopebuddy/
ls ~/.config/scopebuddy/
there should be a gamemode.conf there. You can make a backup with
cp ~/.config/scopebuddy/gamemode.conf ~/.config/scopebuddy/gamemode.conf.backup
cp ~/.config/scopebuddy/gamemode.conf ~/.config/scopebuddy/gamemode.conf.backup
And confirm that the backup was made with
cat ~/.config/scopebuddy/gamemode.conf.backup
cat ~/.config/scopebuddy/gamemode.conf.backup
you can then use kate to edit gamemode.conf:
kate ~/.config/scopebuddy/gamemode.conf
kate ~/.config/scopebuddy/gamemode.conf
Effeminatly Femboy
Effeminatly FemboyOP•3d ago
Hey, tried this and there isn't any config files? Sorry btw. I'm only pretty surface level with Linux stuff. I've only worked with Mint XFCE for my servers and on my laptop. So this is a new environment for me.
Unfortunate
Unfortunate•3d ago
Okay, I had to type scb in order to ge tthe config files. But I still don't have any for gamemode
amel
amel•3d ago
i think the location would be ~/.config/... and not ~/config
Unfortunate
Unfortunate•3d ago
it is .config I already solved that part but I still have no gamemode.conf
amel
amel•3d ago
can you send a copy of the autogenerated .conf files? a screenshot is fine
Unfortunate
Unfortunate•3d ago
I'll try
Unfortunate
Unfortunate•3d ago
Sorry, I have no way to capture the screen rn. So I have to take the Shakey blurry screen pictures.
No description
No description
Unfortunate
Unfortunate•3d ago
I tried finding my capture card but no idea where it went
amel
amel•3d ago
enter the scopebuddy folder and open one of the .conf files
Unfortunate
Unfortunate•3d ago
No description
amel
amel•3d ago
yes, open scb.conf and post it
Unfortunate
Unfortunate•3d ago
God I'm so sorry about these images.
No description
amel
amel•3d ago
ok, so im pretty sure you just need to copy and paste SCB_GAMESCOPE_ARGS="--force-orientation right" at the bottom line of the file and save it however, as far as i understand scopebuddy only affects games and not the gaming mode session itself, so this is unlikely to work for your issue
Unfortunate
Unfortunate•3d ago
Yeah, gamemode is still in portrait.
amel
amel•3d ago
take a quick look of this doc page: https://docs.bazzite.gg/Handheld_and_HTPC_edition/quirks/?h=display#how-do-i-specify-the-correct-monitor-for-gaming-mode-to-use-htpc-only i'm certain this is where you should be making changes, unfortunately i don't know the environment variable that is responsible for posting the correct flag (in this case --force-rotation)
Unfortunate
Unfortunate•3d ago
Do you know what gamemodes specific name is? so that I know what to look for?
amel
amel•3d ago
steam gaming mode is a gamescope session, if that's what you're asking
Unfortunate
Unfortunate•3d ago
yes thankyou
amel
amel•3d ago
you can try looking in /etc/environment.d/ to see if there's a file that correlates to it
Unfortunate
Unfortunate•3d ago
that folder doesn't exist.
amel
amel•3d ago
ok, so there isn't is there anything inside /etc/default/?
Unfortunate
Unfortunate•3d ago
theres the steamosnested config steamos-btrfs, steamos-nested-desktop, and steam-hardware-control.
amel
amel•3d ago
yeah, not what we're looking for i believe screen rotation is usually handled by hhd service for handhelds. there should be a file somewhere in /etc that we should be able to work with, but at the moment i can't recall 🫠
Unfortunate
Unfortunate•3d ago
Yeah i've never had to deal with this before since I could just use the display settings. This computer had Mint Cinnamon on it before, but I wasn't using it as a dekstop so I thought I might try making it a gaming portable.
amel
amel•3d ago
i have another idea. can you run the following inside the terminal: ls /usr/share/gamescope-session-plus and see if it has any output?
Unfortunate
Unfortunate•3d ago
It output: bootstrap_steam.tar.gz device-quirks gamescope-session-plus sessions.d
amel
amel•3d ago
OK, give me a bit to see if we can work this out
Unfortunate
Unfortunate•3d ago
All good, I have no clue what I'm doing lol
amel
amel•3d ago
ok so i'm pretty sure the correct environment variable is just ORIENTATION
Unfortunate
Unfortunate•3d ago
That sounds correct
amel
amel•3d ago
1. open ~/.config 2. find the environment.d folder there - create one if it doesn't exist 3. open the text editor and insert ORIENTATION=right 4. save the file as 10-gamescope-session.conf inside the environment.d folder
Unfortunate
Unfortunate•3d ago
okay I did that lets see if it works YES IT DID it's still way to big of ui scale but I should be able to set that in steam
amel
amel•3d ago
enjoy!
Unfortunate
Unfortunate•3d ago
nice Thank you so much!
amel
amel•3d ago
what device is that btw? really cute
Unfortunate
Unfortunate•3d ago
now this stupid overpriced minipc might not be useless lol Its a higole 1 pro lemme grab the neofetch rq found it on amazon one time and impulse bought it lol
amel
amel•3d ago
wtf it has celeron :glorp:
Unfortunate
Unfortunate•3d ago
No description
Unfortunate
Unfortunate•3d ago
Intel celery
amel
amel•3d ago
it will make a decent syncthing node and torrent server if you plug in to ethernet. also could be a good physical corner screen for watching youtube while you work either way glad we got it to work!
Unfortunate
Unfortunate•3d ago
Yeah, was thinking for some older controller games like burnout paradise.
No description
Unfortunate
Unfortunate•3d ago
maybe a bit of minecraft
Entwives System
Entwives System•3d ago
You might get better performance by increasing the zram allocation considering you've only got 8gb ram
Unfortunate
Unfortunate•3d ago
Is the process for that in fedora different than doing it on mint?
Entwives System
Entwives System•3d ago
It's the same process as any other distro using systemd's zram generator To do that,
kate /etc/systemd/zram-generator.conf
kate /etc/systemd/zram-generator.conf
And then paste contents like this:
zram-size = ram
compression-algorithm = lz4
swap-priority = 60
fs-type = swap
zram-size = ram
compression-algorithm = lz4
swap-priority = 60
fs-type = swap
Unfortunate
Unfortunate•3d ago
Oh the swapiness? I only recognized the swap parts sorry.
Entwives System
Entwives System•3d ago
You can tweak the swap priority to fit your needs. On a Thinkpad with 8gb ram it was more helpful to not set it to 100 as Warframe could run faster by having it partially not compressed and partially compressed Settings like 70 would engage compression earlier With zram the compression algorithm determines how efficiently it compresses RAM contents within RAM. This is many times faster than accessing the contents of a swapfile though with RAM itself being limited you can select what best fits your needs. Lz4 can probably go as high as
zram-size = ram * 2
zram-size = ram * 2
but you will eventually run out of RAM Here's the zram config used for building the Linux kernel with full LTO (most memory used for linking) on the 8GB Thinkpad
zram-size = ram * 4
compression-algorithm = zstd
swap-priority = 70
fs-type = swap
zram-size = ram * 4
compression-algorithm = zstd
swap-priority = 70
fs-type = swap
Zstd is not ideal for gaming which is why Bazzite selects lz4 as the default zram configuration. It does compress smaller which is why more contents will fit in the same 8 GB.
Unfortunate
Unfortunate•3d ago
Oh, I forgot about this already. I've been sitting here trying to figure out audio issues..
Entwives System
Entwives System•3d ago
What's going on with the audio?
Unfortunate
Unfortunate•3d ago
I have audio out of the aux port, but not through the integrated speakers
Entwives System
Entwives System•3d ago
If you click the speaker icon in the task bar and open the settings (third icon that looks like slider controls, will say "Configure Audio Devices" if you mouseover), does it show up as an audio device?
Unfortunate
Unfortunate•3d ago
Yea. it also shows up in alsamixer
Entwives System
Entwives System•3d ago
Can you share a screenshot or photo of that page?
Unfortunate
Unfortunate•3d ago
No description
Entwives System
Entwives System•2d ago
Have you been able to get it working? I've found some pages on using that chip with pipewire and how to set the configuration to get audio output working with the built in speakers
Unfortunate
Unfortunate•2d ago
Unfortunately not. I had tried reinstalling pipewire, but nothing else besides that really. A lot of forum searching but I don't know fedora so not really knowing what I'm looking for.
Entwives System
Entwives System•2d ago
@Unfortunate What shows up if you go to this view?
No description
No description
Unfortunate
Unfortunate•2d ago
The same stuff I can send a picture when I get a chance but it's the same stuff. Stereo duplex, pro, all that stuff. Doesn't have a dummy speaker or anything
Entwives System
Entwives System•2d ago
Have you tried each of the profiles? Pro would specifically make all of the audio sinks show up but Analog Audio Duplex or Digital Stereo Output + Analog Stereo Input should hopefully get it going
Unfortunate
Unfortunate•2d ago
I have tried all of them Nothing
Entwives System
Entwives System•2d ago
Did anything extra show up in alsamixer with pro on? @Unfortunate what's the output of
pactl list short sinks
pactl list short sinks
?
Unfortunate
Unfortunate•2d ago
I'll check later when I get home
Unfortunate
Unfortunate•2d ago
No description
Entwives System
Entwives System•2d ago
What happens if you do
pactl set-default-sink alsa_output.pci-0000_00_0e.0.analog-stereo
pactl set-default-sink alsa_output.pci-0000_00_0e.0.analog-stereo
? Does it work then? If not, after that, let's check
pactl list sinks
pactl list sinks
Unfortunate
Unfortunate•2d ago
No description
No description
No description
No description
Unfortunate
Unfortunate•2d ago
The set defaukt didn't seem to work
Entwives System
Entwives System•2d ago
@Unfortunate Did that work with any other distro or is it always just trying to get the speaker working on Linux?
Unfortunate
Unfortunate•this hour
I went to Bazzite from Mint Cinnamon.
Entwives System
Entwives System•this hour
It worked there? Was this version of Mint, 22.1 with kernel 6.8, that was previously on it and the audio worked as expected? It might be worth trying Bazzite 42 which is based on Fedora Atomic 42. The current image is based on Fedora Atomic 43 and it seems that some strange bugs arrived along with the release. Bazzite's atomic deployment strategy makes it easy to have both versions and roll back
Unfortunate
Unfortunate•this hour
I think mine has Fedora 42? That's what I was seeing in the files at least How would I check?
Entwives System
Entwives System•this hour
uname -a
uname -a
The kernel will show which version of Bazzite is deployed
Unfortunate
Unfortunate•23h ago
Linux bazzite 6.16.4-116.bazzite.fc42.x86-64
Unfortunate
Unfortunate•23h ago
No description
Entwives System
Entwives System•23h ago
What's the output of
rpm-ostree status
rpm-ostree status
? That is Bazzite based on Fedora Atomic 42. If you want to download the latest deployment image using rpm-ostree (or the system upgrade app) you'll be on 43 with a Linux 6.17 series kernel (currently 6.17.7)
Unfortunate
Unfortunate•23h ago
No description
Entwives System
Entwives System•23h ago
This would upgrade you to the latest deployment image based on Fedora Atomic 43:
ujust update
ujust update
After that, you'll have two unique bootable entries in GRUB. One will be Bazzite with an (ostree: 0) label and the other will be Bazzite with an (ostree: 1) label (ostree: 0) will be Bazzite based on Fedora Atomic 43 with Linux 6.17.7 (ostree: 1) will be Bazzite based on Fedora Atomic 42 with Linux 6.16.4 until you run another upgrade which would cause it to be overwritten by the 43 + Linux 6.17.7 deployment
Unfortunate
Unfortunate•23h ago
Okay then. This is a brand new image though? I just downloaded this .iso like 3 days ago. Actually installed and downloaded the same day as when this thread opened
Entwives System
Entwives System•22h ago
The stable .iso for the latest deployment has not been built yet Actually, as of about 15 hours ago, the latest deployment .iso has been built and published
Unfortunate
Unfortunate•22h ago
The update failed?
No description
Entwives System
Entwives System•22h ago
Your connection timed out. You can retry. It downloads as layers so you're already 67/69 there
Unfortunate
Unfortunate•21h ago
Okay, the update completed but still lacks audio OH I enabled loud mode and I have speakers again!
Entwives System
Entwives System•21h ago
Yay!
Unfortunate
Unfortunate•21h ago
Now to see if they also work in game mode.. Does not seem like it. :(

Did you find this page helpful?