[Bug 49028] New: X-plane 11 (windows) falls back to opengl when trying to run with vulkan.
https://bugs.winehq.org/show_bug.cgi?id=49028 Bug ID: 49028 Summary: X-plane 11 (windows) falls back to opengl when trying to run with vulkan. Product: Wine Version: 5.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: hubert(a)limitset.net Distribution: --- Created attachment 67006 --> https://bugs.winehq.org/attachment.cgi?id=67006 X plane log When attempting to run the windows version of X-plane 11 (to get access to windows only add-ons) the game will not run with vulkan enabled. When attempting to start the simulator in vulkan mode this is the error message: "The graphics card or driver lacks support for a required extension: VK_KHR_external_memory_win32" and coontinues to run but with opengl. This happens on Arch Linux and Debian Sid, and so far this issue has occurred for everyone who has tried running the game with wine using vulkan. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Hubert <hubert(a)limitset.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Hubert <hubert(a)limitset.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubert(a)limitset.net -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal CC| |o.dierick(a)piezo-forte.be -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64 Component|-unknown |winevulkan Summary|X-plane 11 (windows) falls |X-plane 11 needs support |back to opengl when trying |for |to run with vulkan. |VK_KHR_external_memory_win3 | |2 (Falls back to OpenGL) --- Comment #1 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Confirming that this extension is unsupported right now, rewording title and setting component. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Anya <maniikarabera(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera(a)protonmail.ch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Liam Middlebrook <loothelion(a)nvidia.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |loothelion(a)nvidia.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Summary|X-plane 11 needs support |X-Plane 11 automatically |for |falls back to OpenGL (needs |VK_KHR_external_memory_win3 |support for |2 (Falls back to OpenGL) |VK_KHR_external_memory_win3 | |2) Status|UNCONFIRMED |NEW --- Comment #2 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- These uncommitted patches are related and might help: https://www.winehq.org/pipermail/wine-devel/2021-July/190697.html https://www.winehq.org/pipermail/wine-devel/2021-July/190699.html -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 soredake <broaden_acid002(a)simplelogin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002(a)simplelogin | |.com | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 Mads <mads(a)ab3.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mads(a)ab3.no -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #3 from Mads <mads(a)ab3.no> --- Any news on this? I have the same issue with this extension missing when using Milestone XProtect - https://www.milestonesys.com/products/software/xprotect/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 Stian Low <wineryyyyy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wineryyyyy(a)gmail.com --- Comment #4 from Stian Low <wineryyyyy(a)gmail.com> --- Created attachment 79325 --> http://bugs.winehq.org/attachment.cgi?id=79325 X-Plane 11/Log.txt for Wine 10.15 Confirming bugs for Wine 10.15 commit 0abb419016e for new WoW64 for X-Plane 11 demo at: https://www.x-plane.com/desktop/try-it/older/ The only change from an otherwise most vanilla new WoW64 test: regedit HKEY_CURRENT_USER\Software\Wine\Direct3D\renderer=vulkan Attached is X-Plane 11/Log.txt equivalent to original reporters attachement. Despite renderer=vulkan, my Log.txt lacks vulkan device detection found for original reporter's Log.txt: 0:00:00.000 E/GFX/VK: Discovered Vulkan device: GeForce GTX 1070 (), but it's unusable Here's my processor specs: lspci -v | grep VGA (standard input):17:00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05) (prog-if 00 [VGA controller]) (standard input):156:01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1) (prog-if 00 [VGA controller]) VK_KHR_external_memory_win32 is also missing from my Log.txt unlike original reporters which may be related to missing vulkan device detected. Here's my terminal logs without any WINEDEBUGs: 00f0:err:winediag:wined3d_dll_init Using the Vulkan renderer. 00f0:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 02000000 00f0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0138:fixme:ver:GetCurrentPackageId (00007FFFFFD2FF50 0000000000000000): stub 0174:fixme:ver:GetCurrentPackageId (00007FCCDE82FF50 0000000000000000): stub 017c:fixme:ver:GetCurrentPackageId (00007FCCDE12FF50 0000000000000000): stub 00f0:fixme:sapi:token_category_GetDefaultTokenId (00007FCCED2F6B60)->(00007FFFFE1F6368): semi-stub Maybe OpenGL fallback occurs earlier now than it used to for original report? Please let me know if I missed anything to enable latest WINE to detect my GPU as a vulkan device. Here's a brief vulkaninfo dump with the GPU listed in devices: ========== VULKANINFO ========== Vulkan Instance Version: 1.4.309 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_headless_surface : extension revision 1 VK_EXT_surface_maintenance1 : extension revision 1 VK_EXT_swapchain_colorspace : extension revision 5 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 Layers: count = 3 ================= VK_LAYER_INTEL_nullhw (INTEL NULL HW) Vulkan version 1.1.73, layer version 1: Layer Extensions: count = 0 Devices: count = 3 GPU id = 0 (Intel(R) UHD Graphics (CML GT2)) Layer-Device Extensions: count = 0 GPU id = 1 (NVIDIA GeForce RTX 2060 (NVK TU106)) Layer-Device Extensions: count = 0 GPU id = 2 (llvmpipe (LLVM 19.1.7, 256 bits)) Layer-Device Extensions: count = 0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #5 from Stian Low <wineryyyyy(a)gmail.com> --- Created attachment 79326 --> http://bugs.winehq.org/attachment.cgi?id=79326 Screenshot of Graphics Settings with greyed out Vulkan rendering option Attached is a screenshot of greyed out Graphics Setting "Use Vulkan driver for faster rendering" "Vulkan driver is not supported on this computer. An extension required to run the OpenGL bridge is not supported on Mesa Intel(R) UHD Graphics (CML GT2)" I'll try to get my GPU to at least get detected as a Vulkan device to reproduce the VK_KHR_external_memory_win32 logs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #6 from Stian Low <wineryyyyy(a)gmail.com> --- (In reply to Stian Low from comment #5)
I'll try to get my GPU to at least get detected as a Vulkan device to reproduce the VK_KHR_external_memory_win32 logs.
I get practically the same Log.txt and greyed out Vulkan Graphics Setting option for GE-Proton 10-11 and 10-15. This is surprising because Proton and forks typically work around upstream WINE Vulkan issues. I'll try another machine with a different graphics card to see if I can get it to detect a Vulkan device to reproduce VK_KHR_external_memory_win32. VK_KHR_external_memory_win32 does not have many examples in the wild to alternatively reproduce the logs. Maybe the VK_KHR_external_memory_win32 log is derived this lib which lists X-Plane as a user: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator Many other apps are listed which may be useful for reproducing VK_KHR_external_memory_win32 related discrepancies. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #7 from Stian Low <wineryyyyy(a)gmail.com> --- (In reply to Stian Low from comment #6)
I'll try another machine with a different graphics card to see if I can get it to detect a Vulkan device to reproduce VK_KHR_external_memory_win32.
Terraria outputs Vulkan info and seems to work as expected: z:\home\any\Downloads\game-terraria\install\Terraria>Terraria.exe SDL_GPU Driver: Vulkan Vulkan Device: NVIDIA GeForce RTX 2060 (NVK TU106) Vulkan Driver: NVK Mesa 25.0.7-2 Vulkan Conformance: 1.4.0 So the issue of Vulkan device detection missing from X-Plane logs for latest WINE seems specific to X-Plane. Perhaps the same underlying issue still exists but more recent changes in wine have caused different logs to be generated making it difficult to reproduce the older logs. I'll explore this and other projects listed in attempt to at least reproduce similar logs for my latest X-Plane tests: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #8 from Stian Low <wineryyyyy(a)gmail.com> --- It's not very clear but it might be the case that X-Plane Demo only offers OpenGL. The splash screen reads: This is X-Plane 11.55 (64-bit, OpenGL) Web Demo Download If Vulkan is not supported by the demo then it explains why my logs are missing Vulkan device detection that appear for original reporter. I don't understand a why X-Plane team would make such a decision to disallow Vulkan testing for a demo. Regardless, the full version will be tested just in case someone made such an odd decision. X-Plane 12 also offers a demo and only mentions Vulkan so I'll test it also in attempt to reproduce VK_KHR_external_memory_win32 logs. It's 25 GB which also seems like an odd decision just to simply demo. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #9 from Stian Low <wineryyyyy(a)gmail.com> --- Confirming similar lack of shared memory support for X-Plane 12 demo which seems to support vulkan: Log.txt for X-Plane 12.2.1-r1-ab13dbf0 (build 122103 Intel 64-bit, Vulkan 937cabd93e77a60d6e3c7c402b8db273e06056cc) Compiled on Jul 10 2025 12:48:09 X-Plane Started on Fri Sep 19 18:30:49 2025 This log file is generated automatically by Laminar Research applications and contains diagnostics about your graphics hardware, installation, and any error conditions. If you need to contact tech support or file a bug, please send us this file. NOTE: this file is rewritten every time you start ANY of your X-System applications. Windows 10.0 (build 19045/2) This is a 64-bit version of Windows. CPU type: Intel Core i7-10750H CPU - Speed: 2.4-2.8 GHz - Cores: 12 Microcode Unknown Physical Memory (total for computer): 41892876288 Maximum Virtual Memory (for X-Plane only): 140737488224256 X-System folder:'Z:\home/any/Downloads/X-Plane12InstallerWindows/install/X-Plane 12/', case sensitive=0 0:00:00.000 I/GFX/VK: Vulkan Layers: 0:00:00.000 E/GFX: GFX bridge doesn't support required extension GL_EXT_memory_object_win32 0:00:00.000 E/GFX: GFX bridge doesn't support required extension GL_EXT_semaphore_win32 0:00:00.000 E/SYS: MACIBM_alert: gfx_assert failed 0:00:00.000 E/SYS: MACIBM_alert: report.can_run() 0:00:00.000 E/SYS: MACIBM_alert: 0:00:00.000 E/SYS: MACIBM_alert: Please submit the auto crash report form. 0:00:00.000 E/SYS: MACIBM_alert: C:/Users/Administrator/builds/eiafPmXpN/0/x-plane/design/source_code/core/gfx/Vulkan/gfx_vk_instance.cpp:1114 --=={This application has crashed!}==-- --=={FILE: Z:\home\any\Downloads\X-Plane12InstallerWindows\install\X-Plane 12\Log_ATC.txt}==-- Unlike X-Plane 11, 12 does not seems able to fall back to OpenGL and therefore crashes whereas X-Plane 11 demo is at least usable via OpenGL. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49028 --- Comment #10 from Stian Low <wineryyyyy(a)gmail.com> --- (In reply to Stian Low from comment #9)
Confirming similar lack of shared memory support for X-Plane 12 demo which seems to support vulkan:
Additionally, for X-Plane 12 demo, this popup message appears on launch: X-System Message X-Plane failed to initialize Vulkan and can't run. An extension required to run the OpenGL bridge is not supported on 4.6 (Compatibility Profile) Mesa 25.0.7-2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla