https://bugs.winehq.org/show_bug.cgi?id=54704
--- Comment #10 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
(In reply to reserv0 from comment #7)
I tried the DK2 demo you suggested but, once installed (yes, in the same Wine prefix), it just crashes with a segfault (with both Wine v8.3 and v8.7)... :-/
This is probably bug 13994.
(In reply to reserv0 from comment #8)
Created attachment 74433 [details] Revert for the OpenGL driver changes that broke DK2
I found the bug...
(...)
With the partial revert applied, Wine v8.7 can run again DK2.
Well done finding the code changes.
Your patch reverts two commits:
--- commit [1] --- author Zebediah Figura zfigura@codeweavers.com Fri, 20 Jan 2023 20:03:48 +0000 (14:03 -0600) committer Alexandre Julliard julliard@winehq.org Thu, 9 Mar 2023 14:02:43 +0000 (15:02 +0100) commit 775a2d5f4cc9a84bd9473d5fd81c67f29a62583f
winex11: Retrieve the pixel format from win32u for normal windows in wglGetPixelFormat().
[1] https://source.winehq.org/git/wine.git/commit/775a2d5f4cc9a84bd9473d5fd81c67...
--- commit [2] --- author Paul Gofman pgofman@codeweavers.com Mon, 13 Mar 2023 23:07:56 +0000 (17:07 -0600) committer Alexandre Julliard julliard@winehq.org Thu, 16 Mar 2023 17:55:30 +0000 (18:55 +0100) commit 446da60e78beb321d776b48cdee6f764c81b924b tree 3baea2cac7dd1f9ebf634d02bdb19477e743042d tree parent 0791c3ac44d40e460dd3e44b38db846b3dbbe3f9 commit | diff winex11.drv: Don't allow changing internal pixel format if conflicts with non-internal.
[2] https://source.winehq.org/git/wine.git/commit/446da60e78beb321d776b48cdee6f7...
Maybe you can split your patch and check if both commits must be reverted or only one?
(In reply to joaopa from comment #9)
The offending commit is 46c8a637525d0f1cf67830295fb460c819b800b6
That doesn't match the patch from comment 8. How did you conclude that it's that commit?
Regards.