Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test RK3399 and SD845, as well as test on RPiOS #3

Open
3 of 6 tasks
hadcl4 opened this issue Mar 12, 2022 · 30 comments
Open
3 of 6 tasks

Test RK3399 and SD845, as well as test on RPiOS #3

hadcl4 opened this issue Mar 12, 2022 · 30 comments
Labels
testing Something (new feature, new cpu support, etc.) needs testing.

Comments

@hadcl4
Copy link
Owner

hadcl4 commented Mar 12, 2022

Here's what I am capable of doing:

  • Testing RK3399 (haven't had a chance yet to test Thunder)
  • Testing on RPiOS (haven't had the time to yet)

Here's what I'll need other users to do:

  • Test SD845

Complete list of tasks:

  • Get Thunder working on RPiOS
  • Get Thunder working on RK3399
  • Get Thunder working on SD845
  • Get Emulators working on RPiOS
  • Get Emulators working on RK3399
  • Get Emulators working on SD845
@hadcl4 hadcl4 added the testing Something (new feature, new cpu support, etc.) needs testing. label Mar 12, 2022
@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 19, 2022

Finally got a chance to test on RPiOS today (in Buster arm64, using vdesktop). Thunder itself works fine, however a lot doesn't work. But because this was using a beta version of RPiOS in Vdesktop I won't consider RPiOS incompatible, just I'll need to test on non-beta RPiOS natively.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 19, 2022

Just fixed a bug found while testing in RPiOS, should fix a bug when people try to startup Thunder after installation.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 20, 2022

Pushed some commits that should get Thunder working on RPiOS better, so will test again soon.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 20, 2022

Rats, RPiOS Buster doesn't have a new enough GLIBC to run mGBA.

And the other emulators require more libs, too, that I don't have room for in my virtual machine. I guess I'll just have to boot up a full native install of Bullseye ARM64...

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 20, 2022

Thunder itself works now though, so at least that.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 20, 2022

Added a separate task list for emulators.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 20, 2022

Tested Thunder on RK3399, once again it works fine out of the box.

However, other than Mednafen, emulators don't work.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 22, 2022

Almost got mGBA working on RK3399, but this time SDL is in the way. My guess is I don't have a new enough SDL installed on my RK3399, as other than that mGBA doesn't spit out any more errors.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

Other than mGBA, I almost have all the emulators included with Thunder working on RK3399 (the Mesa update in Thunder is part of getting them working, actually)!

Also the mGBA build not working on RK3399 isn't a Thunder problem, as compiling mGBA manually on my RK3399 doesn't work either.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

Nearly have PCSX Reloaded working on RK3399 and RPiOS...

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

melonDS_Pi: working

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

mGBA: not working

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

Dolphin: working (using custom mesa)

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

Box86 and Box64: not working due to GLIBC

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

Mednafen: working

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 23, 2022

PPSSPP: not working, due to a lib named libSM.so.6 missing

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

PPSSPP Update: Now working, thanks to commit f4d7bd9!

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

Okay, so that leaves the following emulators left not working:

  • mGBA
  • PCSXR
  • Box86 and Box64

Box86 and Box64 I'm planning to compile on RK3399 soon, to get them compatible. PCSXR is missing a lib: libgtk-3.so. I'm not entirely sure what's wrong with mGBA, since compiling it manually fails as well. Soon I'll try compiling mGBA again, to see if I get anywhere.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

Didn't work to compile mGBA again, although I think I found the problem: libsdl2-dev isn't installable on my RockPi's distro (TwisterOS Armbian) very easily. After looking through the mGBA issues list, it seems this package is a requirement to compile mGBA on Debian-based distros. So I might end up having to compile SDL manually...

As for PCSXR, I tried doing my idea of sticking in libgtk-3.so, but failed.

So I'm not exactly sure what to do with these 2 emulators right now.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

Somewhat closer to getting PCSXR working, libgtk-3.so is now included in commit 3f7d8f5. However, now PCSXR is telling me libXtst.so.6 is missing, so back to searching through different repos...

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

Got libXtst.so.6 included, but now I'm running into trouble with GTK modules missing. It looks like PCSXR needs a GTK module called appmenu-gtk-module, so I'll have to go looking around for that now...

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

Extremely close to getting PCSXR working! The appmenu-gtk-module is now included, but PCSXR still spits out an error that I'm not sure how to fix:

** (pcsxr:4489): WARNING **: 11:04:01.738: Error: interface could not be loaded!

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 24, 2022

Just tested all the emulators after they were modified so much, and on my Raspberry Pi 4 they all work still. So at least I didn't break anything.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 25, 2022

Going to take a little break from trying to get these emulators working, instead I'm going to work on getting Flatpaks working in Thunder. I should be back to working on emulators soon, though.

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 26, 2022

Extremely close to getting all emulators working on RK3399. Box86 and Box64 are both now working, so that leaves just mGBA and PCSXR left!

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 26, 2022

PCSXR is also now working on RK3399, so that just leaves mGBA left!

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 26, 2022

I almost have mGBA working on all systems...but I made a mistake...

On RK3399 the build included right now works just fine on my RockPi 4B+. But that's because I had mGBA installed through apt then copied the binary into Thunder. On my Raspberry Pi 4 I discovered I forgot to include libmgba.so.7, so for now users will have to install mGBA manually. I'll fix it soon, though!

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 26, 2022

Finally all emulators are working on RK3399! Now next on the to-do list is to get them all working on RPiOS. I'll take a little break first, though...

@hadcl4
Copy link
Owner Author

hadcl4 commented Mar 27, 2022

Now working on getting emulators working on RPiOS...

Seems like they would all work on a standard install, but for testing I'm using Buster Lite. Anyway, just as note to self, here's the missing dependencies:

  • libblutetooth.so.3 - Dolphin
  • libpango-1.0.so.0 - PCSXR
  • libSDL2-2.0.so.0 - PPSSPP
  • libQt5Multimedia.so.5 - mGBA

Also as a note for a future commit:

  • Move libgtk-3.so to libgtk-3.so.0!

hadcl4 added a commit that referenced this issue Mar 27, 2022
@hadcl4
Copy link
Owner Author

hadcl4 commented Apr 1, 2022

After messing around a bit I think I'll add libQt5Multimedia.so.5 soon. On all the systems I've tested Thunder on this lib doesn't come preinstalled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Something (new feature, new cpu support, etc.) needs testing.
Projects
None yet
Development

No branches or pull requests

1 participant