Old games with fixed resolutions in Wine no longer run in full screen since Plasma 6

Since upgrading to KDE 40 and Plasma 6, old games that have a fixed resolution like 640x480 (like Baldur’s Gate or Starcraft) no longer fill out the whole screen when in fullscreen mode.

Instead they run in their original resolution in the top corner of the screen, with the rest of the screen being just black. The games no longer stretch to use the entire height of the monitor.

This has never been an issue for me, running these games in Wine on Fedora 19 to 39. It only started once upgrading to Fedora 40 and now it affects both my computers, so I am nearly certain the issue is somehow caused by switching to Plasma 6.

How could this be fixed to make them stretch to 1080px height again?

Changing monitor resolution to 640x480 does not work as a temporary fix. The monitor tries to apply it, but then switches back to 1080p resolution automatically.

What if you select “scaled by the system” for the legacy applications in Display Configuration?

If you’re on Steam, you can install gamescope from the Fedora repositories and add this to your Launch Options as a workaround:

gamescope -f -- %command%

How does one access “Display Configuration”?

Right-click your desktop. Or from the Settings, type it in the box. It should show you kcmshell6 kcm_kscreen .

Not sure If I can be of any help…

Hmmh, I don’t think it’s not really Plasma6 to blame for this regression here but a combination of the games running on wine and xorg and wayland having different feature sets.

Easiest would have been to switch back to xorg until wine/wayland supports scaling or display mode switching. But iirc fedora has deprecated it for their distros. (Please correct me.)

If you are adventurous you might at least for the Baldurs Gate/Icewind Dale or Planetscape Game could try a native interpreter like gemrb. (Unless you were actually meaning bg3). Not sure about StarCraft.