Weird rotation issue

recently flashed my 2025 GPD win 4's lcd controller firmware that makes the natively portrait screen appear in software as a landscape screen to reduce latency.

the original issue was that if i launch a game it only shows half the game in portrait mode which is fixed by using kargs right side up.

now the issue is changing the refresh rate still only use the original "half screen" before the rotation but now the game is also rotated back inside the container, effectively only using a quarter if the screen but still also not fully on screen.
ive attached a video to show what i mean.

the only way to get the game back to full screen again is by putting it back to 60hz then opening the tty console or whatever its called (ctrl+alt+f2) then going back to the gui(ctrl+alt+f1)

any idea how to fix this? thanks
Solution
fixed on my end, all the refreshrate works
heres what i did:

rpm-ostree usroverlay --hotfix
this let me edit files in /usr/share/

edited 2 files:
/usr/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua
--somewhere in there theres a line with "gamescope.modegen.set_resolution(mode, 1920, 1080)"
--i just swapped the 2 resolutions around "(mode, 1080, 1920)"

/usr/share/gamescope-session-plus/device-quirks
--added "ORIENTATION=right" to the gpd win 4 section
Was this page helpful?