HGL
fascinating-indigo

[SOLVED] CS2 bad performance

I am using hyprland with arch i resently downloaded steam to play cs2 i am not geting good performance only about 55 to 60 fps even though my cpu and gpu are getting about 40 to 50% utilize i tried disabling vsinc in game but didnt help and on high and low setting i am getting same performence i think i am vsic lock how can i dissable it ?
No description
144 Replies
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
how do i disable v sync i have dissable it in game but still only getting 60 fps at max
deep-jade
deep-jadeβ€’2y ago
you are in wayland, so.. you are locked at 60.. i dont use wayland so cant really tell you what to do, but google has lots of hits about disabling vsync in wayland, but seems thats not without its own set of issues
fascinating-indigo
fascinating-indigoOPβ€’2y ago
Can you connect me to some one who might have idea
correct-apricot
correct-apricotβ€’2y ago
No, i use wayland and get 1000 fps if i want. Problem what you heard about is ( what you think as is ) there was no tearing protocol until recently so you would get your frames but since each prame was perfect ( hence no tearing ) it would come with latency penalty Using Kde Wayland here btw, i get 300-250 fps on Arch with 7900 xtx 1440p maxed out- no fsr
deep-jade
deep-jadeβ€’2y ago
right so some setting in wayland to disable/alter its vsync behavior
correct-apricot
correct-apricotβ€’2y ago
Nope, no setting needed. Setting is needed for allowing tearing but no setting needed for high fps inxi -SMGxx Give me this output
fascinating-indigo
fascinating-indigoOPβ€’2y ago
Give me 10min
deep-jade
deep-jadeβ€’2y ago
sure does sound like something is locking at 60 πŸ˜„ vsync is a good go to.. could be enabled on driver as well and be indepentent of wayland
correct-apricot
correct-apricotβ€’2y ago
Yep, that is why i ask for that output inb4 Nvidia memes again
deep-jade
deep-jadeβ€’2y ago
my guess would be nvidia too πŸ˜›
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
deep-jade
deep-jadeβ€’2y ago
so install it
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok doki
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
wait lol my gpu was off let me enable and resend the thing
correct-apricot
correct-apricotβ€’2y ago
Yes, llvmpipe says you were doing rendering on cpu 🐸
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
correct-apricot
correct-apricotβ€’2y ago
Now that's better Any changes in game perf?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
no i did test both way beffor even openning a support request if you want i can just re run the game
correct-apricot
correct-apricotβ€’2y ago
Tikit, i like it. vulkan_driver add this to your mangohud cfg and also run this when game is on: watch -n 0.5 nvidia-smi
fascinating-indigo
fascinating-indigoOPβ€’2y ago
🀯you lost me here
correct-apricot
correct-apricotβ€’2y ago
In which part, ain't complicated 🐸
fascinating-indigo
fascinating-indigoOPβ€’2y ago
where can i find mangohud config i download it with pacman
correct-apricot
correct-apricotβ€’2y ago
https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#hud-configuration But that thing is not crucial Just do nvidia-smi thing And post screenshot of it
fascinating-indigo
fascinating-indigoOPβ€’2y ago
when game is running in background ?
correct-apricot
correct-apricotβ€’2y ago
Yes Background or foreground
fascinating-indigo
fascinating-indigoOPβ€’2y ago
when i am in main manu
No description
correct-apricot
correct-apricotβ€’2y ago
Somehow something keeps you at P5 perf level, normally it should be P8 or something for full perf iirc
fascinating-indigo
fascinating-indigoOPβ€’2y ago
when i am in practice match
No description
correct-apricot
correct-apricotβ€’2y ago
Yep Your power management is borked, gpu doesn"t clock as much it should be
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ya i guess i am using a software to improve my bettry performance but i did set it to performance
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
correct-apricot
correct-apricotβ€’2y ago
πŸ€·β€β™‚οΈCheck other games to see if same thing happens Governor override is related to cpu btw Not gpu
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i dont have fast internet 😒 so it take time to download games ooh could it be my gpu drivers
correct-apricot
correct-apricotβ€’2y ago
To rule it out, better use this script to install the driver you want. https://github.com/Frogging-Family/nvidia-all?tab=readme-ov-file#how-to-run-the-installer
GitHub
GitHub - Frogging-Family/nvidia-all: Nvidia driver latest to 396 se...
Nvidia driver latest to 396 series AIO installer. Contribute to Frogging-Family/nvidia-all development by creating an account on GitHub.
correct-apricot
correct-apricotβ€’2y ago
Go with dkms and closed kernel options Usage is very easy
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok
fascinating-indigo
fascinating-indigoOPβ€’2y ago
which one should i pik ?
No description
correct-apricot
correct-apricotβ€’2y ago
Try 2 first As 535 is older And yes, that is same as one you got from arch repos
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i did y is their a way to make process fast ? of compiling
correct-apricot
correct-apricotβ€’2y ago
You should have done N imo but that would still work
fascinating-indigo
fascinating-indigoOPβ€’2y ago
now its P8
No description
correct-apricot
correct-apricotβ€’2y ago
And perf ?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
lol i am human give some time to test things
correct-apricot
correct-apricotβ€’2y ago
:sunglase:
fascinating-indigo
fascinating-indigoOPβ€’2y ago
should i restart
correct-apricot
correct-apricotβ€’2y ago
Didn't you already? Yes
fascinating-indigo
fascinating-indigoOPβ€’2y ago
you are the most effert help supporter i even met XD
correct-apricot
correct-apricotβ€’2y ago
:CatYeah:
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
:< no improvement still same
correct-apricot
correct-apricotβ€’2y ago
Hmm, set game to windowed mode or borderless window
fascinating-indigo
fascinating-indigoOPβ€’2y ago
but game got smoother XD ok performence go down
correct-apricot
correct-apricotβ€’2y ago
Ha, so windowing options affects perf somehow.
fascinating-indigo
fascinating-indigoOPβ€’2y ago
yup
correct-apricot
correct-apricotβ€’2y ago
https://www.reddit.com/r/linux_gaming/comments/17byrbv/comment/k5nmf0i/ Found this, someone says hyprland perf sucks with that game 🐸 While kde is normal It should be easy enough to test, you can install kde, test with it, see how it goes https://wiki.archlinux.org/title/KDE 1.1 tells how to do it After that you can start with whichever you want via your session manager
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i did talk to the one devloper and he said his games work fine
correct-apricot
correct-apricotβ€’2y ago
No description
correct-apricot
correct-apricotβ€’2y ago
They can say that But your machine is yours So your experience might differ
fascinating-indigo
fascinating-indigoOPβ€’2y ago
hmmm i did played this game on endeavour os ones on my system and it was putting 90 to 100 fps on high settings :>
correct-apricot
correct-apricotβ€’2y ago
I use Endeavour too :Pandaexcited:
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i used it in past
correct-apricot
correct-apricotβ€’2y ago
Anyways, try with kde
deep-jade
deep-jadeβ€’2y ago
i just stick to my arch xorg and bspwm and pretty much everything works without issue .. sounds like a lot of futzing for hyperland ..
correct-apricot
correct-apricotβ€’2y ago
If it works there , go to hyprland devs and say "i want to speak with your manager"
deep-jade
deep-jadeβ€’2y ago
iirc wasnt there a hyperland nvidia patch or something
correct-apricot
correct-apricotβ€’2y ago
πŸ€·β€β™‚οΈ
deep-jade
deep-jadeβ€’2y ago
i think i've seen folks talk about it, might be worth a look
fascinating-indigo
fascinating-indigoOPβ€’2y ago
well hyprland is still new
deep-jade
deep-jadeβ€’2y ago
yep, so you are paying the cost anyway pretty sure there's a nvidia patch that may address some weirdness not sure if it fixes this, but most folks seem to suggest it for nvidia
fascinating-indigo
fascinating-indigoOPβ€’2y ago
yoo i just downloaded plasma-meta and it is not showing in my mannager i heard resently hyrland is now supported on nvidea and not need any work around
correct-apricot
correct-apricotβ€’2y ago
Did it install bunch of other packages as well or no?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
yes it did something
correct-apricot
correct-apricotβ€’2y ago
To enable support for Wayland in Plasma, also install the plasma-wayland-session package. If you are an NVIDIA user with the proprietary nvidia driver, also enable the DRM kernel mode setting. If that does not work, too, check the instructions on the KDE wiki.
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
correct-apricot
correct-apricotβ€’2y ago
So whatever mirror you're getting it from is busted i guess
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i am usingh pacman same on yay
correct-apricot
correct-apricotβ€’2y ago
pacman is package manager, not a mirror. https://wiki.archlinux.org/title/mirrors
Force pacman to refresh the package lists
Mirrors can be out of sync and the package list from the old mirror may not correspond to the package list of the new mirror, even though the dates of the lists may suggest that they do.
fascinating-indigo
fascinating-indigoOPβ€’2y ago
fixed πŸ™‚ just sync the pakage game is not lounching tested one more small game also didnt work
correct-apricot
correct-apricotβ€’2y ago
With kde wayland?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
kde
correct-apricot
correct-apricotβ€’2y ago
Is it kde wayland tho So that is not a valid answer
fascinating-indigo
fascinating-indigoOPβ€’2y ago
plasma
correct-apricot
correct-apricotβ€’2y ago
Check inxi -SMGxx output again Because your answers are completelt unrelated to what i ask 🐸
fascinating-indigo
fascinating-indigoOPβ€’2y ago
..[$] <( (git)-[master]-)> inxi -SMGxx System: Host: archlinux Kernel: 6.6.4-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 dm: SDDM Distro: Arch Linux Machine: Type: Laptop System: LENOVO product: 82K2 v: IdeaPad Gaming 3 15ACH6 serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15ACH6 serial: <superuser required> Mobo: LENOVO model: LNVNB161216 v: SDK0T76486 WIN serial: <superuser required> UEFI: LENOVO v: H3CN32WW(V2.02) date: 02/23/2022 Graphics: Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 545.29.06 arch: Turing pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:1f9d Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series] vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 05:00.0 chip-ID: 1002:1638 temp: 49.0 C Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-3:3 chip-ID: 04f2:b6c2 Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2 compositor: kwin_x11 driver: X: loaded: modesetting dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 Monitor-1: eDP-1 model: BOE Display 0x0a81 res: 1920x1080 dpi: 142 diag: 395mm (15.5") API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: radeonsi inactive: wayland API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2 glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 16.0.6 DRM 3.54 6.6.4-arch1-1) device-ID: 1002:1638 API: Vulkan v: 1.3.269 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: nvidia device-ID: 10de:1f9d
correct-apricot
correct-apricotβ€’2y ago
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command%
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command%
Launch game with this
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok sir didnt work
correct-apricot
correct-apricotβ€’2y ago
That is weird and unexpected. Launch steam itself via terminal and launch game from UI and see what steam complains about
fascinating-indigo
fascinating-indigoOPβ€’2y ago
nothing diferent steam starts fine i go and click on game it shows running then dies
correct-apricot
correct-apricotβ€’2y ago
Output in the terminal matters Otherwise why would i tell you to check what steam complains about
fascinating-indigo
fascinating-indigoOPβ€’2y ago
okok
fascinating-indigo
fascinating-indigoOPβ€’2y ago
correct-apricot
correct-apricotβ€’2y ago
Meh, not that helpful. It dies right at launch after doing some shader cache operations. Show me the screenshot of your game launch options
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok stupid question how to take ss in plasma ? kde
correct-apricot
correct-apricotβ€’2y ago
Just hit printscreen key
fascinating-indigo
fascinating-indigoOPβ€’2y ago
big bran but not working
correct-apricot
correct-apricotβ€’2y ago
https://archlinux.org/packages/extra/x86_64/spectacle/ Install this It seems this meta package contains it https://archlinux.org/packages/extra/any/kde-graphics-meta/ So you won't have it if plasma meta package doesn't install that
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
correct-apricot
correct-apricotβ€’2y ago
You don't have an additional %command% too that is a left over from your mangohud right?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
no i removed
correct-apricot
correct-apricotβ€’2y ago
Odd. sudo pacman -Syu vulkan-tools
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only vkcube
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only vkcube
nvidia-smi when cube is spinning
fascinating-indigo
fascinating-indigoOPβ€’2y ago
NV_PRIME_RENDER_OFFLOAD=1 VK_LAYER_NV_optimus=NVIDIA_only vkcube this in new lounch option ?
correct-apricot
correct-apricotβ€’2y ago
No, you should use terminal for that Not steam or game related
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
still game not running i did tested it in hyprland it works fine there with low fps
correct-apricot
correct-apricotβ€’2y ago
I said when cube is spinning, cube didn't work with those env vars?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
there is no cube
correct-apricot
correct-apricotβ€’2y ago
Just do vkcube only Does it work?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
..[$] <( (git)-[master]-)> vkcube Selected GPU 0: NVIDIA GeForce GTX 1650, type: DiscreteGpu [1] 96114 segmentation fault (core dumped) vkcube it opens window then closes/crashes
correct-apricot
correct-apricotβ€’2y ago
sudo pacman -S vulkan-icd-loader lib32-vulkan-icd-loader sudo pacman -R amdvlk lib32-amdvlk just as a safety measure Then cube again
fascinating-indigo
fascinating-indigoOPβ€’2y ago
ok same
correct-apricot
correct-apricotβ€’2y ago
Rip, for some reason on Kde your dgpu goes kaput
fascinating-indigo
fascinating-indigoOPβ€’2y ago
XD
correct-apricot
correct-apricotβ€’2y ago
Do you have a X conf file you created manually somewhere?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
no
correct-apricot
correct-apricotβ€’2y ago
Not a globally passed env var either i assume?
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i am not sure
correct-apricot
correct-apricotβ€’2y ago
If you didn't put stuff in there, then you are not passing anything on your own. https://wiki.archlinux.org/title/environment_variables#Globally
correct-apricot
correct-apricotβ€’2y ago
Which at this point, i have no idea why kde would be like that 🐸
fascinating-indigo
fascinating-indigoOPβ€’2y ago
hmmm aren't we going to out form our main problem
correct-apricot
correct-apricotβ€’2y ago
Go back to hyprland and try to solve perf there But i don't know what else can be done
fascinating-indigo
fascinating-indigoOPβ€’2y ago
its not about setting new enviroment just for game
correct-apricot
correct-apricotβ€’2y ago
Especially if that is the only game that does it
fascinating-indigo
fascinating-indigoOPβ€’2y ago
yaa i guess i will skip on cs2 then i dont game that often and if this problem still stays i will just reinstall arch with an envirment thx for your time though and thx for easy script that install nvidia gpu drivers
correct-apricot
correct-apricotβ€’2y ago
Yw :CatYeah:
fascinating-indigo
fascinating-indigoOPβ€’2y ago
@"Leopard" yo sorry to tag let talk a bit
correct-apricot
correct-apricotβ€’2y ago
Start :sunglase: Lol, i already replied it seems
fascinating-indigo
fascinating-indigoOPβ€’2y ago
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json %command% after adding this command game didnt started only render the shaders ya this on is prity old XD
correct-apricot
correct-apricotβ€’2y ago
inxi -SMGxx Gimme this output
fascinating-indigo
fascinating-indigoOPβ€’2y ago
inxi didnt found XD
correct-apricot
correct-apricotβ€’2y ago
sudo apt install inxi
fascinating-indigo
fascinating-indigoOPβ€’2y ago
\
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
hold you horsis
correct-apricot
correct-apricotβ€’2y ago
Why on earth or how on earth did you install Snap Heroic then on Arch? Or that screenshot is just old
fascinating-indigo
fascinating-indigoOPβ€’2y ago
new XD
correct-apricot
correct-apricotβ€’2y ago
But cannot be as 6.6.9 kernel Ye
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i found a guid and just follow
correct-apricot
correct-apricotβ€’2y ago
fascinating-indigo
fascinating-indigoOPβ€’2y ago
No description
fascinating-indigo
fascinating-indigoOPβ€’2y ago
i recently did fresh install of arch πŸ™‚ @"Leopard" it finaly worked you manage to crack it , i guess the firsh comand with vkcube make it work

Did you find this page helpful?