[Bug 59940] New: dxgi: dxgi_get_output_from_window returns DXGI_ERROR_NOT_FOUND with no fallback when no output matches monitor
http://bugs.winehq.org/show_bug.cgi?id=59940 Bug ID: 59940 Summary: dxgi: dxgi_get_output_from_window returns DXGI_ERROR_NOT_FOUND with no fallback when no output matches monitor Product: Wine Version: 11.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@list.winehq.org Reporter: nileshkumbhar1604@gmail.com Distribution: --- Created attachment 81284 --> http://bugs.winehq.org/attachment.cgi?id=81284 DXGI error log from Epic Games Launcher Epic Games Launcher fails to start under Wine. Error in terminal: err:dxgi:dxgi_device_init Failed to get output from window Root cause: dxgi_get_output_from_window() in dlls/dxgi/swapchain.c loops through all adapter outputs looking for a monitor match. When no match is found, it returns DXGI_ERROR_NOT_FOUND with no fallback. Fix needed: Add fallback to first available output when no monitor match is found. Wine version: 11.11 OS: Linux (Ubuntu, VirtualBox) Hardware: x86-64 Additional behavior : Launcher enters a crash-restart loop. Process continuously restarts after dxgi initialization failure -- 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=59940 --- Comment #1 from Nilesh <nileshkumbhar1604@gmail.com> --- Created attachment 81285 --> http://bugs.winehq.org/attachment.cgi?id=81285 Epic text log -- 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=59940 --- Comment #2 from Nilesh <nileshkumbhar1604@gmail.com> --- Created attachment 81341 --> http://bugs.winehq.org/attachment.cgi?id=81341 dxgi: Add fallback to first output in dxgi_get_output_from_window. Proposed patch to return the first output as a fallback when no output matches the monitor, avoiding DXGI_ERROR_NOT_FOUND in this scenario. -- 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=59940 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://launcher-public-ser | |vice-prod06.ol.epicgames.co | |m/launcher/api/installer/do | |wnload/EpicGamesLauncherIns | |taller.msi Keywords| |download, patch -- 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=59940 --- Comment #3 from Nilesh <nileshkumbhar1604@gmail.com> --- Hi Ken, Thanks for triaging this and linking the Epic Games Launcher installer as a related reproducer - that matches what I found independently while testing the launcher under Wine 11.11 (crash-restart loop after dxgi initialization failure). The attached patch (attachment 81341) adds a fallback to the first available output in dxgi_get_output_from_window() when no output matches the monitor, avoiding the DXGI_ERROR_NOT_FOUND failure. Happy to provide additional logs or test against other reproducers if that would help move this along. -- 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