Kodi Community Forum
RetroPlayer Test Builds (updated for Nexus) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Game support (https://forum.kodi.tv/forumdisplay.php?fid=292)
+--- Thread: RetroPlayer Test Builds (updated for Nexus) (/showthread.php?tid=173361)



RE: RetroPlayer Test Builds (updated for Nexus) - garbear - 2023-08-23

I've uploaded new 20.2 stable releases: https://github.com/garbear/xbmc/releases

Changelog:
 
  • Fixed crash in Player Viewer when changing ports
  • Fixed Guide button on Windows

No new alpha builds, I'll wait until v21 Alpha 3 in the next week or so for new alpha builds.


RE: RetroPlayer Test Builds (updated for Nexus) - KOPRajs - 2023-08-25

Nice work. Waiting for the LE builds.

EDIT: Can you please share also the LE repo from which the LE build is being made? I might need to build the image for my new HTPC with modifications (mainly add the RAID support).


RE: RetroPlayer Test Builds (updated for Nexus) - KOPRajs - 2023-08-28

(2023-04-03, 22:44)KOPRajs Wrote: @garbear Unfortunately, I've got another RP bug to report. This one is unrelated to either the shaders or the memory bug, but it might have something in common with the memory bug, as it also affects only the PCSX emulator. The problem is that the emulator runs too fast. Like twice (or even more) faster than it should.

This happens in official LibreELEC builds for my Rockchip RK3399 (even before the Kodi 20.1, possibly even in Kodi 19.x). It affects all games I've tried in the PCSX emulator, but it does not happen in CoreELEC on my second box.

I've even tried to copy the PCSX core from one box to the other (as they are both ARMv8), but it still only happens on the LibreELEC RK3399 and not on the CoreELEC S922X.

The main difference between the two is that the LibreELEC is using the DMA RP renderer (and the GBM graphics stack), while the CoreELEC is using the GLES RP renderer (and the fbdev driver).

EDIT: Also I've noticed, that while most of the games run too fast from the start of the game, Worms World Party runs the intro video in normal speed and after the game switches resolution for the menu, it starts to run too fast as well.

Unfortunately this issue still persists. This time I've seen it on RPi4. Stock LE 11.0.3 (Kodi 20.2) installation. All games in PCSX-reArmed run fast and then got stuck (looks like a timing issue). The same emulator runs fine on my Amlogic S922X box. Because the RPi4 and the Amlogic box both use ARMv8, I've tried to copy the working emulator binary (.so) from CoreELEC to the RPi4 running LibreELEC, but the result is the same. So the exact same binary runs fine in CoreELEC (S922X) but is unstable and fast on both RPi4 and RK3399 in LibreELEC.

EDIT: I've tried LE 12 nightly on the RPi4 (they have switched to 64-bit build - aarch64). PCSX runs fine there, but it crashes Kodi when quiting the emulator. The same issue (Kodi crash when exiting the emulator) also happens on LE generic x86-64 build, so it seems to be another issue. This one seems to be specific to 64-bit.


RE: RetroPlayer Test Builds (updated for Nexus) - GuiZ - 2023-09-11

Hello,

Not sure if i'm in the right place but maybe someone can help me.
I used retroplayer in the past with an Xbox 360 controller with no problem.
I tried again this week-end to play to SNES and it seems that the control doesn't "switch" to retroplayer when I start a game.
I can navigate throught Kodi with the controller but not play - I can quit the game with the controller for exemple but if i press "start", nothing happen.
Of course i mapped the SNES controller with my Xbox Controller in the dedicated section.

Can someone help me?
I use a Nvidia Shield pro (so Android TV)

Thanks


RE: RetroPlayer Test Builds (updated for Nexus) - sunlollyking - 2023-09-11

Hey just as a heads up your new LE12 builds are 404ing.


RE: RetroPlayer Test Builds (updated for Nexus) - garbear - 2023-09-11

(2023-09-11, 20:14)sunlollyking Wrote: Hey just as a heads up your new LE12 builds are 404ing.

Wait until I announce, then all links will resolve.

That said, announcement! With the new 21 Alpha 3 release comes 21 Alpha 3 builds: https://github.com/garbear/xbmc/releases


RE: RetroPlayer Test Builds (updated for Nexus) - garbear - 2023-09-11

(2023-09-11, 17:05)GuiZ Wrote: Hello,

Not sure if i'm in the right place but maybe someone can help me.
I used retroplayer in the past with an Xbox 360 controller with no problem.
I tried again this week-end to play to SNES and it seems that the control doesn't "switch" to retroplayer when I start a game.
I can navigate throught Kodi with the controller but not play - I can quit the game with the controller for exemple but if i press "start", nothing happen.
Of course i mapped the SNES controller with my Xbox Controller in the dedicated section.

Can someone help me?
I use a Nvidia Shield pro (so Android TV)

Thanks

 Please try version 21 Alpha 3. It should include the fix. You can either grab a release from the Kodi download page or try one of my test builds: https://github.com/garbear/xbmc/releases


RE: RetroPlayer Test Builds (updated for Nexus) - sunlollyking - 2023-09-12

Smashing thanks! Got it all working.
All the best of LE Linux HDR and the game branches !
Did you ever get a chance to look into rumble ?
Rumble seems to be supported by Kodi as my 8bitdo pro2 rumbles when synced but no retroplayer support yet


RE: RetroPlayer Test Builds (updated for Nexus) - GuiZ - 2023-09-12

Hello

Thanks for your answer. Is there a plan to port the fix to Kodi 20? I prefer keeping my main device with a stable version if possible.


RE: RetroPlayer Test Builds (updated for Nexus) - garbear - 2023-09-13

(2023-09-12, 21:43)GuiZ Wrote: Hello

Thanks for your answer. Is there a plan to port the fix to Kodi 20? I prefer keeping my main device with a stable version if possible.

The fix was backported in https://github.com/xbmc/xbmc/pull/23498 and will appear in Kodi 20.3. However, there might not be a 20.3, so either grab a Nexus nightly or grab my latest 20.2 release with the fix: https://github.com/garbear/xbmc/releases


RE: RetroPlayer Test Builds (updated for Nexus) - GuiZ - 2023-09-14

Hello

Thanks for your help. All is working again


RE: RetroPlayer Test Builds (updated for Nexus) - KOPRajs - 2023-10-13

(2023-07-10, 11:27)garbear Wrote:
(2023-07-10, 11:12)KOPRajs Wrote:
(2023-07-09, 21:31)garbear Wrote: Broken shaders aren't an issue, the team agreed that as long as a single shader works and doesn't break anything else then we can merge. If 3 of the 14 shaders work we'll ship with 3.

When I've created the first LE build with enabled shaders for testing (here: https://forum.kodi.tv/showthread.php?tid=173361&pid=3150987#pid3150987), I've spent some time by finding GL shaders that actually do work. The included add-on zip contains the modified shader presets.xml + corresponding translations.

You can download the add-on here and use the list of working shaders from it as a reasonable default for GL shaders: http://koprajs.mx-net.cz/game.shader.presets-20.0.1.1.zip
In my 2023-07-09 builds, I fixed the path selection, so if you try the add-on from @KOPRajs it should override the embedded add-on and give you more working shaders (though it might have to be recompiled with a version greater than 21.0.1, which is included with the builds).

FWIW: I created a glsl branch with all glsl shaders: https://github.com/kodi-game/game.shader.presets/tree/glsl

I've repacked the shader presets addon and included the list of at least partially working shaders: http://koprajs.mx-net.cz/game.shader.presets-21.0.1.1.zip

This one can be used with the Generic x86_64 LE build from here: https://github.com/garbear/xbmc/releases/tag/retroplayer-20.2-20230822
Possibly also with the Omega alpha release, but I haven't tested it yet.


RE: RetroPlayer Test Builds (updated for Nexus) - garbear - 2023-10-13

Nice!

It might be easiest for everyone to try the most recently curated list of glsl shaders if they're bundled in the builds for every platform. If you PR the files to the add-on repo I'll do a new round of builds.


RE: RetroPlayer Test Builds (updated for Nexus) - KOPRajs - 2023-10-14

Well, I definitely do have some PR debt to pay, especially regarding the Genesis button maps, but I feel the shaders will need a lot more love before it makes sense to choose which shaders to ship by default.

The above package contains all of the GLSL shaders. The main purpose of it is to move the ShaderPresetsGLSLP.xml file to a user writable location in LibreELEC, so the user can edit it and test every shader.

1. Download and install the add-on from the zip: http://koprajs.mx-net.cz/game.shader.presets-21.0.1.1.zip
2. Enjoy the already included shaders.
3. Optionally, if you want to test any other shaders, edit the XML file and add whatever shader you want: /storage/.kodi/addons/game.shader.presets/resources/ShaderPresetsGLSLP.xml

For now it seems that the same shaders that work fine on one device don't have to work on a different device. E.g. some of the shaders that work fine on the RK3399 (GLES) are being rendered upside down or stretched on the x86_64 (GLES), while others being too slow to be of any use on the RK3399, but they work very well on the x86_64. I have seen differences even on the same platform (between 2 Intel NUCs of different generations). I would blame graphics drivers, but the same shaders work fine in Retroarch on the same hardware.


RE: RetroPlayer Test Builds (updated for Nexus) - sunlollyking - 2023-10-17

I was watching a video recently on these shaders which look fantastic https://www.youtube.com/watch?v=yNmJ0n-QMCY

However it got me thinking - Does Kodi support HDR output for Games currently as it's a pre-req for this to work. I know it'll switch over to HDR for a video source that supports it but i'm guessing there's no native HDR support in many of these emulators so wondering what the scope of work could look like to get us into a place to support these types of shaders.

Garbear did you get a chance to look into Rumble for controllers at all ? It works in menu but not in game for my 8bitdo pro 2.