Segmentation Fault

So this is what happens.

ulno@sapi:~$ retroarch Segmentation fault

Im running an IBM Thinkpad x60 Xubuntu 16.10 32-bit 1gb ram

Here’s the log I get: RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 MMX MMXEXT SSE1 SSE2 SSE3 Built: May 4 2016 RetroArch [INFO] :: Version: 1.3.4 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 RetroArch [INFO] :: Looking for config in: “/home/ulno/.config/retroarch/retroarch.cfg”. RetroArch [WARN] :: screenshot_directory is not an existing directory, ignoring … RetroArch [WARN] :: SYSTEM DIR is empty, assume CONTENT DIR RetroArch [INFO] :: Config: loading config from: /home/ulno/.config/retroarch/retroarch.cfg. RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz. RetroArch [INFO] :: Video @ 960x720 RetroArch [ERROR] :: Failed to connect to Wayland server. RetroArch [INFO] :: Found GL context: x RetroArch [INFO] :: Detecting screen resolution 1024x768. RetroArch [INFO] :: [GLX]: X = 0, Y = 0, W = 960, H = 720.

Any suggestions?

Try opening your retroarch.cfg in a text editor and changing menu_driver = “xmb” to menu_driver = “rgui”

Seems to be the same for all menu drivers. I tried rgui, zarch, glui as well. And for good measure, here’s the log for running with rgui instad of xmb. Looks the same to me.

RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 MMX MMXEXT SSE1 SSE2 SSE3 Built: May 4 2016 RetroArch [INFO] :: Version: 1.3.4 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 RetroArch [INFO] :: Looking for config in: “/home/ulno/.config/retroarch/retroarch.cfg”. RetroArch [WARN] :: screenshot_directory is not an existing directory, ignoring … RetroArch [WARN] :: SYSTEM DIR is empty, assume CONTENT DIR RetroArch [INFO] :: Config: loading config from: /home/ulno/.config/retroarch/retroarch.cfg. RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz. RetroArch [INFO] :: Video @ 960x720 RetroArch [ERROR] :: Failed to connect to Wayland server. RetroArch [INFO] :: Found GL context: x RetroArch [INFO] :: Detecting screen resolution 1024x768. RetroArch [INFO] :: [GLX]: X = 0, Y = 0, W = 960, H = 720.

yeah that looks exactly the same…any other suggestions? :slight_smile:

Yeah, looks the same. Try changing video_driver from “gl” to “sdl2” or “xvideo”. If that doesn’t help, we should probably look into doing a backtrace via gdb.

This stumped me for a moment. In retroarch.cfg there’s no video_driver, so I added it in to change the value. I assume default is gl?

xvideo does the same thing no matter what menu_driver, it displays a yellowish artifact then disappears and the retroarch window goes blank. sdl2 does work for rgui, but now there’s no keyboard response. It seems that it’s working to the point where it displays things, but perhaps now it’s having trouble with input devices such as the keyboard? Here’s the log.

RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 MMX MMXEXT SSE1 SSE2 SSE3 Built: May 4 2016 RetroArch [INFO] :: Version: 1.3.4 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 RetroArch [INFO] :: Looking for config in: “/home/ulno/.config/retroarch/retroarch.cfg”. RetroArch [WARN] :: SYSTEM DIR is empty, assume CONTENT DIR RetroArch [INFO] :: Config: loading config from: /home/ulno/.config/retroarch/retroarch.cfg. RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz. RetroArch [INFO] :: Video @ 960x720 RetroArch [INFO] :: [SDL]: Available renderers (change with $SDL_RENDER_DRIVER): RetroArch [INFO] :: opengl RetroArch [INFO] :: opengles2 RetroArch [INFO] :: software RetroArch [INFO] :: [SDL]: Available displays: RetroArch [INFO] :: Display #0 mode: 1024x768@60hz. RetroArch [INFO] :: [SDL]: Creating window @ 960x720 RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: Suspending screensaver (X11). RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. RetroArch [INFO] :: [udev] Adding device /dev/input/event3 as type ID_INPUT_KEYBOARD. RetroArch [ERROR] :: [udev] Failed to open device: /dev/input/event3 (Permission denied). RetroArch [INFO] :: [udev] Adding device /dev/input/event5 as type ID_INPUT_MOUSE. RetroArch [ERROR] :: [udev] Failed to open device: /dev/input/event5 (Permission denied). RetroArch [INFO] :: [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE. RetroArch [ERROR] :: [udev] Failed to open device: /dev/input/mouse0 (Permission denied). RetroArch [WARN] :: [udev]: Couldn’t open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*? RetroArch [INFO] :: Found joypad driver: “udev”. RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 RetroArch [INFO] :: [PulseAudio]: Requested 24576 bytes buffer, got 18432. RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 RetroArch [INFO] :: Saving config at path: “/home/ulno/.config/retroarch/retroarch.cfg” RetroArch [INFO] :: Saved new config to “/home/ulno/.config/retroarch/retroarch.cfg”. RetroArch [INFO] :: SRAM will not be saved. RetroArch [INFO] :: null: [/home/ulno/.config/retroarch/content_history.lpl]. RetroArch [ERROR] :: cannot push NULL or empty core info into the playlist. RetroArch [INFO] :: [PulseAudio]: Pausing. Protocol error: bad 3 (Window); Sequence Number 5 Opcode (20, 0) = GetProperty Bad resource 622221361 (0x25165831) at -e line 15. RetroArch [INFO] :: Saving config at path: “/home/ulno/.config/retroarch/retroarch.cfg” RetroArch [INFO] :: Saved new config to “/home/ulno/.config/retroarch/retroarch.cfg”. RetroArch [INFO] :: [PulseAudio]: Pausing. RetroArch [INFO] :: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. RetroArch [INFO] :: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

I’m not so keen to try this as sudo as it shouldn’t be necessary. New thoughts and suggestions?

Hmm, udev permissions are usually only a problem when running without X. You can try following these directions and see if it helps: https://wiki.libretro.com/index.php?title=RetroArch#Setting_up_udev_permissions Other than that, you can try changing input_driver from “udev” to “linuxraw” or “sdl2”.

Resolved.

input_driver was changed to “sdl2” and now works with no issue other than some audio buffer

xmb still does not work. But I suppose that’s ok for now…unless you’re itching to figure it out,

I suspect it’s just a matter of poor GPU drivers. I think Intel shafts their pre-HD line these days.