Ps2 roms work on standalone pcsx2 from desktop but crash when run from ES
-
I finally started putting roms on my retropie box for ps2 and started having some issues with being able to load games. I filled out what I needed to when the prompts came up and added the bios, but whenever I try to load a game it brings up the run command launching image and then crashes back to ES. Oddly enough, I found the PCSX2 emulator that RetroPie installed and ran it from the Ubuntu desktop and it had me go through some language settings stuff and then the game ran perfectly well.
Has anyone had this issue before? I tracked down the log from PCSX2 and it came back with https://pastebin.com/981DPzsa It looks like the problem is
(PCSX2:11396): Gdk-WARNING **: 17:34:05.933: ../../../../../gdk/x11/gdkwindow-x11.c:5579 drawable is not a native X11 window (thread:MTGS) Calling pthread_create... Wrong X11 display/window GSopen Failed: return code: 0xffffffff
I'm just not sure what to do with that information. I've googled around but I don't see what the difference between running it from the desktop and running it from ES would make.
Pi Model or other hardware: Intel NUC8i3CYSM with 1TB NVME SSD + 1TB 2.5" SATA SSD
RetroPie Version Used: 4.6.1
Built on top of Ubuntu 18.04
Guide Used: https://github.com/retropie/retropie-setup/wiki/RetroPie-Ubuntu-16.04-LTS-x86-Flavor -
I solved the issue.
If anyone else has this problem, you need to make sure which WM you're using. Apparently if your WM is Wayland, and RetroPie tries to use X11 to run the game, it won't work. Disabling Wayland solves this particular issue. To do so do the following:
sudo /etc/gdm3/custom.conf
Find
#WaylandEnable=false
And uncomment it by changing it to
WaylandEnable=false
Save, exit, and reboot and Ubuntu will use X11 instead of Wayland and that solved the problem for me. I'm not sure that this is a common problem, and I'm not entirely sure how I ended up using Wayland, but if anyone else has this problem the solution will be here.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.