Issue with launching retrosmc on kodi v19

As above you can see that it should be working now if you run the latest version of the script. Except for a few RPi4 users finding they must install the RetroPie gpg keys manually.

thanks my apologies that I couldnā€™t find our PMs I am still a bit new to the site thank you for updating this piece of software I will be testing it shortly

hi I had the same issue with gpg keys and found this did work

sudo gpg --keyserver keyserver.ubuntu.com --recv-keys DC9D77FF8208FFC51D8F50CCF1B030906A3B0D31

IDK if it would be good to add this to the script as the key might change

I did find that post when I was trying to debug the issue for you all. Their issue highlighted a port problem. They changed protocol in the script and that was the end of it.

My point is, the command is already in the RetroPie-Setup script. What is unclear is why, on your platform, you have to run it manually.

Edit: All good! Itā€™s working for now. Just trying to figure out how to connect bluetooth gamepads now

Iā€™m a relative beginner at all of this, so forgive me if this is a dumb answer butā€¦

I followed this thread to get retrosmc installed on my RPi4 and, at the manual gpg command that @sulti and @thedigi321 suggest, I discovered that OSMC did not have gpg installed on it. Once I installed that, the manual command worked and RetroPie is now working (albeit slowly and laggy with the same V3D IDENT0 error that @sulti mentions)

Could it be that your code just needs another line to install gpg first for the RPi4?

@sulti @kalieneris

Iā€™m having the exact same problems with the lag and Couldnā€™t get V3D IDENT0: No such device

Did you have any luck finding a fix?

Unfortunately no.
Eventualy I came with solution based on PINN (GitHub - procount/pinn: An enhanced Operating System installer for the Raspberry Pi) which allowed me to partition my SD Card: I have OSMC on one partition and Batocera (for gaming) on another.
I did some tinkering and I have ā€œGAMESā€ option in OSMC menu, which changes PINN autoboot partition value and then reboots into Batocera. The same thing on the other side - position ā€œOSMCā€ in Batocera changes againt autoboot value and reboots back to OSMC.

Post logs - we should be able to find the issue.

Iā€™ll have to have another go because I borked mine trying to fix it.

Do you think it could be a 64 vs 32bit thing?

No idea without any logs.

Hopefully I have done this right.

paste.osmc.tv/upurakujeg

So rebuilt to pretty much where I was before. Still the same thing. The Emulationstation log is just your normal loadining of games lists etc.

Same here. Iā€™m running RetroPie on RPI4 with OSMC 2021.11-2, and seeing exactly the same error:

Couldn't get V3D IDENT0: No such device

on every launch from Emulation Station. The Emulation Station itself is quite laggy, comparing to the similar setup on RPI3 running from RetroPie image.

While Iā€™m having both boxes configured and reachable, Iā€™d be glad to follow any guidances in order to find the root cause of the issue with video lagging.

Iā€™m not familiar with RetroPie good enough in order to spot a place (or places) to collect any logs, so highly appreciate any advices here.

UPDATE: uhmm:

top - 21:33:41 up 4 min,  1 user,  load average: 3.76, 1.93, 0.78
Tasks: 153 total,   1 running, 152 sleeping,   0 stopped,   0 zombie
%Cpu(s): 91.0 us,  2.9 sy,  0.0 ni,  6.2 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3794.0 total,   3312.7 free,    147.4 used,    333.9 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.   3569.5 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                 
  713 osmc      20   0  214488  86072  42048 S 367.9   2.2  12:13.22 emulationstatio                                                                                         
  743 osmc      20   0    9768   2744   2204 R   1.9   0.1   0:00.04 top             

Emulation Station is eating all the CPU cores doing something. Nothing major in logs though:

osmc@rpi4-osmc:/opt/retropie/supplementary/emulationstation$ cat /opt/retropie/configs/all/emulationstation/es_log.txt
Dec 19 21:30:28 lvl2: 	EmulationStation - v2.10.0rp, built Dec 19 2021 - 10:54:44
Dec 19 21:30:28 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
Dec 19 21:30:29 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
Dec 19 21:30:29 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
Dec 19 21:30:29 lvl2: 	Creating window...
Dec 19 21:30:30 lvl2: 	Created window successfully.
Dec 19 21:30:30 lvl2: 	GL vendor:   VMware, Inc.
Dec 19 21:30:30 lvl2: 	GL renderer: llvmpipe (LLVM 7.0, 128 bits)
Dec 19 21:30:30 lvl2: 	GL version:  3.1 Mesa 18.3.6
Dec 19 21:30:30 lvl2: 	Checking available OpenGL extensions...
Dec 19 21:30:30 lvl2: 	 ARB_texture_non_power_of_two: ok
Dec 19 21:30:31 lvl2: 	Loading system config file /etc/emulationstation/es_systems.cfg...
Dec 19 21:30:31 lvl1: 	System "atari2600" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "arcade" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "atari5200" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "atari7800" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "atari800" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	Error - folder with path "/home/osmc/RetroPie/roms/channelf" is not a directory!
Dec 19 21:30:31 lvl1: 	Error - folder with path "/home/osmc/RetroPie/roms/coleco" is not a directory!
Dec 19 21:30:31 lvl1: 	System "atarilynx" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "coleco" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "channelf" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "fba" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "fds" has no games! Ignoring it.
Dec 19 21:30:31 lvl2: 	Parsing XML file "/home/osmc/.emulationstation/gamelists/gamegear/gamelist.xml"...
Dec 19 21:30:31 lvl1: 	System "gb" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "gba" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "gbc" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "mastersystem" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	Error - folder with path "/home/osmc/RetroPie/roms/msx" is not a directory!
Dec 19 21:30:31 lvl1: 	System "megadrive" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "mame-libretro" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "msx" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "n64" has no games! Ignoring it.
Dec 19 21:30:31 lvl2: 	Parsing XML file "/home/osmc/.emulationstation/gamelists/nes/gamelist.xml"...
Dec 19 21:30:31 lvl1: 	System "neogeo" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "ngp" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "ngpc" has no games! Ignoring it.
Dec 19 21:30:31 lvl2: 	Parsing XML file "/home/osmc/.emulationstation/gamelists/retropie/gamelist.xml"...
Dec 19 21:30:31 lvl1: 	System "pcengine" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "psx" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "sega32x" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "segacd" has no games! Ignoring it.
Dec 19 21:30:31 lvl2: 	Parsing XML file "/home/osmc/.emulationstation/gamelists/snes/gamelist.xml"...
Dec 19 21:30:31 lvl1: 	System "sg-1000" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "vectrex" has no games! Ignoring it.
Dec 19 21:30:31 lvl1: 	System "zxspectrum" has no games! Ignoring it.

UPDATE 2: I have enabled ā€œshow FPSā€ in ES settings and Iā€™m seeing that FPS is around 6.8-7.2 which is quite low. Perhaps something wrong with video driver / renderer?

I think itā€™s just a by product of OSMC being based on a newer base. Retropie hasnā€™t caught up and isnā€™t optimised.

I did have a thought last night though. I remembered the original Retrosmc at one time ran chrootā€™d .

I havenā€™t got enough experience of doing that though to know if doing that on a Pi4 would fix the issue.

Well, both based on Debian 10 ā€œbusterā€. OSMC uses its own kernel though.
Possible way to go would be set up Retropie running on exactly the same hardware box and compare its behavior. I donā€™t think Iā€™ll have enough time to participate into that, but Iā€™ll definitely provide an update if/when Iā€™ll find anything on this topic.

In the meantime Iā€™m open to any advise on what could I obtain on running installation of OSMC+retropie on the single box in order to help troubleshoot the issue with CPU hog in ES.

OSMC though is 64bit and RPie is still 32bit.

I believe and willing to be corrected there are a few drivers different between the two that RPie doesnā€™t cope well with the 64bit ones.

If you set up a fresh RPie on the same hardware it will obviously be on the base OS itā€™s optimised for and will play nicw.

I had both running via PINNs until the Memory card decided to crap out. Havenā€™t bothered to go back and rebuild it yet.

Thatā€™s not correct. All userlands are armhf (32 bit)

Really?

How come uname -m says aarch64?

The kernel is 64-bit on some devices, but the userland is armhf.

Hi All! Unfortunately I have still the V3D IDENT0 error (and very low FPS in emulationstation) with the latest OSMC and Kodi 19. Anyone had solution for this?