You are not logged in.

#1 2022-02-28 21:14:25

Vertilix
Member
Registered: 2022-02-28
Posts: 4

4:3 Stretched on csgo

Hey i am trying to play csgo on the resolution 1024x768 and when i use it it looks very blurry or pixelated, How can I fix this it looked pretty good on windows.

Offline

#2 2022-02-28 22:18:30

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: 4:3 Stretched on csgo

Do you mean 4:3 with black bars?
I'd be interested in knowing how to get that, too.

The command for setting & disabling it probably would be pretty easy to include in csgo.sh in the installation directory.

With stretched mode i'm not sure if you can do anything about it not looking "pixelated".

Last edited by Irets (2022-02-28 22:22:11)

Offline

#3 2022-03-01 07:21:20

seth
Member
Registered: 2012-09-03
Posts: 64,502

Re: 4:3 Stretched on csgo

Please elaborate on setup and problem. Are you trying to run a game in XGA on eg. a FullHD output?
1. Most monitors and TVs actually allow you to configure the aspect handling in the OSD, do that preferably.
2. Otherwise this is highly driver dependent. nvidia-settings has rather comfortable viewport transformation in the advanced display config settings (just enter "1024x768" into all three fields and in viewportout +123+456 (use proper numbers reg. your present actual mode) to shift it to the center of the output. There're some xrandr options for letterboxing and you can use the transformation matrix, see eg. https://bbs.archlinux.org/viewtopic.php?id=254991

Online

#4 2022-03-01 09:23:28

Vertilix
Member
Registered: 2022-02-28
Posts: 4

Re: 4:3 Stretched on csgo

https://i.imgur.com/5XIL80P.png Here is my neofetch

'On windows whenever i played 4:3 stretched it would look way better and crispier than linux.

Whenever i shift tab to open the steam overlay its like im in a 1920x1080 screen and the game is more demanding.
https://i.imgur.com/RDNz77D.jpg

I tried to change my screen settings but that would just give me black bars.

Last edited by Vertilix (2022-03-01 09:23:59)

Offline

#5 2022-03-01 10:12:29

Skunky
Member
Registered: 2018-01-25
Posts: 231

Re: 4:3 Stretched on csgo

If i'm not mistaken CSGO on linux uses openGL while on Windows it uses Direct3D so i think that's the cause.

Also, from CSGO changelog

[LINUX]
– Added experimental Vulkan support. Add -vulkan to your command line to enable Vulkan.

Last edited by Skunky (2022-03-01 10:13:15)

Offline

#6 2022-03-01 12:47:07

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 535

Re: 4:3 Stretched on csgo

Resolution selection on Vulkan CS:GO is broken. Use gamescope to force your preferred resolution and launch the game in it... But you can't, because you have an Nvidia card.

Offline

#7 2022-03-01 14:46:22

seth
Member
Registered: 2012-09-03
Posts: 64,502

Re: 4:3 Stretched on csgo

Since this is a hybrid GPU/optimus system, I'd first and foremost check whether you're running the game on the GPU or the IGP.
https://wiki.archlinux.org/title/NVIDIA_Optimus
Post your xorg config and

glxinfo -B; prime-run glxinfo -B

https://archlinux.org/packages/extra/any/nvidia-prime/

XGA is XGA - and stretching it (by the monitor) to FullHD is gonna look murky regardless of the OS.
The second screenshot suggest that you're actually running on FullHD, but the game is rendered in XGA and upscaled, but by the game/steam - not the outptut.

Online

Board footer

Powered by FluxBB