ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
648 stars 75 forks source link

[tf2] -vulkan command line crashes the game with error message #5922

Open flascaler opened 6 months ago

flascaler commented 6 months ago

everytime i try to use the -vulkan command line, it starts the game stuck on a black screen, eventually it'll say that it's not responding and an error message will popup image i'm running windows 11 enterprise 64-bit, 8gb ram, intel i3-7020u with intel hd graphics 620 (driver version 31.0.101.2111, dx12 & vulkan 1.3.125).

CaptainSandvich commented 6 months ago

idk how this happened

NotHyper-474 commented 6 months ago

Seems related to https://github.com/doitsujin/dxvk/issues/3575

flascaler commented 6 months ago

Seems related to doitsujin/dxvk#3575

do half-life 2, episodes & source not use the same version of dxvk as tf2? when i use the -vulkan or -gamepadui command line on them, they work perfectly fine. even fullscreen works, unlike dxvk for portal 2 & left 4 dead 2.

NotHyper-474 commented 6 months ago

Seems related to doitsujin/dxvk#3575

do half-life 2, episodes & source not use the same version of dxvk as tf2? when i use the -vulkan or -gamepadui command line on them, they work perfectly fine. even fullscreen works, unlike dxvk for portal 2 & left 4 dead 2.

I don't know about HL2 and etc. & Portal 2 but I know for sure L4D2 uses dxvk-native, and since you mentioned Portal also has the fullscreen issue they probably use the same version.

But knowing which dxvk they use is very simple, dxvk always creates a (game name)_d3d9.log file in the executable's folder that generally shows which version is being used, you could try looking for that file.

flascaler commented 6 months ago

Seems related to doitsujin/dxvk#3575

do half-life 2, episodes & source not use the same version of dxvk as tf2? when i use the -vulkan or -gamepadui command line on them, they work perfectly fine. even fullscreen works, unlike dxvk for portal 2 & left 4 dead 2.

I don't know about HL2 and etc. & Portal 2 but I know for sure L4D2 uses dxvk-native, and since you mentioned Portal also has the fullscreen issue they probably use the same version.

But knowing which dxvk they use is very simple, dxvk always creates a (game name)_d3d9.log file in the executable's folder that generally shows which version is being used, you could try looking for that file.

it seems that they do use different dxvk versions. hl2 uses v1.8.1-3-gd3e43ed3 and tf2 uses v2.3-34-g1568c263

flascaler commented 6 months ago

searching on the intel website, there seems to be a graphics driver version, 31.0.101.2127, which is listed to support intel i3-7020u, the cpu i have that also contains the intel hd 620 igpu. it seems that it just doesn't install automatically from windows updates or intel driver and support assistant. i'll attempt to install it and try again.

flascaler commented 6 months ago

i installed the new driver, and now it crashes without any error message. before this, i forgot to delete the dxvk log file that was from the older driver version, which gave me a slightly altered error message than the initial one. j

NotHyper-474 commented 6 months ago

Yeah, seems like unfortunately that GPU's not gonna work for DXVK 2.0+. I'd suggest replacing the DXVK dll with an older version so at least you'd able to use Vulkan but I think that would risk you getting a VAC ban.

I don't think it would make any difference anyway, using Vulkan doesn't necessarily mean you're gonna get magically increased performance (which is what I assume you're using Vulkan for in the first place)