Retroarch Crashing on Startup

It’s weird Metal Gear Solid works well PSCXr emulator and all the other games I mentioned do not! But in RA it doesn’t work with any core…

Hello I have the same problem. I downloaded the latest applemage but it did the same thing as the ppa however 1.3.4 applemage worked perfectly.

1 Like

also building it does not work.

1.3.4 is too old now, we are not at 1.6.4. if you are not able to build it properly, then your doing something wrong(I always compile retroarch for windows and assorted Linux distro while distro-hopping)

i built again using directions from this site- http://emulation.gametechwiki.com/index.php/Building_RetroArch. And on step three this happens sh libretro-build.sh libretro-build.sh: 86: /home/peaches/libretro-super/libretro-config.sh: [[: not found PLATFORM: Linux ARCHITECTURE: x86_64 TARGET: unix CC = gcc CXX = g++ CXX11 = g++ STRIP = libretro-build.sh: 81: /home/peaches/libretro-super/script-modules/log.sh: [[: not found libretro-build.sh: 81: /home/peaches/libretro-super/script-modules/log.sh: -t: not found Compiler: CC=“gcc” CXX=“g++” libretro-build.sh: 31: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 32: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 33: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 34: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 35: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 36: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 37: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found libretro-build.sh: 38: /home/peaches/libretro-super/libretro-build-common.sh: [[: not found unix unix libretro-build.sh: 287: /home/peaches/libretro-super/libretro-build-common.sh: Syntax error: redirection unexpected peaches@cb:~/libretro-super$

Also if I keep going, ./configure works but make doesnt. terminal gives this-cores/libretro-ffmpeg/ffmpeg_core.c:25:34: fatal error: libavdevice/avdevice.h: No such file or directory compilation terminated. Makefile:150: recipe for target ‘obj-unix/cores/libretro-ffmpeg/ffmpeg_core.o’ failed make: *** [obj-unix/cores/libretro-ffmpeg/ffmpeg_core.o] Error 1

you seem to be following the guide for msys2 and this guide is old… official guides is here.

http://buildbot.libretro.com/docs/compilation/ubuntu/

if you are using Ubuntu or similar variant, it should not be a problem to compile. if you are on other distro, then youll have to find a way to find the correct dependencies and commands.

i tried it again but when doing I get sudo apt-get build-dep retroarch Reading package lists… Done E: Unable to find a source package for retroarch and when i went on i got the same error as before when making it.

read the guide I linked. everything is there. “unable to find source packaged” then clearly you are missing steps.

it said to uncomment something in the repisitories. I tried that but it didnt change anything. more specifically what does this mean-Depending on your configuration you may need to uncomment the deb-src repositories in /etc/apt/sources.list, /etc/apt/sources.list.d/libretro-ubuntu-testing-$version.list and then run apt-get update before running apt-get build-dep

I looked it up and did three different ways and all of them gave me unable to find source packaged.

also i tried installing it via flat pack and it also frizzed.

If the flatpak is crashing, something must be wrong with your environment. You can try launching it from a command line with --menu --verbose --log-file ~/log.txt and it will dump a log into your user directory.

i tried that but I can seem to find the log

where should it be in usr specifically

not in usr, in your user directory. Using the command I gave you, it’ll be in /home/[username], but you can change ~/log.txt in that command to whatever path you want.

ok thanks here you go [INFO] RetroArch 1.6.3 (Git adae065) [INFO] === Build ======================================= [INFO] Version: 1.6.3 [INFO] Git: adae065 [INFO] ================================================= [INFO] [Config]: Loading default config. [INFO] [Config]: loading config from: (null). [INFO] Looking for config in: “/home/peaches/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg”. [INFO] Looking for config in: “/home/peaches/.retroarch.cfg”. [WARN] Config: using skeleton config “/app/etc/retroarch.cfg” as base for a new config file. [WARN] Config: Created new config file in: “/home/peaches/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg”. [INFO] Environ SET_PIXEL_FORMAT: RGB565. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 29970.03 Hz. [INFO] [Video]: Video @ 960x720 [ERROR] [Wayland]: Failed to connect to Wayland server. [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]: X = 0, Y = 0, W = 960, H = 720. [INFO] [GLX]: Found swap function: glXSwapIntervalEXT. [INFO] [GLX]: glXSwapIntervalEXT(1) [INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel® HD Graphics 400 (Braswell) . [INFO] [GL]: Version: 3.0 Mesa 17.0.5. [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] [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] [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] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [SDL]: Device #0 (045e:02d1) connected: XInput Controller. [INFO] [SDL]: Device #0 supports game controller api. [INFO] [Joypad]: Found joypad driver: “sdl2”. [INFO] [Autoconf]: 6 profiles found. [INFO] [Font]: Using font rendering backend: bitmap. [INFO] [Autoconf]: selected configuration: /app/share/libretro/autoconfig/sdl2/X360 Controller.cfg [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [INFO] [Menu]: Found menu display driver: “menu_display_gl”. [INFO] [Config]: Saved new config to “/home/peaches/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg”. [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Font]: Using font rendering backend: freetype. [INFO] SRAM will not be saved. [INFO] Loading history file: [/home/peaches/.var/app/org.libretro.RetroArch/config/retroarch/content_history.lpl]. [INFO] Loading history file: [/home/peaches/.var/app/org.libretro.RetroArch/config/retroarch/content_music_history.lpl]. [INFO] Loading history file: [/home/peaches/.var/app/org.libretro.RetroArch/config/retroarch/content_image_history.lpl]. [INFO] [GL]: VSync => on [INFO] [GLX]: glXSwapIntervalEXT(1) [INFO] [PulseAudio]: Unpausing. [INFO] [GL]: VSync => on [INFO] [GLX]: glXSwapIntervalEXT(1) [INFO] [PulseAudio]: Pausing. [INFO] [SDL]: Device #0 (045e:02d1) connected: XInput Controller. [INFO] [SDL]: Device #0 supports game controller api. [INFO] [Autoconf]: 6 profiles found. [INFO] [Autoconf]: selected configuration: /app/share/libretro/autoconfig/sdl2/X360 Controller.cfg

There are no errors in that log. Did you make it crash?

i used my software manager to do it after it become unresponsive. also when minimizing it it turned black.

Use gdb, retroarch from PPA has a debug package:

gdb retroarch

Then type ‘run’, it’ll give you an useful backtrace

1 Like

Starting program: /usr/local/bin/retroarch [Thread debugging using libthread_db enabled] Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”. [New Thread 0x7fffebcd5700 (LWP 13121)] [New Thread 0x7fffe8b36700 (LWP 13154)] [Thread 0x7fffebcd5700 (LWP 13121) exited] [Thread 0x7ffff7e08900 (LWP 13117) exited]

Program terminated with signal SIGKILL, Killed. The program no longer exists.