Just built a new PC and installed Endeavour on it. I followed the gaming guide to get everything set up but I’m having some issues. Performance is terrible in CS2, I keep getting huge lags spikes randomly that make the game unplayable. It will freeze up for 6-10 second at a time at random intervals. I also tried Counter Strike source which is a game I’ve never had any issues running on linux and it won’t even launch, either natively or with proton. Both these games have native support so I have no idea what the issue is.
System specs are as follows:
Computer Information:
Manufacturer: ASRock
Model: B550 Pro4
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 5800X 8-Core Processor
CPU Family: 0x19
CPU Model: 0x21
CPU Stepping: 0x2
CPU Type: 0x0
Speed: 4850 MHz
16 logical processors
8 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
"EndeavourOS Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 6.6.2-arch1-1
X Server Vendor: The X.Org Foundation
X Server Release: 12101009
X Window Manager: KWin
Steam Runtime Version: steam-runtime_0.20231024.64411
Video Card:
Driver: AMD AMD Radeon RX 7800 XT (gfx1101, LLVM 16.0.6, DRM 3.54, 6.6.2-arch1-1)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.2.1-arch1.2
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 119 Hz
VendorID: 0x1002
DeviceID: 0x747e
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.91" x 11.77" (23.98" diag), 53.1cm x 29.9cm (60.9cm diag)
Primary VRAM: 16384 MB
Sound card:
Audio device: USB Mixer
Memory:
RAM: 15914 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 1875696 MB
Largest Free Hard Disk Block: 1716162 MB
Storage:
Number of SSDs: 4
SSD sizes: 2000G,2000G,1024G,0B
Number of HDDs: 0
Number of removable drives: 0
If there is any more info that would be helpful in diagnosing this let me know and I will provide it.
if you installed amdvlk/lib32-amdvlk, remove it and install vulkan-radeon/lib32-vulkan-radeon
Also, try installing steam-native-runtime and try playing with that - steam uses the system libraries then and not the included ones from the steam-runtime.
Also I wouldn’t recommend “Native” games anyway. Just use Proton if you can. (in my experience playing native linux version of the game could produces… unforeseen consequences).
I already had those packages installed, but I gave the native runtime a shot. I was able to launch CS:S but it wouldn’t refresh the server list, it said that Steam Beta must be running to find servers.
You have to remove amdvlk - as long as it is installed, games use that and it is bad (compared to vulkan-radeon)
Also, try to play the game for 10-15 minutes as some disk caches need to be generated first, afterwards performance should be great.
that is really bad advice. In addition to the already mentioned cheating protection, that also tells developers that windoze versions are enough and that they can stop provide native builds. And performance of native builds is always better than protonified versions (at least on my 7700X RX6750XT machine, haven’t used anything else for over a year)
Edit: Kernel 6.6.3 contains many AMD GPU fixes and is in stable already, also, mesa 23.3.0 got released yesterday evening but is not in testing yet - both could also help as your GPU is rather new.
Thanks, CS2 runs snoothly after removing that package. CS:S does too, the issue was to do with the game itself, and I solved it by using some launch options I found on Protondb.