http://bugs.winehq.org/show_bug.cgi?id=32471
Bug #: 32471 Summary: Evolve client (.NET 4.0 app using WPF4) fails with "X Error of failed request: GLXBadDrawable" on glxdrv_wglMakeCurrent Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Created attachment 42835 --> http://bugs.winehq.org/attachment.cgi?id=42835 trace log created with WINEDEBUG=+tid,+seh,+process,+loaddll,+d3d9,+sync,+wgl
Hello folks,
other .NET 4.0 apps using WPF4 work fine.
Prerequisite: 'winetricks -q dotnet40 msxml6 corefonts' (in 32-bit WINEPREFIX)
Attached is a trace log generated with:
WINEDEBUG=+tid,+seh,+process,+loaddll,+d3d9,+sync,+wgl wine ./Updater.exe
log.txt 2>&1
Last part before exit:
--- snip --- ... 002e:trace:wgl:glxdrv_wglMakeCurrent (0xa0055,0x6a96810) 002e:trace:wgl:describeContext Context 0x6a96810 have (vis:0x7d1d76e0): 002e:trace:wgl:describeContext - FBCONFIG_ID 0x107 002e:trace:wgl:describeContext - VISUAL_ID 0x24 002e:trace:wgl:glxdrv_wglMakeCurrent hdc 0xa0055 drawable 1e0006e fmt 0x195890 ctx 0x7d1d7970 X Error of failed request: GLXBadDrawable Major opcode of failed request: 135 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 636 Current serial number in output stream: 636 --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=32471
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |https://www.evolvehq.com/cl | |ient
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-12-17 15:16:08 CST --- Hello folks,
filling fields...
$ du -sh EvolveSetup.exe 3.2M EvolveSetup.exe
$ sha1sum EvolveSetup.exe fb6e25e2347405e0f51adb9bf8b633e1c06d7c52 EvolveSetup.exe
$ wine --version wine-1.5.19-186-g1cd0c4a
Regards
http://bugs.winehq.org/show_bug.cgi?id=32471
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=32471
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Evolve client (.NET 4.0 app |Multiple .NET 4.0 apps |using WPF4) fails with "X |using WPF4 fail with "X |Error of failed request: |Error of failed request: |GLXBadDrawable" on |GLXBadDrawable" on |glxdrv_wglMakeCurrent |glxdrv_wglMakeCurrent | |(Evolve client, JMP 10.0)
--- Comment #2 from Anastasius Focht focht@gmx.net 2013-01-12 13:07:18 CST --- Hello folks,
also happens with "JMP Pro 10.0.0" (Statistical discovery software from SAS).
Prerequisite: 'winetricks -q dotnet40 corefonts mdac28'
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/SAS/JMP/10
focht@nexus4 10$ wine ./jmp.exe ... fixme:shell:URL_ParseUrl failed to parse L"UIAutomationProvider" fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_access_from_pool Unhandled pool 0x6. fixme:d3d_surface:surface_init Unknown pool 0x6. fixme:d3d:resource_access_from_pool Unhandled pool 0x6. fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet fixme:d3d:resource_access_from_pool Unhandled pool 0x6. fixme:d3d_surface:surface_init Unknown pool 0x6. fixme:d3d:resource_access_from_pool Unhandled pool 0x6. X Error of failed request: GLXBadDrawable Major opcode of failed request: 135 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 994 Current serial number in output stream: 994 ... --- snip ---
$ wine --version wine-1.5.21-181-g197041f
Regards
http://bugs.winehq.org/show_bug.cgi?id=32471
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #3 from Austin English austinenglish@gmail.com 2013-01-17 18:32:24 CST --- Also affects TurboTax 2012.
http://bugs.winehq.org/show_bug.cgi?id=32471
--- Comment #4 from Austin English austinenglish@gmail.com 2013-01-17 18:53:51 CST --- Adding +synchronous gets a bit more info: err:d3d:context_restore_gl_context Failed to restore GL context 0x40001 on device context 0x3005e, last error 0x6. fixme:d3d:resource_access_from_pool Unhandled pool 0x6. fixme:d3d_surface:surface_init Unknown pool 0x6. fixme:d3d:resource_access_from_pool Unhandled pool 0x6. err:x11drv:error_handler X protocol error: serial=9794, request_code=128 - breaking into debugger wine: Unhandled exception 0x80000003 in thread 3c at address 0x7bc783ac (thread 003c), starting debugger... 0x7bc783ac DbgBreakPoint in ntdll: int $3
http://bugs.winehq.org/show_bug.cgi?id=32471
--- Comment #5 from Austin English austinenglish@gmail.com 2013-01-17 18:54:29 CST --- Created attachment 43210 --> http://bugs.winehq.org/attachment.cgi?id=43210 WINEDEBUG=synchronous,d3d,x11drv,d3d9,d3d_surface
http://bugs.winehq.org/show_bug.cgi?id=32471
--- Comment #6 from Austin English austinenglish@gmail.com 2013-01-19 15:27:11 CST --- For TurboTax 2012, disabling d3d9 avoids this bug.
http://bugs.winehq.org/show_bug.cgi?id=32471
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32758
http://bugs.winehq.org/show_bug.cgi?id=32471
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32829
http://bugs.winehq.org/show_bug.cgi?id=32471
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32830
http://bugs.winehq.org/show_bug.cgi?id=32471
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32831
http://bugs.winehq.org/show_bug.cgi?id=32471
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32847
http://bugs.winehq.org/show_bug.cgi?id=32471
--- Comment #7 from Erich Hoover ehoover@mines.edu 2013-02-12 09:45:11 CST --- Created attachment 43529 --> http://bugs.winehq.org/attachment.cgi?id=43529 A horrible context destruction hack
This issue also affects the Borderlands 2 launcher, by hacking the context destruction to keep the context open then the launcher will work properly. So, it seems like there must be a refcount problem somewhere :/
http://bugs.winehq.org/show_bug.cgi?id=32471
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net 2013-02-27 15:37:53 CST --- Also affects Magic: The Gathering Online Wide Beta installer when the Windows version is set to XP.
http://bugs.winehq.org/show_bug.cgi?id=32471
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |admiral.hackbar@gmail.com
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net 2013-02-28 13:30:42 CST --- *** Bug 33083 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=32471
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com
http://bugs.winehq.org/show_bug.cgi?id=32471
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=32471
--- Comment #10 from Stefan Dösinger stefan@codeweavers.com 2013-04-29 16:49:09 CDT --- As far as I can see in attachmeht 43210, the context destruction is legitimate. It's not clear where the app crashes exactly, but I suspect during context cleanup.
It's certainly possible that there is a refcounting bug though. The application uses CreateAdditionalSwapchain to create a swapchain next to the implicit one, and that's something that is used rarely and thus not well-tested.
http://bugs.winehq.org/show_bug.cgi?id=32471
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #11 from Erich Hoover ehoover@mines.edu 2013-05-01 23:31:59 CDT --- Using the latest git (wine-1.5.29-61-g7129293) I don't see this problem with the Borderlands 2 launcher anymore, is this still affecting other apps?
http://bugs.winehq.org/show_bug.cgi?id=32471
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |76b8612c3e5879f396756d9be9f | |3efb3964e1d5d Status|NEW |RESOLVED Component|-unknown |winex11.drv Resolution| |FIXED
--- Comment #12 from Anastasius Focht focht@gmx.net 2013-05-02 06:07:01 CDT --- Hello Erich,
--- quote --- Using the latest git (wine-1.5.29-61-g7129293) I don't see this problem with the Borderlands 2 launcher anymore, is this still affecting other apps? --- quote ---
indeed, this bug got fixed some time ago.
In between wine-1.5.23 and wine-1.5.24 with commit http://source.winehq.org/git/wine.git/commitdiff/76b8612c3e5879f396756d9be9f... ("winex11: Preserve the client window when changing the window visual.").
Tested some WPF 4 apps - they run fine. Hooray! :-)
Thanks Alexandre.
Regards
http://bugs.winehq.org/show_bug.cgi?id=32471
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2013-05-10 13:41:41 CDT --- Closing bugs fixed in 1.5.30.
https://bugs.winehq.org/show_bug.cgi?id=32471
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.evolvehq.com/cl |https://web.archive.org/web |ient |/20141210041313/https://upd | |ate-cdn.evolvehq.com/instal | |lers/EvolveSetup.exe