https://bugs.winehq.org/show_bug.cgi?id=53909
Bug ID: 53909 Summary: opengl32.dll can't be loaded if win32u.so is not initialized first Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@winehq.org Reporter: jacek@codeweavers.com CC: rbernon@codeweavers.com Regression SHA1: 60eeb92ae0342a13e6e407a44d116b657b7e9ee5 Distribution: ---
Created attachment 73457 --> https://bugs.winehq.org/attachment.cgi?id=73457 test
We load unixlibs when corresponding PE file is mapped (and before its imports are mapped). For unixlibs that link to win32u.so, we need win32u.so to be loaded first, because system loader doesn't know where to find it. It's usually good enough, we needed some workarounds for Vulkan [1], but it doesn't work for opengl32.so. We may need to change ntdll's unixlib loading strategy or find a workaround for opengl32. I attached a simple test.
[1] https://gitlab.winehq.org/wine/wine/-/merge_requests/547
https://bugs.winehq.org/show_bug.cgi?id=53909
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Should be fixed by https://gitlab.winehq.org/wine/wine/-/commit/34099bba6cbb65de37403819fb65635...
https://bugs.winehq.org/show_bug.cgi?id=53909
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |34099bba6cbb65de37403819fb6 | |5635338bb41a5 Status|NEW |RESOLVED
--- Comment #2 from Rémi Bernon rbernon@codeweavers.com --- Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=53909
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kle@bluewin.ch
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- *** Bug 53949 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=53909
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reserv0@yahoo.com
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- *** Bug 53959 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=53909
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Version|unspecified |7.21 URL| |https://de.dolphin-emu.org/ | |download/dev/5d7d8be58e1a71 | |b3fcbb2ed3be78d6a014d4c111/ Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=53909
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.22.