Video initialization error on old notebook
-
I have used Retropie for a while, on Raspberry Pi, desktop computers, hybdrid graphics notebooks, etc. Usually I'm able to find the solutions to the issues I encounter, but I haven't been able to figure this one out, so I would like to ask for your help.
I'm running Retropie on an old notebook (Lenovo Ideapad Z360, circa 2010) running Linx Mint 20.1 (which is based on Ubuntu 20.04 LTS). This notebook has a Nvidia dGPU, but I disabled it on the BIOS, because I was having several issues related to lack of support for old Nvidia cards on Linux. Therefore, everything (including Retropie and Retroarch) is running on the iGPU:
Graphics: Device-1: Intel Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0046 Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 20.2.6 direct render: Yes
Most emulators run with no issue, including for modern consoles such as Jaguar (lr-virtualjaguar), Saturn (lr-beetle-saturn), 3DO (lr-opera), GBA (lr-mgba), etc. However the following emulators fail to initalize: lr-beetle-psx, lr-mupen64plus-next. The PS1 bios files are where they are supposed to be.
Here's the verbose log:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-beetle-psx/mednafen_psx_hw_libretro.so --config /opt/retropie/configs/psx/retroarch.cfg "/home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).chd" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.8.8 (Git 9552f87) [INFO] Redirecting save file to "/home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).srm". [INFO] Redirecting save state to "/home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).state". [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 [INFO] Built: Mar 20 2021 [INFO] Version: 1.8.8 [INFO] Git: 9552f87 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-beetle-psx/mednafen_psx_hw_libretro.so" [INFO] [Overrides] no core-specific overrides found at /home/joaoluiz/.config/retroarch/config/Beetle PSX HW/Beetle PSX HW.cfg. [INFO] [Overrides] no content-dir-specific overrides found at /home/joaoluiz/.config/retroarch/config/Beetle PSX HW/psx.cfg. [INFO] [Overrides] no game-specific overrides found at /home/joaoluiz/.config/retroarch/config/Beetle PSX HW/Battle Arena Toshinden (USA).cfg. [INFO] [Environ]: GET_LANGUAGE: "0". [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. [INFO] Core requested VFS version >= v1, providing v3 [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Remaps]: remap directory: /opt/retropie/configs/psx/ [INFO] Redirecting save file to "/home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).srm". [INFO] Redirecting save state to "/home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).state". [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/joaoluiz/RetroPie/BIOS". [INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE. [INFO] [Environ]: GET_PERF_INTERFACE. [INFO] [Environ]: PERFORMANCE_LEVEL: 15. [INFO] Content loading skipped. Implementation will load it on its own. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: GET_RUMBLE_INTERFACE. [libretro INFO] Rumble interface supported! [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] [Environ]: SET_CONTROLLER_INFO. [libretro INFO] Loading /home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).chd... [libretro INFO] chd_load '/home/joaoluiz/RetroPie/roms/psx/Battle Arena Toshinden (USA).chd' hunkbytes=19584 [libretro INFO] chd_read_toc: finished [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port1.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port2.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port3.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port4.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port5.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port6.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port7.gun_chairs [WARN] [Environ]: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port8.gun_chairs [libretro INFO] Checking if required firmware is present... [libretro INFO] Firmware found: /home/joaoluiz/RetroPie/BIOS/scph5501.bin [libretro INFO] Firmware SHA1: 0555C6FAE8906F3F09BAF5988F00E55F88E9F30B [INFO] [Environ]: GET_PREFERRED_HW_RENDER. [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] [Environ]: SET_HW_RENDER. [INFO] Requesting core OpenGL context (3.3). [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /home/joaoluiz/.config/retroarch/cheats/Beetle PSX HW/Battle Arena Toshinden (USA).cht [INFO] [Audio]: Set audio input rate to: 44228.26 Hz. [INFO] [Video]: Video @ 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] [GL]: Found GL context: x [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [GLX]: Window manager is Xfwm4. [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.3. [WARN] [GLX]: X error message: GLXBadFBConfig, request code: 152, minor code: 34 [ERROR] [GLX]: Failed to create new context. [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [XINERAMA]: Saved monitor #0. [ERROR] [Video]: Cannot open video driver ... Exiting ... [ERROR] Fatal error received in: "init_video()"
The first error mentions Wayland, which is odd, because I'm running Xfce on Xorg (X11). I assume this is not relevant, because I get the same error with lr-beetle-saturn, and it runs fine.
But then there is a GLX error, and then a video error. I get the exact same errors for the lr-mupen64plus-next emulator, but I don't get these errors with lr-beetle-saturn.
Could someone please point me in the right direction?
-
@joaoluiz said in Video initialization error on old notebook:
[INFO] Requesting core OpenGL context (3.3).
...
[INFO] [GLX]: Creating context for requested version 3.3.
[WARN] [GLX]: X error message: GLXBadFBConfig, request code: 152, minor code: 34
[ERROR] [GLX]: Failed to create new context.The emulator requests an OpenGL 3.3 (core) context, which your iGPU doesn't support.
OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 20.2.6
-
@mitu Thank you! Is there a way around it?
-
@joaoluiz Use another emulator for N64/PS1. For Saturn, I'm not sure there's an alternative at the moment - I think
lr-kronos
(the other Saturn emulator available) also requires OpenGL support. -
@mitu Thank you, I will try that. Regarding Sega Saturn emulation, I think you misread me: lr-beetle-saturn works just fine.
-
@mitu Quick update: lr-pcsx-rearmed and lr-parallel-n64 worked.
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.