libretro / mupen64plus-libretro

Mupen64 Plus libretro core that stays compatible with upstream.
GNU General Public License v2.0
35 stars 35 forks source link

Crash on start [...].srm: No such file or directory #22

Closed PowaBanga closed 5 years ago

PowaBanga commented 7 years ago
retroarch -L '/home/powabanga/.config/retroarch/cores/mupen64plus_libretro3.so' '/home/powabanga/Games/super-smash-bros/Super Smash Bros. (U) [!].z64' 
Failed to open /home/powabanga/Games/super-smash-bros/Super Smash Bros. (U) [!].srm: No such file or directory
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  57
  Current serial number in output stream:  56

what is this error ??? on ubuntu 17.04 amd64, and compiled from this github

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46577608-crash-on-start-srm-no-such-file-or-directory?utm_campaign=plugin&utm_content=tracker%2F53677400&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F53677400&utm_medium=issues&utm_source=github).
allanin commented 7 years ago

I can confirm this error. Also checked out latest version of mupen64plus.

It does not depend on special characters in the filename.

AndDT commented 7 years ago

retroarch -L /usr/lib/libretro/mupen64plus_libretro.so /home/anddt/RetroArch/N64/Doom\ 64\ (E)\ [!].z64 Failed to open /home/anddt/.config/retroarch/save/Doom 64 (E) [!].srm: No such file or directory X Error of failed request: GLXBadFBConfig Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 34 () Serial number of failed request: 33 Current serial number in output stream: 32

I have a weak intel i915 graphics adapter in OpenGL 2.1 mode. ~/.drirc: `

` So, does this core require OpenGL 3+?

P.S. anddt@fastnote:[~] $ retroarch --version
RetroArch: Frontend for libretro -- v1.6.7Compiler: GCC (7.2.0) 32-bitBuilt: Aug 26 2017

fastnote:[~] $ retroarch --features

Features: LibretroDB: LibretroDB support: yes Command: Command interface support: yes Network Command: Network Command interface support: yes SDL: SDL input/audio/video drivers: no SDL2: SDL2 input/audio/video drivers: yes X11: X11 input/video drivers: yes wayland: Wayland input/video drivers: no Threads: Threading support: yes Vulkan: Vulkan video driver: yes OpenGL: OpenGL video driver support: yes OpenGL ES: OpenGLES video driver support: no XVideo: Video driver: yes UDEV: UDEV/EVDEV input driver support: yes EGL: Video context driver: yes KMS: Video context driver: yes OpenVG: Video context driver: no CoreAudio: Audio driver: no ALSA: Audio driver: yes OSS: Audio driver: yes Jack: Audio driver: yes RSound: Audio driver: no RoarAudio: Audio driver: no PulseAudio: Audio driver: yes DirectSound: Audio driver: no WASAPI: Audio driver: no XAudio2: Audio driver: no OpenAL: Audio driver: yes OpenSL: Audio driver: no 7zip: 7zip extraction support: yes zlib: .zip extraction support: yes External: External filter and plugin support: yes Cg: Fragment/vertex shader driver: no GLSL: Fragment/vertex shader driver: yes HLSL: Fragment/vertex shader driver: yes libxml2: libxml2 XML parsing: yes SDL_image: SDL_image image loading: no rpng: PNG image loading/encoding: yes rjpeg: JPEG image loading: yes FBO: OpenGL render-to-texture (multi-pass shaders): yes Dynamic: Dynamic run-time loading of libretro library: yes FFmpeg: On-the-fly recording of gameplay with libavcodec: no FreeType: TTF font rendering driver: yes CoreText: TTF font rendering driver (for OSX and/or iOS): no Netplay: Peer-to-peer netplay: yes Python: Script support in shaders: no Libusb: Libusb support: yes Cocoa: Cocoa UI companion support (for OSX and/or iOS): no Qt: Qt UI companion support: no AVFoundation: Camera driver: no Video4Linux2: Camera driver: yes


Core version is 20170930_262871b

AndDT commented 7 years ago

Rebuilt core with DEBUG=1 (-O0), it crashes anyway.

AndDT commented 7 years ago

anddt@fastnote:[~] $ retroarch -v
[INFO] === Build ======================================= Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 Built: Aug 26 2017 [INFO] Version: 1.6.7 [INFO] ================================================= [INFO] [Config]: Loading default config. [INFO] [Config]: loading config from: (null). [INFO] Looking for config in: "/home/anddt/.config/retroarch/retroarch.cfg". [INFO] Environ SET_PIXEL_FORMAT: RGB565. [INFO] Redirecting save file to "/home/anddt/.config/retroarch/save/.srm". [INFO] Redirecting savestate to "/home/anddt/.config/retroarch/state/.state". [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 29970.03 Hz. [INFO] [Video]: Video @ 320x240 [INFO] [Video]: Starting threaded video driver ... [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 2720x1024. [INFO] [GLX]: X = 0, Y = 0, W = 320, H = 240. [INFO] [GLX]: Found swap function: glXSwapIntervalMESA.

[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) 945GM x86/MMX/SSE2. [INFO] [GL]: Version: 2.1 Mesa 17.2.1. [INFO] [GL]: Using resolution 1280x987 [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] Linker log: warning: Couldn't flatten if-statement. This will likely result in software rasterization.

[INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Font]: Using font rendering backend: freetype. [INFO] [ALSA]: Using signed 16-bit format. [INFO] [ALSA]: Period size: 1024 frames [INFO] [ALSA]: Buffer size: 8192 frames [INFO] [ALSA]: Can pause: no. [INFO] SRAM will not be saved. [INFO] Loading history file: [/home/anddt/.config/retroarch/content_history.lpl]. [INFO] Loading history file: [/home/anddt/.config/retroarch/content_favorites.lpl]. [INFO] Loading history file: [/home/anddt/.config/retroarch/content_music_history.lpl]. [INFO] Loading history file: [/home/anddt/.config/retroarch/content_image_history.lpl]. Bus error 135|anddt@fastnote:[~] $

AndDT commented 7 years ago

non-libretro mupen64plus also fails to start with the same issue: GLXBadFBConfig Seems my slackware-current let me down, because mupen64plus worked in slackware 14.1

loganmc10 commented 7 years ago

GLideN64 requires OpenGL 3.3

gtmartin69 commented 6 years ago

I have the same exact issue, only I'm using retropie in Ubuntu and it fails to install mupen64plus with the same. Old i915 driver and the only way I can get it to actually load a game is to use this command first and it only works on 3.0 for me, "MESA_GL_VERSION_OVERRIDE=3.0". A forced install through apt-get allowed me to finally get mupen64plus to install. Ubuntu 16.04 updated and the latest mesa from x-swat/updates.