You are not logged in.

#1 2024-12-24 17:44:08

diffeomorphism
Member
Registered: 2024-12-24
Posts: 3

DXVK Freezes at Startup [NVIDIA Optimus]

Greetings!

I did a fresh install of Arch a few days ago, but apparently Wine/Proton games that require DXVK simply freeze on startup. I've fiddled around with extra prefixes just to test this hypothesis out, and apparently the freezing occurs only if I install DXVK as specified in the Arch wiki.

Here's the outputs for commands I believe are important based on my earlier viewings of the forum.

vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.4.303


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1
VK_NV_display_stereo                   : extension revision 1

Instance Layers: count = 11
---------------------------
VK_LAYER_FROG_gamescope_wsi_x86_64 Gamescope WSI (XWayland Bypass) Layer (x86_64) 1.3.221  version 1
VK_LAYER_KHRONOS_validation        Khronos Validation Layer                       1.3.296  version 1
VK_LAYER_MANGOAPP_overlay          Mangoapp Layer                                 1.3.0    version 1
VK_LAYER_MANGOAPP_overlay          Mangoapp Layer                                 1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86      Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86_64   Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_NV_optimus                NVIDIA Optimus layer                           1.3.289  version 1
VK_LAYER_VALVE_steam_fossilize_32  Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64  Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32    Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64    Steam Overlay Layer                            1.3.207  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.289
	driverVersion      = 565.77.0.0
	vendorID           = 0x10de
	deviceID           = 0x1f91
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1650
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 565.77
	conformanceVersion = 1.3.8.2
	deviceUUID         = 496c9d0a-9562-e0d6-c975-b05d18cea85e
	driverUUID         = 5d948742-de2b-5e32-9692-c2a5621aed9a
pacman -Qs vulkan
local/dxvk-mingw 2.5.2-1
    Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine, MingW version
local/lib32-nvidia-utils 565.77-1
    NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.4.303-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/mangohud 0.7.2-2
    A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/nvidia-utils 565.77-2
    NVIDIA drivers utilities
local/spirv-tools 2024.4.rc1-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vkd3d-proton-bin 2.14-1
    Direct3D 12 to Vulkan translation library (Windows DLL binary files)
local/vulkan-headers 1:1.4.303-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.4.303-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.4.303-2 (vulkan-devel)
    Vulkan Utilities and Tools
local/vulkan-validation-layers 1.3.296.0-1 (vulkan-devel)
    Vulkan Validation Layers
lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core 4-core Processor Host Bridge/DRAM Registers [Coffee Lake H] [8086:3e10] (rev 07)
	Subsystem: Lenovo Device [17aa:380a]
	Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
	Subsystem: Lenovo Device [17aa:3813]
	Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b]
	Subsystem: Lenovo Device [17aa:3a2e]
	Kernel driver in use: i915
	Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 07)
	Subsystem: Lenovo Device [17aa:3830]
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
	Subsystem: Lenovo Device [17aa:3866]
00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Lake PCH Thermal Controller [8086:a379] (rev 10)
	Subsystem: Lenovo Device [17aa:3804]
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
	Subsystem: Lenovo Device [17aa:3807]
	Kernel driver in use: xhci_hcd
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
	Subsystem: Lenovo Device [17aa:3804]
00:14.3 Network controller [0280]: Intel Corporation Cannon Lake PCH CNVi WiFi [8086:a370] (rev 10)
	Subsystem: Intel Corporation Device [8086:02a4]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 [8086:a368] (rev 10)
	Subsystem: Lenovo Device [17aa:3805]
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 [8086:a369] (rev 10)
	Subsystem: Lenovo Device [17aa:380b]
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
	Subsystem: Lenovo Device [17aa:3811]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller [8086:a353] (rev 10)
	Subsystem: Lenovo Device [17aa:3801]
	Kernel driver in use: ahci
00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 [8086:a330] (rev f0)
	Subsystem: Lenovo Device [17aa:3819]
	Kernel driver in use: pcieport
00:1d.5 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #14 [8086:a335] (rev f0)
	Subsystem: Lenovo Device [17aa:381e]
	Kernel driver in use: pcieport
00:1e.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller [8086:a328] (rev 10)
	Subsystem: Lenovo Device [17aa:3810]
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM470 Chipset LPC/eSPI Controller [8086:a30d] (rev 10)
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
	Subsystem: Lenovo Device [17aa:3815]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_cnl
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
	Subsystem: Lenovo Device [17aa:3816]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
	Subsystem: Lenovo Device [17aa:3803]
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f91] (rev a1)
	Subsystem: Lenovo Device [17aa:3a2e]
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
	Subsystem: Lenovo Device [17aa:3a2e]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
06:00.0 Non-Volatile memory controller [0108]: Lite-On Technology Corporation CL1-3D256, CL1-8D512 NVMe SSD (DRAM-less) [14a4:9100] (rev 03)
	Subsystem: Silicon Motion, Inc. Device [126f:2263]
	Kernel driver in use: nvme
	Kernel modules: nvme
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
	Subsystem: Lenovo Device [17aa:38cf]
	Kernel driver in use: r8169
	Kernel modules: r8169
xrandr --listproviders
Provider 0: id: 0x42 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0x23c cap: 0x2, Sink Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-G0

Nothing freezes if I uninstall DXVK or use a prefix that doesn't have it. I initially had the vulkan-intel and lib32-vulkan-intel drivers installed as well, but the issue remained the same. Any ideas?

Thanks a bunch in advance!

EDIT: Installing DXVK with the

--without-dxgi

parameter gives me the "Wine couldn't switch to suggested resolution" error, in case that helps.

Last edited by diffeomorphism (2024-12-25 17:28:43)

Offline

#2 2024-12-26 06:25:53

diffeomorphism
Member
Registered: 2024-12-24
Posts: 3

Re: DXVK Freezes at Startup [NVIDIA Optimus]

Additional update in case it's of any use.

I installed vulkan-intel and lib32-vulkan-intel again, but that made no changes.

I installed xf86-video-intel, and now Sekiro actually starts up. It eventually freezes 5 minutes in, but it no longer freezes in the menus. Mangohud shows that it's running on DXVK, and nvtop shows the Nvidia card is indeed running the game. There's still the matter of the freezing though. Any ideas?

Offline

#3 2024-12-26 09:28:34

diffeomorphism
Member
Registered: 2024-12-24
Posts: 3

Re: DXVK Freezes at Startup [NVIDIA Optimus]

Alright, so a further update - apparently using EnvyControl and switching to Nvidia mode doesn't cause this issue. DXVK runs fine without a hassle. So as far as running wine and/or proton goes, this is an alright solution.

That said, I am genuinely curious as to what the source of the problem is for hybrid mode and using prime offloading.

Offline

Board footer

Powered by FluxBB