http://bugs.winehq.org/show_bug.cgi?id=59521 --- Comment #5 from Marlon Alex Andrade <marlonalexandrade@gmail.com> --- After analyzing the attached log and the Wine master branch, I can provide more detail on the root cause. The log confirms the hybrid GPU setup: - default visual: 40 (Intel RPL-P) - NVIDIA GeForce RTX 4060M also present - EGL initialized two devices (NVIDIA first, then Intel via EGL_MESA_x11_native_visual_id) - EGL pixel format configs report visual_id 112 (Intel EGL display) The regression in c78edbc caused visual_from_pixel_format() to return default_visual (40) unconditionally when use_egl is true: if (use_egl) { *visual = default_visual; return TRUE; } On this system, default_visual (40) belongs to the Intel iGPU, but the EGL configs were initialized with visual 112 from the Intel EGL display. The X11 client surface was created with the wrong visual, causing the colormap mismatch and resulting in the black window. This has been fixed in commit 6124fea1dde ("winex11: Lookup visual from EGL config EGL_NATIVE_VISUAL_ID"), included since Wine 10.17. visual_from_pixel_format() now queries EGL_NATIVE_VISUAL_ID from the actual EGL config instead of assuming default_visual: EGLConfig config = egl_config_for_format( format ); funcs->p_eglGetConfigAttrib( egl->display, config, EGL_NATIVE_VISUAL_ID, (EGLint *)&visual->visualid ); XGetVisualInfo( gdi_display, VisualIDMask, visual, &count ); Could the original reporter test with Wine 10.17 or later to confirm whether the issue is resolved? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.