Pandora EmulationStation with retroarch 1.7.2 question(s)


sm0kew0n

Very Active Member
Joined
Apr 13, 2016
Messages
372
Location
Hiigara
Hi, it appears I've reached the limit of my (limited) knowledge trying to wrangle this setup to work. So far I can mount the ES pnd and automount RA and NesEmu (using ptitSebs code from codeblocks). From ES I can load nes games fine but anything using RA fails at some point. The best I can manage is to load a core and ROM but then activation of RA graphics input driver fails (pnd.out below).

Loading ES -
Code:
#!/bin/sh

pwd="/mnt/utmp/EmulationStation"

export PATH=$pwd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:$PATH
export LD_LIBRARY_PATH=$pwd/lib:$LD_LIBRARY_PATH
export HOME="$pwd" XDG_CONFIG_HOME="$pwd"
export SDL_AUDIODRIVER="alsa"
export LIBGL_FB=1

if [ ! -d "$HOME/roms" ];then
    cp -r $HOME/share/roms $HOME
fi

if [ ! -d "$HOME/.emulationstation" ];then
    cp -r $HOME/share/.emulationstation $HOME
fi

#Automount of other PND

#NesEmu
pnd_cb="com.explusalpha.NesEmu#0"
pnd_folder="NesEmu"
pnd_name="NesEmu"
if [ -e /mnt/utmp/$pnd_folder/x.png ];then
 NesEmu=1
 mounted="Found $pnd_name"
else
#check if it exist
if [ ! -e /usr/share/applications/$pnd_cb.desktop ];then
 #no nesemu....
 mounted="$pnd_name not found"
else
#grab where is the pnd
pnd_path=$(sed -n 's/.*X-Pandora-Object-Path *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb.desktop)
pnd_name=$(sed -n 's/.*X-Pandora-Object-Filename *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb.desktop)
path_to_pnd="$pnd_path/$pnd_name"
 
#automount it
/usr/pandora/scripts/pnd_run.sh -p "$path_to_pnd" -b "$pnd_folder" -m
sleep 2
NesEmu=2
nesemupnd="$path_to_pnd"
mounted="$mounted
Mounted $pnd_name"
fi
fi

#Retroarch
pnd_cb="retroarch_ptitseb#0"
pnd_folder="retroarch"
pnd_name="Retroarch"
if [ -e /mnt/utmp/$pnd_folder/.version ];then
 retroarch=1
 mounted="Found $pnd_name"
else
#check if it exist
if [ ! -e /usr/share/applications/$pnd_cb.desktop ];then
 #no retroarch....
 mounted="$pnd_name not found"
else
#grab where is the pnd
pnd_path=$(sed -n 's/.*X-Pandora-Object-Path *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb.desktop)
pnd_name=$(sed -n 's/.*X-Pandora-Object-Filename *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb.desktop)
path_to_pnd="$pnd_path/$pnd_name"
 
#automount it
/usr/pandora/scripts/pnd_run.sh -p "$path_to_pnd" -b "$pnd_folder" -m
sleep 2
retroarch=2
retroarchpnd="$path_to_pnd"
mounted="$mounted
Mounted $pnd_name"
fi
fi


notify-send -t 5000 "$mounted"

cd $HOME
[ -e "$HOME/scripts/pre_script.sh" ] && . $HOME/scripts/pre_script.sh
if [ -e "$HOME/scripts/post_script.sh" ];then
    ./bin/emulationstation
    . $HOME/scripts/post_script.sh
else
    exec ./bin/emulationstation
fi

es_systems.cfg (only for GBA) -
Code:
<system>
        <name>gba</name>
        <fullname>Game Boy Advance</fullname>
        <path>~/roms/gba</path>
        <extension>.gba .GBA .sh</extension>
        <command>~/run_RA.sh %ROM%</command>
        <platform>gba</platform>
        <theme>gba</theme>
    </system>

The file invoked by es_systems.cfg -
Code:
#!/bin/sh



export PATH=/mnt/utmp/retroarch
export LD_LIBRARY_PATH=/mnt/utmp/retroarch/lib:/usr/lib
export HOME=$PATH
export XKB_CONFIG_ROOT="$PATH/share/X11/xkb":"/usr/share/X11/xkb"
export SDL_HINT_VIDEO_ALLOW_SCREENSAVER=0
export SDL_HINT_GRAB_KEYBOARD=1
export LIBGL_FB=1
export LIBGL_ES=2
export LIBGL_BATCH=1


cd /mnt/utmp/retroarch/bin

exec ./retroarch --verbose --config /media/32/pandora/appdata/retroarch/retroarch.cfg -L /mnt/utmp/retroarch/cores/mgba_libretro.so $@

and the results of the choke -
Code:
=======================================================================================
PND             : /media/32/pandora/menu/EmulationStation.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/32/pandora/appdata/EmulationStation
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : scripts/run_ES.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/EmulationStation"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/32/pandora/appdata/EmulationStation=rw+nolwh":"/mnt/pnd/EmulationStation=rr" none "/mnt/utmp/EmulationStation"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( scripts/run_ES.sh  ) ----------
WARNING Union already mounted, using it
+++++++
Loopback devices :
/dev/loop0: [b301]:370 (/media/32/pandora/menu/EmulationStation.pnd)
/dev/loop1: [b301]:266 (/media/32/pandora/menu/com.explusalpha.NesEmu.pnd)
/dev/loop2: [b301]:368 (/media/32/pandora/menu/retroarch_ptitseb.pnd)
Are mounted on :
/dev/loop1 on /mnt/utmp/NesEmu type squashfs (ro,relatime)
/dev/loop2 on /mnt/utmp/retroarch type squashfs (ro,relatime)
/dev/loop0 on /mnt/utmp/EmulationStation type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/NesEmu type aufs (rw,relatime,si=10317255,noplink)
none on /mnt/utmp/retroarch type aufs (rw,relatime,si=1e4c2a55,noplink)
none on /mnt/utmp/EmulationStation type aufs (rw,relatime,si=3002655,noplink)

[B]#### A game is chosen ####[/B]
[INFO] Redirecting save file to "/mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.srm".
[INFO] Redirecting savestate to "/mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.state".
[INFO] === Build =======================================
Capabilities: NEON VFPv3
Built: Apr 27 2018
[INFO] Version: 1.7.2
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "/mnt/utmp/retroarch/cores/mgba_libretro.so"
[INFO] [overrides] no core-specific overrides found at /mnt/utmp/EmulationStation/retroarch/config/mGBA/mGBA.cfg.
[INFO] [overrides] no game-specific overrides found at /mnt/utmp/EmulationStation/retroarch/config/mGBA/Advanced_Wars.cfg.
[INFO] Shaders: preset directory: /mnt/utmp/EmulationStation/retroarch/shaders/presets
[INFO] Shaders: no game-specific preset found at /mnt/utmp/EmulationStation/retroarch/shaders/presets/mGBA/Advanced_Wars.cgp.
[INFO] Shaders: no game-specific preset found at /mnt/utmp/EmulationStation/retroarch/shaders/presets/mGBA/Advanced_Wars.glslp.
[INFO] Shaders: no parent-dir-specific preset found at /mnt/utmp/EmulationStation/retroarch/shaders/presets/mGBA/gba.cgp.
[INFO] Shaders: no parent-dir-specific preset found at /mnt/utmp/EmulationStation/retroarch/shaders/presets/mGBA/gba.glslp.
[INFO] Shaders: no core-specific preset found at /mnt/utmp/EmulationStation/retroarch/shaders/presets/mGBA/mGBA.cgp.
[INFO] Shaders: no core-specific preset found at /mnt/utmp/EmulationStation/retroarch/shaders/presets/mGBA/mGBA.glslp.
[INFO] Environ SET_VARIABLES.
[INFO] Remaps: remap directory: /mnt/utmp/EmulationStation/retroarch/config/remaps
[INFO] Remaps: no game-specific remap found at /mnt/utmp/EmulationStation/retroarch/config/remaps/mGBA/Advanced_Wars.rmp.
[INFO] Remaps: no core-specific remap found at /mnt/utmp/EmulationStation/retroarch/config/remaps/mGBA/mGBA.rmp.
[INFO] Redirecting save file to "/mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.srm".
[INFO] Redirecting savestate to "/mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.state".
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Environ SET_INPUT_DESCRIPTORS:
[INFO]     RetroPad, User 1, Button "B (bottom)" => "B"
[INFO]     RetroPad, User 1, Button "Y (left)" => "Turbo B"
[INFO]     RetroPad, User 1, Button "Select" => "Select"
[INFO]     RetroPad, User 1, Button "Start" => "Start"
[INFO]     RetroPad, User 1, Button "D-Pad Up" => "Up"
[INFO]     RetroPad, User 1, Button "D-Pad Down" => "Down"
[INFO]     RetroPad, User 1, Button "D-Pad Left" => "Left"
[INFO]     RetroPad, User 1, Button "D-Pad Right" => "Right"
[INFO]     RetroPad, User 1, Button "A (right)" => "A"
[INFO]     RetroPad, User 1, Button "X (up)" => "Turbo A"
[INFO]     RetroPad, User 1, Button "L" => "L"
[INFO]     RetroPad, User 1, Button "R" => "R"
[INFO]     RetroPad, User 1, Button "L2" => "Turbo L"
[INFO]     RetroPad, User 1, Button "R2" => "Turbo R"
[INFO]     RetroPad, User 1, Button "L3" => "Darken Solar Sensor"
[INFO]     RetroPad, User 1, Button "R3" => "Brighten Solar Sensor"
[INFO] Environ GET_RUMBLE_INTERFACE.
[INFO] Environ GET_LOG_INTERFACE.
[INFO] Loading content file: /mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.GBA.
[INFO] Did not find a valid content patch.
[INFO] CRC32: 0xdbef116c .
[INFO] Environ GET_VARIABLE mgba_gb_model:
[INFO]     Autodetect
[INFO] Environ GET_VARIABLE mgba_use_bios:
[INFO]     ON
[INFO] Environ GET_VARIABLE mgba_skip_bios:
[INFO]     OFF
[INFO] Environ GET_VARIABLE mgba_sgb_borders:
[INFO]     ON
[INFO] Environ GET_VARIABLE mgba_frameskip:
[INFO]     0
[INFO] Environ GET_VARIABLE mgba_idle_optimization:
[INFO]     Remove Known
[INFO] Environ GET_VARIABLE mgba_frameskip:
[INFO]     0
[WARN] SYSTEM DIR is empty, assume CONTENT DIR /mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.GBA
[INFO] Environ SYSTEM_DIRECTORY: "/mnt/utmp/EmulationStation/roms/gba/".
[INFO] Environ SET_MEMORY_MAPS.
[INFO]    ndx flags  ptr          offset   start    select   disconn  len      addrspace
[INFO]    001 M1A1bc 0x42ebb000 00000000 03000000 FF000000 00000000 00008000
[INFO]    002 M1A1bc 0x42e7b000 00000000 02000000 FF000000 00000000 00040000
[INFO]    003 M1A1bc 0x43426000 00000000 0E000000 FFFF0000 00000000 00010000
[INFO]    004 M1A1bC 0x43966000 00000000 08000000 FFC00000 00000000 00400000
[INFO]    005 M1A1bC 0x43966000 00000000 0A000000 FFC00000 00000000 00400000
[INFO]    006 M1A1bC 0x43966000 00000000 0C000000 FFC00000 00000000 00400000
[INFO]    007 M1A1bC 0x42f7c338 00000000 00000000 FFFFC000 00000000 00004000
[INFO]    008 M1A1bc 0x433a1000 00000000 06000000 FF000000 00000000 00018000
[INFO]    009 M1A1bc 0x42de5a24 00000000 05000000 FF000000 00000000 00000400
[INFO]    010 M1A1bc 0x42de5e28 00000000 07000000 FF000000 00000000 00000400
[INFO]    011 M1A1bc 0x42de5020 00000000 04000000 FFFFFC00 00000000 00000400
[INFO] Environ SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [CHEEVOS]: system RAM: 0x42e7b000 262144
[INFO] [CHEEVOS]: save RAM:   0x43426000 65536
[INFO] [CHEEVOS]: video RAM:  0x433a1000 98304
[INFO] [CHEEVOS]: RTC:        (nil) 0
Failed to open /mnt/utmp/EmulationStation/roms/gba/Advanced_Wars.srm: No such file or directory
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 32884.61 Hz.
[INFO] [Video]: Video @ 720x480
[INFO] [EGL] Falling back to eglGetDisplay
WSEGL_InitialiseDisplay: DRI2OpenConnection failed
[ERROR] [EGL]: #0x3001, Unknown
[INFO] [SDL_GL] SDL 2.0.8 gfx context driver initialized.
[INFO] [GL]: Found GL context: sdl_gl
[INFO] [GL]: Detecting screen resolution 800x480.
sh: sudo: not found
sh: sudo: not found
[INFO] [GL]: Vendor: Imagination Technologies, Renderer: PowerVR SGX 530.
[INFO] [GL]: Version: OpenGL ES 2.0 build 1.10@2359475.
LIBGL: Initialising gl4es
LIBGL: v1.0.6 built on Apr 27 2018 14:51:32
LIBGL: framebuffer output enabled
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_multi_draw_arrays detected
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Extension GL_EXT_texture_rg detected and used
LIBGL: Extension GL_OES_texture_float detected and used
LIBGL: Extension GL_OES_fragment_precision_high detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 2048
LIBGL: Max Varying Vector: 8
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is Imagination Technologies
LIBGL: Targeting OpenGL 2.0
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: Trying to batch subsequent glDrawXXXX of size < 10 vertices
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Current folder is:/mnt/utmp/retroarch/bin
glXGetProcAddress: glXGetSwapIntervalMESA not found.
glXGetProcAddress: glBlendBarrierKHR not found.
glXGetProcAddress: glDebugMessageControlKHR not found.
glXGetProcAddress: glDebugMessageInsertKHR not found.
glXGetProcAddress: glDebugMessageCallbackKHR not found.
glXGetProcAddress: glGetDebugMessageLogKHR not found.
glXGetProcAddress: glPushDebugGroupKHR not found.
glXGetProcAddress: glPopDebugGroupKHR not found.
glXGetProcAddress: glObjectLabelKHR not found.
glXGetProcAddress: glGetObjectLabelKHR not found.
glXGetProcAddress: glObjectPtrLabelKHR not found.
glXGetProcAddress: glGetObjectPtrLabelKHR not found.
glXGetProcAddress: glGetPointervKHR not found.
glXGetProcAddress: glGetGraphicsResetStatusKHR not found.
glXGetProcAddress: glReadnPixelsKHR not found.
glXGetProcAddress: glGetnUniformfvKHR not found.
glXGetProcAddress: glGetnUniformivKHR not found.
glXGetProcAddress: glGetnUniformuivKHR not found.
glXGetProcAddress: glEGLImageTargetTexture2DOES not found.
glXGetProcAddress: glEGLImageTargetRenderbufferStorageOES not found.
glXGetProcAddress: glCopyImageSubDataOES not found.
glXGetProcAddress: glEnableiOES not found.
glXGetProcAddress: glDisableiOES not found.
glXGetProcAddress: glBlendEquationiOES not found.
glXGetProcAddress: glBlendEquationSeparateiOES not found.
glXGetProcAddress: glBlendFunciOES not found.
glXGetProcAddress: glBlendFuncSeparateiOES not found.
glXGetProcAddress: glColorMaskiOES not found.
glXGetProcAddress: glIsEnablediOES not found.
glXGetProcAddress: glDrawElementsBaseVertexOES not found.
glXGetProcAddress: glDrawRangeElementsBaseVertexOES not found.
glXGetProcAddress: glDrawElementsInstancedBaseVertexOES not found.
glXGetProcAddress: glMultiDrawElementsBaseVertexOES not found.
glXGetProcAddress: glFramebufferTextureOES not found.
glXGetProcAddress: glGetProgramBinaryOES not found.
glXGetProcAddress: glProgramBinaryOES not found.
glXGetProcAddress: glMapBufferOES not found.
glXGetProcAddress: glUnmapBufferOES not found.
glXGetProcAddress: glGetBufferPointervOES not found.
glXGetProcAddress: glPrimitiveBoundingBoxOES not found.
glXGetProcAddress: glMinSampleShadingOES not found.
glXGetProcAddress: glPatchParameteriOES not found.
glXGetProcAddress: glTexImage3DOES not found.
glXGetProcAddress: glTexSubImage3DOES not found.
glXGetProcAddress: glCopyTexSubImage3DOES not found.
glXGetProcAddress: glCompressedTexImage3DOES not found.
glXGetProcAddress: glCompressedTexSubImage3DOES not found.
glXGetProcAddress: glFramebufferTexture3DOES not found.
glXGetProcAddress: glTexParameterIivOES not found.
glXGetProcAddress: glTexParameterIuivOES not found.
glXGetProcAddress: glGetTexParameterIivOES not found.
glXGetProcAddress: glGetTexParameterIuivOES not found.
glXGetProcAddress: glSamplerParameterIivOES not found.
glXGetProcAddress: glSamplerParameterIuivOES not found.
glXGetProcAddress: glGetSamplerParameterIivOES not found.
glXGetProcAddress: glGetSamplerParameterIuivOES not found.
glXGetProcAddress: glTexBufferOES not found.
glXGetProcAddress: glTexBufferRangeOES not found.
glXGetProcAddress: glTexStorage3DMultisampleOES not found.
glXGetProcAddress: glTextureViewOES not found.
glXGetProcAddress: glBindVertexArrayOES not found.
glXGetProcAddress: glDeleteVertexArraysOES not found.
glXGetProcAddress: glGenVertexArraysOES not found.
glXGetProcAddress: glIsVertexArrayOES not found.
glXGetProcAddress: glViewportArrayvOES not found.
glXGetProcAddress: glViewportIndexedfOES not found.
glXGetProcAddress: glViewportIndexedfvOES not found.
glXGetProcAddress: glScissorArrayvOES not found.
glXGetProcAddress: glScissorIndexedOES not found.
glXGetProcAddress: glScissorIndexedvOES not found.
glXGetProcAddress: glDepthRangeArrayfvOES not found.
glXGetProcAddress: glDepthRangeIndexedfOES not found.
glXGetProcAddress: glGetFloati_vOES not found.
glXGetProcAddress: glDrawArraysInstancedBaseInstanceEXT not found.
glXGetProcAddress: glDrawElementsInstancedBaseInstanceEXT not found.
glXGetProcAddress: glDrawElementsInstancedBaseVertexBaseInstanceEXT not found.
glXGetProcAddress: glBindFragDataLocationIndexedEXT not found.
glXGetProcAddress: glBindFragDataLocationEXT not found.
glXGetProcAddress: glGetProgramResourceLocationIndexEXT not found.
glXGetProcAddress: glGetFragDataIndexEXT not found.
glXGetProcAddress: glBufferStorageEXT not found.
glXGetProcAddress: glClearTexImageEXT not found.
glXGetProcAddress: glClearTexSubImageEXT not found.
glXGetProcAddress: glCopyImageSubDataEXT not found.
glXGetProcAddress: glLabelObjectEXT not found.
glXGetProcAddress: glGetObjectLabelEXT not found.
glXGetProcAddress: glInsertEventMarkerEXT not found.
glXGetProcAddress: glPushGroupMarkerEXT not found.
glXGetProcAddress: glPopGroupMarkerEXT not found.
glXGetProcAddress: glDiscardFramebufferEXT not found.
glXGetProcAddress: glGenQueriesEXT not found.
glXGetProcAddress: glDeleteQueriesEXT not found.
glXGetProcAddress: glIsQueryEXT not found.
glXGetProcAddress: glBeginQueryEXT not found.
glXGetProcAddress: glEndQueryEXT not found.
glXGetProcAddress: glQueryCounterEXT not found.
glXGetProcAddress: glGetQueryivEXT not found.
glXGetProcAddress: glGetQueryObjectivEXT not found.
glXGetProcAddress: glGetQueryObjectuivEXT not found.
glXGetProcAddress: glDrawBuffersEXT not found.
glXGetProcAddress: glEnableiEXT not found.
glXGetProcAddress: glDisableiEXT not found.
glXGetProcAddress: glBlendEquationiEXT not found.
glXGetProcAddress: glBlendFunciEXT not found.
glXGetProcAddress: glColorMaskiEXT not found.
glXGetProcAddress: glIsEnablediEXT not found.
glXGetProcAddress: glDrawElementsBaseVertexEXT not found.
glXGetProcAddress: glDrawRangeElementsBaseVertexEXT not found.
glXGetProcAddress: glDrawElementsInstancedBaseVertexEXT not found.
glXGetProcAddress: glMultiDrawElementsBaseVertexEXT not found.
glXGetProcAddress: glDrawArraysInstancedEXT not found.
glXGetProcAddress: glDrawElementsInstancedEXT not found.
glXGetProcAddress: glFramebufferTextureEXT not found.
glXGetProcAddress: glVertexAttribDivisorEXT not found.
glXGetProcAddress: glMapBufferRangeEXT not found.
glXGetProcAddress: glFlushMappedBufferRangeEXT not found.
glXGetProcAddress: glMultiDrawArraysIndirectEXT not found.
glXGetProcAddress: glMultiDrawElementsIndirectEXT not found.
glXGetProcAddress: glFramebufferTexture2DMultisampleEXT not found.
glXGetProcAddress: glReadBufferIndexedEXT not found.
glXGetProcAddress: glDrawBuffersIndexedEXT not found.
glXGetProcAddress: glGetIntegeri_vEXT not found.
glXGetProcAddress: glPolygonOffsetClampEXT not found.
glXGetProcAddress: glPrimitiveBoundingBoxEXT not found.
glXGetProcAddress: glRasterSamplesEXT not found.
glXGetProcAddress: glGetGraphicsResetStatusEXT not found.
glXGetProcAddress: glReadnPixelsEXT not found.
glXGetProcAddress: glGetnUniformfvEXT not found.
glXGetProcAddress: glGetnUniformivEXT not found.
glXGetProcAddress: glActiveShaderProgramEXT not found.
glXGetProcAddress: glBindProgramPipelineEXT not found.
glXGetProcAddress: glCreateShaderProgramvEXT not found.
glXGetProcAddress: glDeleteProgramPipelinesEXT not found.
glXGetProcAddress: glGenProgramPipelinesEXT not found.
glXGetProcAddress: glGetProgramPipelineInfoLogEXT not found.
glXGetProcAddress: glGetProgramPipelineivEXT not found.
glXGetProcAddress: glIsProgramPipelineEXT not found.
glXGetProcAddress: glProgramParameteriEXT not found.
glXGetProcAddress: glProgramUniform1fEXT not found.
glXGetProcAddress: glProgramUniform1fvEXT not found.
glXGetProcAddress: glProgramUniform1iEXT not found.
glXGetProcAddress: glProgramUniform1ivEXT not found.
glXGetProcAddress: glProgramUniform2fEXT not found.
glXGetProcAddress: glProgramUniform2fvEXT not found.
glXGetProcAddress: glProgramUniform2iEXT not found.
glXGetProcAddress: glProgramUniform2ivEXT not found.
glXGetProcAddress: glProgramUniform3fEXT not found.
glXGetProcAddress: glProgramUniform3fvEXT not found.
glXGetProcAddress: glProgramUniform3iEXT not found.
glXGetProcAddress: glProgramUniform3ivEXT not found.
glXGetProcAddress: glProgramUniform4fEXT not found.
glXGetProcAddress: glProgramUniform4fvEXT not found.
glXGetProcAddress: glProgramUniform4iEXT not found.
glXGetProcAddress: glProgramUniform4ivEXT not found.
glXGetProcAddress: glProgramUniformMatrix2fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix3fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix4fvEXT not found.
glXGetProcAddress: glUseProgramStagesEXT not found.
glXGetProcAddress: glValidateProgramPipelineEXT not found.
glXGetProcAddress: glProgramUniform1uiEXT not found.
glXGetProcAddress: glProgramUniform2uiEXT not found.
glXGetProcAddress: glProgramUniform3uiEXT not found.
glXGetProcAddress: glProgramUniform4uiEXT not found.
glXGetProcAddress: glProgramUniform1uivEXT not found.
glXGetProcAddress: glProgramUniform2uivEXT not found.
glXGetProcAddress: glProgramUniform3uivEXT not found.
glXGetProcAddress: glProgramUniform4uivEXT not found.
glXGetProcAddress: glProgramUniformMatrix2x3fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix3x2fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix2x4fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix4x2fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix3x4fvEXT not found.
glXGetProcAddress: glProgramUniformMatrix4x3fvEXT not found.
glXGetProcAddress: glFramebufferPixelLocalStorageSizeEXT not found.
glXGetProcAddress: glGetFramebufferPixelLocalStorageSizeEXT not found.
glXGetProcAddress: glClearPixelLocalStorageuiEXT not found.
glXGetProcAddress: glTexPageCommitmentEXT not found.
glXGetProcAddress: glPatchParameteriEXT not found.
glXGetProcAddress: glTexParameterIivEXT not found.
glXGetProcAddress: glTexParameterIuivEXT not found.
glXGetProcAddress: glGetTexParameterIivEXT not found.
glXGetProcAddress: glGetTexParameterIuivEXT not found.
glXGetProcAddress: glSamplerParameterIivEXT not found.
glXGetProcAddress: glSamplerParameterIuivEXT not found.
glXGetProcAddress: glGetSamplerParameterIivEXT not found.
glXGetProcAddress: glGetSamplerParameterIuivEXT not found.
glXGetProcAddress: glTexBufferEXT not found.
glXGetProcAddress: glTexBufferRangeEXT not found.
glXGetProcAddress: glTexStorage1DEXT not found.
glXGetProcAddress: glTexStorage2DEXT not found.
glXGetProcAddress: glTexStorage3DEXT not found.
glXGetProcAddress: glTextureStorage1DEXT not found.
glXGetProcAddress: glTextureStorage2DEXT not found.
glXGetProcAddress: glTextureStorage3DEXT not found.
glXGetProcAddress: glTextureViewEXT not found.
glXGetProcAddress: glFramebufferTextureMultiviewOVR not found.
glXGetProc[INFO] [GL]: Using resolution 720x480
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.
WARNING: 0:13: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results
WARNING: 1 compilation warnings.


[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Success.

[INFO] [GLSL]: Linking GLSL program.
[INFO] Resetting shader to defaults ...
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [Font]: Using font rendering backend: bitmap.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[ERROR] Currently active window is not an X11 window. Cannot use this driver.
[ERROR] [Video]: Cannot initialize input driver. Exiting ...
[ERROR] Fatal error received in: "video_driver_init_input()"
[ERROR] This core requires a content file, could not load content.

Address: glFramebufferTextureMultisampleMultiviewOVR not found.
[B]#### ES after this line ####[/B]
LIBGL: Initialising gl4es
LIBGL: v1.0.7 built on May 11 2018 18:00:53
LIBGL: framebuffer output enabled
LIBGL: Using GLES 1.1 backend
LIBGL:loaded: libGLES_CM.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 1.1 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_OES_framebuffer_object detected and used
LIBGL: Extension GL_OES_point_sprite detected and used
LIBGL: Extension GL_OES_point_size_array detected
LIBGL: Extension GL_OES_texture_cube_map detected and used
LIBGL: Extension GL_OES_blend_subtract detected and used
LIBGL: Extension GL_OES_blend_func_separate detected and used
LIBGL: Extension GL_OES_blend_equation_separate detected and used
LIBGL: Extension GL_OES_texture_mirrored_repeat detected and used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_multi_draw_arrays detected
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_draw_texture detected and used
LIBGL: Max texture size: 2048
LIBGL: Texture Units: 4(4), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is Imagination Technologies
LIBGL: Targeting OpenGL 1.5
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Current folder is:/mnt/utmp/EmulationStation
glXGetProcAddress: glXGetSwapIntervalMESA not found.
LIBGL: Enable LIBGL_VSYNC=1 if you want to use vsync.
LIBGL: Enable LIBGL_VSYNC=1 if you want to use vsync.
==============================================
==============================================
glXGetProcAddress: glXGetSwapIntervalMESA not found.
LIBGL: Enable LIBGL_VSYNC=1 if you want to use vsync.
LIBGL: Enable LIBGL_VSYNC=1 if you want to use vsync.
[SUCCESS]--- Starting the application ( scripts/run_ES.sh  ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- Restoring nub mode ----------
[SUCCESS]--- Restoring nub mode ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
rmdir: failed to remove `/mnt/utmp/EmulationStation': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 9
Bold are my edits.

Obviously there is some warnings and errors in .out file but bugger me if can figure it out (I suspect though that ES and RA use the same graphics driver and don't like sharing???). If anyone could perhaps just point me in the right direction that would be great.

Cheers.
 
It's only a guess but it sounds likely that Emulation Station is hogging the gl driver.
I guess in the launching process ES should be told to kill itself as it launches the emulator and started up at emulator exist?
 
Hi..i saw that you mount serveral PNDs for launching it?

How about Build a PND which have all Files/Emulators inside?

Maybe some Startscripts are too much differrent and this may cause your Errors?

It would be much more easy for us Users when you build one PND which have all Inside.

Multiple PND Mountings are often more complicated ;)
 
How about Build a PND which have all Files/Emulators inside?

Okay, so this works. Anyone mind chiming in regarding the etiquette of doing it this way. Also is it enough to have just retroarch and ES? Probably with all those cores...
 
Okay, so this works. Anyone mind chiming in regarding the etiquette of doing it this way. Also is it enough to have just retroarch and ES? Probably with all those cores...
Well I think @canseco is currently porting releases of retroarch, so I would have a chat with him for a collaborative effort?

Doesn't stop you extracting the PND and getting things working in the meantime! ;)
 
Back
Top