PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

[BUG] JRE-17 Crash for arm (32bit)

Open Cube5x59999 opened this issue 1 year ago • 2 comments

Describe the bug

This was an bug report in the past, but the issue is reoccuring. When using the 2024 versions of JRE 17. It crashes with exit code -1 as Could not find or load main class. But, while using the 2021 version after searching for older working versions, no issues occur but the FPS is lower than the 2023 (expired build cant download).

To get the 2021 build:

  • Go to android-openjdk-build-multiarch repo
  • Go to releases
  • Scroll down to the android
  • Download the JRE 17 for arm32.

Performance comparison:

  • 45 fps with JRE 17 - 2021 build
  • Used to get 70 - 90 FPS with JRE 17 - 2023 build

The log file and images/videos

The log: latestlog.txt

Steps To Reproduce

1. Launch with JRE 17 2024 build with arm (32 bit) device
(it will crash)

2. Now launch with JRE 17 2021 build with arm32.
(it will work)

Expected Behavior

I expect the latest version to work like with the 2021 build.

Platform

- Device model: Galaxy tab A (SM-T510)
- CPU architecture: arm64 (32bit OS)
- Android version: 11
- PojavLauncher version: foxglove-20240926-73fc447-v3_openjdk

Anything else?

Using the 2021 build of JRE 17 as a workaround isn't that great as the FPS issues is huge and effects gameplay / more lag spikes. If this gets fixed, it will improve playablity of the game.

Cube5x59999 avatar Sep 28 '24 12:09 Cube5x59999

have you tried installing jre17 2024 from github actions? btw this is a samsung-only issue

GaucovyAero avatar Sep 28 '24 13:09 GaucovyAero

have you tried installing jre17 2024 from github actions? btw this is a samsung-only issue

i tried it and it crashes, rip its only for samsung

Cube5x59999 avatar Sep 28 '24 16:09 Cube5x59999

@GaucovyAero , The build with LTW renderer has fixed the issue, is it intentional to bridge 32 bit to 64 bit or luck?

Cube5x59999 avatar Jan 05 '25 08:01 Cube5x59999

@GaucovyAero , The build with LTW renderer has fixed the issue, is it intentional to bridge 32 bit to 64 bit or luck?

thats very weird, send latestlog.txt with it working pls

GaucovyAero avatar Jan 05 '25 19:01 GaucovyAero

@GaucovyAero , The build with LTW renderer has fixed the issue, is it intentional to bridge 32 bit to 64 bit or luck?

thats very weird, send latestlog.txt with it working pls

k ill send

Cube5x59999 avatar Jan 07 '25 11:01 Cube5x59999

@GaucovyAero latestlog.txt

I think i messed with the wrong setting in sodium so its crashing, it worked last time. if you want i can also send for optifine instead of sodium

Cube5x59999 avatar Jan 07 '25 11:01 Cube5x59999

closing this as this seems to be fixed

Cube5x59999 avatar Jan 11 '25 14:01 Cube5x59999