Please see my log file after Mednafen crashes
RetroArch [INFO] :: === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: Jul 31 2016
RetroArch [INFO] :: Version: 1.3.6
RetroArch [INFO] :: Git: 170e484
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Looking for config in: “/storage/.config/retroarch/retroarch.cfg”.
RetroArch [INFO] :: Config: loading config from: /storage/.config/retroarch/retroarch.cfg.
RetroArch [INFO] :: Resetting undo buffers.
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] :: Found shader “/usr/share/common-shaders/bilinear.glslp”
RetroArch [INFO] :: Found shader “/usr/share/common-shaders/nearest.glslp”
RetroArch [INFO] :: Found shader “/usr/share/common-shaders/stock.glsl”
RetroArch [INFO] :: Video @ 960x720
RetroArch [INFO] :: Starting threaded video driver …
RetroArch [INFO] :: [DRM]: Found 5 connectors.
RetroArch [INFO] :: [DRM]: Connector 0 connected: yes
RetroArch [INFO] :: [DRM]: Connector 0 has 20 modes.
RetroArch [INFO] :: [DRM]: Connector 0 assigned to monitor index: #1.
RetroArch [INFO] :: [DRM]: Connector 1 connected: no
RetroArch [INFO] :: [DRM]: Connector 1 has 0 modes.
RetroArch [INFO] :: [DRM]: Connector 2 connected: no
RetroArch [INFO] :: [DRM]: Connector 2 has 0 modes.
RetroArch [INFO] :: [DRM]: Connector 3 connected: no
RetroArch [INFO] :: [DRM]: Connector 3 has 0 modes.
RetroArch [INFO] :: [DRM]: Connector 4 connected: no
RetroArch [INFO] :: [DRM]: Connector 4 has 0 modes.
RetroArch [INFO] :: [DRM]: Mode 0: (1920x1080) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 1: (1680x1050) 1680 x 1050, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 2: (1280x1024) 1280 x 1024, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 3: (1280x1024) 1280 x 1024, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 4: (1440x900) 1440 x 900, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 5: (1280x960) 1280 x 960, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 6: (1280x720) 1280 x 720, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 7: (1024x768) 1024 x 768, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 8: (1024x768) 1024 x 768, 70 Hz
RetroArch [INFO] :: [DRM]: Mode 9: (1024x768) 1024 x 768, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 10: (832x624) 832 x 624, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 11: (800x600) 800 x 600, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 12: (800x600) 800 x 600, 72 Hz
RetroArch [INFO] :: [DRM]: Mode 13: (800x600) 800 x 600, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 14: (800x600) 800 x 600, 56 Hz
RetroArch [INFO] :: [DRM]: Mode 15: (640x480) 640 x 480, 75 Hz
RetroArch [INFO] :: [DRM]: Mode 16: (640x480) 640 x 480, 73 Hz
RetroArch [INFO] :: [DRM]: Mode 17: (640x480) 640 x 480, 67 Hz
RetroArch [INFO] :: [DRM]: Mode 18: (640x480) 640 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 19: (720x400) 720 x 400, 70 Hz
RetroArch [INFO] :: Found GL context: kms
RetroArch [INFO] :: Detecting screen resolution 1920x1080.
RetroArch [INFO] :: [EGL]: EGL version: 1.4
RetroArch [INFO] :: [EGL]: Current context: 0x7fe5781214c0.
RetroArch [INFO] :: [KMS]: New FB: 1920x1080 (stride: 7680).
RetroArch [INFO] :: [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel® Haswell Desktop .
RetroArch [INFO] :: [GL]: Version: 3.0 Mesa 11.2.0-rc1.
RetroArch [INFO] :: Querying GL extension: ARB_ES2_compatibility => exists
RetroArch [INFO] :: Querying GL extension: ARB_sync => exists
RetroArch [INFO] :: Querying GL extension: ARB_texture_float => exists
RetroArch [INFO] :: Querying GL extension: EXT_texture_sRGB => exists
RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_sRGB => exists
RetroArch [INFO] :: GL: Using resolution 1920x1080
RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
RetroArch [INFO] :: Checking GLSL shader support …
RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: [GL]: Using 4 textures.
RetroArch [INFO] :: [GL]: Loaded 1 program(s).
RetroArch [INFO] :: [GL]: Using GL_RGB565 for texture uploads.
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch [WARN] :: [udev]: Couldn’t open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
RetroArch [INFO] :: [udev]: Plugged pad: Microsoft X-Box 360 pad (1118:654) on port #0.
RetroArch [INFO] :: Autodetect: 125 profiles found
RetroArch [INFO] :: Autodetect: selected configuration: /tmp/joypads/udev/Microsoft_X-Box_360_pad.cfg
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event9) supports force feedback.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event9) supports 16 force feedback effects.
RetroArch [INFO] :: Found joypad driver: “udev”.
RetroArch [INFO] :: ALSA: Using signed 16-bit format.
RetroArch [INFO] :: ALSA: Period size: 1024 frames
RetroArch [INFO] :: ALSA: Buffer size: 2048 frames
RetroArch [INFO] :: Found menu display driver: “menu_display_gl”.
RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_object => exists
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: SRAM will not be saved.
RetroArch [INFO] :: null: [/storage/.config/retroarch/content_history.lpl].
RetroArch [INFO] :: [KMS]: New FB: 1920x1080 (stride: 7680).
RetroArch [INFO] :: [KMS]: New FB: 1920x1080 (stride: 7680).