You are not logged in.

#1 2025-03-14 16:13:14

LinuxLover471
Member
Registered: 2025-02-23
Posts: 93

[Solved]Installing dxvk package in wine stops programs from working.

Hi, I hope that you are doing well.

I recently installed undertale and wanted to use the red&yellow mod. I patched the files and made the game up and tried to use wine to run the game. And I found that the game was working pretty good, but I wanted it to be better.

So, I just went to the arch wiki and found out about dxvk and vkd3d-proton, I installed both of them using the instructions provided by the wiki and when I tried running the game again I got hit with an error. I will post it at the end of the post.

I then tried to install vkd3d-proton and use without dxvk and it worked okay. Which meant there was some sort of problem with dxvk. When I tried installing dxvk again, I saw this-

[ak@G31M-ES2L ~]$ WINEPREFIX=~/.wine setup_dxvk install
Using Wine installation in /usr
od: /usr/bin/wine64: No such file or directory
renamed '/home/ak/.wine/dosdevices/c:/windows/system32/dxgi.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/dxgi.dll.old'
'/usr/share/dxvk/x64/dxgi.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/dxgi.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/syswow64/dxgi.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/dxgi.dll.old'
'/usr/share/dxvk/x32/dxgi.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/dxgi.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/system32/d3d8.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d8.dll.old'
'/usr/share/dxvk/x64/d3d8.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d8.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d8.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d8.dll.old'
'/usr/share/dxvk/x32/d3d8.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d8.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/system32/d3d9.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d9.dll.old'
'/usr/share/dxvk/x64/d3d9.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d9.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d9.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d9.dll.old'
'/usr/share/dxvk/x32/d3d9.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d9.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/system32/d3d10core.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d10core.dll.old'
'/usr/share/dxvk/x64/d3d10core.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d10core.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d10core.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d10core.dll.old'
'/usr/share/dxvk/x32/d3d10core.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d10core.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/system32/d3d11.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d11.dll.old'
'/usr/share/dxvk/x64/d3d11.dll' -> '/home/ak/.wine/dosdevices/c:/windows/system32/d3d11.dll'
renamed '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d11.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d11.dll.old'
'/usr/share/dxvk/x32/d3d11.dll' -> '/home/ak/.wine/dosdevices/c:/windows/syswow64/d3d11.dll'

Here, we can see that win64 is missing, I tried to find the package on the aur and pacman repositories using Ss option but I did not find any packages related to that.

I installed dxvk-bin and vkd3d-proton-bin from the AUR using paru. I am using wine (development) version provided by the pacman repo. I have the multilib enabled and have drivers for my system enabled.

This is the error I got when I tried to run it with dxvk and vkd3d-proton

Unhandled exception: page fault on read access to 0x00000010 in wow64 32-bit code (0x792f7e64).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:792f7e64 ESP:00c8f25c EBP:00000013 EFLAGS:00010247(  R- --  I  Z- -P-C)
 EAX:00000013 EBX:00000004 ECX:00000000 EDX:01fe9868
 ESI:00c8f310 EDI:7945a950
Stack dump:
0x00c8f25c:  01fe9868 7945a950 00000013 00c8f45c
0x00c8f26c:  01000000 01010100 00000001 00000000
0x00c8f27c:  00000000 00000013 01fe9868 00000013
0x00c8f28c:  00000013 00000000 7922a422 79414880
0x00c8f29c:  00c8f310 00000004 00c8f410 00c8f3f8
0x00c8f2ac:  7922af91 00000004 7945a950 00c8f464
Backtrace:
=>0 0x792f7e64 in dxgi (+0xd7e64) (0x00000013)
0x792f7e64 dxgi+0xd7e64: cmpl $0x14, 0xc(%ebx)
Modules:
Module  Address                 Debug info      Name (80 modules)
PE        400000-  b87000       Deferred        undertale
PE-Wine 76db0000-76eb4000       Deferred        dinput8
PE-Wine 76ed0000-76efb000       Deferred        hid
PE-Wine 76f10000-76f3e000       Deferred        xinput1_3
PE-Wine 76f50000-76ffa000       Deferred        uxtheme
PE-Wine 77010000-77023000       Deferred        winex11
PE-Wine 77040000-77064000       Deferred        dwmapi
PE-Wine 77080000-770a7000       Deferred        compstui
PE-Wine 770c0000-77164000       Deferred        winspool
PE-Wine 77180000-77399000       Deferred        comdlg32
PE-Wine 773b0000-773cc000       Deferred        version
PE-Wine 773e0000-77462000       Deferred        oleacc
PE-Wine 77480000-774e7000       Deferred        imm32
PE-Wine 77500000-779ab000       Deferred        comctl32
PE-Wine 779c0000-77c8d000       Deferred        oleaut32
PE-Wine 77ca0000-77d1f000       Deferred        mlang
PE-Wine 77d30000-77f89000       Deferred        gdiplus
PE-Wine 77fa0000-77fee000       Deferred        coml2
PE-Wine 78000000-7814e000       Deferred        combase
PE-Wine 78160000-78486000       Deferred        ole32
PE-Wine 784a0000-78509000       Deferred        msacm32
PE-Wine 78520000-78699000       Deferred        winmm
PE-Wine 786b0000-78944000       Deferred        dbghelp
PE      78960000-78e04000       Deferred        d3d11
PE-Wine 78e20000-7904c000       Deferred        rpcrt4
PE-Wine 79060000-79206000       Deferred        setupapi
PE      79220000-79525000       Export          dxgi
PE-Wine 79540000-795d0000       Deferred        ws2_32
PE-Wine 795e0000-79625000       Deferred        shcore
PE-Wine 79640000-7972f000       Deferred        shlwapi
PE-Wine 79740000-7a3f7000       Deferred        shell32
PE-Wine 7a410000-7a450000       Deferred        win32u
PE-Wine 7a460000-7a6ad000       Deferred        gdi32
PE-Wine 7a6c0000-7abbf000       Deferred        user32
PE-Wine 7abd0000-7ac26000       Deferred        mpr
PE-Wine 7ac40000-7af80000       Deferred        ucrtbase
PE-Wine 7af90000-7b000000       Deferred        sechost
PE-Wine 7b010000-7b2db000       Deferred        msvcrt
PE-Wine 7b2f0000-7b3df000       Deferred        advapi32
PE-Wine 7b3f0000-7b5be000       Deferred        wininet
PE-Wine 7b5d0000-7bb27000       Deferred        kernelbase
PE-Wine 7bb40000-7bcb4000       Deferred        kernel32
PE-Wine 7bcd0000-7bff0000       Deferred        ntdll
ELF     e734b000-e7352000       Deferred        libxfixes.so.3
ELF     e7352000-e735e000       Deferred        libxcursor.so.1
ELF     e7b48000-e7b5b000       Deferred        libxi.so.6
ELF     e7b5b000-e7b6b000       Deferred        libxrandr.so.2
ELF     e7b6b000-e7b77000       Deferred        libxrender.so.1
ELF     e7b77000-e7b7e000       Deferred        libxxf86vm.so.1
ELF     e7b7e000-e7b85000       Deferred        libxdmcp.so.6
ELF     e7b85000-e7bb2000       Deferred        libxcb.so.1
ELF     e7bb2000-e7ced000       Deferred        libx11.so.6
ELF     e7ced000-e7d03000       Deferred        libxext.so.6
ELF     e7d1e000-e7d24000       Deferred        winspool.so
ELF     e7d26000-e7d96000       Deferred        winex11.so
ELF     e7d96000-e7d9c000       Deferred        ws2_32.so
ELF     e7e60000-e7e8a000       Deferred        libexpat.so.1
ELF     e7e8a000-e7ed8000       Deferred        libfontconfig.so.1
ELF     e7ed8000-e7f7c000       Deferred        libpcre2-8.so.0
ELF     e7f7c000-e7f9f000       Deferred        libbrotlicommon.so.1
ELF     e7f9f000-e80f4000       Deferred        libglib-2.0.so.0
ELF     e80f4000-e8103000       Deferred        libbrotlidec.so.1
ELF     e8103000-e822f000       Deferred        libharfbuzz.so.0
ELF     e822f000-e8267000       Deferred        libpng16.so.16
ELF     e8267000-e827a000       Deferred        libbz2.so.1.0
ELF     e827a000-e8292000       Deferred        libz.so.1
ELF     e8292000-e8353000       Deferred        libfreetype.so.6
ELF     e8353000-e84bf000       Deferred        win32u.so
ELF     e84bf000-e856c000       Export          ntdll.so
ELF     e856c000-e8650000       Deferred        libm.so.6
ELF     e8650000-e865c000       Deferred        libcap.so.2
ELF     e865c000-e8778000       Deferred        libsystemd.so.0
ELF     e8778000-e87ad000       Deferred        libgcc_s.so.1
ELF     e87ad000-e87fd000       Deferred        libdbus-1.so.3
ELF     e87fd000-e8803000       Deferred        libgamemode.so.0
ELF     e8803000-e8a36000       Deferred        libc.so.6
ELF     e8a36000-e8a3b000       Deferred        libgamemodeauto.so.0
ELF     e8a3b000-e8a40000       Deferred        libxau.so.6
ELF     e8a60000-e8a98000       Deferred        ld-linux.so.2
ELF     e8a98000-e8a9d000       Deferred        <wine-loader>
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 (D) Z:\home\ak\Desktop\Undertale\UNDERTALE.exe
	00000024    0 <== 
	00000124    0     wine_xinput_hid_update
	00000128    0     wine_sechost_device_notify
	00000140    0     
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	0000004c    0     wine_rpcrt4_io
	00000050    0     wine_threadpool_worker
	00000078    0     wine_rpcrt4_io
	00000090    0     wine_rpcrt4_io
	000000ac    0     wine_rpcrt4_io
	000000cc    0     wine_rpcrt4_io
	000000d4    0     wine_threadpool_worker
	000000e0    0     wine_rpcrt4_io
	000000e4    0     wine_threadpool_worker
	000000fc    0     
	00000108    0     wine_rpcrt4_io
00000044 winedevice.exe
	00000048    0     
	00000054    0     
	00000058    0     wine_sechost_service
	0000005c    0     
	00000060    0     
	00000064    0     
	0000009c    0     
	000000a0    0     
00000068 plugplay.exe
	0000006c    0     
	0000007c    0     
	00000080    0     wine_sechost_service
	00000084    0     wine_rpcrt4_server
	000000f0    0     wine_rpcrt4_io
	000000f4    0     wine_threadpool_worker
	0000012c    0     wine_rpcrt4_io
00000070 explorer.exe
	00000074    0     
	000000c0    0     
	000000c4    0     wine_explorer_display_settings_restorer
	000000c8    0     wine_rpcrt4_server
00000088 svchost.exe
	0000008c    0     
	00000094    0     
	00000098    0     wine_sechost_service
000000a4 winedevice.exe
	000000a8    0     
	000000b0    0     
	000000b4    0     wine_sechost_service
	000000b8    0     
	000000bc    0     
	000000d0    0     
	000000dc    0     
	000000e8    0     
	000000ec    0     
00000100 rpcss.exe
	00000104    0     
	0000010c    0     
	00000110    0     wine_sechost_service
	00000114    0     wine_rpcrt4_server
	00000118    0     wine_rpcrt4_server
	0000011c    0     wine_rpcrt4_io
	00000120    0     wine_threadpool_worker
00000138 conhost.exe
	0000013c    0     
System information:
    Wine build: wine-10.3
    Platform: x86_64 (guest: i386)
    Version: Windows 10
    Host system: Linux
    Host version: 6.13.6-arch1-1

inxi -Fxxxz

System:
  Kernel: 6.13.6-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc
  Desktop: KDE Plasma v: 6.3.3 tk: Qt v: N/A wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: G31M-ES2L serial: <superuser required>
    uuid: <superuser required> BIOS: Award v: FI date: 08/09/2010
CPU:
  Info: quad core model: Intel Core2 Quad Q9550 bits: 64 type: MCP
    smt: <unsupported> arch: Penryn rev: A cache: L1: 256 KiB L2: 12 MiB
  Speed (MHz): avg: 2709 min/max: 2000/2834 cores: 1: 2709 2: 2709 3: 2709
    4: 2709 bogomips: 22664
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3
Graphics:
  Device-1: NVIDIA GK107 [GeForce GT 740] driver: nvidia v: 470.256.02
    arch: Kepler-2 pcie: speed: 2.5 GT/s lanes: 16 ports: active: none
    off: HDMI-A-1 empty: DVI-I-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0fc8
    class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: HDMI-A-1 model: LG (GoldStar) FHD serial: <filter>
    res: 1920x1080 dpi: 102 size: 480x260mm (18.9x10.24") diag: 546mm (21.5")
    modes: max: 1920x1080 min: 640x480
  API: Vulkan v: 1.4.304 layers: 1 surfaces: xcb,xlib device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:0fc8
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
  Info: Tools: api: vulkaninfo de: kscreen-doctor
    gpu: nvidia-settings,nvidia-smi x11: xprop
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio
    vendor: Gigabyte GA-D525TUD driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:27d8 class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403
  API: ALSA v: k6.13.6-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.4.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Qualcomm Atheros AR8131 Gigabit Ethernet
    vendor: Gigabyte GA-G31M-ES2L driver: atl1c v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: bf00 bus-ID: 03:00.0 chip-ID: 1969:1063 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: Ralink 802.11 n WLAN driver: rt2800usb type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 2-6:3 chip-ID: 148f:5370 class-ID: 0000
    serial: <filter>
  IF: wlp0s29f7u6 state: up mac: <filter>
Drives:
  Local Storage: total: 1.38 TiB used: 61.51 GiB (4.4%)
  ID-1: /dev/sda vendor: A-Data model: SU800 size: 476.94 GiB
    speed: <unknown> tech: SSD serial: <filter> fw-rev: 8B scheme: MBR
  ID-2: /dev/sdb vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
    speed: <unknown> tech: HDD rpm: 7200 serial: <filter> fw-rev: A7C0
    scheme: MBR
Partition:
  ID-1: / size: 68.35 GiB used: 21.77 GiB (31.9%) fs: ext4 dev: /dev/sda1
  ID-2: /home size: 29.36 GiB used: 4.79 GiB (16.3%) fs: ext4 dev: /dev/sda6
Swap:
  ID-1: swap-1 type: partition size: 7.91 GiB used: 684.7 MiB (8.5%)
    priority: -2 dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A gpu: nvidia temp: 54 C
  Fan Speeds (rpm): cpu: 3183 fan-2: 0 fan-3: 0 gpu: nvidia fan: 36%
  Power: 12v: N/A 5v: 2.93 3.3v: N/A vbat: 3.25
Info:
  Memory: total: 4 GiB available: 3.82 GiB used: 2.03 GiB (53.1%)
  Processes: 194 Power: uptime: 1h 19m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 257 default: graphical
  Packages: pm: pacman pkgs: 793 Compilers: gcc: 14.2.1 Shell: Bash
    v: 5.2.37 running-in: konsole inxi: 3.3.37

Thanks,
LL

Last edited by LinuxLover471 (2025-03-15 04:06:45)

Offline

#2 2025-03-14 16:49:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,301

Re: [Solved]Installing dxvk package in wine stops programs from working.

Your GPU will not be able to run the latest version of DXVK (... and definitely not VKD3D) it predated the necessary Vulkan support. You "might" be able to give this a shot with https://github.com/pythonlover02/DXVK-Sarek though it doesn't appear to have a AUR package, but since this is just copying DLL files to the right place, read it's readme.

Offline

#3 2025-03-15 04:05:36

LinuxLover471
Member
Registered: 2025-02-23
Posts: 93

Re: [Solved]Installing dxvk package in wine stops programs from working.

V1del wrote:

Your GPU will not be able to run the latest version of DXVK (... and definitely not VKD3D) it predated the necessary Vulkan support. You "might" be able to give this a shot with https://github.com/pythonlover02/DXVK-Sarek though it doesn't appear to have a AUR package, but since this is just copying DLL files to the right place, read it's readme.

Thanks for your suggestion, and it did work! I installed the dxvk-sarek version from the releases section and extracted the tar.gz after that copy pasted the command in the github page and tried running the game with DXVK_HUD=1 but it gave some error. After that I went to the wiki and tried installing vulkan-icd-loader and it's lib32 version, it seems like my lib32 version was not installed. After this, I tried running the game again and it showed the driver version, vulkan version, and a consistent 30fps!

Thanks,
LL

Offline

Board footer

Powered by FluxBB