#263

Snapdragon 7 Gen 3 ( Adreno 720 ) Auto close

Opengeyah20-staropened 15d ago

Snapdragon 7 Gen 3 Auto Close, I think not compatible gpu driver on app, pls make app for us adreno 720 chipset

Activity

4
Tobi1991-hub14d ago

same Crash on launch: Game presentation failed: -4 (Honor 400, Snapdragon 7 Gen 3 / Adreno 720, Android 16)

markdown

Device & OS Information

  • Device: Honor 400 (HONOR/DNY-NX9EEA)
  • SoC / GPU: Qualcomm Snapdragon 7 Gen 3 (Adreno 720)
  • OS: Android 16 / MagicOS 10 (10.0.0.211C431E5R2P2)
  • App Version: v2.3.0 / v2.3.1 (D2RMobile-android.apk)

Description

The app closes immediately upon launch before reaching the main menu (Game presentation failed: -4 / SIGABRT in libdm.so).

Right before the crash, qdgralloc / Gralloc4 rejects pixel format 0x3b (format 59 / RGBA_1010102) with error -7 (BAD_VALUE), followed by xbg_present_texture_now / h_nvnQueuePresentTexture failing with -4 (VK_ERROR_DEVICE_LOST).

Things already tested without success:

  • All file permissions (MANAGE_EXTERNAL_STORAGE) granted
  • Fixed display refresh rate to 60 Hz
  • Switched color mode to Standard (sRGB)
  • Enabled "Disable HW overlays" in Developer Options

Relevant Logcat Output

qdgralloc: GetSize: Unrecognized pixel format: 0x3b
Gralloc4: isSupported(1, 1, 59, 1, ...) failed with 7
GraphicBufferAllocator: Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 7
AHardwareBuffer: GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -7), handle=0x0
F dm      : Game presentation failed: -4
F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 4113 (m.xiaoboluo.d2r), pid 3825 (m.xiaoboluo.d2r)
F DEBUG   : Abort message: 'Game presentation failed: -4'
F DEBUG   :       #01 pc 0000000000356d78  .../base.apk!libdm.so ((anonymous namespace)::fatal(void*, char const*)+56)
F DEBUG   :       #02 pc 000000000035e208  .../base.apk!libdm.so (xbg_fatalf+184)
F DEBUG   :       #03 pc 0000000000373d68  .../base.apk!libdm.so (xbg_present_texture_now(win_t const*, tex_t const*)+10204)
F DEBUG   :       #04 pc 0000000000359a24  .../base.apk!libdm.so (mtl_present+104)
F DEBUG   :       #05 pc 000000000033afcc  .../base.apk!libdm.so (x_run+168)
F DEBUG   :       #06 pc 000000000033ad4c  .../base.apk!libdm.so (x_push+212)
F DEBUG   :       #07 pc 0000000000336414  .../base.apk!libdm.so (h_nvnQueuePresentTexture+624)

the full adb logcat -s dm output, is attached

fehler.txt

yyan16010d ago

@Tobi1991-hub @geyah20-star thanks for the report. Game presentation failed: -4 is VK_ERROR_DEVICE_LOST: the GPU gave up on something the game asked it to do, shortly before the first picture. The gralloc lines about format 59 just above it are most likely unrelated (other Android apps log them too).

The attached log only has error-level lines, and the useful ones are the game's own info lines. Could you capture one failing start like this on a PC with adb?

adb logcat -c
(start D2R Mobile and wait for it to close)
adb logcat -d -s dm > d2r.txt

and attach d2r.txt. We mostly need the NVN caps lines (GPU driver version and features) and the last 100 lines before the crash, which show which shader or pipeline was in use when the device was lost.

Tobi1991-hub10d ago

@yyan160 Here is the full d2r.txt log captured with info-level messages enabled (including the NVN caps and shader lines right before the Game presentation failed: -4 crash):

d2r.txt

jhaizhou-ops4d ago

@geyah20-star @Tobi1991-hub v2.3.5 has the fix for the Adreno 720 (#284 by @yyan160, from your logs): the two shader rewrites that led to Game presentation failed: -4 are now off by default on the 720. Install the new APK (if you already have 2.3.4, the 2.3.4 import pack still works; otherwise make a pack from the v2.3.5 source). In the log, NVN Adreno 720 / 740-799 shows the new setting is active. Let us know how it runs!