ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive

Home Page:http://counter-strike.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS2: Incorrect scaling when external monitor with different scale is used as primary display (Wayland / Plasma)

frmdstryr opened this issue · comments

Your system information

  • System information from steam

system info
runtime info

  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

I am on KDE Neon & Plasma Wayland (Ubuntu 22.04). My laptop is a 16:10 display and I have an external 16:9 monitor connected to my laptop that I use as the primary display (see configuration in screenshots below).

When my laptop display is set to use 125% scaling and the external monitor is set at 100% scaling, CS2 opens on the correct display (external monitor) but uses the incorrect scaling and does not fill the whole screen. As shown below

cs2-scaling-off

Also mouse positions seem to be incorrectly mapped so the buttons / mouse positions don't match what is shown on the screen.

cs2-scaling-issue

If I change the builtin laptop display to 100% scale or change the external to 125% scale (so they both match) then open CS2 it works correctly.

Steps for reproducing this issue:

  1. Attach separate monitor and mark as primary display in system display settings
  2. Set built in screen to 125% scaling and external to 100% scaling as shown in attached screenshots below
  3. Open CS2

primary-external-display-settings

laptop-screen-settings

Let me know if anything else is needed to clarify. Thanks.