[Bug 57103] New: "opengl32.dll" failed to initialize with WOW64 on Wayland
https://bugs.winehq.org/show_bug.cgi?id=57103 Bug ID: 57103 Summary: "opengl32.dll" failed to initialize with WOW64 on Wayland Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: opengl Assignee: wine-bugs(a)winehq.org Reporter: redwindwanderer(a)gmail.com Distribution: --- I know both WOW64 and pure Wayland are experimental, but I think this is very basic stuff that I believe should work even on early days. I build latest WINE gitlab code master branch with: ./configure --enable-win64 --without-x --with-wayland --enable-archs=x86_64,i386 ..which results on Wayland-only WOW64 Wine. Basic 32bit programs work, but programs requiring OpenGL produce this error: 0024:err:environ:init_peb starting L"Z:\\root\\sh2\\sh2pc.exe" in experimental wow64 mode 0024:err:opengl:DllMain Failed to load unixlib, status 0xc0000005 0024:err:module:loader_init "opengl32.dll" failed to initialize, aborting 0024:err:module:loader_init Initializing dlls for L"Z:\\root\\sh2\\sh2pc.exe" failed, status c0000142 The opengl32.dll was built and is installed in /usr/local/lib/wine/x86_64-windows/opengl32.dll, and EGL was correctly detected during configuration: checking for X... disabled checking for wayland-client.h... yes checking for wl_display_connect in -lwayland-client... yes checking for wayland-scanner... /usr/local/bin/wayland-scanner checking for xkbcommon/xkbcommon.h... yes checking for xkb_context_new in -lxkbcommon... yes checking for xkbcommon/xkbregistry.h... yes checking for rxkb_context_new in -lxkbregistry... yes checking for EGL/egl.h... (cached) yes checking for -lEGL... libEGL.so.1 checking for wayland-egl.h... yes checking for wl_egl_window_create in -lwayland-egl... yes So all in all, things should work and opengl32.dll should work correctly on WOW64+Wayland, I believe. -- 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=57103 bugmetoo(a)protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugmetoo(a)protonmail.com --- Comment #1 from bugmetoo(a)protonmail.com --- This is a regression. Games that used to work for me around wine 9.14 don't work anymore. However downgrading to wine 9.14 fixes the issue for me. Games affected for me are include the visual novel Aiyoku no Eustia and MajiKoi A3. -- 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=57103 --- Comment #2 from bugmetoo(a)protonmail.com --- 9.15 is fine as will. So the regression is somewhere between 9.15 and 9.16. Will bisect commits if I get the time. -- 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=57103 --- Comment #3 from bugmetoo(a)protonmail.com --- Commit:e64f353 titled:opengl32: Route kernel callbacks through user32. caused the regression. -- 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=57103 --- Comment #4 from bugmetoo(a)protonmail.com --- Can be reproduced with trial available at "https://sample9.dmm.co.jp/digital/pcgame/minatosoft/wagahime_trial2.zip" . Link copied from the official site https://sample9.dmm.co.jp/digital/pcgame/minatosoft/wagahime_trial2.zip. Kindly extract zip with unar and run with Japanese Locale. [Disclaimer] Game is an adult game. -- 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=57103 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e64f35368e8ee831a968a1e5999 | |dfeb227e2d3be CC| |rbernon(a)codeweavers.com Keywords| |regression -- 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=57103 --- Comment #5 from Rémi Bernon <rbernon(a)codeweavers.com> --- Created attachment 76992 --> https://bugs.winehq.org/attachment.cgi?id=76992 possible fix Sorry for the regression, can you confirm that this patch helps? -- 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=57103 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #76992|0 |1 is obsolete| | --- Comment #6 from Rémi Bernon <rbernon(a)codeweavers.com> --- Created attachment 76993 --> https://bugs.winehq.org/attachment.cgi?id=76993 possible fix 2 Sorry, here's a better one, I forgot to commit generated changes. -- 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=57103 --- Comment #7 from Manuel <redwindwanderer(a)gmail.com> --- (In reply to Rémi Bernon from comment #6)
Created attachment 76993 [details] possible fix 2
Sorry, here's a better one, I forgot to commit generated changes.
Yes, that fixes the regression, opengl32.dll init error is gone! However, the same game now crashes with the attached log (I'm trying to run it WOW64 mode, not sure if it should work in WOW64 mode to begin with) -- 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=57103 --- Comment #8 from Manuel <redwindwanderer(a)gmail.com> --- Created attachment 76994 --> https://bugs.winehq.org/attachment.cgi?id=76994 Silent Hill 2 crash bracktrace -- 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=57103 William Horvath <wine(a)horvath.blog> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine(a)horvath.blog --- Comment #9 from William Horvath <wine(a)horvath.blog> --- (In reply to Rémi Bernon from comment #6)
Created attachment 76993 [details] possible fix 2
Sorry, here's a better one, I forgot to commit generated changes.
This patch fixes the regression for me. -- 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=57103 --- Comment #10 from bugmetoo(a)protonmail.com --- Fixed for me as well. Thank you. -- 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=57103 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6f3e86820102b0b68377275b5be | |52685cdce243b Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Rémi Bernon <rbernon(a)codeweavers.com> --- Should be fixed with 6f3e86820102b0b68377275b5be52685cdce243b -- 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=57103 Hanabishi <i.r.e.c.c.a.k.u.n+bugs.winehq.org(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i.r.e.c.c.a.k.u.n+bugs.wine | |hq.org(a)gmail.com --- Comment #12 from Hanabishi <i.r.e.c.c.a.k.u.n+bugs.winehq.org(a)gmail.com> --- Yeah, 9.16 has borked OpenGL games. But I also confirm that 6f3e86820102b0b68377275b5be52685cdce243b fixes it. The last couple of releases are troublesome for sure. :) -- 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=57103 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.17. -- 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