Bug 1980417

Summary: DXVK doesn't appear to work
Product: [Fedora] Fedora Reporter: tiyicot958 <tiyicot958>
Component: wine-dxvkAssignee: František Zatloukal <fzatlouk>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: fzatlouk
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-08 17:25:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tiyicot958@testbnk.com 2021-07-08 15:47:28 UTC
Description of problem:

I tried to launch one of my games with the DXVK_HUD=1 command to see if dxvk is being used. I basically opened a terminal in the folder where the game's exe is present (/.wine/drive_c/GOG Games/The Witcher Enhanced Edition) and ran this command: DXVK_HUD=1 wine launcher.exe

However, no HUD appeared, even though the game launched.

Version-Release number of selected component (if applicable):

1.9 

How reproducible:


Steps to Reproduce:

1. Install wine from repo, it will pull wine-dxvk
2. Run the aforementioned command (can use any game)


Actual results:

No HUD appears

Expected results:

The HUD appears

Additional info:

Fedora 34
Wine 6.11
wine-dxvk 1.9

Happens on both the intel igpu and nvidia dgpu

Comment 1 František Zatloukal 2021-07-08 16:51:43 UTC
Unfortunately, dxvk by default in Fedora had to be rolled back for DirectX 9 application due to https://bugs.winehq.org/show_bug.cgi?id=45277 . So, currently, in Fedora, dxvk is used by default only for DirectX 10 and 11 titles.

If you want to force-use it, this should work:

sudo alternatives --set 'wine-d3d9(x86-64)' /usr/lib64/wine/x86_64-windows/dxvk-d3d9.dll
sudo alternatives --set 'wine-d3d9(x86-32)' /usr/lib/wine/i386-windows/dxvk-d3d9.dll

But I am not sure if it persists wine/dxvk updates in the future.

Comment 2 tiyicot958@testbnk.com 2021-07-08 17:25:10 UTC
Oh, ok. I didn't know that. Well in that case i think this issue is not a bug so it can be closed. Thanks for the notice!