Open BullShark opened 4 years ago
kodi doesn't support opengl and all the libretro n64 emus use opengl. use iagl to launch retroarch or a different emu and it should work
kodi doesn't support opengl and all the libretro n64 emus use opengl. use iagl to launch retroarch or a different emu and it should work
I've been trying that. I haven't been able to get it to work. Can you help?
The game works in retroarch launched without kodi just fine.
Is it possible that Kodi is calling retroarch without passing the -L flag?
This works.
retroarch -f -L /usr/lib/libretro/parallel_n64_libretro.so Game.n64
This does not work. Retroarch will fail to launch.
retroarch -f Game.n64
I cannot tell what arguments IAGL is passing to Retroarch when trying to launch the game. I tried creating a wrapper script in bash for IAGL to launch Retroarch with the -L /path/to/emulator_libretro.so and had no luck with it yet.
bump
This is a Kodi issue, reference https://github.com/xbmc/xbmc/issues/15874.
Launching externally works. See here for troubleshooting tips on external launching.
I've updated the title of this issue just so people are aware of the state of this.
Kodi currently doesn't support OGL only cores, such as N64. I think the target is v20 Kodi for this. See here.
There's nothing IAGL can do to make Retroplayer work for these since it's Kodi functionality. For these game lists, you have to launch them externally (or hide them for now).
Bug report
Describe the bug
Trying to launch any Nintendo 64 game from IAGL add-on in Kodi results in Kodi crashing.
Expected Behavior
Launch the game in mupen64 emulator after downloading the game.
Actual Behavior
Crashes Kodi with a seg fault
Possible Fix
I suspect that the addons work without crashing Kodi in older versions of Kodi.
To Reproduce
Steps to reproduce the behavior: Here's the steps I took.
Install all of these using yay.
Install kodi-x11 Install kodi-addon-game-libretro Install kodi-addon-game-libretro-mupen64plus
Download the IAGL zipfile
In Kodi:
Add the zipfile to get the repo. Install IAGL from the new repo. Install Nintendo 64 Controller Nintendo - Nintendo 64 (Muphen64Plus) Install IAGL - Internet Archive Game Launcher
In Kodi:
IAGL -> Browse All Lists -> Internet Archives Best Of N64 -> The Legend of Zelda - Ocarina of Time or 007
It seems to happen with every Nintendo 64 game.
Results: Crashes Kodi every time.
Is the save file being opened before checking if it exists? And a save file is expected the first time a game is ran when there has been no saves.
Edit:
Here's another crash log after I installed gdb. kodi_crashlog-20200615_005007.log
http://odin.root.sx/kodi_crashlog-20200615_005007.log
Debuglog
The debuglog can be found here:
Screenshots
Here are some links or screenshots to help explain the problem:
Just before the crash:
The crash happens immediately after the download for any N64 game.
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system: Manjaro Linux with KDE latest.
I created a .sav file and saved it where it was being looked for. That didn't prevent the crash.
I opened the same game in M64Py, a gui frontend to mupen64, and it opened the game without error.