Archlinux RPI3 help

having some problems downloading cores, screen just flashes nothing happens. i tried a couple different config settings.
libretro_directory = "~/.config/retroarch/cores"
libretro_info_path = "~/.config/retroarch/cores/info"

menu_driver = "xmb"
video_driver = "gl"

verbose output:
[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] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
libEGL warning: DRI2: failed to authenticate
[INFO] [EGL]: EGL version: 1.4
[INFO] [GL]: Found GL context: x-egl
[INFO] [GL]: Detecting screen resolution 1024x768.
[INFO] [X/EGL]: X = 0, Y = 0, W = 960, H = 720.
[INFO] [EGL]: Current context: 0x14dcfa8.
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [GL]: Vendor: VMware, Inc., Renderer: llvmpipe (LLVM 5.0, 128 bits).
[INFO] [GL]: Version: OpenGL ES 3.0 Mesa 17.2.4.
[INFO] [GL]: Using resolution 960x705
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[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] [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).
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Menu]: Found menu display driver: "menu_display_gl".
[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/m_relax/.config/retroarch/content_history.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_favorites.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_music_history.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_video_history.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_image_history.lpl].
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [PulseAudio]: Unpausing.
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [PulseAudio]: Pausing.
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [PulseAudio]: Unpausing.
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [PulseAudio]: Pausing.
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [PulseAudio]: Unpausing.
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [PulseAudio]: Pausing.

and also changing these configs to:
menu_driver = "rgui"
video_driver = "sdl2"

verbose output:
[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
[INFO] [SDL2]: Available renderers (change with $SDL_RENDER_DRIVER):
[INFO] 	opengl
[INFO] 	opengles2
[INFO] 	opengles
[INFO] 	software
[INFO] [SDL2]: Available displays:
[INFO] 	Display #0 mode: 1024x768@0hz.
[INFO] [SDL]: Creating window @ 960x720
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] SRAM will not be saved.
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_history.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_favorites.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_music_history.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_video_history.lpl].
[INFO] Loading history file: [/home/m_relax/.config/retroarch/content_image_history.lpl].
[INFO] [PulseAudio]: Unpausing.
[INFO] [PulseAudio]: Pausing.
[INFO] [PulseAudio]: Unpausing.
[INFO] [PulseAudio]: Pausing.
[INFO] [PulseAudio]: Unpausing.
[INFO] [PulseAudio]: Pausing.

any help would be appreciated thanks.

That usually means you can’t reach the server for whatever reason. Make sure the connection isn’t getting blocked somewhere, you’re not behind any proxies, etc. If anything happens to the server on our end (and that does occur sometimes), you just have to wait until it’s back online.

Otherwise, you can download them manually from buildbot.libretro.com and put them wherever you need/want them.

thanks. i did put a core on from my retropi. however loaded game(s) tryed ran at a crawling speed, like barely moving not playable. (simple arcade games).
the estimated refresh seems off even after waiting for the frames to run.
now im using a fresh install, same problem.
what am i missing?
is there a different way to get retroarch other than pacman -S?
i want this on arch. i have another sdcard with retropi, runs fine.
thanks again.

download core and core updater either not working, just a screen flash.
the other bits works like asset download, database....
ok ive tried 2 cores now from bot, same issues. extreme stuttering.
i also tried running from #retroarch --libretro <path to .so> <path to rom>
still major stutters.
one error sticking out in my mind is
libEGL warning: DRI2: failed to authenticate
how to fix this warning?

The screen flash is because Archlinux’s Retroarch package comes with a “broken” config. The URL’s in the config are incorrect, so the updater cannot read from the online database. It just flashes the screen and does not do anything. Change the URL to http://buildbot.libretro.com/nightly/linux/x86/latest/ (as long as you’re not using the 64bit install, which you probably shouldn’t be)

thanks for your reply, that got me on the right track with the paths. however im getting Seg faults now when loading any rom. did you get your retroarch from the repository like i did? also, did you have to install any other packages for archlinux/RPI3 to get this working? thanks again.

I simply set up ArchlinuxArm using the 32 bit image and then Put the entry in my /boot/config.txt to use KMS.

dtoverlay=vc4-kms-v3d

My setup was TERRIBLY sluggish in retroarch until I put that KMS entry in the config. I also put these entries in there (along with the kernel entry that is already in there).

dtparam=audio=on gpu_mem=256 avoid_warnings=2