https://bugs.freedesktop.org/show_bug.cgi?id=107687
Bug ID: 107687 Summary: [wine] Brink compatible pixel format not found Product: Mesa Version: 18.2 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: sa@whiz.se QA Contact: dri-devel@lists.freedesktop.org
Created attachment 141278 --> https://bugs.freedesktop.org/attachment.cgi?id=141278&action=edit wine log with +wgl
The game Brink (running with Steam Proton/Wine) fails to start with the following error:
wglChoosePixelFormatARB failed to find a suitable format. Resetting r_multiSamples to allow rendering context to be created. wglChoosePixelFormatARB failed to find a suitable format.
The error from Wine is: 0029:warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found
a full log from Wine with +wgl is attached.
This is an old idTech 4 game requiring a compatibility context. I haven't tried it before, but it does have a platinum rating in Wine.
The game is available free of charge on Steam.
There was a previous issue with pixel formats that was resolved. I'm not sure if this is a similar problem. See bug #47478 and https://bugs.winehq.org/show_bug.cgi?id=26763
Using 18.2.0~rc4 on TONGA.
https://bugs.freedesktop.org/show_bug.cgi?id=107687
--- Comment #1 from Sven Arvidsson sa@whiz.se --- Doom 3: BFG seems to have a similar problem (starts up to a white screen):
0009:warn:wgl:X11DRV_wglGetPixelFormatAttribivARB Unable to convert iPixelFormat 0 to a GLX one! 0009:warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found
https://bugs.freedesktop.org/show_bug.cgi?id=107687
--- Comment #2 from Sven Arvidsson sa@whiz.se --- Created attachment 141408 --> https://bugs.freedesktop.org/attachment.cgi?id=141408&action=edit brink apitrace
https://bugs.freedesktop.org/show_bug.cgi?id=107687
--- Comment #3 from Sven Arvidsson sa@whiz.se --- glXChooseFBConfig(dpy = 0x7dce1f80, screen = 0, attribList = {GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_SWAP_METHOD_OML, 32865, GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, 1, GLX_DOUBLEBUFFER, True, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT | GLX_COLOR_INDEX_BIT | 0xfffffffffffffffc, 0}, nitems = &0) = NULL
From the apitrace it looks like Wine passes 32865 (0x8061)for
GLX_SWAP_METHOD_OML to glXChooseFBConfig, what I can tell from the specs only 0x8060 is allowed as a parameter to GLX_SWAP_METHOD_OML.
If someone can confirm this I will file a new bug with Wine.
https://bugs.freedesktop.org/show_bug.cgi?id=107687
--- Comment #4 from Sven Arvidsson sa@whiz.se --- (In reply to Sven Arvidsson from comment #3)
From the apitrace it looks like Wine passes 32865 (0x8061)for GLX_SWAP_METHOD_OML to glXChooseFBConfig, what I can tell from the specs only 0x8060 is allowed as a parameter to GLX_SWAP_METHOD_OML.
If someone can confirm this I will file a new bug with Wine.
I'm an idiot.
Anyhow, recreating the call to glXChooseFBConfig in a sample program with the swap method set to GLX_SWAP_EXCHANGE_OML/0x8061 doesn't return a fbconfig.
https://bugs.freedesktop.org/show_bug.cgi?id=107687
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #5 from Sven Arvidsson sa@whiz.se ---
*** This bug has been marked as a duplicate of bug 97516 ***
dri-devel@lists.freedesktop.org