#295

Snapdragon 695 Adreno 619 keep crashing

Openkhuongduyitvlopened 7d ago

Hi bro. My Snapdragon 695 Adreno 619 keep crashing after adding complete file. It's show logo of the game a few second and crash out. Can my GPU play this project?

Activity

13
yyan1607d ago

Thanks for the report. The Adreno 619 should be able to start it, though it's a mid-range GPU, so expect modest frame rates. There are two known start-up crashes on Adreno 6xx GPUs, and both happen right after the logo:

  1. Older 6xx drivers lack GPU "subgroup" operations in pixel shaders, and the app stopped right after loading (#243 / #155). This is fixed by #280 in v2.3.3, but v2.3.3 has no Android APK on the release page yet (asked in #250). v2.3.1 and earlier still crash here.
  2. The 6xx shader compiler crashes on a few shaders. The fix is open in #287.

To tell which one you have:

  • Which APK version are you on?
  • If you can, run adb logcat -d -s dm DEBUG libc right after the crash and attach the output. The lines starting with NVN caps (especially subgroup ... stages=) and anything just before the crash show which of the two it is.
khuongduyitvl7d ago

Thanks for fast support! I can not extract the log file cause i am using my phone. I used the lasted apk file you release. So, can fix it?

yyan1607d ago

Thanks. "The latest APK" on the release page is v2.3.1, which doesn't have the fix for the most likely cause (1). That fix is in v2.3.3. Once a v2.3.3 or later Android APK is on the release page:

  1. Install it, and rebuild the import pack from the same release's source (copy the new android folder to the phone so the app imports it again).
  2. If it still closes on the first start or two, open it again a couple of times. For cause (2), the game has a safety net: a shader that crashes the driver on two starts in a row is skipped from then on, and the game starts normally. Some fire or smoke effects may look wrong until #287 lands.
  3. If it keeps crashing after three or four starts, tell us here. v2.3.3 also has Share Diagnostics in the pause menu, which makes a log file on the phone with no PC needed (if the game gets that far).
khuongduyitvl7d ago

I can not file the newest apk than 2.3.1

yyan1607d ago

Right, there isn't one yet: v2.3.1 is the newest Android APK on the release page for now. Once a newer one is published there, try the steps above. Until then, v2.3.1 will most likely keep crashing on your phone.

khuongduyitvl7d ago

Ok. Thanks for your support. I'm waiting for the newest apk file

yyan1604d ago

@khuongduyitvl v2.3.4 is out with an Android APK (D2RMobile-android.apk on the release page), and it has the fix for cause (1) (#280). Please follow the steps above with it:

  1. Install it over v2.3.1; that keeps your saves.
  2. Rebuild the import pack from the v2.3.4 source. The app refuses older packs.
  3. If it closes on the first starts, open it again a few times.

The fix for cause (2) (#287) isn't in v2.3.4 yet, so some fire or smoke effects may look wrong. If it keeps crashing and the game gets far enough, Share Diagnostics in the pause menu now works on Android and gives a log file to attach here.

khuongduyitvl4d ago

Thanks. But how can rebild the s2x folder? I only have the phone? How can download the s2x.zip or .rar? Please help.

yyan1604d ago

@khuongduyitvl The import pack has to be made on a computer (Windows, macOS or Linux) from your own copy of the game, as in step 1 of docs/ANDROID.md. There's no phone-only way yet. We also can't share a ready-made pack or link to one: it contains game content, so each player makes their own.

If someone with a computer can help, they need:

  • the v2.3.4 source;
  • your game files (ExeFS and RomFS of Switch version 1.0.34.0, see GAME_FILES.md).

They then copy the resulting android folder to Download/S2X/D2R Mobile/ on the phone and open the app.

Until you can make a v2.3.4 pack, stay on v2.3.1 with the pack you have, because v2.3.4 doesn't accept older packs.

khuongduyitvl4d ago

Now, i have no data OBB (S2X folder) for the 2.3.4 and i can not play this game.

yyan1603d ago

@khuongduyitvl Understood, and sorry there's no easier way: a v2.3.4 pack can only be made on a computer from your game files. Since v2.3.1 never got past the logo on your phone, there's no save to lose in the meantime. When you can use a computer, yours or a friend's, follow step 1 of docs/ANDROID.md, and ask here if any step is unclear. If you've already installed the v2.3.4 APK, keep it: it's the one you'll need with the new pack.

khuongduyitvl2d ago

I do not have a console (Nintedo Switch), so i can not get prod.keys that can do this. Is there another way?

yyan1602d ago

@khuongduyitvl That's a question for the project's maintainers, @jhaizhou-ops and @biglawine, so please ask them. I can only help with the Android app and the pack tool once you have the game files.