Half Life unplayable

Hi all, I bought and installed Half Life 2 and any version I start, it lags terribly (1 frame every 3/4 seconds).
The rest of the games for Windows start without any problem :sweat_smile:
It’s like it’s not using the video card… help!

System:
Kernel: 6.11.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=671de9f9-8ee6-4c92-a404-549bf7935a22 rw rootflags=subvol=@
psi=1 quiet loglevel=3 nvidia_drm.modeset=1 ibt=off
Desktop: KDE Plasma v: 6.2.3 tk: Qt v: N/A info: frameworks v: 6.8.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI) v: Rev X.0x
serial: <superuser required> part-nu: SKU uuid: <superuser required>
UEFI: American Megatrends v: 5013 date: 03/22/2024
CPU:
Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3+ gen: 3
level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
model-id: 0x21 (33) stepping: 0 microcode: 0xA20102B
Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
desc: 8x512 KiB L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 1752 min/max: 550/4851 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 1752 2: 1752 3: 1752
4: 1752 5: 1752 6: 1752 7: 1752 8: 1752 9: 1752 10: 1752 11: 1752 12: 1752
13: 1752 14: 1752 15: 1752 16: 1752 bogomips: 121606
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070 Ti] vendor: ZOTAC driver: nvidia
v: 565.57.01 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-09) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: none off: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 0a:00.0
chip-ID: 10de:2782 class-ID: 0300
Device-2: Microdia Dual Mode Camera (8006 VGA) driver: hid-generic,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:3
chip-ID: 0c45:8006 class-ID: 0301
Device-3: Sunplus Innovation Aukey-PC-LM1E Camera
driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
mode: 2.0 bus-ID: 5-1:2 chip-ID: 1bcf:0215 class-ID: 0102
Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
d-rect: 4480x2520 display-ID: 0
Monitor-1: DP-1 pos: top-right res: 2560x1440 size: N/A modes: N/A
Monitor-2: HDMI-A-1 pos: bottom-l res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
x11: drv: nvidia inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 565.57.01
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2
memory: 11.71 GiB display-ID: :1.0
API: Vulkan v: 1.3.295 layers: 8 device: 0 type: discrete-gpu name: NVIDIA
GeForce RTX 4070 Ti driver: nvidia v: 565.57.01 device-ID: 10de:2782
surfaces: xcb,xlib,wayland device: 1 type: cpu name: llvmpipe (LLVM
18.1.8 256 bits) driver: mesa llvmpipe v: 24.2.7-arch1.1 (LLVM 18.1.8)
device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
Device-1: NVIDIA AD104 High Definition Audio vendor: ZOTAC
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0a:00.1 chip-ID: 10de:22bc class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Sunplus Innovation Aukey-PC-LM1E Camera
driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
mode: 2.0 bus-ID: 5-1:2 chip-ID: 1bcf:0215 class-ID: 0102
API: ALSA v: k6.11.7-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0
chip-ID: 8086:2526 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-5:2
chip-ID: 8087:0025 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
Local Storage: total: 10.01 TiB used: 604.7 GiB (5.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Smart Modular Tech.
model: SHPP41-1000GM size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 51060A20 temp: 43.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Sabrent model: Rocket Q
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: RKT30Q.2 temp: 28.9 C
scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Seagate model: ST4000DM004-2CV104
size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5425 serial: <filter> fw-rev: 0001 scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SSD PLUS 1000GB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 04RL scheme: GPT
ID-5: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD40EFRX-68WT0N0 size: 3.64 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 0A82 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 604.7 GiB (64.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 588 KiB (0.2%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:1
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 604.7 GiB (64.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 604.7 GiB (64.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 604.7 GiB (64.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.25 GiB used: 1.63 GiB (5.2%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 47.9 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB available: 31.25 GiB used: 6.98 GiB (22.3%)
Processes: 406 Power: uptime: 1h 21m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.45 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: 1910 pm: dpkg pkgs: 0 pm: pacman pkgs: 1902 libs: 532
tools: octopi,paru,yay pm: rpm pkgs: 0 pm: flatpak pkgs: 8 Compilers:
gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1 running-in: konsole
inxi: 3.3.36
Garuda (2.6.26-1):
System install date:     2024-01-21
Last full system update: 2024-11-15
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Have you tried with x11?
Just in case… With Nvidia…

3 Likes

If you bout it through steam why use lutris? Your just kinda asking for trouble there.

Have you checked out protondb https://www.protondb.com/search?q=half%20life%202

Also if I’m not mistaken i think 2 has a native linux version might be best to set it to use proton. As native is often issue prone if its not maintained.

I know I can lunch the main half life 2 an have no issue but i set it to the proton one way back when.

2 Likes

yes I had already tried rebooting in x11 but unfortunately nothing changed

@elite even starting directly from Steam (which I don’t understand if using Runtime or Native) it doesn’t change.
I don’t know how it works with Proton…

R click on the game an go to properties - compatibility an set it to some proton version. It might be best to use protonup-qt an download the latest 9.20? proton and use that. unless protondb users say otherwise. “note if you do this you will have to fully close steam down an reopen it.”

The native/runtime steam hasn’t been useful since about 2016 at least in my case.

2 Likes

nothing to do… now they don’t even start anymore :rofl:

Normally you would set it in steam not protonup-qt. Your other option is to set it back to normal and start steam from terminal an see if is spits out anything useful when the game is running. It will say a lot of stuff so you kinda have to watch it.

1 Like

So, i tried to put everything back to the way it was, nothing.
I tried “steam --reset” and started from terminal.
The last nine lines are about launching Half Life 2:

steam.sh[42820]: Running Steam on garuda Soaring 64-bit
steam.sh[42820]: STEAM_RUNTIME is enabled automatically
setup.sh[42867]: Steam runtime environment up-to-date!
steam.sh[42820]: Steam client's requirements are satisfied
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2024-11-15 20:42:27] Startup - updater built Nov 12 2024 17:09:08
[2024-11-15 20:42:27] Startup - Steam Client launched with: '/home/pasqui/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
[2024-11-15 20:42:27] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
11/15 20:42:27 minidumps folder is set to /tmp/dumps
11/15 20:42:27 Init: Installing breakpad exception handler for appid(steam)/version(1731433018)/tid(42960)
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
[2024-11-15 20:42:27] Loading cached metrics from disk (/home/pasqui/.local/share/Steam/package/steam_client_metrics.bin)
[2024-11-15 20:42:27] Using the following download hosts for Public, Realm steamglobal
[2024-11-15 20:42:27] 1. https://client-update.fastly.steamstatic.com, /, Realm 'steamglobal', weight was 900, source = 'update_hosts_cached.vdf'
[2024-11-15 20:42:27] 2. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2024-11-15 20:42:27] 3. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-11-15 20:42:27] Verifica dell'installazione...
[2024-11-15 20:42:27] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/pasqui/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe6b14dc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe6b13500
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
steamwebhelper.sh[43138]: Using supervisor /home/pasqui/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[43138]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/pasqui/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
steamwebhelper.sh[43138]: Using CEF sandbox \(try with -no-cef-sandbox if this fails\)
steamwebhelper.sh[43138]: Starting steamwebhelper with Sniper steam runtime at /home/pasqui/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 43305
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
setlocale "en_US.UTF-8": No such file or directory
pressure-vessel-locale-gen: Missing locale en_US.UTF-8
pressure-vessel-locale-gen: Generating locale it_IT.UTF-8...
pressure-vessel-locale-gen: Generated locale it_IT.UTF-8 successfully
pressure-vessel-locale-gen: Generating locale en_US.UTF-8...
pressure-vessel-locale-gen: Generated locale en_US.UTF-8 successfully
pressure-vessel-adverb[43361]: W: Container startup will be faster if missing locales are created at OS level
exec ./steamwebhelper -lang=it_IT -cachedir=/home/pasqui/.local/share/Steam/config/htmlcache -steampid=42960 -buildid=1731433018 -steamid=0 -logdir=/home/pasqui/.local/share/Steam/logs -uimode=7 -startcount=0 -steamuniverse=Public -realm=Global -clientui=/home/pasqui/.local/share/Steam/clientui -steampath=/home/pasqui/.local/share/Steam/ubuntu12_32/steam -launcher=0 -use_xcomposite_workaround -no-restart-on-ui-mode-change --valve-initial-threadpool-size=4 --valve-enable-site-isolation --enable-smooth-scrolling --disable-gpu-compositing --disable-gpu --password-store=basic --log-file=/home/pasqui/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal,ValveFFmpegAllowLowDelayHEVC
vkEnumeratePhysicalDevices failed, unable to init and enumerate GPUs with Vulkan.
BInit - Unable to initialize Vulkan!
/usr/share/themes/Sweet-Dark/gtk-2.0/main.rc:727: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Sweet-Dark/gtk-2.0/apps/chrome.rc:50: error: invalid string constant "button", expected valid string constant
/usr/share/themes/Sweet-Dark/gtk-2.0/apps/xfce.rc:79: error: invalid string constant "entry", expected valid string constant
/bin/sh: riga 1: /home/pasqui/.local/share/Steam/compatibilitytools.d/umu-launcher/umu-run: Permesso negato
Desktop state changed: desktop: { pos:    0,   0 size: 4480,1440 } primary: { pos: 1920,   0 size: 2560,1440 }
Caching cursor image for , size 32x32, serial 117, cache size = 0
BuildCompleteAppOverviewChange: 130 apps
BuildCompleteAppOverviewChange: 130 apps
/bin/sh: riga 1: /home/pasqui/.local/share/Steam/compatibilitytools.d/umu-launcher/umu-run: Permesso negato
chdir "/home/pasqui/.local/share/Steam/steamapps/common/Half-Life 2/bin"
Game Recording - would start recording game 220, but recording for this game is disabled
Adding process 44816 for gameID 220
ERROR: ld.so: object '/home/pasqui/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/pasqui/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/pasqui/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
pid 44818 != 44816, skipping destruction (fork without exec?)
Game Recording - game stopped [gameid=220]
Removing process 44816 for gameID 220

I propose napalm… :rofl: :rofl:

Looks like you might have a driver? issue but if other games work fine or it worked before that would be odd well. Apart from removing the pfix folder so it restarts. I cant really say.

1 Like

Most likely you need to tell lutris to use the GPU, as you said in your post.

I have to do this with many titles.

from Lutris, Right click on the game and select configure, then choose top tab System Options and scroll down to the box Game Execution and in Environmental Variables add this key : DXVK_FILTER_DEVICE_NAME

With your Graphics card as the variable.

for example I use : NVIDIA GeForce RTX 3070 Ti Laptop GPU

You can use

vulkaninfo --summary

to find your exact GPU details.

Edit: I just tried it Via Steam, and I had to change the runner to Experimental to get it smooth.

Again from lutris configure/Runner options/Wine Version change to Experimental

1 Like

nothing done guys, later I’ll try to restore from btrfs assistant and do some other tests :expressionless:

The entire Half Life franchise is on sale now on Steam, HL2 is FREE, if you don’t already own it , everyone should, get it now!

Found! Need 32bit Nvidia libraries, lib32-nvidia-utils solved the problem :grin:

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.