Games freeze at startup with Libretro runner on Wayland

Hi!

I updated my system from Fedora 32 to Fedora 33 some week ago, and now I wanted to play a bit with FF7.
I didn’t change its configuration in lutris, in which I use Libretro runner > Sony - Playstation (PCSX ReARMed) that used to work.

Now I get a blank screen whenever I launch the game.

I tried to give lutris -d from a terminal and load the game then. This is what I get

$ lutris -d
Unable to load locale dir, translations won't work.
2020-12-04 09:21:06,216: MAME XML generation launched in the background, not returning anything this time
INFO     2020-12-04 09:21:06,279 [application.do_command_line:275]:Running Lutris 0.5.7.1
INFO     2020-12-04 09:21:06,280 [startup.check_driver:60]:Using Intel
INFO     2020-12-04 09:21:06,280 [startup.check_driver:62]:Running Mesa driver 20.2.3 on Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
INFO     2020-12-04 09:21:06,280 [startup.check_driver:73]:GPU: 8086:5916 1028:075B using i915 drivers
INTEL-MESA: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

INFO     2020-12-04 09:21:06,327 [startup.check_vulkan:124]:Vulkan is supported
DEBUG    2020-12-04 09:21:06,574 [http.get:71]:GET https://lutris.net/api/runtime
INFO     2020-12-04 09:21:06,574 [lutriswindow.toggle_connection:632]:Connected to lutris.net as amivaleo
DEBUG    2020-12-04 09:21:06,581 [http.get:71]:GET https://lutris.net/api/games/library/amivaleo
DEBUG    2020-12-04 09:21:06,589 [store.get_missing_media:189]:Requesting missing icons from API for 58 games
DEBUG    2020-12-04 09:21:06,590 [http.get:71]:GET https://lutris.net/api/games
INFO     2020-12-04 09:21:07,003 [mame.notify_mame_xml:31]:MAME XML written
DEBUG    2020-12-04 09:21:07,228 [api.get_game_api_page:130]:Loaded 38 games from page 1
DEBUG    2020-12-04 09:21:11,159 [application.launch:407]:Launching Final Fantasy VII (libretro)
WARNING  2020-12-04 09:21:11,166 [libretro.prelaunch:221]:Firmware 'scph5500.bin' not found!
WARNING  2020-12-04 09:21:11,166 [libretro.prelaunch:221]:Firmware 'scph5501.bin' not found!
WARNING  2020-12-04 09:21:11,166 [libretro.prelaunch:221]:Firmware 'scph5502.bin' not found!
DEBUG    2020-12-04 09:21:11,166 [game.configure_game:322]:Launching Final Fantasy VII
DEBUG    2020-12-04 09:21:11,166 [game.configure_game:323]:{
  "command": [
    "/home/jimmy/.local/share/lutris/runners/retroarch/retroarch",
    "--config=/home/jimmy/.local/share/lutris/runners/retroarch/retroarch.cfg",
    "--libretro=/home/jimmy/.local/share/lutris/runners/retroarch/cores/pcsx_rearmed_libretro.so",
    "/run/media/jimmy/Artica/Giochi/PS1/Final Fantasy VII/Final Fantasy VII CD1.img"
  ]
}
DEBUG    2020-12-04 09:21:11,173 [command.start:135]:SDL_VIDEO_FULLSCREEN_DISPLAY="0"
DEBUG    2020-12-04 09:21:11,173 [command.start:135]:STEAM_RUNTIME="/home/jimmy/.local/share/lutris/runtime/steam"
DEBUG    2020-12-04 09:21:11,173 [command.start:135]:LD_LIBRARY_PATH="/usr/lib64/R/lib:/usr/lib64/tcl8.6:/usr/lib64/fdk-aac:/usr/lib64/iscsi:/usr/lib64/qt-3.3/lib:/usr/lib64/qt5-qtwebengine-freeworld:/usr/lib64/root:/lib:/lib64:/usr/lib:/usr/lib64:/home/jimmy/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/jimmy/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/jimmy/.local/share/lutris/runtime/steam/i386/lib:/home/jimmy/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/jimmy/.local/share/lutris/runtime/steam/i386/usr/lib:/home/jimmy/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/jimmy/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/jimmy/.local/share/lutris/runtime/steam/amd64/lib:/home/jimmy/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/jimmy/.local/share/lutris/runtime/steam/amd64/usr/lib:/home/jimmy/.GEANT4/lib64:/usr/lib64:$LD_LIBRARY_PATH"
DEBUG    2020-12-04 09:21:11,173 [command.start:135]:game_name="Final Fantasy VII"
DEBUG    2020-12-04 09:21:11,174 [command.start:135]:PYTHONPATH="/usr/lib/lutris:/usr/bin:/home/jimmy/.mc-tools:/home/jimmy:/usr/lib64/python39.zip:/usr/lib64/python3.9:/usr/lib64/python3.9/lib-dynload:/usr/lib64/python3.9/site-packages:/usr/lib/python3.9/site-packages"
DEBUG    2020-12-04 09:21:11,174 [command.start:136]:/usr/share/lutris/bin/lutris-wrapper Final Fantasy VII 0 0 gamemoderun /home/jimmy/.local/share/lutris/runners/retroarch/retroarch --config=/home/jimmy/.local/share/lutris/runners/retroarch/retroarch.cfg --libretro=/home/jimmy/.local/share/lutris/runners/retroarch/cores/pcsx_rearmed_libretro.so /run/media/jimmy/Artica/Giochi/PS1/Final Fantasy VII/Final Fantasy VII CD1.img
lutris-wrapper: Final Fantasy VII
Running gamemoderun /home/jimmy/.local/share/lutris/runners/retroarch/retroarch --config=/home/jimmy/.local/share/lutris/runners/retroarch/retroarch.cfg --libretro=/home/jimmy/.local/share/lutris/runners/retroarch/cores/pcsx_rearmed_libretro.so /run/media/jimmy/Artica/Giochi/PS1/Final Fantasy VII/Final Fantasy VII CD1.img
Initial process has started with pid 35126
Game is considered started.
Memcard 2: disabled
Starting PCSX-ReARMed 
Running PCSX Version 1.9 (Jan 27 2019).
Mapped (RAM/scrp/ROM/LUTs/TC):
80000000/1f800000/1fc00000/00000000/00000000
found BIOS file: SCPH7003.bin
RGB565 supported, using it
plugin: plugins/builtin_gpu
plugin: plugins/builtin_spu
plugin: plugins/builtin_pad
plugin: plugins/builtin_pad
Plugins loaded.
Loaded CD Image: /run/media/jimmy/Artica/Giochi/PS1/Final Fantasy VII/Final Fantasy VII CD1.img[+ccd][+sub].
Track 01 (DATA) - Start 00:02:00, Length 70:39:12
selected sound output driver: libretro
CD-ROM Label: FINALFANTASY7                   
CD-ROM ID: SCES00867
CD-ROM EXE Name: SCES_008.67;1
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 

Everything seems fine, no errors (apart from the complaints about 3 missing bios files, which are actually in, hopefully, the right folder ~.config/retroarch/system~).
And yet, I get a blank screen/window and the game is stuck there. Maybe not even loading? I can tell I see nothing but a full black screen (and well, just a libretro notification on the bottom left, telling me it is loading/applying cheats. That sentence stays there as well and never vanish).

Can I get some help, please? I don’t even know how to tackle this, since I get no (significant) errors not even on the terminal.

I get the same issue when loading other games that use other Libretro cores. I assume the issue is with Libretro…? In fact, other runners work fine as always.

Thank you!

EDIT:
I’ve just tried to login using xorg, and everything works fine. So this is an issue between lutris and the wayland session. I’m gonna file this in the github repo page.

EDIT2:
Well… I can’t since opening issues in the github repo is restricted to devs…

So, retroarch doesn’t work on wayland.