Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No EGL configs with format XRGB8888 [ERROR] #7721

Closed
Sunderland93 opened this issue Dec 10, 2018 · 13 comments
Closed

No EGL configs with format XRGB8888 [ERROR] #7721

Sunderland93 opened this issue Dec 10, 2018 · 13 comments

Comments

@Sunderland93
Copy link
Contributor

Description

When run RetroArch in Wayland it failed with EGL error and fallback to X

Expected behavior

Run succesfull in Wayland

Actual behavior

Fallback to X

[ERROR] [EGL]: No EGL configs with format XRGB8888
[ERROR] [EGL]: #0x3000, EGL_SUCCESS

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.7.5 master

Environment information

  • OS: Debian Sid
  • Compiler: GCC 8.2
@Sunderland93
Copy link
Contributor Author

Maybe because of this https://github.com/libretro/RetroArch/pull/7708/files ?

@orbea
Copy link
Contributor

orbea commented Dec 10, 2018

Ugh, again...I don't have wayland here, do you have any idea how to resolve this?

@Sunderland93
Copy link
Contributor Author

Full output:

[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 1024x600
[INFO] [Wayland]: Physical width: 510 mm x 290 mm.
[INFO] [Wayland]: Video mode: 1920 x 1080 @ 60.0000 Hz.
[INFO] [Wayland]: Setting buffer scale factor to 1.
[INFO] [Wayland]: Seat name: seat0.
[WARN] [Wayland]: Compositor doesn't support zwp_idle_inhibit_manager_v1 protocol!
[WARN] [Wayland]: Compositor doesn't support zxdg_decoration_manager_v1 protocol!
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[ERROR] [EGL]: No EGL configs with format XRGB8888
[ERROR] [EGL]: #0x3000, EGL_SUCCESS
[INFO] [GLX]: GLX_OML_sync_control and GLX_MESA_swap_control supported, using better swap control method...
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 1920x1080.
[INFO] [GLX]: Window manager is GNOME Shell.
[INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 600.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapIntervalEXT(1)
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Ironlake Desktop .
[INFO] [GL]: Version: 2.1 Mesa 18.2.5.
[INFO] [GL]: Using resolution 1024x600
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ... 
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Resetting shader to defaults ... 
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: x11
Protocol error: bad 3 (Window); Sequence Number 11
 Opcode (20, 0) = GetProperty
 Bad resource 0 (0x0)
 at -e line 15.
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.

@orbea
Copy link
Contributor

orbea commented Dec 10, 2018

@Sunderland93 To start can you share what mesa and wayland versions you have installed? Also what GPU are you using?

Edit: Actually only what wayland version is needed.

[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Ironlake Desktop .
[INFO] [GL]: Version: 2.1 Mesa 18.2.5.

@orbea
Copy link
Contributor

orbea commented Dec 10, 2018

I suppose the simple workaround would be to revert the previous fix, I am not sure intel has yet added code to trigger the KMS bug. However that would clearly break KMS for other users...

@Sunderland93
Copy link
Contributor Author

@orbea Wayland 1.16.0

@orbea
Copy link
Contributor

orbea commented Dec 11, 2018

@Sunderland93 Please check if this is fixed with the master after PR #7729.

@Sunderland93
Copy link
Contributor Author

Sunderland93 commented Dec 11, 2018

@orbea EGL error is gone, but Wayland context is still failed.

@orbea
Copy link
Contributor

orbea commented Dec 11, 2018

@Sunderland93 Can you please share your full updated log? @Themaister Would you be willing to look into this more?

@Themaister
Copy link
Contributor

Wayland works for me, so it's not EGL/GBM-related I'm not sure. Paste a log, maybe there is something obvious.

@Sunderland93
Copy link
Contributor Author

[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 1024x600
[2286650.648]  -> wl_display@1.get_registry(new id wl_registry@2)
[2286650.694]  -> wl_display@1.sync(new id wl_callback@3)
[2286650.839] wl_display@1.delete_id(3)
[2286650.893] wl_registry@2.global(1, "wl_drm", 2)
[2286650.939] wl_registry@2.global(2, "wl_compositor", 4)
[2286650.983]  -> wl_registry@2.bind(2, "wl_compositor", 3, new id [unknown]@4)
[2286651.010] wl_registry@2.global(3, "wl_shm", 1)
[2286651.035]  -> wl_registry@2.bind(3, "wl_shm", 1, new id [unknown]@5)
[2286651.057] wl_registry@2.global(4, "wl_output", 2)
[2286651.073]  -> wl_registry@2.bind(4, "wl_output", 2, new id [unknown]@6)
[2286651.095]  -> wl_display@1.sync(new id wl_callback@7)
[2286651.110] wl_registry@2.global(5, "zxdg_output_manager_v1", 1)
[2286651.130] wl_registry@2.global(6, "wl_data_device_manager", 3)
[2286651.150] wl_registry@2.global(7, "gtk_primary_selection_device_manager", 1)
[2286651.170] wl_registry@2.global(8, "wl_subcompositor", 1)
[2286651.189] wl_registry@2.global(9, "xdg_wm_base", 1)
[2286651.214]  -> wl_registry@2.bind(9, "xdg_wm_base", 1, new id [unknown]@8)
[2286651.233] wl_registry@2.global(10, "zxdg_shell_v6", 1)
[2286651.255]  -> wl_registry@2.bind(10, "zxdg_shell_v6", 1, new id [unknown]@9)
[2286651.283] wl_registry@2.global(11, "wl_shell", 1)
[2286651.306]  -> wl_registry@2.bind(11, "wl_shell", 1, new id [unknown]@10)
[2286651.336] wl_registry@2.global(12, "gtk_shell1", 2)
[2286651.358] wl_registry@2.global(13, "zwp_pointer_gestures_v1", 1)
[2286651.379] wl_registry@2.global(14, "zwp_tablet_manager_v2", 1)
[2286651.400] wl_registry@2.global(15, "wl_seat", 5)
[2286651.422]  -> wl_registry@2.bind(15, "wl_seat", 2, new id [unknown]@11)
[2286651.451] wl_registry@2.global(16, "zwp_relative_pointer_manager_v1", 1)
[2286651.473] wl_registry@2.global(17, "zwp_pointer_constraints_v1", 1)
[2286651.494] wl_registry@2.global(18, "zxdg_exporter_v1", 1)
[2286651.515] wl_registry@2.global(19, "zxdg_importer_v1", 1)
[2286651.536] wl_registry@2.global(20, "zwp_linux_dmabuf_v1", 3)
[2286651.559] wl_registry@2.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[2286651.583] wl_registry@2.global(22, "zwp_text_input_manager_v3", 1)
[2286651.604] wl_registry@2.global(23, "gtk_text_input_manager", 1)
[2286651.624] wl_callback@3.done(971)
[2286651.750] wl_display@1.delete_id(7)
[2286651.785] wl_output@6.geometry(0, 0, 510, 290, 0, "DEL", "S2318HN/NX", 0)
[INFO] [Wayland]: Physical width: 510 mm x 290 mm.
[2286651.895] wl_output@6.mode(3, 1920, 1080, 60000)
[INFO] [Wayland]: Video mode: 1920 x 1080 @ 60.0000 Hz.
[2286651.929] wl_output@6.scale(1)
[INFO] [Wayland]: Setting buffer scale factor to 1.
[2286651.945] wl_output@6.done()
[2286651.953] wl_callback@7.done(971)
[2286651.964] wl_seat@11.capabilities(3)
[2286651.974]  -> wl_seat@11.get_keyboard(new id wl_keyboard@7)
[2286651.988]  -> wl_seat@11.get_pointer(new id wl_pointer@3)
[2286652.001] wl_seat@11.name("seat0")
[INFO] [Wayland]: Seat name: seat0.
[WARN] [Wayland]: Compositor doesn't support zwp_idle_inhibit_manager_v1 protocol!
[WARN] [Wayland]: Compositor doesn't support zxdg_decoration_manager_v1 protocol!
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[2286652.073]  -> wl_display@1.get_registry(new id wl_registry@12)
[2286652.091]  -> wl_display@1.sync(new id wl_callback@13)
[2286652.483] wl_display@1.delete_id(13)
[2286652.511] wl_registry@12.global(1, "wl_drm", 2)
[2286652.566]  -> wl_registry@12.bind(1, "wl_drm", 2, new id [unknown]@14)
[2286652.614] wl_registry@12.global(2, "wl_compositor", 4)
[2286652.635] wl_registry@12.global(3, "wl_shm", 1)
[2286652.655] wl_registry@12.global(4, "wl_output", 2)
[2286652.675] wl_registry@12.global(5, "zxdg_output_manager_v1", 1)
[2286652.693] wl_registry@12.global(6, "wl_data_device_manager", 3)
[2286652.708] wl_registry@12.global(7, "gtk_primary_selection_device_manager", 1)
[2286652.722] wl_registry@12.global(8, "wl_subcompositor", 1)
[2286652.737] wl_registry@12.global(9, "xdg_wm_base", 1)
[2286652.750] wl_registry@12.global(10, "zxdg_shell_v6", 1)
[2286652.764] wl_registry@12.global(11, "wl_shell", 1)
[2286652.778] wl_registry@12.global(12, "gtk_shell1", 2)
[2286652.791] wl_registry@12.global(13, "zwp_pointer_gestures_v1", 1)
[2286652.807] wl_registry@12.global(14, "zwp_tablet_manager_v2", 1)
[2286652.825] wl_registry@12.global(15, "wl_seat", 5)
[2286652.842] wl_registry@12.global(16, "zwp_relative_pointer_manager_v1", 1)
[2286652.860] wl_registry@12.global(17, "zwp_pointer_constraints_v1", 1)
[2286652.874] wl_registry@12.global(18, "zxdg_exporter_v1", 1)
[2286652.890] wl_registry@12.global(19, "zxdg_importer_v1", 1)
[2286652.905] wl_registry@12.global(20, "zwp_linux_dmabuf_v1", 3)
[2286652.919]  -> wl_registry@12.bind(20, "zwp_linux_dmabuf_v1", 3, new id [unknown]@15)
[2286652.944] wl_registry@12.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[2286652.964] wl_registry@12.global(22, "zwp_text_input_manager_v3", 1)
[2286652.983] wl_registry@12.global(23, "gtk_text_input_manager", 1)
[2286653.003] wl_callback@13.done(971)
[2286653.014]  -> wl_display@1.sync(new id wl_callback@13)
[2286653.160] wl_display@1.delete_id(13)
[2286653.187] wl_drm@14.device("/dev/dri/card0")
[2286653.292]  -> wl_drm@14.authenticate(11)
[2286653.307] wl_drm@14.format(808669761)
[2286653.316] wl_drm@14.format(808669784)
[2286653.323] wl_drm@14.format(875713089)
[2286653.330] wl_drm@14.format(875713112)
[2286653.337] wl_drm@14.format(909199186)
[2286653.344] wl_drm@14.format(961959257)
[2286653.351] wl_drm@14.format(825316697)
[2286653.359] wl_drm@14.format(842093913)
[2286653.366] wl_drm@14.format(909202777)
[2286653.373] wl_drm@14.format(875713881)
[2286653.380] wl_drm@14.format(842094158)
[2286653.387] wl_drm@14.format(909203022)
[2286653.394] wl_drm@14.format(1448695129)
[2286653.402] wl_drm@14.capabilities(1)
[2286653.409] zwp_linux_dmabuf_v1@15.format(875713089)
[2286653.416] zwp_linux_dmabuf_v1@15.modifier(875713089, 0, 0)
[2286653.433] zwp_linux_dmabuf_v1@15.modifier(875713089, 16777216, 1)
[2286653.453] zwp_linux_dmabuf_v1@15.format(875713112)
[2286653.463] zwp_linux_dmabuf_v1@15.modifier(875713112, 0, 0)
[2286653.478] zwp_linux_dmabuf_v1@15.modifier(875713112, 16777216, 1)
[2286653.494] zwp_linux_dmabuf_v1@15.format(808669761)
[2286653.504] zwp_linux_dmabuf_v1@15.modifier(808669761, 0, 0)
[2286653.518] zwp_linux_dmabuf_v1@15.modifier(808669761, 16777216, 1)
[2286653.533] zwp_linux_dmabuf_v1@15.format(909199186)
[2286653.540] zwp_linux_dmabuf_v1@15.modifier(909199186, 0, 0)
[2286653.554] zwp_linux_dmabuf_v1@15.modifier(909199186, 16777216, 1)
[2286653.571] wl_callback@13.done(971)
[2286653.582]  -> wl_display@1.sync(new id wl_callback@13)
[2286653.663] wl_display@1.delete_id(13)
[2286653.693] wl_drm@14.authenticated()
[2286653.709] wl_callback@13.done(971)
[INFO] [EGL]: EGL version: 1.4
[2286664.353]  -> zwp_linux_dmabuf_v1@15.destroy()
[2286664.394]  -> xdg_wm_base@8.destroy()
[2286664.404]  -> zxdg_shell_v6@9.destroy()
[INFO] [GLX]: GLX_OML_sync_control and GLX_MESA_swap_control supported, using better swap control method...
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 1920x1080.
[INFO] [GLX]: Window manager is GNOME Shell.
[INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 600.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapIntervalEXT(1)
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Ironlake Desktop .
[INFO] [GL]: Version: 2.1 Mesa 18.2.5.
[INFO] [GL]: Using resolution 1024x600
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ... 
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Resetting shader to defaults ... 
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: x11
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
Protocol error: bad 3 (Window); Sequence Number 11
 Opcode (20, 0) = GetProperty
 Bad resource 0 (0x0)
 at -e line 15.
[WARN] [XMB] Asset missing: /home/sunderland93/.config/retroarch/assets/xmb/monochrome/png/menu_add.png
[WARN] [XMB] Asset missing: /home/sunderland93/.config/retroarch/assets/xmb/monochrome/png/menu_brightness.png
[WARN] [XMB] Asset missing: /home/sunderland93/.config/retroarch/assets/xmb/monochrome/png/menu_pause.png
[WARN] [XMB] Asset missing: /home/sunderland93/.config/retroarch/assets/xmb/monochrome/png/menu_apply_toggle.png
[WARN] [XMB] Asset missing: /home/sunderland93/.config/retroarch/assets/xmb/monochrome/png/menu_apply_cog.png

@Sunderland93
Copy link
Contributor Author

Fixed after update my distro :) Thanks a lot!

@orbea
Copy link
Contributor

orbea commented Dec 12, 2018

Interesting that fixed it, I wonder what the issue was, but as long as its fixed! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants