RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Genesis Emulator not working properly on Ubuntu

    Scheduled Pinned Locked Moved Help and Support
    genesisretroarch
    3 Posts 2 Posters 557 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SubZ3r0S
      SubZ3r0
      last edited by

      I am currently trying to get ES up and running on a fresh/updated copy of Ubuntu 20.04.1 LTS and I have PS2, N64, GameCube emulators all working just fine. I also utilize ES on a Pi4b.

      I am trying to get the lr-genesis-plus-gx emulator working. When launching any ROM, it loads retroarch to a black screen. I can open the retroarch menu and make changes and exit retroarch back to ES, but no game actually loads. I have put the verbose logging below. I have tried Picodrive/Dgen and other Genesis emulators with no success. Any ideas on how to get the genesis emulator working?

      retropie@retropie-U:~$ /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so --config /opt/retropie/configs/megadrive/retroarch.cfg "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].bin" --appendconfig /dev/shm/retroarch.cfg --verbose
      [INFO] RetroArch 1.8.8 (Git 9552f87)
      [INFO] Redirecting save file to "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].srm".
      [INFO] Redirecting save state to "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].state".
      [INFO] === Build =======================================
      [INFO] CPU Model Name: AMD FX(tm)-8350 Eight-Core Processor
      [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
      [INFO] Built: Oct 13 2020
      [INFO] Version: 1.8.8
      [INFO] Git: 9552f87
      [INFO] =================================================
      [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so"
      [INFO] [Overrides] no core-specific overrides found at /home/retropie/.config/retroarch/config/Genesis Plus GX/Genesis Plus GX.cfg.
      [INFO] [Overrides] no content-dir-specific overrides found at /home/retropie/.config/retroarch/config/Genesis Plus GX/megadrive.cfg.
      [INFO] [Overrides] no game-specific overrides found at /home/retropie/.config/retroarch/config/Genesis Plus GX/Sonic the Hedgehog (JUE) [!].cfg.
      [INFO] [Environ]: GET_LANGUAGE: "0".
      [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
      [INFO] [Environ]: SET_CONTROLLER_INFO.
      [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
      [INFO] Core requested VFS version >= v1, providing v3
      [INFO] [Remaps]: remap directory: /opt/retropie/configs/megadrive/
      [INFO] Redirecting save file to "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].srm".
      [INFO] Redirecting save state to "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].state".
      [INFO] [Environ]: PERFORMANCE_LEVEL: 1.
      [INFO] [Environ]: GET_LOG_INTERFACE.
      [INFO] [Environ]: PERFORMANCE_LEVEL: 7.
      [INFO] Content loading skipped. Implementation will load it on its own.
      [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
      [libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555.
      [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/retropie/RetroPie/BIOS".
      [libretro INFO] Game Genie ROM should be located at: /home/retropie/RetroPie/BIOS/ggenie.bin
      [libretro INFO] Action Replay (Pro) ROM should be located at: /home/retropie/RetroPie/BIOS/areplay.bin
      [libretro INFO] Sonic & Knuckles (2 MB) ROM should be located at: /home/retropie/RetroPie/BIOS/sk.bin
      [libretro INFO] Sonic & Knuckles UPMEM (256 KB) ROM should be located at: /home/retropie/RetroPie/BIOS/sk2chip.bin
      [libretro INFO] Mega Drive TMSS BOOTROM should be located at: /home/retropie/RetroPie/BIOS/bios_MD.bin
      [libretro INFO] Game Gear TMSS BOOTROM should be located at: /home/retropie/RetroPie/BIOS/bios.gg
      [libretro INFO] Master System (PAL) BOOTROM should be located at: /home/retropie/RetroPie/BIOS/bios_E.sms
      [libretro INFO] Master System (NTSC-U) BOOTROM should be located at: /home/retropie/RetroPie/BIOS/bios_U.sms
      [libretro INFO] Master System (NTSC-J) BOOTROM should be located at: /home/retropie/RetroPie/BIOS/bios_J.sms
      [libretro INFO] Mega CD (PAL) BIOS should be located at: /home/retropie/RetroPie/BIOS/bios_CD_E.bin
      [libretro INFO] Sega CD (NTSC-U) BIOS should be located at: /home/retropie/RetroPie/BIOS/bios_CD_U.bin
      [libretro INFO] Mega CD (NTSC-J) BIOS should be located at: /home/retropie/RetroPie/BIOS/bios_CD_J.bin
      [libretro INFO] Mega CD (PAL) BRAM is located at: /home/retropie/RetroPie/roms/megadrive//scd_E.brm
      [libretro INFO] Sega CD (NTSC-U) BRAM is located at: /home/retropie/RetroPie/roms/megadrive//scd_U.brm
      [libretro INFO] Mega CD (NTSC-J) BRAM is located at: /home/retropie/RetroPie/roms/megadrive//scd_J.brm
      [libretro INFO] Sega/Mega CD RAM CART is located at: /home/retropie/RetroPie/roms/megadrive//cart.brm
      [libretro INFO] INFORMATION - Loading 34 bytes ...
      [INFO] Skipping SRAM load..
      [INFO] Version of libretro API: 1
      [INFO] Compiled against API: 1
      [INFO] [Cheats]: Load game-specific cheatfile: /home/retropie/.config/retroarch/cheats/Genesis Plus GX/Sonic the Hedgehog (JUE) [!].cht
      [INFO] [Audio]: Set audio input rate to: 44156.86 Hz.
      [INFO] [Video]: Video @ 1920x1080
      [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 GNOME Shell.
      [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]: Found swap function: glXSwapIntervalEXT.
      [INFO] [GLX]: glXSwapInterval(1)
      [INFO] [GL]: Vendor: nouveau, Renderer: NV137.
      [INFO] [GL]: Version: 4.3 (Compatibility Profile) Mesa 20.0.8.
      [INFO] [GL]: Using resolution 1920x1080
      [INFO] [GL]: Default shader backend found: glsl.
      [INFO] [Shaders]: preset directory: /home/retropie/.config/retroarch/config
      [INFO] [Shaders]: preset directory: /opt/retropie/configs/megadrive/
      [INFO] [Shaders]: preset directory: /home/retropie/.config/retroarch/shaders/presets
      [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] [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] [X11]: Suspending screensaver (X11, xdg-screensaver).
      [INFO] [Video]: Found display server: x11
      Protocol error: bad 3 (Window); Sequence Number 11
      Opcode (20, 0) = GetProperty
      Bad resource 0 (0x0)
      at -e line 16.
      [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
      [INFO] [Menu]: Found menu display driver: "gl".
      [INFO] [Font]: Using font rendering backend: freetype.
      [INFO] [Font]: Using font rendering backend: freetype.
      [INFO] [Font]: Using font rendering backend: freetype.
      [INFO] [Menu]: Found menu display driver: "gl".
      [INFO] [LED]: LED driver = 'null' 0x560cceefef00
      [INFO] [MIDI]: Initializing ...
      [INFO] [MIDI]: Input disabled.
      [INFO] [MIDI]: Output disabled.
      [INFO] [MIDI]: Initialized "alsa" driver.
      [INFO] Loading history file: [/opt/retropie/configs/megadrive/content_history.lpl].
      [INFO] Loading history file: [/opt/retropie/configs/megadrive/content_music_history.lpl].
      [INFO] Loading history file: [/opt/retropie/configs/megadrive/content_video_history.lpl].
      [INFO] Loading history file: [/opt/retropie/configs/megadrive/content_image_history.lpl].
      [INFO] Loading favorites file: [/opt/retropie/configs/megadrive/content_favorites.lpl].
      [INFO] [GL]: VSync => on
      [INFO] [GLX]: glXSwapInterval(1)
      [INFO] [GL]: VSync => on
      [INFO] [GLX]: glXSwapInterval(1)
      [INFO] [PulseAudio]: Pausing.
      [INFO] [PulseAudio]: Unpausing.
      [INFO] [Cheats]: Save game-specific cheatfile: /home/retropie/.config/retroarch/cheats/Genesis Plus GX/Sonic the Hedgehog (JUE) [!].cht
      [INFO] Saving RAM type #0 to "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].srm".
      [INFO] Saved successfully to "/home/retropie/RetroPie/roms/megadrive/Sonic the Hedgehog (JUE) [!].srm".
      [INFO] Content ran for a total of: 00 hours, 00 minutes, 05 seconds.
      [INFO] Unloading game..
      [INFO] [PulseAudio]: Pausing.
      [INFO] Unloading core..
      [INFO] Unloading core symbols..
      [INFO] [Core Options]: Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg"
      [INFO] [XINERAMA]: Xinerama version: 1.1.
      [INFO] [XINERAMA]: Xinerama screens: 1.
      [INFO] [XINERAMA]: Saved monitor #0.
      [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
      [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator
        last edited by

        @SubZ3r0 said in Genesis Emulator not working properly on Ubuntu:

        Protocol error: bad 3 (Window); Sequence Number 11

        possibly this issue https://github.com/libretro/RetroArch/issues/1521

        SubZ3r0S 1 Reply Last reply Reply Quote 0
        • SubZ3r0S
          SubZ3r0 @dankcushions
          last edited by

          @dankcushions Thanks, I'll head over there.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.