Proton-ge 8+prime render offload outside of steam won't work anymore under X11

When i try to start a game via wine/proton 8.0 + DXVK under Xorg using the usual prime-run script:

#!/bin/bash
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"

I’ve this:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  580
  Current serial number in output stream:  581

Apparent solution is to remove: __NV_PRIME_RENDER_OFFLOAD=1 for vulkan apps, but then the problem just shifts to opengl apps:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  6 ()
  Value in failed request:  0x0
  Serial number of failed request:  32
  Current serial number in output stream:  32

Is this an issue with proton, with xf86-video-intel, with Xorg, with nvidia itself?

I’m not alone: eg: [Bug]: X Error of failed request: BadMatch (invalid parameter attributes) when using proton 8.0 and above. · Issue #3078 · bottlesdevs/Bottles · GitHub

Which driver version, what igpu (AMD/Intel)?

haswell igpu and xf86-video-intel installed (i know, but modesettings gives me tearing on dual screen and higher latency in retroarch).
Actual driver is 545.29.06 but verified to happen even in 535.113.01

There must be something more involved. I have basically the same laptop as the person in the linked bug report. Just checked out “Ghost Of A Tale” from Steam, having the variables set, forced proton 8.0.5. No issues, works fine.
Nvidia driver 545.29.06, xorg-server-21.1.10+modesetting driver, kernel 5.15.
Does offloading native applications (glxgears, vkcube) work?

BTW, IIRC the modesetting driver now also has a “Tearfree” option like the intel driver has. At least I remotely remember.

Yup, but old chip support seems a bit of “meh” for modesetting.

Btw I was imprecise, sorry.

Proton via steam do work.
Proton-GE eg via heroic does not.

Will try proton-ge under steam in a while.


GE-Proton8-27 works under steam via prime-run script.
I inspected the game process environment and got:

koko@Gozer# strings /proc/2059433/environ |grep ^__
__EGL_EXTERNAL_PLATFORM_CONFIG_FILENAMES=/usr/lib/pressure-vessel/overrides/share/egl/egl_external_platform.d/10_nvidia_wayland.json:/usr/lib/pressure-vessel/overrides/share/egl/egl_external_platform.d/15_nvidia_gbm.json
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/pressure-vessel/overrides/share/glvnd/egl_vendor.d/10_nvidia.json:/usr/lib/pressure-vessel/overrides/share/glvnd/egl_vendor.d/50_amber.json
__GLVND_DISALLOW_PATCHING=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
__GL_ExperimentalPerfStrategy=1
__NV_PRIME_RENDER_OFFLOAD=1
__VK_LAYER_NV_optimus=NVIDIA_only

It seems all the variables are there, so i’m a bit puzzled in why it does not work with heroic tbh.

Searching for “Major opcode of failed request: 156 (NV-GLX)” brought up this being a very common issue with every wine-8 flavour. e.g.
https://forum.winehq.org/viewtopic.php?t=37393

Still, I can’t reproduce, just started limbo.exe with vanilla wine 8.0.2 with offloading, works fine, nvidia-smi tells me it’s really running on the nvidia gpu.
Doesn’t make sense.

Please also check if glxinfo32 is working and/or the 32bit part of glvnd is installed.
https://forums.developer.nvidia.com/t/545-driver-doesnt-work-on-optimus/280333/4

Thanks for the shot, but unfortunately, no luck:

koko@Gozer# pacman -Q | grep glvnd &&  __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only glxinfo32 -B
lib32-libglvnd 1.7.0-1
libglvnd 1.7.0-1
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 3072 MB
    Total available memory: 3072 MB
    Currently available dedicated video memory: 3003 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 545.29.06
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 545.29.06
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 545.29.06
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Did you just install glxinfo32? Does proton-8 now work?

I installed it, but no change in behaviour.

Also, it is not proton-8, but heroic via proton8-ge.
Steam with proton 8 works.

How did you install heroic and proton-ge, flatpak, etc.?

Heroic is installed via heroic-games-launcher-bin aur bin package, this is the list of files pf the package:

koko@Gozer# pacman -Ql heroic-games-launcher-bin
heroic-games-launcher-bin /opt/
heroic-games-launcher-bin /opt/Heroic/
heroic-games-launcher-bin /opt/Heroic/LICENSE.electron.txt
heroic-games-launcher-bin /opt/Heroic/LICENSES.chromium.html
heroic-games-launcher-bin /opt/Heroic/chrome-sandbox
heroic-games-launcher-bin /opt/Heroic/chrome_100_percent.pak
heroic-games-launcher-bin /opt/Heroic/chrome_200_percent.pak
heroic-games-launcher-bin /opt/Heroic/chrome_crashpad_handler
heroic-games-launcher-bin /opt/Heroic/heroic
heroic-games-launcher-bin /opt/Heroic/icudtl.dat
heroic-games-launcher-bin /opt/Heroic/libEGL.so
heroic-games-launcher-bin /opt/Heroic/libGLESv2.so
heroic-games-launcher-bin /opt/Heroic/libffmpeg.so
heroic-games-launcher-bin /opt/Heroic/libvk_swiftshader.so
heroic-games-launcher-bin /opt/Heroic/libvulkan.so.1
heroic-games-launcher-bin /opt/Heroic/locales/
heroic-games-launcher-bin /opt/Heroic/locales/af.pak
heroic-games-launcher-bin /opt/Heroic/locales/am.pak
heroic-games-launcher-bin /opt/Heroic/locales/ar.pak
heroic-games-launcher-bin /opt/Heroic/locales/bg.pak
heroic-games-launcher-bin /opt/Heroic/locales/bn.pak
heroic-games-launcher-bin /opt/Heroic/locales/ca.pak
heroic-games-launcher-bin /opt/Heroic/locales/cs.pak
heroic-games-launcher-bin /opt/Heroic/locales/da.pak
heroic-games-launcher-bin /opt/Heroic/locales/de.pak
heroic-games-launcher-bin /opt/Heroic/locales/el.pak
heroic-games-launcher-bin /opt/Heroic/locales/en-GB.pak
heroic-games-launcher-bin /opt/Heroic/locales/en-US.pak
heroic-games-launcher-bin /opt/Heroic/locales/es-419.pak
heroic-games-launcher-bin /opt/Heroic/locales/es.pak
heroic-games-launcher-bin /opt/Heroic/locales/et.pak
heroic-games-launcher-bin /opt/Heroic/locales/fa.pak
heroic-games-launcher-bin /opt/Heroic/locales/fi.pak
heroic-games-launcher-bin /opt/Heroic/locales/fil.pak
heroic-games-launcher-bin /opt/Heroic/locales/fr.pak
heroic-games-launcher-bin /opt/Heroic/locales/gu.pak
heroic-games-launcher-bin /opt/Heroic/locales/he.pak
heroic-games-launcher-bin /opt/Heroic/locales/hi.pak
heroic-games-launcher-bin /opt/Heroic/locales/hr.pak
heroic-games-launcher-bin /opt/Heroic/locales/hu.pak
heroic-games-launcher-bin /opt/Heroic/locales/id.pak
heroic-games-launcher-bin /opt/Heroic/locales/it.pak
heroic-games-launcher-bin /opt/Heroic/locales/ja.pak
heroic-games-launcher-bin /opt/Heroic/locales/kn.pak
heroic-games-launcher-bin /opt/Heroic/locales/ko.pak
heroic-games-launcher-bin /opt/Heroic/locales/lt.pak
heroic-games-launcher-bin /opt/Heroic/locales/lv.pak
heroic-games-launcher-bin /opt/Heroic/locales/ml.pak
heroic-games-launcher-bin /opt/Heroic/locales/mr.pak
heroic-games-launcher-bin /opt/Heroic/locales/ms.pak
heroic-games-launcher-bin /opt/Heroic/locales/nb.pak
heroic-games-launcher-bin /opt/Heroic/locales/nl.pak
heroic-games-launcher-bin /opt/Heroic/locales/pl.pak
heroic-games-launcher-bin /opt/Heroic/locales/pt-BR.pak
heroic-games-launcher-bin /opt/Heroic/locales/pt-PT.pak
heroic-games-launcher-bin /opt/Heroic/locales/ro.pak
heroic-games-launcher-bin /opt/Heroic/locales/ru.pak
heroic-games-launcher-bin /opt/Heroic/locales/sk.pak
heroic-games-launcher-bin /opt/Heroic/locales/sl.pak
heroic-games-launcher-bin /opt/Heroic/locales/sr.pak
heroic-games-launcher-bin /opt/Heroic/locales/sv.pak
heroic-games-launcher-bin /opt/Heroic/locales/sw.pak
heroic-games-launcher-bin /opt/Heroic/locales/ta.pak
heroic-games-launcher-bin /opt/Heroic/locales/te.pak
heroic-games-launcher-bin /opt/Heroic/locales/th.pak
heroic-games-launcher-bin /opt/Heroic/locales/tr.pak
heroic-games-launcher-bin /opt/Heroic/locales/uk.pak
heroic-games-launcher-bin /opt/Heroic/locales/ur.pak
heroic-games-launcher-bin /opt/Heroic/locales/vi.pak
heroic-games-launcher-bin /opt/Heroic/locales/zh-CN.pak
heroic-games-launcher-bin /opt/Heroic/locales/zh-TW.pak
heroic-games-launcher-bin /opt/Heroic/resources.pak
heroic-games-launcher-bin /opt/Heroic/resources/
heroic-games-launcher-bin /opt/Heroic/resources/app-update.yml
heroic-games-launcher-bin /opt/Heroic/resources/app.asar
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/bin/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/vulkan-helper
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/icon-dark.png
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/icon-light.png
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/icon.icns
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/icon.png
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/webviewPreload.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/build/win_icon.ico
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/LICENSE
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/demo.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/index.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/darwin/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/darwin/fontlist
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/darwin/fontlist.m
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/darwin/index.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/linux/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/linux/index.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/win32/
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/win32/fonts.vbs
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/win32/getByPowerShell.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/win32/getByVBS.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/libs/win32/index.js
heroic-games-launcher-bin /opt/Heroic/resources/app.asar.unpacked/node_modules/font-list/package.json
heroic-games-launcher-bin /opt/Heroic/resources/package-type
heroic-games-launcher-bin /opt/Heroic/snapshot_blob.bin
heroic-games-launcher-bin /opt/Heroic/v8_context_snapshot.bin
heroic-games-launcher-bin /opt/Heroic/vk_swiftshader_icd.json
heroic-games-launcher-bin /usr/
heroic-games-launcher-bin /usr/bin/
heroic-games-launcher-bin /usr/bin/heroic
heroic-games-launcher-bin /usr/share/
heroic-games-launcher-bin /usr/share/applications/
heroic-games-launcher-bin /usr/share/applications/heroic.desktop
heroic-games-launcher-bin /usr/share/icons/
heroic-games-launcher-bin /usr/share/icons/hicolor/
heroic-games-launcher-bin /usr/share/icons/hicolor/1024x1024/
heroic-games-launcher-bin /usr/share/icons/hicolor/1024x1024/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/1024x1024/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/128x128/
heroic-games-launcher-bin /usr/share/icons/hicolor/128x128/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/128x128/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/16x16/
heroic-games-launcher-bin /usr/share/icons/hicolor/16x16/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/16x16/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/256x256/
heroic-games-launcher-bin /usr/share/icons/hicolor/256x256/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/256x256/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/32x32/
heroic-games-launcher-bin /usr/share/icons/hicolor/32x32/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/32x32/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/48x48/
heroic-games-launcher-bin /usr/share/icons/hicolor/48x48/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/48x48/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/512x512/
heroic-games-launcher-bin /usr/share/icons/hicolor/512x512/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/512x512/apps/heroic.png
heroic-games-launcher-bin /usr/share/icons/hicolor/64x64/
heroic-games-launcher-bin /usr/share/icons/hicolor/64x64/apps/
heroic-games-launcher-bin /usr/share/icons/hicolor/64x64/apps/heroic.png

There are souspicious entries in the lib folder indeed, i’ll try to put them out of the equation.

proton-ge is installed via heroic itself, it downloads the binaries from the proton-ge github repo, I guess.

I moved the suspicious libs to no avail:

Summary
koko@Gozer# ls -la /opt/Heroic/*.so*
-rwxr-xr-x 1 root root 2882760 24 gen 12.05 /opt/Heroic/libffmpeg.so
-rwxr-xr-x 1 root root 4292152 24 gen 12.05 /opt/Heroic/libvk_swiftshader.so
-rwxr-xr-x 1 root root  252032 24 gen 12.05 /opt/Heroic/no-libEGL.so
-rwxr-xr-x 1 root root 6612616 24 gen 12.05 /opt/Heroic/no-libGLESv2.so
-rwxr-xr-x 1 root root 7472408 24 gen 12.05 /opt/Heroic/no-libvulkan.so.1

When i start Heroic tellim him to use the dedicated GPU (it fails), it logs the command it uses:

Summary
(13:58:32) INFO:    [Legendary]:        Launching Alan Wake: __GLX_VENDOR_LIBRARY_NAME=nvidia HEROIC_APP_NAME=Heron HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= DOTNET_ROOT= WINEPREFIX="/home/koko/Games/Heroic/Prefixes/default/Alan Wake" WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 DXVK_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 ORIG_LD_LIBRARY_PATH= LD_LIBRARY_PATH=/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib64:/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib GST_PLUGIN_SYSTEM_PATH_1_0=/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib64/gstreamer-1.0:/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib/gstreamer-1.0 WINEDLLPATH=/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib/wine LEGENDARY_CONFIG_PATH=/home/koko/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch Heron -locale=it --wine /home/koko/.config/heroic/tools/wine/Wine-GE-latest/bin/wine --wrapper /usr/bin/gamemoderun --language it

If I use the very same command, I’ve:

Summary
gamemodeauto: 
fsync: up and running.
wine: Using setpriority to control niceness in the [-11,11] range
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:err:hid:udev_bus_init UDEV monitor creation failed
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
011c:fixme:oleacc:find_class_data unhandled window class: L"#32769"
011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000004FDA8, 000000000062FAC0: stub!
0024:fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
0024:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
011c:err:xrandr:xrandr14_get_adapters Failed to get adapters
011c:err:xrandr:xrandr14_get_adapters Failed to get adapters
0128:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0128:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0128:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000004FEA8, 0000000001D9FAB0: stub!
0134:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
0138:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
info:  Game: alanwake.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa838a0
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:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  Process set as DPI aware
0024:err:xrandr:xrandr14_get_adapters Failed to get adapters
0024:fixme:imm:ImeSetActiveContext himc 00010068, flag 0x1 stub!
00e4:fixme:imm:ImeSetActiveContext himc 0000000000010026, flag 0 stub!
info:  Game: alanwake.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa838a0
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:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  Process set as DPI aware
info:  Device properties:
info:    Device : NVIDIA GeForce GTX 1060 3GB
info:    Driver : NVIDIA 545.29.6
info:  Enabled device extensions:
info:    VK_EXT_attachment_feedback_loop_layout
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_bias_control
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_swapchain_maintenance1
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_external_memory_win32
info:    VK_KHR_external_semaphore_win32
info:    VK_KHR_maintenance5
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:    VK_KHR_win32_keyed_mutex
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 0
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 0
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 0
info:    drawIndirectFirstInstance              : 0
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 1
info:    wideLines                              : 1
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 0
info:    shaderImageGatherExtended              : 0
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 0
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 0
info:    shaderResourceMinLod                   : 0
info:    sparseBinding                          : 0
info:    sparseResidencyBuffer                  : 0
info:    sparseResidencyImage2D                 : 0
info:    sparseResidencyImage3D                 : 0
info:    sparseResidency2Samples                : 0
info:    sparseResidency4Samples                : 0
info:    sparseResidency8Samples                : 0
info:    sparseResidency16Samples               : 0
info:    sparseResidencyAliased                 : 0
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 0
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 0
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 0
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 0
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 1
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 1
info:    leastRepresentableValueForceUnormRepresentation : 1
info:    floatRepresentation                    : 0
info:    depthBiasExact                         : 1
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 1
info:    extDynamicState3DepthClipEnable        : 1
info:    extDynamicState3RasterizationSamples   : 1
info:    extDynamicState3SampleMask             : 1
info:    extDynamicState3LineRasterizationMode  : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 0
info:    fragmentShaderPixelInterlock           : 0
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 1
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 1
info:    smoothLines                            : 1
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 0
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 1
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 0
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 1
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 0
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 1
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 1
info:  VK_KHR_maintenance5
info:    maintenance5                           : 1
info:  VK_KHR_present_id
info:    presentId                              : 1
info:  VK_KHR_present_wait
info:    presentWait                            : 1
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 1
info:    Sparse   : 0
info:  DXVK: Read 0 valid state cache entries
info:  DXVK: Graphics pipeline libraries supported
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1920
info:      - Height:             1080
info:      - Format:             D3D9Format::X8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24S8
info:      - Windowed:           false
info:      - Swap effect:        1
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  580
  Current serial number in output stream:  581
0128:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

…removing PRIME_RENDER_OFFLOAD variable makes the game start, and I’ve the following log:

Summary
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching Heron...
gamemodeauto: 
gamemodeauto: 
fsync: up and running.
wine: Using setpriority to control niceness in the [-11,11] range
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0078:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0078:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0078:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0078:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:err:hid:udev_bus_init UDEV monitor creation failed
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0090:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:err:xrandr:xrandr14_get_adapters Failed to get adapters
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
0120:fixme:oleacc:find_class_data unhandled window class: L"#32769"
0120:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0120:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0120:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000B71B28, 000000000062FAC0: stub!
0024:fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
MESA-INTEL: warning: Haswell Vulkan support is incomplete
0024:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: Haswell Vulkan support is incomplete
0120:err:xrandr:xrandr14_get_adapters Failed to get adapters
0120:err:xrandr:xrandr14_get_adapters Failed to get adapters
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BA0DC8, 0000000001D9FAB0: stub!
0138:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
013c:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
info:  Game: alanwake.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa838a0
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:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  Process set as DPI aware
0024:err:xrandr:xrandr14_get_adapters Failed to get adapters
00e4:fixme:imm:ImeSetActiveContext himc 0000000000010026, flag 0 stub!
0024:fixme:imm:ImeSetActiveContext himc 00010068, flag 0x1 stub!
info:  Game: alanwake.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa838a0
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:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
info:  Process set as DPI aware
info:  Device properties:
info:    Device : NVIDIA GeForce GTX 1060 3GB
info:    Driver : NVIDIA 545.29.6
info:  Enabled device extensions:
info:    VK_EXT_attachment_feedback_loop_layout
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_bias_control
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_swapchain_maintenance1
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_external_memory_win32
info:    VK_KHR_external_semaphore_win32
info:    VK_KHR_maintenance5
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:    VK_KHR_win32_keyed_mutex
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 0
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 0
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 0
info:    drawIndirectFirstInstance              : 0
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 1
info:    wideLines                              : 1
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 0
info:    shaderImageGatherExtended              : 0
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 0
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 0
info:    shaderResourceMinLod                   : 0
info:    sparseBinding                          : 0
info:    sparseResidencyBuffer                  : 0
info:    sparseResidencyImage2D                 : 0
info:    sparseResidencyImage3D                 : 0
info:    sparseResidency2Samples                : 0
info:    sparseResidency4Samples                : 0
info:    sparseResidency8Samples                : 0
info:    sparseResidency16Samples               : 0
info:    sparseResidencyAliased                 : 0
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 0
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 0
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 0
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 0
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 1
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 1
info:    leastRepresentableValueForceUnormRepresentation : 1
info:    floatRepresentation                    : 0
info:    depthBiasExact                         : 1
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 1
info:    extDynamicState3DepthClipEnable        : 1
info:    extDynamicState3RasterizationSamples   : 1
info:    extDynamicState3SampleMask             : 1
info:    extDynamicState3LineRasterizationMode  : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 0
info:    fragmentShaderPixelInterlock           : 0
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 1
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 1
info:    smoothLines                            : 1
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 0
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 1
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 0
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 1
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 0
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 1
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 1
info:  VK_KHR_maintenance5
info:    maintenance5                           : 1
info:  VK_KHR_present_id
info:    presentId                              : 1
info:  VK_KHR_present_wait
info:    presentWait                            : 1
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 1
info:    Sparse   : 0
info:  DXVK: Read 0 valid state cache entries
info:  DXVK: Graphics pipeline libraries supported
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1920
info:      - Height:             1080
info:      - Format:             D3D9Format::X8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24S8
info:      - Windowed:           false
info:      - Swap effect:        1
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  1920x1080
info:    Image count:  3
info:    Exclusive FS: 0
info:  Setting display mode: 1920x1080@0
info:  Setting display mode: 1920x1080@0
info:  Game: alanwake.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa838a0
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:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce GTX 1060 3GB:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 3072 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 11907 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXVK: Using 4 compiler threads
0164:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005.
0168:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
016c:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
0024:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
0024:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!
0188:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0FE8FF0C): stub
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  1920x1080
info:    Image count:  3
info:    Exclusive FS: 0
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BB2988, 0000000001D9FAB0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BB2A08, 0000000001D9FAB0: stub!
013c:fixme:keyboard:LoadKeyboardLayoutW name L"00000410", flags 0, semi-stub!
013c:fixme:keyboard:NtUserActivateKeyboardLayout flags 100 not supported
013c:fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4100410, 0100: semi-stub!
013c:fixme:keyboard:X11DRV_ActivateKeyboardLayout KLF_SETFORPROCESS not supported
013c:fixme:keyboard:NtUserActivateKeyboardLayout flags 100 not supported
013c:fixme:keyboard:NtUserActivateKeyboardLayout HKL_NEXT and HKL_PREV not supported
013c:fixme:keyboard:UnloadKeyboardLayout layout 04100410, stub!
013c:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS)
013c:fixme:system:NtUserSystemParametersInfo Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
013c:fixme:system:NtUserSystemParametersInfo Unimplemented action: 51 (SPI_SETFILTERKEYS)
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BB2A88, 0000000001D9FAB0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BB2B08, 0000000001D9FAB0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  160x24
info:    Image count:  3
info:    Exclusive FS: 0
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
012c:fixme:uiautomation:nc_provider_GetPatternProvider 0000000000BAF9C0, 10002, 0000000001D9ECC0: stub
012c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 0000000000BAF930, 10002, 0000000001D9ECC0: stub
012c:fixme:oleacc:find_class_data unhandled window class: L"#32769"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
012c:fixme:uiautomation:nc_provider_GetPatternProvider 0000000000BA28B0, 10002, 0000000001D9ECC0: stub
012c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 0000000000BA2820, 10002, 0000000001D9ECC0: stub
0024:fixme:msvcrt:__clean_type_info_names_internal (017BA478) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (0176787C) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (017ABF04) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (003F8C0C) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (011BDB04) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (00A20530) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (00C7E33C) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (00CC80C4) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (003DD6FC) stub
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
gamemodeauto:

Logs appear to be the same till: the line “Presenter:Actual swap chain properties”, present just in the log where the game starts.

–edit–
Moved heroic out of the equation by trying to start the game via wine-GE, and it fails as well:

__GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 WINEPREFIX="/home/koko/Games/Heroic/Prefixes/default/Alan Wake" WINEDLLPATH=/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib64/wine:/home/koko/.config/heroic/tools/wine/Wine-GE-latest/lib/wine /home/koko/.config/heroic/tools/wine/Wine-GE-latest/bin/wine /mnt/ssd_sandisk_vecchia/heroic-epic-launcher/AlanWake/alanwake.exe

Just downloaded Wine-GE-latest and it doesn’t work for me either. Runs on integrated intel but it also complains about “0024:err:xrandr:xrandr14_get_adapters Failed to get adapters” so I’m not even sure it only uses software rendering. Offloading bails out. I’d say it’s a broken wine-ge release, nothing driver related.

Failed to get adapters is not a problem, those messages are present in the logs of a successful start as well.

What puzzles me is that wine ge works under steam (manually installed as a compatibility tool).