protonscr

Half-Life 2 RETAIL (build 2187) crashes, gpu hang

dxvkclosed
doitsujin/dxvk#2330 · opened 2021-10-14 by pseregiet · updated 2021-10-14 · 5 comments · github
Ppseregiet 2021-10-14 github

Hi. The retail version of Half-Life 2 crashes while using DXVK. Sometimes the whole computer hangs. I've used normal wine + dxvk as well as some of the wine bundles like wine-ge in several versions, same result every time.

With wined3d everything plays and looks ok except the fonts are a bit corrupted: https://i.imgur.com/Z3anJaV.png

Here's a video on how to get this build of the game: https://www.youtube.com/watch?v=gNd5Gdt3xYE

Software information

Half-Life 2 build 2187 (2004 retail dvd)

System information

  • GPU: AMD RX590
  • Driver: AMD RADV POLARIS10: Driver: 21.2.3 Vulkan: 1.2.182
  • Wine version: 6.16 (other versions tried as well)
  • DXVK version: 1.9.2 (other versions tried as well)

Apitrace file(s)

  • Sorry, no trace

Log files

Mmisyltoad 2021-10-14 github

Ancient versions of Source allocate textures until they cant anymore to determine vram. There are a few games where we have a workaround for that. I'm not applying it for Half-Life 2 because it hasn't done that for 14 years.

Ppseregiet 2021-10-14 github

Can you somehow limit the amount of vram visible for the game to make it not waste all memory ?

Mmisyltoad 2021-10-14 github
Ppseregiet 2021-10-14 github

Thanks, that worked (i rebuild dxvk). Fonts are still corrupted though. Interesting...

Mmisyltoad 2021-10-14 github

The fonts are fine on Windows, DXVK isnt the problem.

Nothing extracted yet.