Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken view in menu on Linux #2429

Open
murbanowicz opened this issue May 8, 2020 · 40 comments
Open

Broken view in menu on Linux #2429

murbanowicz opened this issue May 8, 2020 · 40 comments

Comments

@murbanowicz
Copy link

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

@gitt0r
Copy link

gitt0r commented May 10, 2020

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.

@murbanowicz
Copy link
Author

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.

@k3d3
Copy link

k3d3 commented Jun 11, 2020

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.

@7RST1
Copy link

7RST1 commented Aug 1, 2020

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
Copy link

7RST1 commented Sep 12, 2020

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?

@k3d3
Copy link

k3d3 commented Sep 12, 2020

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

@7RST1
Copy link

7RST1 commented Nov 28, 2020

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!

@lostpolaris
Copy link

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.

@7RST1
Copy link

7RST1 commented Jan 22, 2021

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

@weinbrenner
Copy link

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

@russell
Copy link

russell commented Jan 26, 2021

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

@steve-offutt
Copy link

+1

@petr-ujezdsky
Copy link

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

@LukeSkywalker92
Copy link

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

@Apfelwurm
Copy link

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

@flo333
Copy link

flo333 commented Jun 24, 2021

Same problem here, unfortunately.

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

@BOFH90
Copy link

BOFH90 commented Jul 11, 2021

+1

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

@Zamundaaa
Copy link

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.

@tosziro
Copy link

tosziro commented Sep 1, 2021

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

@flo333
Copy link

flo333 commented Sep 1, 2021

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).

@particledecay
Copy link

+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)

@zombehsnail
Copy link

zombehsnail commented Oct 7, 2021

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

@JackedFrost
Copy link

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

@echozio
Copy link

echozio commented Oct 24, 2021

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: ValveSoftware/Source-1-Games#3437

@zebcarnell
Copy link

zebcarnell commented Nov 11, 2021

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

@bond7o6
Copy link

bond7o6 commented Nov 13, 2021

+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).

@alientek
Copy link

Why is this still an issue??

Ubuntu 21.10 & Nvidia 495 Driver.

@zombehsnail
Copy link

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

@zlittell
Copy link

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.

@particledecay
Copy link

particledecay commented Dec 2, 2021

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

@BOFH90
Copy link

BOFH90 commented Dec 15, 2021

With the latest update runnig CS:GO with the "-vulkan" option fixes the Problem for me :)

@knoopx
Copy link

knoopx commented Dec 19, 2021

adding -vulkan did not work for me. running @ 3840x2160 / 1.5 scaling.

@flo333
Copy link

flo333 commented Dec 19, 2021

-vulkan works for me, but it introduces other issues. The FPS look fine, but I get massive stutters intermittently.

@weinbrenner
Copy link

With the latest update runnig CS:GO with the "-vulkan" option fixes the Problem for me :)

+1

works!

@dragonifnotifiswat
Copy link

dragonifnotifiswat commented May 15, 2022

Adding - Vulkan worked for me @ 5120x1440 but was stuttering to much so I switched back to 3840 , not an hardware issue since it was working well in windows. arch with driver 510.68.02-3

@kudos
Copy link

kudos commented May 24, 2022

Stuttering seems to be really common with Vulkan games. Afaik it's building shaders, which it should only need to do once. If you stick with it, the stuttering should stop. It's a pain in the ass, but I'm living with it.

@CampGareth
Copy link

I also ran into this so switched to windowed mode. I noticed the problem kicks in at a window width of 4096 pixels or greater.

@relief-melone
Copy link

that issue has been open for 2 years and nothing at all happened 😱

@tuananh
Copy link

tuananh commented Jan 27, 2023

Adding - Vulkan worked for me @ 5120x1440 but was stuttering to much so I switched back to 3840 , not an hardware issue since it was working well in windows. arch with driver 510.68.02-

happened with me too. how did you deal with it?

@x86shell
Copy link

x86shell commented Jul 2, 2023

Hi all,

I switched from Windows to Pop a couple days ago and i've been having this issue. I've solved it with the following launch args

xrandr --output DP-4 --mode 5120x1440 --scale-from 1024x768 --rate 165.00; gamemoderun %command% -novid -full -w 768 -h 1024; xrandr --output DP-4 --mode 5120x1440 --scale 1x1 --rate 165.00 --dpi 96

You will need to replace the "output", "rate" and possibly DPI/Scale-from.

You can get the output and rate from running xrandr -q

DPI is accessed by running xdpyinfo | grep dots

You will need to remove the "gamemoderun" if you don't use Feral Interactives Gamemode application. Another thing you will need to disable is the HiDPI daemon. I can find this in my Gnome based DE within the display settings, both boxes need to be turned off.

I hope this helps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests