Setting the working directory of the Witcher 3 to a folder that contains a vkBasalt.conf crashes the game. I haven't tested if this happens on other games.
Expected behavior
The game doesn't crash, and uses the vkBasalt config in the set working directory.
Current behavior
The game crashes.
Steps to reproduce
Set the game's working directory to its root folder
Put a vkBasalt.conf file in that working directory
Lutris debugging output
Running /home/cassidy/.local/share/lutris/runners/wine/lutris-5.2-x86_64/bin/wine /home/cassidy/Games/Witcher3/dosdevices/c:/GOG Games/The Witcher 3 Wild Hunt GOTY/bin/x64/witcher3.exe
gamemodeauto:
esync: up and running.
gamemodeauto:
info: Game: witcher3.exe
info: DXVK: v1.5.5
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
warn: OpenVR: Failed to locate module
info: Enabled instance extensions:
info: VK_KHR_surface
info: VK_KHR_win32_surface
WARNING: radv is not a conformant vulkan implementation, testing use only.
info: AMD RADV NAVI10 (LLVM 9.0.1):
info: Driver: 19.3.4
info: Vulkan: 1.1.107
info: Memory Heap[0]:
info: Size: 7936 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0x1
info: Memory Heap[1]:
info: Size: 256 MiB
info: Flags: 0x1
info: Memory Type[2]: Property Flags = 0x7
info: Memory Heap[2]:
info: Size: 8176 MiB
info: Flags: 0x0
info: Memory Type[1]: Property Flags = 0x6
info: Memory Type[3]: Property Flags = 0xe
info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info: Device properties:
info: Device name: : AMD RADV NAVI10 (LLVM 9.0.1)
info: Driver version : 19.3.4
info: Enabled device extensions:
info: VK_EXT_depth_clip_enable
info: VK_EXT_host_query_reset
info: VK_EXT_memory_priority
info: VK_EXT_shader_stencil_export
info: VK_EXT_shader_viewport_index_layer
info: VK_EXT_transform_feedback
info: VK_EXT_vertex_attribute_divisor
info: VK_KHR_create_renderpass2
info: VK_KHR_depth_stencil_resolve
info: VK_KHR_draw_indirect_count
info: VK_KHR_driver_properties
info: VK_KHR_image_format_list
info: VK_KHR_sampler_mirror_clamp_to_edge
info: VK_KHR_swapchain
info: Device features:
info: robustBufferAccess : 1
info: fullDrawIndexUint32 : 1
info: imageCubeArray : 1
info: independentBlend : 1
info: geometryShader : 1
info: tessellationShader : 1
info: sampleRateShading : 1
info: dualSrcBlend : 1
info: logicOp : 1
info: multiDrawIndirect : 1
info: drawIndirectFirstInstance : 1
info: depthClamp : 1
info: depthBiasClamp : 1
info: fillModeNonSolid : 1
info: depthBounds : 1
info: multiViewport : 1
info: samplerAnisotropy : 1
info: textureCompressionBC : 1
info: occlusionQueryPrecise : 1
info: pipelineStatisticsQuery : 1
info: vertexPipelineStoresAndAtomics : 0
info: fragmentStoresAndAtomics : 1
info: shaderImageGatherExtended : 1
info: shaderStorageImageExtendedFormats : 1
info: shaderStorageImageReadWithoutFormat : 1
info: shaderStorageImageWriteWithoutFormat : 1
info: shaderClipDistance : 1
info: shaderCullDistance : 1
info: shaderFloat64 : 1
info: shaderInt64 : 1
info: variableMultisampleRate : 1
info: VK_EXT_conditional_rendering
info: conditionalRendering : 1
info: VK_EXT_depth_clip_enable
info: depthClipEnable : 1
info: VK_EXT_host_query_reset
info: hostQueryReset : 1
info: VK_EXT_memory_priority
info: memoryPriority : 1
info: VK_EXT_shader_demote_to_helper_invocation
info: shaderDemoteToHelperInvocation : 0
info: VK_EXT_transform_feedback
info: transformFeedback : 1
info: geometryStreams : 1
info: VK_EXT_vertex_attribute_divisor
info: vertexAttributeInstanceRateDivisor : 1
info: vertexAttributeInstanceRateZeroDivisor : 1
info: Queue families:
info: Graphics : 0
info: Transfer : 0
info: DXVK: Read 2674 valid state cache entries
info: DXVK: Using 5 compiler threads
warn: DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
Waiting on children
All children gone
Exit with returncode 0
DEBUG 2020-03-19 11:25:58,612 [command.on_stop:161]:The process has terminated with code 0
DEBUG 2020-03-19 11:25:58,612 [command.stop:246]:Management process looks dead already.
DEBUG 2020-03-19 11:25:58,612 [command.stop:254]:Detaching logger
DEBUG 2020-03-19 11:25:59,454 [game.beat:622]:Game thread stopped
WARNING 2020-03-19 11:25:59,454 [game.on_game_quit:654]:Game still running (state: running)
INFO 2020-03-19 11:25:59,454 [game.stop:637]:Stopping The Witcher 3: Wild Hunt - Game of the Year Edition (wine)
DEBUG 2020-03-19 11:25:59,454 [command.stop:246]:Management process looks dead already.
DEBUG 2020-03-19 11:25:59,454 [command.stop:258]:logger already detached
TypeError: refresh() takes 1 positional argument but 3 were given
DEBUG 2020-03-19 11:25:59,455 [game.on_game_quit:673]:The Witcher 3: Wild Hunt - Game of the Year Edition stopped at Thu, 19 Mar 2020 11:25:59
DEBUG 2020-03-19 11:25:59,455 [game.save:234]:Saving The Witcher 3: Wild Hunt - Game of the Year Edition (wine)
DEBUG 2020-03-19 11:25:59,462 [lutriswindow.on_game_updated:721]:Updating game The Witcher 3: Wild Hunt - Game of the Year Edition (wine)
DEBUG 2020-03-19 11:25:59,554 [display.change_resolution:129]:Switching to 1920x1080 on HDMI-A-0
INFO 2020-03-19 11:25:59,554 [display.change_resolution:140]:Switching resolution of HDMI-A-0 to 1920x1080
System information
2020-03-19 11:27:17,943: Running Lutris 0.5.4
2020-03-19 11:27:17,943: Using X.Org
2020-03-19 11:27:17,944: Running Mesa driver 19.3.4 on AMD NAVI10 (DRM 3.36.0, 5.5.9-arch1-2, LLVM 9.0.1) (0x731f)
2020-03-19 11:27:17,944: GPU: 1002:731F 1DA2:E411 using amdgpu drivers
WARNING: radv is not a conformant vulkan implementation, testing use only.
2020-03-19 11:27:17,998: Vulkan is supported
This isn't really a bug on our part but we could hide "working directory" field under advanced options to avoid issues like this in the future, at least for the Wine and WineSteam runner. Thoughts @strycore ?
Describe the bug
Setting the working directory of the Witcher 3 to a folder that contains a
vkBasalt.conf
crashes the game. I haven't tested if this happens on other games.Expected behavior
The game doesn't crash, and uses the vkBasalt config in the set working directory.
Current behavior
The game crashes.
Steps to reproduce
vkBasalt.conf
file in that working directoryLutris debugging output
System information