ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.9k stars 1.04k forks source link

Proton failing to load Vulkan driver #5081

Open milliams opened 3 years ago

milliams commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

When trying to run the Witcher 3 (I see the same with Prey too) through Proton, it seems to be failing to find the Vulkan driver

steam-292030.log:

======================
Proton: 1624629470 proton-6.3-5
SteamGameId: 292030
Command: ['/storage2/SteamLibrary_Linux/steamapps/common/The Witcher 3/bin/x64/witcher3.exe']
Options: {'forcelgadd'}
depot: 0.20210723.18
pressure-vessel: 0.20210722.0
scripts: v0.20210722.0-0-gb142f90
soldier: 0.20210719.0 soldier 0.20210719.0
======================
esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
32626.190:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wineboot.exe" at 0000000140000000: builtin
<...>
32640.465:00c0:00c4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
info:  Game: witcher3.exe
info:  DXVK: v1.9
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
32640.613:00c0:00c4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wineopenxr.dll" at 00007FB02B6C0000: builtin
warn:  OpenXR: Unable to get required Vulkan instance extensions size
32640.615:00c0:00c4:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
info:  Required Vulkan extension VK_KHR_surface not supported
<...>
However, if I check [`vulkaninfo`](https://github.com/ValveSoftware/steam-runtime/files/6984709/vulkaninfo.log):

``` ========== VULKANINFO ========== Vulkan Instance Version: 1.2.182 Instance Extensions: count = 17 =============================== VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 9 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 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_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 Layers: count = 5 ================= VK_LAYER_NV_optimus (NVIDIA Optimus layer) Vulkan version 1.2.175, layer version 1: Layer Extensions: count = 0 Devices: count = 1 GPU id = 0 (NVIDIA GeForce GTX 1070) Layer-Device Extensions: count = 0 VK_LAYER_VALVE_steam_fossilize_32 (Steam Pipeline Caching Layer) Vulkan version 1.2.136, layer version 1: Layer Extensions: count = 0 Devices: count = 1 GPU id = 0 (NVIDIA GeForce GTX 1070) Layer-Device Extensions: count = 0 VK_LAYER_VALVE_steam_fossilize_64 (Steam Pipeline Caching Layer) Vulkan version 1.2.136, layer version 1: Layer Extensions: count = 0 Devices: count = 1 GPU id = 0 (NVIDIA GeForce GTX 1070) Layer-Device Extensions: count = 0 VK_LAYER_VALVE_steam_overlay_32 (Steam Overlay Layer) Vulkan version 1.2.136, layer version 1: Layer Extensions: count = 0 Devices: count = 1 GPU id = 0 (NVIDIA GeForce GTX 1070) Layer-Device Extensions: count = 0 VK_LAYER_VALVE_steam_overlay_64 (Steam Overlay Layer) Vulkan version 1.2.136, layer version 1: Layer Extensions: count = 0 Devices: count = 1 GPU id = 0 (NVIDIA GeForce GTX 1070) Layer-Device Extensions: count = 0 Presentable Surfaces: ===================== GPU id : 0 (NVIDIA GeForce GTX 1070): Surface types: count = 2 VK_KHR_xcb_surface VK_KHR_xlib_surface Formats: count = 2 SurfaceFormat[0]: format = FORMAT_B8G8R8A8_UNORM colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR SurfaceFormat[1]: format = FORMAT_B8G8R8A8_SRGB colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR Present Modes: count = 3 PRESENT_MODE_FIFO_KHR PRESENT_MODE_FIFO_RELAXED_KHR PRESENT_MODE_IMMEDIATE_KHR VkSurfaceCapabilitiesKHR: ------------------------- minImageCount = 2 maxImageCount = 8 currentExtent: width = 256 height = 256 minImageExtent: width = 256 height = 256 maxImageExtent: width = 256 height = 256 maxImageArrayLayers = 1 supportedTransforms: count = 1 SURFACE_TRANSFORM_IDENTITY_BIT_KHR currentTransform = SURFACE_TRANSFORM_IDENTITY_BIT_KHR supportedCompositeAlpha: count = 1 COMPOSITE_ALPHA_OPAQUE_BIT_KHR supportedUsageFlags: count = 6 IMAGE_USAGE_TRANSFER_SRC_BIT IMAGE_USAGE_TRANSFER_DST_BIT IMAGE_USAGE_SAMPLED_BIT IMAGE_USAGE_STORAGE_BIT IMAGE_USAGE_COLOR_ATTACHMENT_BIT IMAGE_USAGE_INPUT_ATTACHMENT_BIT VkSurfaceCapabilities2EXT: -------------------------- supportedSurfaceCounters: None VkSurfaceProtectedCapabilitiesKHR: ---------------------------------- supportsProtected = false Device Groups: ============== Group 0: Properties: physicalDevices: count = 1 NVIDIA GeForce GTX 1070 (ID: 0) subsetAllocation = 0 Present Capabilities: NVIDIA GeForce GTX 1070 (ID: 0): Can present images from the following devices: count = 1 NVIDIA GeForce GTX 1070 (ID: 0) Present modes: count = 1 DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR Device Properties and Extensions: ================================= GPU0: VkPhysicalDeviceProperties: --------------------------- apiVersion = 4202671 (1.2.175) driverVersion = 1972256896 (0x758e4080) vendorID = 0x10de deviceID = 0x1b81 deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = NVIDIA GeForce GTX 1070 pipelineCacheUUID = f0a1f01f-42bb-ee34-8c5c-98b938d89b25 <...> ```

vkcube:

Selected GPU 0: NVIDIA GeForce GTX 1070, type: 2

The nvidia drivers are version (from glxinfo):

OpenGL core profile version string: 4.6.0 NVIDIA 470.57.02

I have removed all other packages which would provide an ICD, so /usr/share/vulkan/icd.d/ is empty.

kisak-valve commented 3 years ago

Hello @milliams, your system information is tells us that OpenGL and Vulkan render paths are healthy, both inside and outside of the Steam Linux Runtime - Soldier container environment, so I think that your issue should be evaluated on Proton's side first.

tdorzhi commented 1 year ago

have same issue with newest The Witcher 3 update (Hotfix for remaster)