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

Bad GLX FBConfig & poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. #10474

Closed
heldernovais opened this issue Apr 18, 2020 · 6 comments

Comments

@heldernovais
Copy link

heldernovais commented Apr 18, 2020

Description

When I try to run Sonic Adventure with Flycast, it crashes instantly and I get this error.
The same happens with the sequel and Crazy Taxi.

Expected behavior

The game would just work.

Actual behavior

Crash. Full log:
$ retroarch
sh: 1: xdg-screensaver: not found
[CDROM] Could not open /dev/sg3, please check permissions.
[CDROM] Could not open /dev/sg2, please check permissions.
[CDROM] Could not open /dev/sg1, please check permissions.
[CDROM] Could not open /dev/sg0, please check permissions.
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
retroarch: ../../src/xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

NOTE: It crashes when it starts writing about xcb.

Steps to reproduce the bug

  1. Open retroarch
  2. Load Flycast and game
  3. Crash.

Bisect Results

It started happening today. Yesterday, it was working fine.

Version/Commit

RetroArch: Frontend for libretro -- v1.8.5 -- c88d298 --
Compiler: GCC (7.5.0) 64-bit Built: Mar 21 2020

Environment information

  • OS: Ubuntu 19.04 x86_64 (linux version: 5.0.0-36-generic)
@heldernovais
Copy link
Author

This only happens if gl, gl1 or glcore are selected as video drivers.

@heldernovais
Copy link
Author

Complete log, from starting Retroarch to having it crash after loading the game:

[INFO] RetroArch 1.8.5 (Git c88d298)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX
[INFO] Built: Mar 21 2020
[INFO] Version: 1.8.5
[INFO] Git: c88d298
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 960x720
[WARN] Failed to bind API (#1, version 0.0) on context driver "wayland".
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 1366x768.
[INFO] [GLX]: Window manager is Openbox.
[INFO] [GLX]: X = 0, Y = 0, W = 960, H = 720.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapInterval(1)
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Ivybridge Mobile .
[INFO] [GL]: Version: 3.0 Mesa 19.2.8.
[INFO] [GL]: Using resolution 960x720
[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] [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.
[ERROR] [DBus]: Failed to suspend screensaver via DBus.
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
sh: 1: xdg-screensaver: not found
[WARN] Could not suspend screen saver.
[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.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0x55bbc4259f00
[INFO] [MIDI]: Initializing ...
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed (list of input devices unavailable).
[INFO] SRAM will not be saved.
[INFO] Loading history file: [/home/kingrhodes/snap/retroarch/393/.config/retroarch/content_history.lpl].
[INFO] Loading history file: [/home/kingrhodes/snap/retroarch/393/.config/retroarch/content_music_history.lpl].
[INFO] Loading history file: [/home/kingrhodes/snap/retroarch/393/.config/retroarch/content_video_history.lpl].
[INFO] Loading history file: [/home/kingrhodes/snap/retroarch/393/.config/retroarch/content_image_history.lpl].
[INFO] Loading favorites file: [/home/kingrhodes/snap/retroarch/393/.config/retroarch/content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [GLX]: glXSwapInterval(1)
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [GL]: VSync => on
[INFO] [GLX]: glXSwapInterval(1)
[INFO] [PulseAudio]: Pausing.
[INFO] Using content: /media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/SEGA/DREAMCAST/Sonic Adventure/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].gdi.
[INFO] arg #0: retroarch
[INFO] arg #1: /media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/SEGA/DREAMCAST/Sonic Adventure/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].gdi
[INFO] arg #2: -c
[INFO] arg #3: /home/kingrhodes/snap/retroarch/393/.config/retroarch/retroarch.cfg
[INFO] arg #4: -L
[INFO] arg #5: /home/kingrhodes/snap/retroarch/393/.config/retroarch/cores/flycast_libretro.so
[INFO] arg #6: -v
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] Unloading game..
[INFO] Unloading core..
[INFO] Unloading core symbols..
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.8.5 (Git c88d298)
[INFO] Redirecting save file to "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/SEGA/DREAMCAST/Sonic Adventure/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].srm".
[INFO] Redirecting savestate to "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/SEGA/DREAMCAST/Sonic Adventure/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].state".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX
[INFO] Built: Mar 21 2020
[INFO] Version: 1.8.5
[INFO] Git: c88d298
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "/home/kingrhodes/snap/retroarch/393/.config/retroarch/cores/flycast_libretro.so"
[INFO] [Overrides] no core-specific overrides found at /home/kingrhodes/snap/retroarch/393/.config/retroarch/config/Flycast/Flycast.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at /home/kingrhodes/snap/retroarch/393/.config/retroarch/config/Flycast/Sonic Adventure.cfg.
[INFO] [Overrides] no game-specific overrides found at /home/kingrhodes/snap/retroarch/393/.config/retroarch/config/Flycast/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].cfg.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] Controller port: 1
[INFO] Controller (ID: 1)
[INFO] Arcade Stick (ID: 1025)
[INFO] Keyboard (ID: 3)
[INFO] Mouse (ID: 2)
[INFO] Light Gun (ID: 4)
[INFO] Twin Stick (ID: 513)
[INFO] Saturn Twin-Stick (ID: 769)
[INFO] Controller port: 2
[INFO] Controller (ID: 1)
[INFO] Arcade Stick (ID: 1025)
[INFO] Keyboard (ID: 3)
[INFO] Mouse (ID: 2)
[INFO] Light Gun (ID: 4)
[INFO] Twin Stick (ID: 513)
[INFO] Saturn Twin-Stick (ID: 769)
[INFO] Controller port: 3
[INFO] Controller (ID: 1)
[INFO] Arcade Stick (ID: 1025)
[INFO] Keyboard (ID: 3)
[INFO] Mouse (ID: 2)
[INFO] Light Gun (ID: 4)
[INFO] Twin Stick (ID: 513)
[INFO] Saturn Twin-Stick (ID: 769)
[INFO] Controller port: 4
[INFO] Controller (ID: 1)
[INFO] Arcade Stick (ID: 1025)
[INFO] Keyboard (ID: 3)
[INFO] Mouse (ID: 2)
[INFO] Light Gun (ID: 4)
[INFO] Twin Stick (ID: 513)
[INFO] Saturn Twin-Stick (ID: 769)
[INFO] [Remaps]: remap directory: /home/kingrhodes/snap/retroarch/393/.config/retroarch/config/remaps
[INFO] Redirecting save file to "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/SEGA/DREAMCAST/Sonic Adventure/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].srm".
[INFO] Redirecting savestate to "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/SEGA/DREAMCAST/Sonic Adventure/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].state".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: SET_KEYBOARD_CALLBACK.
[INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: GET_RUMBLE_INTERFACE.
[libretro INFO] Rumble interface supported!
[INFO] [Environ]: SYSTEM_DIRECTORY: "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/_bios".
[INFO] [Environ]: GET_VARIABLE reicast_per_content_vmus:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_widescreen_hack:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_widescreen_cheats:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_screen_rotation:
horizontal
[INFO] [Environ]: GET_VARIABLE reicast_internal_resolution:
640x480
[INFO] [Environ]: GET_VARIABLE reicast_cpu_mode:
N/A
[INFO] [Environ]: GET_VARIABLE reicast_boot_to_bios:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_gdrom_fast_loading:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_alpha_sorting:
per-pixel (accurate)
[INFO] [Environ]: GET_VARIABLE reicast_mipmapping:
enabled
[INFO] [Environ]: GET_VARIABLE reicast_system:
auto
[INFO] [Environ]: GET_VARIABLE reicast_hle_bios:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_oit_abuffer_size:
512MB
[INFO] [Environ]: GET_VARIABLE reicast_volume_modifier_enable:
enabled
[INFO] [Environ]: GET_VARIABLE reicast_cable_type:
TV (Composite)
[INFO] [Environ]: GET_VARIABLE reicast_broadcast:
Default
[INFO] [Environ]: GET_VARIABLE reicast_framerate:
fullspeed
[INFO] [Environ]: GET_VARIABLE reicast_region:
Default
[INFO] [Environ]: GET_VARIABLE reicast_language:
English
[INFO] [Environ]: GET_VARIABLE reicast_div_matching:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_force_wince:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_anisotropic_filtering:
4
[INFO] [Environ]: GET_VARIABLE reicast_pvr2_filtering:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_texupscale:
off
[INFO] [Environ]: GET_VARIABLE reicast_texupscale_max_filtered_texture_size:
256
[INFO] [Environ]: GET_VARIABLE reicast_enable_rttb:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_render_to_texture_upscaling:
1x
[INFO] [Environ]: GET_VARIABLE reicast_threaded_rendering:
enabled
[INFO] [Environ]: SET_SAVE_STATE_IN_BACKGROUND: yes.
[INFO] [Environ]: GET_VARIABLE reicast_synchronous_rendering:
enabled
[INFO] [Environ]: GET_VARIABLE reicast_delay_frame_swapping:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_frame_skipping:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_enable_purupuru:
enabled
[INFO] [Environ]: GET_VARIABLE reicast_analog_stick_deadzone:
15%
[INFO] [Environ]: GET_VARIABLE reicast_trigger_deadzone:
0%
[INFO] [Environ]: GET_VARIABLE reicast_enable_dsp:
enabled
[INFO] [Environ]: GET_VARIABLE reicast_digital_triggers:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_allow_service_buttons:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_enable_naomi_15khz_dipswitch:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_custom_textures:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_dump_textures:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_lightgun1_crosshair:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu1_screen_display:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu1_screen_position:
Upper Left
[INFO] [Environ]: GET_VARIABLE reicast_vmu1_screen_size_mult:
1x
[INFO] [Environ]: GET_VARIABLE reicast_vmu1_screen_opacity:
100%
[INFO] [Environ]: GET_VARIABLE reicast_vmu1_pixel_on_color:
DEFAULT_ON 00
[INFO] [Environ]: GET_VARIABLE reicast_vmu1_pixel_off_color:
DEFAULT_OFF 01
[INFO] [Environ]: GET_VARIABLE reicast_lightgun2_crosshair:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu2_screen_display:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu2_screen_position:
Upper Left
[INFO] [Environ]: GET_VARIABLE reicast_vmu2_screen_size_mult:
1x
[INFO] [Environ]: GET_VARIABLE reicast_vmu2_screen_opacity:
100%
[INFO] [Environ]: GET_VARIABLE reicast_vmu2_pixel_on_color:
DEFAULT_ON 00
[INFO] [Environ]: GET_VARIABLE reicast_vmu2_pixel_off_color:
DEFAULT_OFF 01
[INFO] [Environ]: GET_VARIABLE reicast_lightgun3_crosshair:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu3_screen_display:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu3_screen_position:
Upper Left
[INFO] [Environ]: GET_VARIABLE reicast_vmu3_screen_size_mult:
1x
[INFO] [Environ]: GET_VARIABLE reicast_vmu3_screen_opacity:
100%
[INFO] [Environ]: GET_VARIABLE reicast_vmu3_pixel_on_color:
DEFAULT_ON 00
[INFO] [Environ]: GET_VARIABLE reicast_vmu3_pixel_off_color:
DEFAULT_OFF 01
[INFO] [Environ]: GET_VARIABLE reicast_lightgun4_crosshair:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu4_screen_display:
disabled
[INFO] [Environ]: GET_VARIABLE reicast_vmu4_screen_position:
Upper Left
[INFO] [Environ]: GET_VARIABLE reicast_vmu4_screen_size_mult:
1x
[INFO] [Environ]: GET_VARIABLE reicast_vmu4_screen_opacity:
100%
[INFO] [Environ]: GET_VARIABLE reicast_vmu4_pixel_on_color:
DEFAULT_ON 00
[INFO] [Environ]: GET_VARIABLE reicast_vmu4_pixel_off_color:
DEFAULT_OFF 01
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: GET_VARIABLE reicast_show_vmu_screen_settings:
disabled
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: GET_VARIABLE reicast_show_lightgun_settings:
disabled
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro INFO] File extension is: .gdi
[INFO] [Environ]: GET_PREFERRED_HW_RENDER.
[INFO] [Environ]: SET_HW_RENDER.
[INFO] Requesting core OpenGL context (4.3).
[libretro INFO] 00:00:211 hw/mem/_vmem.cpp:556 N[VMEM]: Info: nvmem is enabled, with addr space of size 4GB
[libretro INFO] Unable to find bios in /media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/_bios/dc/. Exiting...
[libretro WARN] 00:00:326 nullDC.cpp:436 W[COMMON]: Did not load bios, using reios
[libretro INFO] 00:00:355 hw/maple/maple_devs.cpp:569 N[MAPLE]: Loaded VMU from file "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/_bios/dc/vmu_save_A1.bin"
[libretro INFO] 00:00:355 hw/maple/maple_devs.cpp:569 N[MAPLE]: Loaded VMU from file "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/_bios/dc/vmu_save_B1.bin"
[libretro INFO] 00:00:356 hw/maple/maple_devs.cpp:569 N[MAPLE]: Loaded VMU from file "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/_bios/dc/vmu_save_C1.bin"
[libretro INFO] 00:00:357 hw/maple/maple_devs.cpp:569 N[MAPLE]: Loaded VMU from file "/media/kingrhodes/TOSHIBA EXT (Helder)/helder/Jogos/emu/_bios/dc/vmu_save_D1.bin"
[libretro INFO] 00:00:362 nullDC.cpp:152 N[BOOT]: [LUT]: Product number: MK-5100050.
[libretro INFO] 00:00:362 nullDC.cpp:169 N[BOOT]: [Hack]: Applying alpha sort hack.
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [RCHEEVOS]: ext_hash 0b887659 ('gdi')
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Cheats]: Load game-specific cheatfile: /home/kingrhodes/snap/retroarch/393/.config/retroarch/cheats/Flycast/Sonic Adventure v1.003 (1999)(Sega)(PAL)(M5)[!].cht
[INFO] [RCHEEVOS]: Load task finished
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Video @ 1920x1440
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[WARN] Failed to bind API (#1, version 4.3) on context driver "wayland".
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 1366x768.
[INFO] [GLX]: Window manager is Openbox.
[INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1440.
[INFO] [GLX]: Creating context for requested version 4.3.
[WARN] [GLX]: X error message: GLXBadFBConfig, request code: 152, minor code: 34
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
retroarch: ../../src/xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

@heldernovais heldernovais changed the title poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. Bad GLX FBConfig & poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. Apr 19, 2020
@heldernovais
Copy link
Author

heldernovais commented Apr 19, 2020

After almost 3 hours of trying to fix this, I think I found the solution.
I erased all lines mentioning "reicast" on "retroarch-core-options.cfg" and let it reconfigure.
Definitely a bug with flycast.

I have linked this to the flycast repo.

@heldernovais
Copy link
Author

The bug is present if the alpha sorting is set to per-pixel instead of the default per-triangle.
As the game runs, this works well and the effects are seen, but once retroarch is restarted, the errors occur.
Most likely a problem in selecting the right FB Config to support per-pixel alpha sorting.

@gouchi
Copy link
Member

gouchi commented Sep 1, 2021

@heldernovais is it still an issue ? Otherwise please close this issue.

Thank you.

@heldernovais
Copy link
Author

I don't know, I don't use Retroarch or even Linux anymore

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

No branches or pull requests

3 participants