Created attachment 141278 [details] 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.
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
Created attachment 141408 [details] brink apitrace
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.
(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.
*** This bug has been marked as a duplicate of bug 97516 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.