KDE Wayland has weird native resolution

First and foremost, I don’t know if this is just an issue with steam, but as it only seems to happen in KDE with wayland, I wanted to start here.

I use fedora 40, I have both gnome 46.4 and kde plasma 6.1.4 installed.

I have a dual monitor setup, one 32/9 monitor (5120x1440) and a UHD monitor.

For some reason, when I launch steam, it looks a little scaled… blurry. And when I launch a game, it thinks the native resolution of my monitor is 6400x1800. This happens both in Civ6 and Titanfall 2. When I manually edit the settings file of civ6 to what the resolution actually is, the game doesn’t response correctly to input and looks off. In the system settings of kde, everything looks fine and it reports the correct resolution. In Gnome x11 and wayland I don’t seem to get this issue. My primary monitor (32/9) has no scaling active and to my eye, no other types of applications seem to exibit the same problems. Does anyone have an idea of what I can try/check?

I’ve already tried reinstalling steam, doing ‘steam --reset’, removing the .steam folder. I’ve done a search in the all files inside the home folder and I see multiple log files of different games and steam referencing a 6400x1800 resolution. So either it’s something wrong in steam, or I’ve configured something wrong that is combining in a weird way. Has anyone else had such an issue? I haven’t seen any post with a similar issue yet. Thanks in advance for the help/reading.

TLDR: games in steam running under kde report the wrong native resolution (6400x1800 instead of 5120x1440).

You can try to change the legacy X11 mode in the display settings.
“self-scaling” versus “System scaling”, you might want the second one.

1 Like

If using the flatpak version of Steam, you can force scaling using a launch param STEAM_FORCE_DESKTOPUI_SCALING=<scale_factor>. 1.5 is a good default for hi-dpi displays.

Not sure about the other issue you’re having (or if they’re related at all)

1 Like

Hi,
Sorry, I forgot to mention that I installed steam natively. But thanks anyway! I’ll keep it in mind if I ever do! :smile:

Thanks!! this solved the problem. There was still some trouble getting into civ 6. But this was due to the saved graphics settings. However, it was fixed by manually changing the resolution in the config files of the game.

Thanks for the help!