RetroELEC Kodi+Wayland+Emulationstation+RetroArch (x86/XU4/RPi)
-
escalade -
May 12, 2016 at 2:26 PM -
Thread is Resolved
-
-
I get lots of those as well they can be ignored. Music plays fine here, did you set up your asound.conf?
-
Yes asound.conf is set up. If i play a song he continues skipping to the next one and says song not available.
Edit: I had a error in asound.conf. Corrected and now is working. Thanks
-
-
Three updates to one release. Nice.
-
Third time's a charm?
-
That's odd, I guess one of two things is happening:- Freezing Kodi prevents the script from running any further (shouldn't happen as emulationstation.start is spawned as a separate process by systemd)
- Freezing Kodi somehow occupies the framebuffer on the Pi preventing Emulationstation to spawn
Could you try the following command through SSH on any build:
Code# echo step 1 && kodi-send --action="RunScript(/usr/bin/audio-suspend.py)" && echo step 2 && usleep 500000 && echo step 3 && killall -SIGSTOP kodi.bin && echo step 4 && emulationstation --debug && echo step 5 && killall -SIGCONT kodi.bin && echo step 6 && kodi-send --action="RunScript(/usr/bin/audio-resume.py)"
Then paste the output here?
Here you go. This is a self-compiled version based upon 20161204 (all I have done in my custom build is temporarily revert docker and mono until I implement a proper solution). I should also add that emulationstation got stuck on the splash screen until I sent a reboot command via ssh.
Code
Display MoreLibreELEC:~ # echo step 1 && kodi-send --action="RunScript(/usr/bin/audio-suspen d.py)" && echo step 2 && usleep 500000 && echo step 3 && killall -SIGSTOP kodi.b in && echo step 4 && emulationstation --debug && echo step 5 && killall -SIGCONT kodi.bin && echo step 6 && kodi-send --action="RunScript(/usr/bin/audio-resume. py)" step 1 Sending action: RunScript(/usr/bin/audio-suspend.py) step 2 step 3 step 4 ConfigPath /storage/.config/emulationstation lvl2: EmulationStation - v2.0.1a, built Dec 4 2016 - 15:17:41 lvl2: Creating surface... lvl2: Created window successfully. lvl2: Checking available OpenGL extensions... lvl2: ARB_texture_non_power_of_two: MISSING lvl2: Loading system config file /storage/.config/emulationstation/es_systems.cfg... lvl1: System "amiga" has no games! Ignoring it. lvl1: System "c64" has no games! Ignoring it. lvl1: Unknown platform for system "fba" (platform "fba" from list "fba") lvl1: System "mame" has no games! Ignoring it. lvl1: System "psp" has no games! Ignoring it. lvl1: Unknown platform for system "tg16" (platform "tg16" from list "tg16") lvl1: Unknown platform for system "tg-cd" (platform "tg-cd" from list "tg-cd") lvl1: Error - folder with path ""/storage/roms/zxspectrum"" is not a directory! lvl1: System "zxspectrum" has no games! Ignoring it.
Quote
Also test the 20161208-2 build for the RPi which reverts to the old behaviour of fully stopping Kodi.
20161208-3 launches emulationstation ok, however, no roms will successfully launch now....and I found the log for retroarch. Looks like its segfaulting.
Code
Display MoreRetroArch [INFO] :: === Build ======================================= Capabilities: NEON VFPv3 VFPv4 Built: Dec 7 2016 RetroArch [INFO] :: Version: 1.3.6 RetroArch [INFO] :: Git: 07a9a75 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: Loading default config. RetroArch [INFO] :: Looking for config in: "/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: 30000.01 Hz. RetroArch [INFO] :: Found shader "/tmp/shaders/bilinear.glslp" RetroArch [INFO] :: Found shader "/tmp/shaders/nearest.glslp" RetroArch [INFO] :: Found shader "/tmp/shaders/stock.glsl" RetroArch [INFO] :: Video @ fullscreen RetroArch [INFO] :: Starting threaded video driver ... RetroArch [INFO] :: [EGL]: EGL version: 1.4 RetroArch [INFO] :: [EGL]: Current context: 0x1. RetroArch [INFO] :: Found GL context: videocore RetroArch [INFO] :: Detecting screen resolution 1920x1080. RetroArch [INFO] :: [EGL]: eglSwapInterval(1) RetroArch [INFO] :: [EGL]: eglSwapInterval(1) RetroArch [INFO] :: [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. RetroArch [INFO] :: [GL]: Version: OpenGL ES 2.0. RetroArch [INFO] :: GL: Using resolution 1920x1080 RetroArch [INFO] :: [GL]: Default shader backend found: glsl. RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Linker log: ERROR:LEX/PARSE-2 (fragment shader, line 11) Undefined identifier RetroArch [ERROR] :: Failed to link program #24. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: [GL]: Using 4 textures. RetroArch [INFO] :: [GL]: Loaded 1 program(s). RetroArch [INFO] :: Querying EGL extension: KHR_image => exists RetroArch [INFO] :: Using font rendering backend: bitmap. glGetError 0x501 RetroArch [ERROR] :: GL: Invalid value. Segmentation fault (core dumped)
And why not one more edit for the night...after recompiling with the latest retroarch git:
-
hi!Thx for this great Job! I just have a Question, hope its not so nooby
PSX just shows Black-Screen at start, i just put all Bios Version to the Bios Folder!
Controller will be init. (Yellow Text at right side)! .cue .bin Files are correct!Any Tipp?
thx for the help, it was the wrong bios! Retroarch in this Version only accepts the following bios versions (everything must written small)
scph7501
scph7502
scph7503but i have another problem, Sound with alsa is very crappy (only PSX,Nintendo64)! changend the Audio Driver in the retroarch.cfg,
but alsa is still the best, cause the other ones are stuttering! also changed the Output rate from 48000 to 41 etc...... tried many things out but no Change!
is there anything u can say about this?
I have a Zotac ZBOX CI323 nano:
http://www.zotac.com/us/product/min…ci323-nano#spec....fixexd by using pcsx_rearmed_libretro.so instead of mednafen_psx_libretro.so
Thank You
Mediacenter
[hr]
another Thing is...The Simply IP TV Client works but i have not Dolby Digital Output as i had before with Kodi Jarvis 6.1!
Just PCM shows up on the Receiver! Passthrough is acivated and it works with MKV Files (also DTSX without Troubles)!
Under the Audio Settings i tried everythig out! Also if i switch Audiotrack on ip tv, somtimes i get no Sound anymore, then i need to restart stream!.......fixed this by setting the output from ts to hls! DD works now on IPTV
Thank You for any help!
Mediacenter
-
What about Emulationstation logs? Did you try other emulators than RA, like amiga/c64? And I need more details, more logs, more roms tested. I do not have an RPi so it won't get fixed without more info. Also just stick to my builds, libxcb.so.1 is included in mine, this gets confusing if you're rolling your own with your own set of problems.
Basically, from the test you did looks like Kodi can't simply be frozen on the RPi probably because of no X and windowmanager and overlapping windows. That's fine though we can just stop Kodi like before, which it should do properly in 20161208-3. I need more info. Did Kodi get stopped properly? Try launching emulators manually, other roms/cores, etc.
-
What about Emulationstation logs? Did you try other emulators than RA, like amiga/c64?
Emulationstation launched succesfully. I've only been using RetroArch so far. Haven't had interest in the other emulators.
And I need more details, more logs, more roms tested. I do not have an RPi so it won't get fixed without more info. Also just stick to my builds, libxcb.so.1 is included in mine, this gets confusing if you're rolling your own with your own set of problems.
Just rolling my own temporarily to preserve a few things the way they were before removing mono and docker. Once I get that resolved, I'll be back to your compiled builds.
Basically, from the test you did looks like Kodi can't simply be frozen on the RPi probably because of no X and windowmanager and overlapping windows. That's fine though we can just stop Kodi like before, which it should do properly in 20161208-3. I need more info. Did Kodi get stopped properly? Try launching emulators manually, other roms/cores, etc.
I'll work on it again tonight and report back any progress and/or additional logs. -
Ok, thanks. If Emulationstation started properly that means Kodi was stopped successfully as well. Looking at my freeze script it does look correct now, so I'm thinking the retroarch segfault you got was maybe caused by something else. Should be easy to pinpoint by running it manually and looking at logs. There hasn't been any other significant changes other than the Kodi freeze/stop function.
Anyone else with a RPi running 20161208-3?
-
Can some one please help me with locating Moonlight addon for LE on RPi 3? It was in one of defaults repos (probably LE repo). And it was working quite well! After last update of LE (this one wihout default Mono) I thought I would reinstall Moonlight from add-on, to make it work. I did the opposite. I cant locate this addon in defaults repos, and all instalations scripts that I can find in internet arent compatible.
-
It doesn't seem to build, I get an error about ICECCallbacks. I see that libcec was updated recently don't know if that's related.
EDIT: Indeed. Here you go: open?id=0BwN5wYLU-0BeOFdFUXNDSWQxcjA
-
I'm getting the same RetroArch segfault as Jaykass when trying to launch a ROM.
-
What ROM? Can you try to run it manually?
[hr]
I've uploaded a new build 20161209 with rolled back RetroArch version, could you try that please? -
Hi Escalade,
There is a nvidia 304 on your download link, i use it daily and ig works like a charm, i have an old nvidia card and have issues with latest drivers.
I would like to update this build, and dont care to selfcompile it if you dont want to compil it.
I looked at your github but didndt find which commit to revert or anything else to do to get it done...
could you help me
And yeah i knwo i should get new hardware as core 2duo+nvidia 520 is getting pretty old, but cant help myself from waiting for zen ?, im a believer.
bibi -
Here you go
-
thanks for the awesome build..
Have a question.. is there a way to update to the latest build without installing it fresh from a usb drive. If so how? I have quite a bit of settings done.
I am using the 1127 version of the Generic build and everything is working great that I need to except for chrome. I got an error in the log about a lib file. I was hoping the latest build would fix that...
Quote
/opt/google/chrome/chrome: error while loading shared libraries: libxcb.so.1thx,
T -