bottlesdevs / programs

Repository for programs installation
71 stars 75 forks source link

[Bug]: fails to run elden ring and dark souls #174

Closed Heus-Sueh closed 1 year ago

Heus-Sueh commented 1 year ago

Describe the bug

this is in the terminal:

info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance info: Game: eldenring.exe info: DXVK: v2.0 info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance wine: Unhandled page fault on read access to 0000000000000000 at address 0000000141E0B0CB (thread 0024), starting debugger...

and this is when the game crashes:

Unhandled exception: page fault on read access to 0x0000000000000000 in 64-bit code (0x0000000141e0b0cb). Register dump: rip:0000000141e0b0cb rsp:000000000011e9d0 rbp:000000000011ead0 eflags:00010246 ( R- -- I Z- -P- ) rax:0000000000000000 rbx:00007ffef6035340 rcx:0000000000000000 rdx:0000000140000000 rsi:00007ffef6035408 rdi:00007ffef6035330 r8:000000000011ebf0 r9:0000000000000008 r10:00000001444c5460 r11:00007ffef6035818 r12:0000000000000000 r13:0000000000000000 r14:00007ffef6035588 r15:0000000000000000 Stack dump: 0x000000000011e9d0: 0000000000000000 0000000000000000 0x000000000011e9e0: 0000000000000000 0000000000000000 0x000000000011e9f0: 0000000000000000 0000000000000000 0x000000000011ea00: 0000000000000000 0000000000000000 0x000000000011ea10: 0000000000000000 0000000000000000 0x000000000011ea20: 0000000000000000 0000000000000000 0x000000000011ea30: 0000000000000000 0000000000000000 0x000000000011ea40: 0000000000000000 0000000000000000 0x000000000011ea50: 0000000000000000 0000000000000000 0x000000000011ea60: 0000000000000000 0000000000000000 0x000000000011ea70: 0000000000000000 0000000000000000 0x000000000011ea80: 0000000000000000 0000000000000000 Backtrace: =>0 0x0000000141e0b0cb ??0BufferedFile@Scaleform@@IEAA@XZ+0xc5ef1b() in eldenring (0x000000000011ead0) 1 0x0000000141a636db ??0BufferedFile@Scaleform@@IEAA@XZ+0x8b752b() in eldenring (0x000000000011ed60) 2 0x0000000141959981 ??0BufferedFile@Scaleform@@IEAA@XZ+0x7ad7d1() in eldenring (0x000000000011efc8) 3 0x0000000141a58c48 ??0BufferedFile@Scaleform@@IEAA@XZ+0x8aca98() in eldenring (0x000000000011efc8) 4 0x0000000141a585c9 ??0BufferedFile@Scaleform@@IEAA@XZ+0x8ac419() in eldenring (0x000000000011efc8) 5 0x0000000141a58741 ??0BufferedFile@Scaleform@@IEAA@XZ+0x8ac591() in eldenring (0x000000000011f100) 6 0x0000000141952f43 ??0BufferedFile@Scaleform@@IEAA@XZ+0x7a6d93() in eldenring (0x000000000011f100) 7 0x0000000140aa6aea ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0x8eee5a() in eldenring (0x000000000011f490) 8 0x0000000140aaa62d ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0x8f299d() in eldenring (0x00007fff96032ed0) 9 0x0000000140aa93d7 ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0x8f1747() in eldenring (0x00000001431cddb0) 10 0x00000001426406c5 EntryPoint+0x1dae35() in eldenring (0x000000000011fcf0) 11 0x00000001426409c0 EntryPoint+0x1db130() in eldenring (0x000000000011fcf0) 12 0x00000001425f7a52 EntryPoint+0x1921c2() in eldenring (0x0000000000000060) 13 0x00000001425c050e EntryPoint+0x15ac7e() in eldenring (0x0000000142918da8) 14 0x0000000140e288d4 ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0xc70c44() in eldenring (0x0000000142918da8) 15 0x0000000140d66214 ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0xbae584() in eldenring (0x0000000142918da8) 16 0x0000000140c1b225 ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0xa63595() in eldenring (0x0000000000000000) 17 0x0000000140c1b5ae ??0System@Scaleform@@QEAA@AEBUHeapDesc@MemoryHeap@1@PEAVSysAllocBase@1@@Z+0xa6391e() in eldenring (0x0000000000000000) 18 0x000000014246583b ??0BufferedFile@Scaleform@@IEAA@XZ+0x12b968b() in eldenring (0x0000000000000000) 19 0x000000007b62cde9 ActivateActCtx+0x211a5() in kernel32 (0x0000000000000000) 20 0x0000000170060777 A_SHAFinal+0x3dcc7() in ntdll (0x0000000000000000) 0x0000000141e0b0cb eldenring+0x1e0b0cb: movq (%rcx),%rax Modules: Module Address Debug info Name (76 modules) PE 0000000000690000-00000000006b0000 Deferred amd_ags_x64 PE 00000000006b0000-00000000007be000 Deferred oo2core_6_win64 PE 00000000007c0000-00000000008d1000 Deferred steam_api64 PE 0000000006290000-00000000078c7000 Deferred eossdk-win64-shipping PE 00000000078d0000-000000000795d000 Deferred msvcp140 PE 0000000007960000-000000000797b000 Deferred vcruntime140 PE 0000000007980000-000000000798c000 Deferred vcruntime140_1 PE 000000007b000000-000000007b0d9000 Deferred kernelbase PE 000000007b600000-000000007b812000 Export kernel32 PE 0000000140000000-000000014590ba00 Export eldenring PE 0000000170000000-00000001700a4000 Export ntdll PE 0000000180000000-0000000180069000 Deferred bink2w64 PE 00000001c69e0000-00000001c7319000 Deferred shell32 PE 00000001c8b40000-00000001c8b61000 Deferred msacm32 PE 00000001c8db0000-00000001c8e48000 Deferred msvcrt PE 00000001cd860000-00000001cd868000 Deferred api-ms-win-crt-utility-l1-1-0 PE 00000001d97a0000-00000001d97a7000 Deferred api-ms-win-core-fibers-l1-1-1 PE 00000001dd3f0000-00000001dd4bd000 Deferred crypt32 PE 00000001e7610000-00000001e7617000 Deferred normaliz PE 00000001ec2b0000-00000001ec2d6000 Deferred ws2_32 PE 00000001f51e0000-00000001f51f0000 Deferred hid PE 00000001fdfd0000-00000001fdff8000 Deferred wintrust PE 0000000201cf0000-0000000201d0f000 Deferred secur32 PE 0000000205950000-0000000205958000 Deferred api-ms-win-appmodel-runtime-l1-1-2 PE 000000021a7e0000-000000021a857000 Deferred setupapi PE 0000000226310000-0000000226317000 Deferred api-ms-win-core-string-l1-1-0 PE 0000000231ae0000-0000000231b62000 Deferred rpcrt4 PE 000000023d820000-000000023da76000 Deferred user32 PE 0000000240030000-000000024005e000 Deferred iphlpapi PE 0000000241850000-0000000241857000 Deferred api-ms-win-crt-environment-l1-1-0 PE 0000000262250000-0000000262259000 Deferred api-ms-win-crt-runtime-l1-1-0 PE 000000026b4c0000-000000026b53c000 Deferred gdi32 PE 00000002739c0000-0000000273af8000 Deferred oleaut32 PE 0000000274a50000-0000000274a5d000 Deferred kerberos PE 000000028ba60000-000000028ba67000 Deferred api-ms-win-crt-time-l1-1-0 PE 000000028dfa0000-000000028dfac000 Deferred nsi PE 000000028ebe0000-000000028ebe8000 Deferred api-ms-win-core-sysinfo-l1-2-1 PE 000000029cfc0000-000000029cfd6000 Deferred dnsapi PE 000000029ea80000-000000029ea87000 Deferred api-ms-win-core-datetime-l1-1-1 PE 00000002bb750000-00000002bb894000 Deferred comctl32 PE 00000002d4d40000-00000002d4d58000 Deferred bcrypt PE 00000002de970000-00000002de9a3000 Deferred rsaenh PE 00000002e3540000-00000002e3591000 Deferred shlwapi PE 00000002e8f10000-00000002e902c000 Deferred ole32 PE 00000002edf00000-00000002ee12e000 Deferred dxgi PE 00000002f1fa0000-00000002f1fae000 Deferred version PE 00000002fa030000-00000002fa037000 Deferred api-ms-win-core-localization-obsolete-l1-2-0 PE 0000000308050000-000000030809b000 Deferred dinput8 PE 000000030a2c0000-000000030a2c9000 Deferred api-ms-win-crt-stdio-l1-1-0 PE 000000030c980000-000000030c988000 Deferred api-ms-win-core-synch-l1-2-0 PE 00000003126f0000-0000000312709000 Deferred shcore PE 0000000316370000-000000031637b000 Deferred psapi PE 0000000327020000-0000000327072000 Deferred combase PE 000000032a700000-000000032a72a000 Deferred sechost PE 0000000330260000-000000033029f000 Deferred advapi32 PE 000000033ea00000-000000033ea09000 Deferred api-ms-win-crt-string-l1-1-0 PE 0000000344840000-0000000344848000 Deferred api-ms-win-crt-filesystem-l1-1-0 PE 0000000346ba0000-0000000346bc1000 Deferred jsproxy PE 0000000350a30000-0000000350a39000 Deferred api-ms-win-crt-convert-l1-1-0 PE 0000000351680000-0000000351688000 Deferred api-ms-win-core-localization-l1-2-1 PE 0000000355100000-0000000355107000 Deferred api-ms-win-crt-locale-l1-1-0 PE 0000000358120000-0000000358166000 Deferred winhttp PE 000000035e4e0000-000000035e798000 Deferred d3d12 PE 0000000360a80000-0000000360a8a000 Deferred api-ms-win-crt-math-l1-1-0 PE 00000003673d0000-00000003673f8000 Deferred netapi32 PE 00000003738e0000-00000003738e8000 Deferred api-ms-win-crt-conio-l1-1-0 PE 0000000375610000-0000000375648000 Deferred win32u PE 000000038b5a0000-000000038b5f2000 Deferred wldap32 PE 000000039b510000-000000039b518000 Deferred api-ms-win-crt-heap-l1-1-0 PE 000000039c380000-000000039c391000 Deferred msv1_0 PE 00000003a93b0000-00000003a93c3000 Deferred xinput1_4 PE 00000003af670000-00000003af732000 Deferred ucrtbase PE 00000003afd00000-00000003afd1a000 Deferred imm32 PE 00000003b6dc0000-00000003b6de6000 Deferred winevulkan PE 00000003b8f00000-00000003b8fc1000 Deferred winmm PE 00007f3761e70000-00007f3761e74000 Deferred winex11 Threads: process tid prio (all id:s are in hex) 00000020 (D) E:\Games\ELDEN RING\Game\eldenring.exe ["E:\Games\ELDEN RING\Game\eldenring.exe"] 00000024 1 <== 00000110 0 00000114 1 00000118 1 0000011c 1 00000120 1 00000124 1 00000128 1 0000012c -15 00000130 1 00000134 1 00000138 -2 0000013c 0 00000140 0 00000144 0 00000148 1 0000014c 1 00000150 1 00000154 1 00000158 1 0000015c 1 00000160 1 00000164 1 00000168 -1 0000016c -1 00000170 -1 00000174 -1 00000178 -1 0000017c -1 00000180 -1 00000184 -1 00000188 -1 0000018c -1 00000190 -1 0000019c 0 00000030 services.exe ["C:\windows\system32\services.exe"] 00000034 0 00000038 0 00000044 0 0000005c 0 00000078 0 000000a4 0 000000b8 0 000000e0 0 000000e4 0 0000003c svchost.exe [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted] 00000040 0 0000004c 0 00000050 0 00000054 winedevice.exe [C:\windows\system32\winedevice.exe] 00000058 0 00000060 0 00000064 0 00000068 0 0000006c 0 000000b4 0 00000070 winedevice.exe [C:\windows\system32\winedevice.exe] 00000074 0 0000007c 0 00000080 0 00000084 0 00000088 0 0000008c 0 00000090 0 00000098 0 0000009c plugplay.exe [C:\windows\system32\plugplay.exe] 000000a0 0 000000a8 0 000000ac 0 000000b0 0 000000bc conhost.exe ["C:\windows\system32\conhost.exe" --unix --width 79 --height 19 --server 0x10] 000000c0 0 000000c4 explorer.exe [C:\windows\system32\explorer.exe /desktop] 000000c8 0 000000cc 0 000000d0 0 000000d8 rpcss.exe [C:\windows\system32\rpcss.exe] 000000dc 0 000000e8 0 000000ec 0 000000f0 0 000000f4 0 000000f8 0 000000fc 0 000001b0 0 00000100 tabtip.exe ["C:\windows\system32\tabtip.exe"] 00000104 0 00000108 0 0000010c 0 000001a0 explorer.exe [C:\windows\system32\explorer.exe /desktop] 000001a4 0 000001a8 0 000001ac 0 000001b4 tabtip.exe ["C:\windows\system32\tabtip.exe"] 000001b8 0 000001bc 0 000001c0 0 System information: Wine build: wine-7.0.r0.g2fc92f8b ( TkG Staging ) Platform: x86_64 Version: Windows 10 Host system: Linux Host version: 6.0.8-201.fsync.fc36.x86_64

To Reproduce

I don't know how to reproduce

Package

Flatpak from Flathub

Distribution

Nobara Linux 36

Troubleshooting Logs

Version: 2022.11.14
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: true
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.0.8-201.fsync.fc36.x86_64
Distro:
    Name: GNOME
    Version: '43'
Disk:
    Total: 8345997312
    Free: 8345841664
RAM:
    MemTotal: "16.7\_GB"
    MemAvailable: "10.0\_GB"
Bottles_envs: null

Display Protocol

Wayland

Display Backend used by Bottles

Wayland

Additional context

I can normally run my games in lutris but for some reason bottles can't, it looks like dxvk is not working or bottles is not using the dedicated video card

when i try to run dark souls image

mirkobrombin commented 1 year ago

which program is this? Can't find in the wall log text

Heus-Sueh commented 1 year ago

is not a program, it is a game

mirkobrombin commented 1 year ago

..which game?

Heus-Sueh commented 1 year ago

elden ring and dark souls

Gert-dev commented 1 year ago

I'm randomly experiencing the same issue. Could have been there for longer, but I only noticed it today - I don't play the games I have in Bottles very often. Error is the same as above where several games don't start due to VK_KHR_surface supposedly not being supported.

Additional information I can give is that it should be supported on my card (RTX 2070 Super), the games previously worked in Bottles, and I also run Steam in Flatpak using Proton and it works there, which seems to rule out an Nvidia driver in Flatpak issue. (I have Nvidia driver 525.60.11 installed, in case it somehow matters anyway.) I also tried several Bottles runtimes and DXVK versions, but even going back to ones that previously worked don't any more.

Could be an Nvidia-specific issue?

Gert-dev commented 1 year ago

Also tried it in non-Flatpak-ed Wine, and it works there.

Since that works, I then tried running the games in Bottles after I installed Wine on the host to ensure no 32-bit host dependencies were missing or anything (though technically I believe the Flatpak runtime should be providing these), but it still didn't work. Could also be some sort of new Flatpak runtime issue, though it's weird Steam games running in the Steam Flatpak work fine. Perhaps Steam is using a different runtime, though?

EDIT: Sounds a bit like https://github.com/bottlesdevs/Bottles/issues/1425, but that was never actually confirmed resolved, though the problem is much more recent than that commit for me.

Gert-dev commented 1 year ago

I managed to fix my issue by creating a new bottle entirely. I don't know exactly what went wrong in the old bottle, though, as I didn't perform any manual sort of changes. The new bottle uses the same Wine and DXVK version, but it works.

Heus-Sueh commented 1 year ago

this is what happens to me:

Kooha-2023-01-03-19-22-05.webm

Heus-Sueh commented 1 year ago

I found this bizarre bug, if I leave LatencyFleX enabled, the game won't start or it will conflict with dxvk somehow, now if I leave it disabled the game will start normally

Kooha-2023-01-17-14-16-00.webm