https://bugs.winehq.org/show_bug.cgi?id=40267
Bug ID: 40267 Summary: ChoosePixelFormat and SetPixelFormat always fail on X11 with invalid format error Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@winehq.org Reporter: alexchandel@gmail.com Distribution: ---
Created attachment 53892 --> https://bugs.winehq.org/attachment.cgi?id=53892 Anomalous ChoosePixelFormat and SetPixelFormat error
Attempting to run a T3 emulator with wine 1.9.5-1 on Arch always produces two error popup boxes saying "ChoosePixelFormat failed" and "SetPixelFormat failed".
After the ChoosePixelFormat error, the following is logged: fixme:event:wait_for_withdrawn_state window 0x10072/e00004 wait timed out err:wgl:set_pixel_format Invalid format 0
Then after the SetPixelFormat error, the following is logged: fixme:event:wait_for_withdrawn_state window 0x20072/e00006 wait timed out
I've attached a complete log with WINEDEBUG=trace+wgl that yields ore information. From the log, the PIXELFORMATDESCRIPTOR clearly has a valid format, despite Wine's "Invalid format 0" error.
Despite these popup errors, the program paints a mostly correct window. But it detects the errors through error code checking, and they are sufficient to prevent the program from functioning at all.