Counter Strike Source slow performance
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Counter Strike Source slow performance
Hello,
I am new to Linux Mint, and have just installed version 21.3 yesterday. I am thrilled with it so far with the exception that games performance is a lot worse than in Windows.
I installed Steam and Counter Strike: Source. I used the Steam flatpak, and am running CS: Source natively in Linux. I am not using the Windows compatibility feature "Proton".
My framerate in the game is in the high teens, whereas in Windows it is much higher. I suspect that maybe my graphics drivers which came with the installation of Linux Mint might not be ideal.
I have a Mobility Radeon HD 5850. I've tried updating the graphics drivers with the proprietary ones but don't know how to figure that out.
Any help would be greatly appreciated it. Thank you.
I am new to Linux Mint, and have just installed version 21.3 yesterday. I am thrilled with it so far with the exception that games performance is a lot worse than in Windows.
I installed Steam and Counter Strike: Source. I used the Steam flatpak, and am running CS: Source natively in Linux. I am not using the Windows compatibility feature "Proton".
My framerate in the game is in the high teens, whereas in Windows it is much higher. I suspect that maybe my graphics drivers which came with the installation of Linux Mint might not be ideal.
I have a Mobility Radeon HD 5850. I've tried updating the graphics drivers with the proprietary ones but don't know how to figure that out.
Any help would be greatly appreciated it. Thank you.
Re: Counter Strike Source slow performance
Are you talking about the AMD Catalyst driver (also known as fglrx)? Don't install that. It's been out of support for years and installing it will break the video on any currently supported Linux distro.
Beyond that there's not enough system info to go on there. Copy/paste the complete text output of
Code: Select all
inxi -Fxxxpmrz
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Re: Counter Strike Source slow performance
Thanks for offering to help! Here is the output from the command you gave me.
PS: I've also downloaded and installed "Super Tux Kart" from the Software Manager and the performance is also very slow in that game.
Code: Select all
System:
Kernel: 5.15.0-97-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: Hewlett-Packard product: HP ENVY 15 Notebook PC
v: 0490110000241920001520000 serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: Hewlett-Packard model: 1522 v: 36.35 serial: <superuser required>
BIOS: Hewlett-Packard v: F.2B date: 10/12/2010
Battery:
ID-1: BAT0 charge: 22.7 Wh (71.8%) condition: 31.6/31.6 Wh (99.9%)
volts: 12.3 min: 11.1 model: Hewlett-Packard Primary type: Li-ion
serial: N/A status: N/A
Memory:
RAM: total: 3.75 GiB used: 2.42 GiB (64.5%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: dual core model: Intel Core i5 M 540 bits: 64 type: MT MCP
smt: enabled arch: Westmere rev: 2 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
Speed (MHz): avg: 1421 high: 1569 min/max: 1199/2534 boost: enabled
cores: 1: 1333 2: 1569 3: 1226 4: 1557 bogomips: 20218
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: AMD Broadway PRO [Mobility Radeon HD 5850]
vendor: Hewlett-Packard driver: radeon v: kernel pcie: speed: 2.5 GT/s
lanes: 8 ports: active: LVDS-1 empty: HDMI-A-1 bus-ID: 01:00.0
chip-ID: 1002:68a1 class-ID: 0300
Device-2: Chicony HP Webcam type: USB driver: uvcvideo bus-ID: 1-1.5:3
chip-ID: 04f2:b16c class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: ati,radeon
unloaded: fbdev,modesetting,vesa gpu: radeon display-ID: :0 screens: 1
Screen-1: 0 s-res: 3072x1728 s-dpi: 120 s-size: 650x366mm (25.6x14.4")
s-diag: 746mm (29.4")
Monitor-1: LVDS res: 3072x1728 hz: 60 size: N/A
OpenGL:
renderer: AMD JUNIPER (DRM 2.50.0 / 5.15.0-97-generic LLVM 15.0.7) v: 4.5
Mesa 24.1~git2403010600.6e33b3~oibaf~j (git-6e33b39 2024-03-01
jammy-oibaf-ppa)
compat-v: 4.5 direct render: Yes
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio
vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:3b56 class-ID: 0403
Device-2: AMD Juniper HDMI Audio [Radeon HD 5700 Series]
vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie:
speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 1002:aa58
class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-97-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Centrino Advanced-N 6200 driver: iwlwifi v: kernel pcie:
speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:4239 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-2: Qualcomm Atheros AR8131 Gigabit Ethernet
vendor: Hewlett-Packard driver: atl1c v: kernel pcie: speed: 2.5 GT/s
lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 1969:1063 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Bluetooth:
Device-1: HP Broadcom 2070 Bluetooth Combo type: USB driver: btusb v: 0.8
bus-ID: 1-1.6:4 chip-ID: 03f0:231d class-ID: fe01
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
bt-v: 1.2 lmp-v: 2.1 sub-v: 4203 hci-v: 2.1 rev: 132
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: 5020 bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A
class-ID: 0104
Drives:
Local Storage: total: 298.1 GiB used: 28.12 GiB (9.4%)
ID-1: /dev/sda vendor: Intel model: SSDSA1M160G2HP size: 149.05 GiB
speed: 3.0 Gb/s type: SSD serial: <filter> rev: 02HA scheme: GPT
ID-2: /dev/sdb vendor: Intel model: SSDSA1M160G2HP size: 149.05 GiB
speed: 3.0 Gb/s type: SSD serial: <filter> rev: 02HA
Partition:
ID-1: / size: 145.16 GiB used: 28.11 GiB (19.4%) fs: ext4 dev: /dev/sda3
ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/sda2
ID-3: /mnt/6355e1dd-ab14-4520-bb52-cfbe7ec6b4db size: 145.65 GiB
used: 28 KiB (0.0%) fs: ext4 dev: /dev/sdb
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 75.8 MiB (3.7%) priority: -2
file: /swapfile
Sensors:
System Temperatures: cpu: 58.0 C mobo: N/A gpu: radeon temp: 60.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: 2226 apt: 2211 flatpak: 15
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com virginia main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/oibaf-graphics-drivers-jammy.list
1: deb [signed-by=/etc/apt/keyrings/oibaf-graphics-drivers-jammy.gpg] https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Info:
Processes: 256 Uptime: 12m wakeups: 1 Init: systemd v: 249 runlevel: 5
Compilers: gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16
running-in: gnome-terminal inxi: 3.3.13
Re: Counter Strike Source slow performance
Have you tried learning to optimize Mine for gaming? Maybe try that, and then running it. If not, we can help you take a look at something else.
Re: Counter Strike Source slow performance
How do I do that?
-
- Level 3
- Posts: 112
- Joined: Fri Mar 03, 2023 8:52 am
Re: Counter Strike Source slow performance
Hello
On ProtonDB website I see ppl have suggested this command to run the game IDK what that is tho:
BTW have you tried with default driver that comes with Linux installation? I see you have
Also this command may be useful for other games(but doubtful for CS Source since it is native linux game):
On ProtonDB website I see ppl have suggested this command to run the game IDK what that is tho:
Code: Select all
LD_PRELOAD=/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 %command%
On Windows your GPU runs the game on DirectX whereas on Linux it uses OpenGL so that's why there are performance differences.Significant Bugs:
Requires installation and preloading of libtcmalloc-minimal4 to launch.
For me, libtcmalloc_minimal.so.4 wasn't inside of "/usr/lib/" or "/usr/lib32/". It seems to be located in "/usr/lib/x86_64-linux-gnu/" on Linux Mint 20.2. Try checking that folder if you cant find it within any of the lib folders.
Linux Mint gamers can install libtcmalloc with apt:
"sudo apt install libtcmalloc-minimal4
BTW have you tried with default driver that comes with Linux installation? I see you have
Mesa 24.1~git2403010600.6e33b3~oibaf~j
as driver...Also this command may be useful for other games(but doubtful for CS Source since it is native linux game):
Code: Select all
PROTON_USE_WINED3D=1 %command%
Re: Counter Strike Source slow performance
I put in those commands inside steam before launching the game. Not sure it does anything.
I'm not sure what I might have done in the last 24 hours, but I am getting about 2x - 3x improvement on framerates, making the game actually playable.
It would make sense that the game doesn't perform as well if it can't run DirectX.
I am pretty impressed with Linux Mint so far. This laptop is 14 years old now, and this OS is giving it some new life and some excitement.
I'm not sure what I might have done in the last 24 hours, but I am getting about 2x - 3x improvement on framerates, making the game actually playable.
It would make sense that the game doesn't perform as well if it can't run DirectX.
I am pretty impressed with Linux Mint so far. This laptop is 14 years old now, and this OS is giving it some new life and some excitement.
Re: Counter Strike Source slow performance
generally speaking, legacy "radeon" driver is not very good for gaming (and I mean by Linux standards). And you are limited to this driver unfortunately. Gaming performance will never be comparable to directx on Windows. Progress in Linux gaming performance occurs in the modern segment of gpus that support Vulkan.
Oibaf's PPA has been a bad call. It offers no improvement to legacy drivers and can easily mess your system up. You may face graphical glitches, video playback problems etc. In that case the easiest thing for novices to do is sadly to re-install Linux Mint.
Oibaf's PPA has been a bad call. It offers no improvement to legacy drivers and can easily mess your system up. You may face graphical glitches, video playback problems etc. In that case the easiest thing for novices to do is sadly to re-install Linux Mint.
Re: Counter Strike Source slow performance
For AMD graphics cards, you might want to try installing the latest AMDGPU drivers. Here's a general guide to help you get started:
Open the Terminal.
1. Type the following command to update your package lists: sudo apt update
2. Install the AMDGPU drivers with: sudo apt install xserver-xorg-video-amdgpu
3. After installation, reboot your system: sudo reboot
Additionally, you can check if there are any proprietary drivers available through the Driver Manager in Linux Mint. Go to the Menu, search for "Driver Manager," and see if there are alternative graphics drivers listed for your Radeon HD 5850.
Open the Terminal.
1. Type the following command to update your package lists: sudo apt update
2. Install the AMDGPU drivers with: sudo apt install xserver-xorg-video-amdgpu
3. After installation, reboot your system: sudo reboot
Additionally, you can check if there are any proprietary drivers available through the Driver Manager in Linux Mint. Go to the Menu, search for "Driver Manager," and see if there are alternative graphics drivers listed for your Radeon HD 5850.
-
- Level 1
- Posts: 18
- Joined: Thu Jan 25, 2024 9:14 am
Re: Counter Strike Source slow performance
Do not install Steam from flathub (flatpak). Download the installer from Valve website: https://store.steampowered.com/about/