The officially official Devuan Forum!

You are not logged in.

#1 2024-06-01 13:40:06

jeudi
Member
Registered: 2024-05-24
Posts: 22  

Retroarch crashes when loading 3D games

Hi,
Retroarch crashes when I try to load 3D games (I tried Dreamcast/PS2/Gamecube roms). It's working with SNES roms.
Here is the log file

[INFO] [Config]: Looking for config in: "/home/papou/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.14.0 (Git b2ceb50)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 7 5700X 8-Core Processor             
[INFO] Capacités: MMX MMXEXT SSE SSE2 SSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Jan 13 2023
[INFO] Version: 1.14.0
[INFO] Git: b2ceb50
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/home/papou/.config/retroarch/cores/flycast_libretro.so"
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "2".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Overrides]: Redirection du fichier de sauvegarde vers "/home/papou/.config/retroarch/saves/Omikron - The Nomad Soul.srm".
[INFO] [Overrides]: Redirection du fichier de sauvegarde instantanée vers "/home/papou/.config/retroarch/states/Omikron - The Nomad Soul.state".
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro INFO] shell/libretro/libretro.cpp:323 N[BOOT]: retro_init
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: SET_KEYBOARD_CALLBACK.
[INFO] [Environ]: GET_DISK_CONTROL_INTERFACE_VERSION.
[INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE.
[libretro INFO] core/hw/mem/addrspace.cpp:431 N[VMEM]: Info: nvmem is enabled
[libretro INFO] core/hw/mem/addrspace.cpp:463 N[VMEM]: BASE 0x7f18855f0000 RAM(16 MB) 0x7f18915f0000 VRAM64(8 MB) 0x7f18895f0000 ARAM(2 MB) 0x7f18a55f0000
[INFO] [Content]: Chargement du contenu ignoré. L'implémentation va le charger elle-même.
[libretro INFO] shell/libretro/libretro.cpp:2039 N[BOOT]: retro_load_game: Omikron - The Nomad Soul.cdi
[INFO] [Environ]: GET_RUMBLE_INTERFACE.
[INFO] [Environ]: SYSTEM_DIRECTORY: "/home/papou/.config/retroarch/system".
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[INFO] [Environ]: SET_SAVE_STATE_IN_BACKGROUND: yes.
[libretro INFO] File extension is: .cdi
[INFO] [Environ]: GET_PREFERRED_HW_RENDER, video driver name: gl.
[INFO] [Environ]: GET_PREFERRED_HW_RENDER - Context callback set to RETRO_HW_CONTEXT_OPENGL.
[INFO] [Environ]: Driver switching disabled, GET_PREFERRED_HW_RENDER will be ignored.
[INFO] [Environ]: SET_HW_RENDER, context type: N/A.
[ERROR] Requesting Vulkan context, but RetroArch is not compiled against Vulkan. Cannot use HW context.
[ERROR] [Environ]: SET_HW_RENDER - Dynamic request HW context failed.
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting core OpenGL context (3.2).
[INFO] Reached end of SET_HW_RENDER.
[libretro INFO] core/hw/mem/addrspace.cpp:431 N[VMEM]: Info: nvmem is enabled
[libretro INFO] core/hw/mem/addrspace.cpp:463 N[VMEM]: BASE 0x7f18855f0000 RAM(16 MB) 0x7f18915f0000 VRAM64(8 MB) 0x7f18895f0000 ARAM(2 MB) 0x7f18a55f0000
[libretro INFO] core/emulator.cpp:56 N[BOOT]: Game ID is [T-8102N]
[libretro INFO] core/emulator.cpp:287 N[BOOT]: Forcing English Language
[libretro INFO] core/emulator.cpp:492 N[BOOT]: Did not load BIOS, using reios
[libretro INFO] core/emulator.cpp:56 N[BOOT]: Game ID is [T-8102N]
[libretro INFO] core/emulator.cpp:287 N[BOOT]: Forcing English Language
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [SRAM]: Chargement de la SRAM ignoré.
[INFO] [Core]: Version de l'API libretro: 1, Compilé avec l'API: 1
[libretro INFO] shell/libretro/libretro.cpp:2382 N[RENDERER]: retro_get_system_av_info: Res=480
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GL]: Found GL context: "x".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [GLX]: Using Xinerama on screen #0.
[INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1080.
[INFO] [GLX]: Using windowed fullscreen.
[INFO] [GLX]: Creating context for requested version 3.2.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GL]: Vendor: AMD, Renderer: AMD Radeon Graphics (gfx1102, LLVM 15.0.6, DRM 3.49, 6.1.0-21-amd64).
[INFO] [GL]: Version: 4.6 (Core Profile) Mesa 22.3.6.
[INFO] [GL]: Using Core GL context, setting up VAO...
[INFO] [GL]: Using resolution 1920x1080.
[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]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[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]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 150.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 1 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Initializing HW render (1024x1024).
[INFO] [GL]: Max texture size: 16384 px, renderbuffer size: 16384 px.
[INFO] [GL]: Supports FBO (render-to-texture).
[INFO] [udev]: Pad #0 (/dev/input/event20) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event20) supports 16 force feedback effects.
[INFO] [Autoconf]: Sony Interactive Entertainment Wireless Controller configured in port 1.
[INFO] [Joypad]: Found joypad driver: "udev".
[ERROR] [GL]: GL: Invalid value.
[ERROR] [Video]: Cannot open video driver ... Exiting ...
[ERROR] Erreur fatale reçue dans: "video_driver_init_internal()"
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading game..
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "/home/papou/.config/retroarch/config/Flycast/Flycast.opt".

I tried changing video driver in the settings menu but it didn't work, I had a black screen.

I can see an error with Wayland but I'm starting my dwm with startx command (don't know if it's important)
[edit] I just see that there is also an error with Vulkan.
Any idea ?
Thanks.

Last edited by jeudi (2024-06-01 13:43:41)


Devuan Daedalus 64bits - Ryzen 7 5700X - Radeon RX 7600 - 16Go RAM

Offline

#2 2024-06-01 14:22:28

jeudi
Member
Registered: 2024-05-24
Posts: 22  

Re: Retroarch crashes when loading 3D games

I tried with a PS1 rom, it starts.


Devuan Daedalus 64bits - Ryzen 7 5700X - Radeon RX 7600 - 16Go RAM

Offline

#3 2024-06-01 14:31:43

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 76  
Website

Re: Retroarch crashes when loading 3D games

have you tried user interface / enable advanced settings (YES) / Retroarch / settings / core / allow core to change video driver (OFF) ?

This is all that comes from the top of my head smile


Just a simple man!

Offline

#4 2024-06-01 15:49:53

jeudi
Member
Registered: 2024-05-24
Posts: 22  

Re: Retroarch crashes when loading 3D games

I tried both On/Off. Nothing works.
I found a post on the official forum, okay this person is on Mac but this is quite interesting. Maybe as him, OpenGL misses some functionnality on Daedalus (not up-to-date enough). On Arch, I didn't had problems. So, probably with the next release of Devuan it will work.
How can I see which version of OpenGL has Devuan, please ?

I will still post on their forum and I will come back if I found a solution.


Devuan Daedalus 64bits - Ryzen 7 5700X - Radeon RX 7600 - 16Go RAM

Offline

#5 2024-06-01 16:23:17

golinux
Administrator
Registered: 2016-11-25
Posts: 3,302  

Re: Retroarch crashes when loading 3D games

Online

#6 2024-06-01 16:48:58

jeudi
Member
Registered: 2024-05-24
Posts: 22  

Re: Retroarch crashes when loading 3D games

I feel dumb... Thank you : )

The requirements for libretro/Dolphin (for example) is OpenGL or OpenGL ES 3 or higher. So, that's not the problem.

~$ apt-cache show retroarch
Package: retroarch
Version: 1.14.0+dfsg-1
Installed-Size: 13839
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Architecture: amd64
Depends: fonts-dejavu-core, libretro-core-info, retroarch-assets (>= 1.7.6+git20221024+dfsg), libasound2 (>= 1.0.18), libavcodec59 (>= 7:5.0), libavformat59 (>= 7:5.0), libavutil57 (>= 7:5.0), libc6 (>= 2.34), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.17), libegl1, libflac12 (>= 1.3.0), libfreetype6 (>= 2.2.1), libgbm1 (>= 8.1~0), libgcc-s1 (>= 3.0), libgl1, libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libpulse0 (>= 0.99.1), libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.2.0) | libqt5gui5-gles (>= 5.2.0), libqt5network5 (>= 5.14.1), libqt5widgets5 (>= 5.15.1), libsdl2-2.0-0 (>= 2.0.12), libstdc++6 (>= 11), libswresample4 (>= 7:5.0), libswscale6 (>= 7:5.0), libudev1 (>= 183), libv4l-0 (>= 0.5.0), libwayland-client0 (>= 1.20.0), libwayland-cursor0 (>= 1.0.2), libwayland-egl1 (>= 1.15.0), libx11-6, libxext6, libxinerama1 (>= 2:1.1.4), libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.2), libxv1, libxxf86vm1, zlib1g (>= 1:1.1.4)
Homepage: https://www.libretro.com/
Recommends: libgamemode0
Description-fr: frontal simple pour la bibliothèque libretro
 RetroArch est un frontal multiplateforme, au code source ouvert, pour
 l’interface de programmation applicative de libretro. Il peut être utilisé
 comme système modulaire pour plusieurs émulateurs, moteurs de jeux,
 lecteurs multimédia et démonstrations techniques en 3D. Ces fonctions sont
 disponibles en utilisant des cœurs de libretro.
 .
 Ce paquet fournit quatre interfaces graphiques internes : Ozone, RGUI, XMB
 et GLUI.
Description-md5: db15b920f515be08567631eca43bdd93
Suggests: xdg-utils
Tag: uitoolkit::qt, uitoolkit::sdl
Section: otherosfs
Priority: optional
Filename: pool/DEBIAN/main/r/retroarch/retroarch_1.14.0+dfsg-1_amd64.deb
Size: 2662896
MD5sum: 0b571f1b7257ef5eb5b51cf1e021f722
SHA256: d97280b51547ed9b834cb3d0103a209bd08eb05db55f439ca337bf5b055b8c18

I don't think it's because of this but I don't have xdg-utils.
[edit] Installing xdg-utils didn't help.

Last edited by jeudi (2024-06-02 09:04:57)


Devuan Daedalus 64bits - Ryzen 7 5700X - Radeon RX 7600 - 16Go RAM

Offline

#7 2024-06-01 18:00:48

jeudi
Member
Registered: 2024-05-24
Posts: 22  

Re: Retroarch crashes when loading 3D games

I registered on the forums but can't post. There are conditions to be allow to post and it's just.....
So, I'll keep searching.


Devuan Daedalus 64bits - Ryzen 7 5700X - Radeon RX 7600 - 16Go RAM

Offline

#8 2024-06-02 02:50:32

golinux
Administrator
Registered: 2016-11-25
Posts: 3,302  

Re: Retroarch crashes when loading 3D games

@jeudi . . . don't be so hard on yourself. It takes time to get familiar with where resources are located on a new-to-you forum. wink

Online

#9 2024-06-02 09:04:01

jeudi
Member
Registered: 2024-05-24
Posts: 22  

Re: Retroarch crashes when loading 3D games

@golinux Thanks. I used to be a lurker, I have to learn forums rules. x)
And I didn't try to solved my computing problems without reinstalling everything since a long time, it's quite new for me. So, I have to take the habit to think, search and solve.


Devuan Daedalus 64bits - Ryzen 7 5700X - Radeon RX 7600 - 16Go RAM

Offline

Board footer