csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Broken view in menu on Linux

Open murbanowicz opened this issue 4 years ago • 37 comments

Screenshot from 2020-05-08 13-47-08 Screenshot from 2020-05-08 13-40-53

As visible on the screenshots, the menu view is broken and it is misaligned with the mouse which is really strange. It makes it impossible to play on Ubuntu. It is strange as the sidebars look ok.

System: Ubuntu 20.04 nVidia drivers ultra widescreen: 5120x1440

murbanowicz avatar May 08 '20 11:05 murbanowicz

Same resolution, same issues. Thanks for reporting murbanowicz, thought i'm the only having these issues. Arch Linux Kernel: 5.7.0-1 AMD Open Source driver Ultra Widescreen: 5120x1440

Windowed mode is possible but that's no real solution.

gitt0r avatar May 10 '20 12:05 gitt0r

The current workaround is: triple_monitor_mode 1 in console. UI is a bit worse but game is working and you can get used to it, however IT STILL SHOULD BE FIXED. I see it is probably caused by CSGO on Linux not being able to recognize different screen ratio.

murbanowicz avatar May 14 '20 09:05 murbanowicz

I'm having the same issue as well.

Ubuntu Budgie 20.04 Kernel 5.4.0 Nvidia drivers Ultra Widescreen: 5120x1440

Setting triple_monitor_mode 1 in the console makes it work technically, however there are many, many glitches in that mode right now. Adding -windowed -w 1920 -h 1080 to the launch options also acts as a workaround, but of course this is not fullscreen.

k3d3 avatar Jun 11 '20 05:06 k3d3

Also having this issue! Ubuntu 20.04.1 LTS amdgpu-pro (Proprietary AMD GPU drivers) Dual setup with CS:GO running on the main 4K screen

7RST1 avatar Aug 01 '20 19:08 7RST1

Sorry for commenting again, but despite lack of activity, I think this issue is pretty urgent. It might affect every Ubuntu user with fractional scaling enabled.

User Interface label should be added, no?

7RST1 avatar Sep 12 '20 15:09 7RST1

I agree - this should probably be a lot higher priority than it currently is, as it COMPLETELY breaks CS:GO on Ubuntu.

k3d3 avatar Sep 12 '20 16:09 k3d3

This issue still exists in Ubuntu 20.10. Also tried switching to open-source amdgpu drivers, and it didn't help. I'm also trying to run it on my new 1440p screen and I face the same issue. I miss being able to play CS:GO!

7RST1 avatar Nov 28 '20 16:11 7RST1

wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,1080,371,1920,1080' wmctrl -r "Counter-Strike: Global Offensive - OpenGL" -e 0,x_offset, y_offset,x_wide,y_height' I had this issue for my multi-monitor setup and running this command after I launch the game fixes my issue.

lostpolaris avatar Dec 03 '20 03:12 lostpolaris

The above solution did not work for me. I can't believe more people are not reporting the issue? Are there so few people using fractional scaling? Skjermbilde fra 2021-01-22 23-05-05

7RST1 avatar Jan 22 '21 22:01 7RST1

+1 (Ubuntu 20.10; 64bit; X11; AMD Radeon RX5700XT; AMD Ryzen 9 3900x) (Samsung 49'': 5120 x 1440px, 120Hz)

weinbrenner avatar Jan 24 '21 16:01 weinbrenner

Can the title of this issue be updated? my experience is that the entire game-play is ruined, it's not just the menu. Yep you can work around it with triple_monitor_mode 1 but the game isn't actually playable. Once you can get into a game, either using triple monitor mode or single monitor mode, the visual artifacting makes it unplayable.

e.g. triple monitor - scope

Using single monitor mode after switching into the game, has the exact same issue

russell avatar Jan 26 '21 16:01 russell

+1

steve-offutt avatar Mar 08 '21 01:03 steve-offutt

Same problem on macOS BigSur 11.2.3, Samsung C49RG90 49" 5120x1440 px.

petr-ujezdsky avatar Mar 27 '21 21:03 petr-ujezdsky

I have the same problem! Arch Linux Kernel: 5.11.10-1 Nvidia driver (GTX 1060) Ultra Widescreen: 5120x1440

LukeSkywalker92 avatar Mar 28 '21 07:03 LukeSkywalker92

+1 Debian 10 4.19.0-16-amd64 Kernel AMD Pro driver with RX570 Res: 5120x1440

Apfelwurm avatar Apr 14 '21 23:04 Apfelwurm

Same problem here, unfortunately.

Manjaro Kernel 5.10.42 AMD RX570 with Manjaro's video-linux profile (latest OS driver) 5120x1440

flo333 avatar Jun 24 '21 17:06 flo333

+1

Debian 11 Testing Wayland 5.10.0-7 Kernel 5120x1440 AMD Radeon 5700XT with AMD_GPU FOSS Driver

BOFH90 avatar Jul 11 '21 16:07 BOFH90

Same here. Like @russell mentions, even if you manage to enable triple monitor mode with the broken UI, there are some problems like the AUG view not working correctly and even leaving behind some sort of overlay that is really annoying and doesn't go away until you restart the game.

Zamundaaa avatar Jul 23 '21 11:07 Zamundaaa

Same on Ubuntu 20.04.3 with CS:GO and also proton game Wolfenstein: The new order. LG 27 3840x2160 scalled 150% X11 RX 5700 XT Mesa opensource drivers

tosziro avatar Sep 01 '21 08:09 tosziro

My current workaround is to change the system-wide resolution to 3840x1080 before launching the game, this seems to be working fine so far (CRG9).

flo333 avatar Sep 01 '21 09:09 flo333

+1, same issue, same workaround

Fedora 34 Wayland 5.13.16-200 kernel 5120x1440 (Samsung CRG9) AMD Radeon RX 6900 XT (amdgpu)

and also on...

Ubuntu 21.04 Xorg 5.14.8-051408 5120x1440 (Samsung CRG9) AMD Radeon RX 5700 XT (amdgpu)

particledecay avatar Sep 28 '21 03:09 particledecay

Same here.

Ubuntu 21.04 5.11.0-37 kernel 5120x1440 (Samsung G9 Odyssey) Radeon 6700XT (amdgpu) X11

Also, somehow mine is too blurry in game. Antialias off and everything.

Screenshot from 2021-10-07 08-14-13 Screenshot from 2021-10-07 08-14-25 Screenshot from 2021-10-07 08-14-47

zombehsnail avatar Oct 07 '21 06:10 zombehsnail

+1, Monitor: Crg9 distro:EndeavourOS game works at 3840x1080, 5120x1440 breaks the UI.

JackedFrost avatar Oct 17 '21 22:10 JackedFrost

I'm also experiencing the broken UI and seemingly lower rendering resolution. The quality issue is consistent with what I've noted here for other source games: https://github.com/ValveSoftware/Source-1-Games/issues/3437

echozio avatar Oct 24 '21 18:10 echozio

For anyone running 32:9 at 5120x1440 with "triple_monitor_mode 1" and wants decent rendering, drop down to 3840x1080 until this gets resolved.

Here's an example of what I use to launch CSGO. Note: KDE only and supports Wayland. You could easily make a similar solution for another DE with the example.

You'll need to change kscreen-doctor outputs to match your primary monitor. Find them with "kscreen-doctor -o"

#!/bin/bash
echo "Set Desktop resolution for CSGO...."
kscreen-doctor output.1.mode.3840x1080

echo "Run CSGO...."
#Flatpak package
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam-wrapper --file-forwarding com.valvesoftware.Steam @@u %U @@~ steam://rungameid/730

#Distribution package
#steam steam://rungameid/730

echo "Waiting for game to start...."
sleep 10
PID=$(pgrep -x csgo_linux64)

echo "CSGO running as PID: $PID. Waiting for process to end...."
tail --pid=$PID -f /dev/null

echo "CSGO PID: $PID Ended. Setting Desktop Resolution back to original value...."
kscreen-doctor output.1.mode.5120x1440

echo "Closing...."

Set launch options in Steam:

-nojoy -novid -fullscreen -w 3840 -h 1080

zebcarnell avatar Nov 11 '21 14:11 zebcarnell

+1 Same issue

Fedora 34 - KDE Plasma 5.14.16-201 Kernel X11 AMD Ryzen 9 3900X Nvidia GTX 1080 Ti (Nvidia 470 Drivers) 5120x1440

Not the same game, but I get a very similar visual issue on some maps in TF2 (Linux version).

bond7o6 avatar Nov 13 '21 22:11 bond7o6

Why is this still an issue??

Ubuntu 21.10 & Nvidia 495 Driver.

alientek avatar Nov 15 '21 19:11 alientek

So, I went to check out if this problem is exist on windows. Surprise surprise, this problem is just linux related.

zombehsnail avatar Nov 18 '21 19:11 zombehsnail

Switching from Windows to Linux as primary OS and have run into this issue on 5120x1440 ultrawide. Can confirm it works just fine in windows 10.

zlittell avatar Nov 29 '21 19:11 zlittell

As an easy workaround, if you launch CSGO from Lutris you can set it to launch with 3840x1080 and it will automatically restore your desktop resolution when you exit the game. image

particledecay avatar Dec 02 '21 20:12 particledecay