Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
0
votes
0
answers
63
views
Kernel BUG at drivers/gpu/msm/adreno_dispatch.c
OnePlus 7T smartphone randomly freezes and rebooting. Bootloader unlocked and rooted. Smartphone runs on Android 11, but the same behavior occurred on a purely installed Android 12. Often the error appears in moments related to graphics, such as rotating the screen, changing the screen in games (the...
OnePlus 7T smartphone randomly freezes and rebooting.
Bootloader unlocked and rooted. Smartphone runs on Android 11, but the same behavior occurred on a purely installed Android 12. Often the error appears in moments related to graphics, such as rotating the screen, changing the screen in games (the appearance of a video screensaver, for example). This can happen from once a day to several times.
From the logs it is clear that this is somehow related to video drivers:
[20240305_12:19:40.512637]@0 platform 2c6a000.qcom,gmu: OOB_set(0x40000000) timed out
[20240305_12:19:40.622730]@0 platform 2c6a000.qcom,gmu: ----------------------[ GMU error ]----------------------
[20240305_12:19:40.622782]@0 platform 2c6a000.qcom,gmu: Timeout waiting for lowest idle level 3
[20240305_12:19:40.622804]@0 platform 2c6a000.qcom,gmu: Timestamps: 272b38cc6 272d3aee0 272d3af12
[20240305_12:19:40.622825]@0 platform 2c6a000.qcom,gmu: RPMH_POWER_STATE=0 SPTPRAC_PWR_CLK_STATUS=0
[20240305_12:19:40.622846]@0 platform 2c6a000.qcom,gmu: CX_BUSY_STATUS=71000000 CP_STATUS_1=1000000
[20240305_12:19:40.622868]@0 platform 2c6a000.qcom,gmu: RBBM_INT_UNMASKED_STATUS=1 PWR_COL_KEEPALIVE=0
[20240305_12:19:40.622889]@0 platform 2c6a000.qcom,gmu: CP2GMU_STATUS=0 CONTEXT_SWITCH_CNTL=0 AO_SPARE_CNTL=0
[20240305_12:19:40.622961]@0 ------------[ cut here ]------------
[20240305_12:19:40.623004]@0 WARNING: CPU: 0 PID: 272 at drivers/gpu/msm/adreno_a6xx_gmu.c:973 a6xx_gmu_wait_for_lowest_idle+0x450/0x490
[20240305_12:19:40.623024]@0 Modules linked in: wlan(O) rmnet_perf(O) machine_dlkm(O) wcd934x_dlkm(O) mbhc_dlkm(O) wcd9360_dlkm(O) swr_ctrl_dlkm(O) wcd9xxx_dlkm(O) tfa9894_dlkm(O) wsa881x_dlkm(O) wcd_core_dlkm(O) stub_dlkm(O) wcd_spi_dlkm(O) hdmi_dlkm(O) swr_dlkm(O) pinctrl_wcd_dlkm(O) usf_dlkm(O) native_dlkm(O) platform_dlkm(O) q6_dlkm(O) adsp_loader_dlkm(O) apr_dlkm(O) q6_notifier_dlkm(O) q6_pdr_dlkm(O) wglink_dlkm(O) msm_11ad_proxy [last unloaded: rmnet_perf]
[20240305_12:19:40.623200]@0 CPU: 0 PID: 272 Comm: kgsl_worker_thr Tainted: G S W O 4.14.190-perf+ #1
[20240305_12:19:40.623220]@0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 MTP 18865 19863 14 15 (DT)
[20240305_12:19:40.623243]@0 task: 00000000ead67ef5 task.stack: 000000007e72c1e2
[20240305_12:19:40.623263]@0 pc : a6xx_gmu_wait_for_lowest_idle+0x450/0x490
[20240305_12:19:40.623282]@0 lr : a6xx_gmu_wait_for_lowest_idle+0x44c/0x490
[20240305_12:19:40.623300]@0 sp : ffffff8014783980 pstate : 60c00145
[20240305_12:19:40.623316]@0 x29: ffffff80147839b0 x28: 0000000000000004
[20240305_12:19:40.623348]@0 x27: 0000000000000002 x26: 0000000000000002
[20240305_12:19:40.623379]@0 x25: ffffffe2b336e000 x24: 0000000000023b0c
[20240305_12:19:40.623409]@0 x23: 0000000272d3af12 x22: 0000000272d3aee0
[20240305_12:19:40.623440]@0 x21: 000000000001f888 x20: 0000000272b38cc6
[20240305_12:19:40.623471]@0 x19: ffffff8b4a2fac00 x18: ffffff8b4a238000
[20240305_12:19:40.623502]@0 x17: 0000000000000000 x16: ffffff8b4a45d000
[20240305_12:19:40.623533]@0 x15: 4c544e435f455241 x14: 0000000000000060
[20240305_12:19:40.623563]@0 x13: 0000000000000444 x12: 0000000810947aa9
[20240305_12:19:40.623593]@0 x11: 0000000000000015 x10: 00000000000f4240
[20240305_12:19:40.623624]@0 x9 : 610bdee29b856c00 x8 : 610bdee29b856c00
[20240305_12:19:40.623655]@0 x7 : 0000000000000000 x6 : ffffff8b4a45cdaa
[20240305_12:19:40.623686]@0 x5 : 0000000000000034 x4 : 0000000000000008
[20240305_12:19:40.623715]@0 x3 : 0000000000000000 x2 : 000000000000006e
[20240305_12:19:40.623746]@0 x1 : ffffff8b47f48d3c x0 : 00000000ffffff92
[20240305_12:19:40.623780]@0
PC: 0xffffff8b48696360:
[20240305_12:19:40.623797]@0 6360 9400632e f9400728 b0009a81 b85ec3a2 91238821 b94013e3 91004100 94006327
[20240305_12:19:40.623885]@0 6380 f9400728 b0009a81 29410be3 91245021 b94007e4 91004100 94006320 12800da0
[20240305_12:19:40.623965]@0 63a0 d4210000 9000dbc9 f85f83a8 f9404529 eb08013f 54000121 a9484ff4 f94023fb
[20240305_12:19:40.624046]@0 63c0 a94757f6 a9465ff8 a94567fa a9437bfd 910243ff d65f03c0 97e0a1aa d503201f
[20240305_12:19:40.624127]@0
LR: 0xffffff8b4869635c:
[20240305_12:19:40.624142]@0 635c 91004100 9400632e f9400728 b0009a81 b85ec3a2 91238821 b94013e3 91004100
[20240305_12:19:40.624223]@0 637c 94006327 f9400728 b0009a81 29410be3 91245021 b94007e4 91004100 94006320
[20240305_12:19:40.624303]@0 639c 12800da0 d4210000 9000dbc9 f85f83a8 f9404529 eb08013f 54000121 a9484ff4
[20240305_12:19:40.624383]@0 63bc f94023fb a94757f6 a9465ff8 a94567fa a9437bfd 910243ff d65f03c0 97e0a1aa
[20240305_12:19:40.624464]@0
SP: 0xffffff8014783940:
[20240305_12:19:40.624480]@0 3940 486963a0 ffffff8b 60c00145 00000000 ffffffd0 ffffff80 499e7914 ffffff8b
[20240305_12:19:40.624560]@0 3960 ffffffff ffffffff 9b856c00 610bdee2 147839b0 ffffff80 486963a0 ffffff8b
[20240305_12:19:40.624638]@0 3980 147839b0 00000000 00000000 00000000 00000000 00000000 00000000 00000001
[20240305_12:19:40.624718]@0 39a0 01000000 71000000 9b856c00 610bdee2 14783a10 ffffff80 4865924c ffffff8b
[20240305_12:19:40.624797]@0
[20240305_12:19:40.624815]@0 Call trace:
[20240305_12:19:40.624834]@0 a6xx_gmu_wait_for_lowest_idle+0x450/0x490
[20240305_12:19:40.624857]@0 gmu_stop+0x34/0xf0
[20240305_12:19:40.624877]@0 gmu_core_stop+0x1c/0x28
[20240305_12:19:40.624901]@0 kgsl_pwrctrl_disable+0x70/0xb8
[20240305_12:19:40.624921]@0 _slumber+0x208/0x2e0
[20240305_12:19:40.624939]@0 kgsl_pwrctrl_change_state+0x234/0x510
[20240305_12:19:40.624962]@0 _adreno_start+0x2b8/0x958
[20240305_12:19:40.624981]@0 adreno_start+0x44/0x78
[20240305_12:19:40.624998]@0 _wake+0xc4/0x3f8
[20240305_12:19:40.625017]@0 kgsl_active_count_get+0x148/0x1e0
[20240305_12:19:40.625039]@0 sendcmd+0xe4/0x508
[20240305_12:19:40.625058]@0 _adreno_dispatcher_issuecmds+0x2a8/0x5b8
[20240305_12:19:40.625076]@0 adreno_dispatcher_work+0x450/0x9d0
[20240305_12:19:40.625101]@0 kthread_worker_fn+0x80/0x168
[20240305_12:19:40.625119]@0 kthread+0x11c/0x130
[20240305_12:19:40.625141]@0 ret_from_fork+0x10/0x1c
[20240305_12:19:40.625158]@0 ---[ end trace 137859bf8ec69b6e ]---
[20240305_12:19:40.625228]@0 platform 2c6a000.qcom,gmu: Failed to stop GMU
[20240305_12:19:40.625690]@0 kgsl kgsl-3d0: |_wake| start failed -110
[20240305_12:19:40.625985]@1 kgsl kgsl-3d0: RB[-1]: gmu fault status 00000001 rb 0000/0000 ib1 0000000000000000/0000 ib2 0000000000000000/0000
[20240305_12:19:40.626077]@0 kgsl kgsl-3d0: |kgsl_iommu_fault_handler| GPU PAGE FAULT: addr = 0 pid= 0 name=unknown
[20240305_12:19:40.626104]@0 kgsl kgsl-3d0: |kgsl_iommu_fault_handler| context=gfx3d_user TTBR0=0x3000273352000 CIDR=0x0 (read translation fault)
[20240305_12:19:40.626129]@0 kgsl kgsl-3d0: |kgsl_iommu_fault_handler| FAULTING BLOCK: CP
[20240305_12:19:40.626178]@0 kgsl kgsl-3d0: ---- nearby memory ----
[20240305_12:19:40.626200]@0 kgsl kgsl-3d0: *EMPTY*
[20240305_12:19:40.626219]@0 kgsl kgsl-3d0: <- fault @ 00000000
[20240305_12:19:40.626236]@0 kgsl kgsl-3d0: *EMPTY*
[20240305_12:19:40.627643]@1 platform 2c6a000.qcom,gmu: Suspended GMU
[20240305_12:19:40.633654]@0 platform 2c6a000.qcom,gmu: GMU CM3 fault interrupt received
[20240305_12:19:40.742778]@0 platform 2c6a000.qcom,gmu: OOB_set(0x40000000) timed out
[20240305_12:19:40.774568]@0 platform 2c6a000.qcom,gmu: Suspended GMU
[20240305_12:19:40.780103]@0 platform 2c6a000.qcom,gmu: GMU CM3 fault interrupt received
[20240305_12:19:40.882739]@0 platform 2c6a000.qcom,gmu: OOB_set(0x40000000) timed out
[20240305_12:19:40.914491]@0 platform 2c6a000.qcom,gmu: Suspended GMU
[20240305_12:19:40.920147]@0 platform 2c6a000.qcom,gmu: GMU CM3 fault interrupt received
[20240305_12:19:41.022673]@0 platform 2c6a000.qcom,gmu: OOB_set(0x40000000) timed out
[20240305_12:19:41.054826]@1 platform 2c6a000.qcom,gmu: Suspended GMU
[20240305_12:19:41.060742]@0 platform 2c6a000.qcom,gmu: GMU CM3 fault interrupt received
[20240305_12:19:41.162731]@3 platform 2c6a000.qcom,gmu: OOB_set(0x40000000) timed out
[20240305_12:19:41.192733]@3 ------------[ cut here ]------------
[20240305_12:19:41.192774]@3 kernel BUG at drivers/gpu/msm/adreno_dispatch.c:2270!
[20240305_12:19:41.192799]@3 Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[20240305_12:19:41.192816]@3 Modules linked in: wlan(O) rmnet_perf(O) machine_dlkm(O) wcd934x_dlkm(O) mbhc_dlkm(O) wcd9360_dlkm(O) swr_ctrl_dlkm(O) wcd9xxx_dlkm(O) tfa9894_dlkm(O) wsa881x_dlkm(O) wcd_core_dlkm(O) stub_dlkm(O) wcd_spi_dlkm(O) hdmi_dlkm(O) swr_dlkm(O) pinctrl_wcd_dlkm(O) usf_dlkm(O) native_dlkm(O) platform_dlkm(O) q6_dlkm(O) adsp_loader_dlkm(O) apr_dlkm(O) q6_notifier_dlkm(O) q6_pdr_dlkm(O) wglink_dlkm(O) msm_11ad_proxy [last unloaded: rmnet_perf]
[20240305_12:19:41.192984]@3 Process kgsl_worker_thr (pid: 272, stack limit = 0x000000007e72c1e2)
[20240305_12:19:41.193004]@3 CPU: 3 PID: 272 Comm: kgsl_worker_thr Tainted: G S W O 4.14.190-perf+ #1
[20240305_12:19:41.193018]@3 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 MTP 18865 19863 14 15 (DT)
[20240305_12:19:41.193033]@3 task: 00000000ead67ef5 task.stack: 000000007e72c1e2
Any suggestions on how to fix this error? Or why might this be happening?
skrobbi
(1 rep)
Mar 5, 2024, 03:46 PM
1
votes
0
answers
82
views
OEM Vulkan support on Itel A48 (L6006s) unavailable despite Android's and Arm's specification
I have Itel A48 (L6006s). I've confirmed that it has a Mali-T820 GPU, which supports OpenGL®ES 1.1, 2.0, 3.1, 3.2, Vulkan 1.0, OpenCL™ 1.1, 1.2 Full Profile, RenderScript™. [![Mali-T820 specification on Arm's website.][1]][1] However, as I was coding a Vulkan app, putting a call to `vkEnumerate...
I have Itel A48 (L6006s). I've confirmed that it has a Mali-T820 GPU, which supports OpenGL®ES 1.1, 2.0, 3.1, 3.2, Vulkan 1.0, OpenCL™ 1.1, 1.2 Full Profile, RenderScript™.
However, as I was coding a Vulkan app, putting a call to

vkEnumeratePhysicalDevices(instance, &deviceCount, nullptr)
informs me that no devices are available. vulkaninfo
on Termux gives "ERROR at vector".
Does Itel A48 (L6006s) support Vulkan?
Joshua Mudanyi
(11 rep)
Nov 15, 2022, 04:20 AM
• Last activity: Nov 15, 2022, 08:59 PM
0
votes
1
answers
9165
views
How to build Android-x86 with VirtualBox guest OS integrations
[Androidx86.org](https://www.android-x86.org/documentation/virtualbox.html#ref1_a:~:text=Enable%203D%20Acceleration%20may%20be%20checked) says that to use 3D acceleration for my Android-x86 virtual machine, I have to install Linux guest additions. I would like to know how to do that. I am using a -...
[Androidx86.org](https://www.android-x86.org/documentation/virtualbox.html#ref1_a:~:text=Enable%203D%20Acceleration%20may%20be%20checked) says that to use 3D acceleration for my Android-x86 virtual machine, I have to install Linux guest additions. I would like to know how to do that.
I am using a
- Ubuntu 20.10 (64-bit)
- Intel Core i5 4th gen (@3.1 GHz)
- NVIDIA GeForce GT 730
- Oracle VM VirtualBox 6.1
Thulashitharan D
(121 rep)
Nov 16, 2020, 05:06 PM
• Last activity: May 27, 2022, 10:09 PM
2
votes
0
answers
2252
views
How to read gfxinfo
I'm using Apache TVM do benchmark DL models - this is long story, but I want to preview GPU usage of TVM. On Android device I have runing APK, which spawn 1-2 processes, which use GPU. I have turned on "GPU Profiling", and I dumped logs via `adb shell dumpsys gfxinfo`. But I'm not sure how to proper...
I'm using Apache TVM do benchmark DL models - this is long story, but I want to preview GPU usage of TVM. On Android device I have runing APK, which spawn 1-2 processes, which use GPU. I have turned on "GPU Profiling", and I dumped logs via
adb shell dumpsys gfxinfo
. But I'm not sure how to properly read it? Example of TVM process is below.
My questions:
1. do you know any tutorial/instruction for reading and understanding following stats? how to interpret it?
2. I do not care about jank frames, I need information about GPU usage, GPU memory usage
** Graphics info for pid 14811 [org.apache.tvm.tvmrpc:RPCProcess] **
Stats since: 5644930627488ns
Total frames rendered: 1
Janky frames: 1 (100.00%)
50th percentile: 97ms
90th percentile: 97ms
95th percentile: 97ms
99th percentile: 97ms
Number Missed Vsync: 0
Number High input latency: 0
Number Slow UI thread: 1
Number Slow bitmap uploads: 0
Number Slow issue draw commands: 1
Number Frame deadline missed: 1
HISTOGRAM: 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 26ms=0 27ms=0 28ms=0 29ms=0 30ms=0 31ms=0 32ms=0 34ms=0 36ms=0 38ms=0 40ms=0 42ms=0 44ms=0 46ms=0 48ms=0 53ms=0 57ms=0 61ms=0 65ms=0 69ms=0 73ms=0 77ms=0 81ms=0 85ms=0 89ms=0 93ms=0 97ms=1 101ms=0 105ms=0 109ms=0 113ms=0 117ms=0 121ms=0 125ms=0 129ms=0 133ms=0 150ms=0 200ms=0 250ms=0 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
50th gpu percentile: 4950ms
90th gpu percentile: 4950ms
95th gpu percentile: 4950ms
99th gpu percentile: 4950ms
GPU HISTOGRAM: 1ms=0 2ms=0 3ms=0 4ms=0 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 4950ms=0
Font Cache (CPU):
Size: 2.66 kB
Glyph Count: 2
CPU Caches:
GPU Caches:
Other:
Other: 988.00 bytes (1 entry)
Shadow Gaussian Falloff:
Texture: 128.00 bytes (1 entry)
Scratch:
Buffer Object: 48.00 KB (1 entry)
Texture: 2.00 MB (1 entry)
Other Caches:
Current / Maximum
Layers Total 0.00 KB (numLayers = 0)
Total GPU memory usage:
2147420 bytes, 2.05 MB (128.00 bytes is purgeable)
Pipeline=Skia (OpenGL)
Profile data in ms:
org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity/android.view.ViewRootImpl@a9f6eba (visibility=0)
Draw Prepare Process Execute
Window: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity
Stats since: 5644998711873ns
Total frames rendered: 1
Janky frames: 1 (100.00%)
50th percentile: 97ms
90th percentile: 97ms
95th percentile: 97ms
99th percentile: 97ms
Number Missed Vsync: 0
Number High input latency: 0
Number Slow UI thread: 1
Number Slow bitmap uploads: 0
Number Slow issue draw commands: 1
Number Frame deadline missed: 1
HISTOGRAM: 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 26ms=0 27ms=0 28ms=0 29ms=0 30ms=0 31ms=0 32ms=0 34ms=0 36ms=0 38ms=0 40ms=0 42ms=0 44ms=0 46ms=0 48ms=0 53ms=0 57ms=0 61ms=0 65ms=0 69ms=0 73ms=0 77ms=0 81ms=0 85ms=0 89ms=0 93ms=0 97ms=1 101ms=0 105ms=0 109ms=0 113ms=0 117ms=0 121ms=0 125ms=0 129ms=0 133ms=0 150ms=0 200ms=0 250ms=0 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
50th gpu percentile: 4950ms
90th gpu percentile: 4950ms
95th gpu percentile: 4950ms
99th gpu percentile: 4950ms
GPU HISTOGRAM: 1ms=0 2ms=0 3ms=0 4ms=0 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 4950ms=0
---PROFILEDATA---
Flags,IntendedVsync,Vsync,OldestInputEvent,NewestInputEvent,HandleInputStart,AnimationStart,PerformTraversalsStart,DrawStart,SyncQueued,SyncStart,IssueDrawCommandsStart,SwapBuffers,FrameCompleted,DequeueBufferDuration,QueueBufferDuration,GpuCompleted,
1,5645013569772,5645013569772,9223372036854775807,0,5645014148949,5645014150180,5645014151103,5645081986026,5645084159488,5645092585719,5645092703796,5645118001873,5645120370719,0,1326769,0,
8,5645030205523,5645113538858,9223372036854775807,0,5645125786949,5645125790103,5645125954565,5645126136103,5645126148565,5645126504257,0,0,0,0,0,0,
---PROFILEDATA---
View hierarchy:
org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity/android.view.ViewRootImpl@a9f6eba
14 views, 26.56 kB of render nodes
Total ViewRootImpl : 1
Total attached Views : 14
Total RenderNode : 26.56 kB (used) / 97.82 kB (capacity)
And this is log only for Apk:
Applications Graphics Acceleration Info:
Uptime: 6901736 Realtime: 6901736
** Graphics info for pid 12574 [org.apache.tvm.tvmrpc] **
Stats since: 500523944950ns
Total frames rendered: 439
Janky frames: 23 (5.24%)
50th percentile: 6ms
90th percentile: 10ms
95th percentile: 19ms
99th percentile: 61ms
Number Missed Vsync: 1
Number High input latency: 69
Number Slow UI thread: 12
Number Slow bitmap uploads: 0
Number Slow issue draw commands: 5
Number Frame deadline missed: 13
HISTOGRAM: 5ms=199 6ms=39 7ms=45 8ms=72 9ms=21 10ms=20 11ms=7 12ms=5 13ms=1 14ms=3 15ms=4 16ms=0 17ms=1 18ms=0 19ms=1 20ms=0 21ms=0 22ms=0 23ms=0 24ms=3 25ms=1 26ms=0 27ms=1 28ms=1 29ms=3 30ms=0 31ms=1 32ms=3 34ms=0 36ms=0 38ms=0 40ms=1 42ms=2 44ms=0 46ms=0 48ms=0 53ms=0 57ms=0 61ms=1 65ms=0 69ms=0 73ms=1 77ms=0 81ms=0 85ms=1 89ms=0 93ms=0 97ms=0 101ms=0 105ms=0 109ms=0 113ms=0 117ms=0 121ms=0 125ms=0 129ms=0 133ms=0 150ms=0 200ms=1 250ms=1 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
50th gpu percentile: 3ms
90th gpu percentile: 6ms
95th gpu percentile: 11ms
99th gpu percentile: 24ms
GPU HISTOGRAM: 1ms=0 2ms=56 3ms=192 4ms=100 5ms=16 6ms=17 7ms=6 8ms=0 9ms=1 10ms=2 11ms=10 12ms=6 13ms=4 14ms=1 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=1 22ms=0 23ms=2 24ms=5 25ms=0 4950ms=0
Font Cache (CPU):
Size: 17.38 kB
Glyph Count: 5
CPU Caches:
GPU Caches:
Other:
Other: 0.00 bytes (1 entry)
Shadow Gaussian Falloff:
Texture: 128.00 bytes (1 entry)
Image:
Texture: 54.45 KB (3 entries)
Scratch:
Buffer Object: 48.00 KB (1 entry)
Texture: 2.00 MB (1 entry)
Other Caches:
Current / Maximum
Layers Total 0.00 KB (numLayers = 0)
Total GPU memory usage:
2202192 bytes, 2.10 MB (54.58 KB is purgeable)
Pipeline=Skia (OpenGL)
Profile data in ms:
org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity/android.view.ViewRootImpl@1038509 (visibility=8)
Draw Prepare Process Execute
View hierarchy:
org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity/android.view.ViewRootImpl@1038509
27 views, 38.25 kB of render nodes
Total ViewRootImpl : 1
Total attached Views : 27
Total RenderNode : 38.25 kB (used) / 38.25 kB (capacity)
My thoughts about it:
Total frames rendered - Number of frames created to render
Janky Frames - Number of dropped frames
50th percentile: 6ms - 50% of frames was rendered in or under 6ms
90th percentile: 10ms - 90% of frames was rendered in or under 10ms
95th percentile: 19ms - 95% of frames was rendered in or under 19ms
99th percentile: 61ms - 99% of frames was rendered in or under 61ms
Number Missed Vsync - vsync is complex mechnism for syncronizing frames from GPU and frames displayed
Number High input latency - Input latency or lag refers to the amount of time it takes from when it receives a signal (when you press a button on your controller or move your mouse) to when that action occurs on the screen.
Number Slow UI thread: ???
Number Slow bitmap uploads: ???
Number Slow issue draw commands: ???
Number Frame deadline missed: ???
HISTOGRAM - histogram of what? ms is time from this moment?
GPU HISTOGRAM - histogram of GPU usage? in what units?
--edit--
I was trying to look for gfxinfo and dumpsys in AOSP, but I haven't found anything interesting. There is parser of gfxinfo written in java, just parses few things. In dumpsys I cannot find reference to gfxinfo service (https://cs.android.com/android/platform/superproject/+/master:frameworks/native/cmds/dumpsys/dumpsys.cpp)
404pio
(141 rep)
Apr 26, 2022, 10:51 AM
• Last activity: Apr 26, 2022, 01:37 PM
1
votes
1
answers
1030
views
Android phone without GPU
I am developing an app and I am considering phones that have low GPU config. I want to know is/was there a phone without GPU?
I am developing an app and I am considering phones that have low GPU config. I want to know is/was there a phone without GPU?
shreyans jain
(123 rep)
Apr 28, 2016, 06:29 PM
• Last activity: Mar 11, 2022, 11:02 AM
0
votes
0
answers
65
views
SoC compute-resource usage monitor for single app
I need to understand the **compute resource usage of a compute-intensive app**; this includes the **CPU** (ideally including the core ID), **GPU, DSP, AI Engine** in the processor (for Quallcom chips). I have found many ways to track the CPU usage per app, but am yet to find one that tracks the GPU...
I need to understand the **compute resource usage of a compute-intensive app**; this includes the **CPU** (ideally including the core ID), **GPU, DSP, AI Engine** in the processor (for Quallcom chips). I have found many ways to track the CPU usage per app, but am yet to find one that tracks the GPU or DSP usage per app.
What can I use to monitor the compute-resource usage of an app?
kesari
(151 rep)
Nov 2, 2020, 05:14 AM
1
votes
1
answers
3287
views
Changes made in developer options revert back to default after turning off developer options
I am trying to enable Force GPU rendering option in the developer options. But after enabling it and then turning off the developer options, the developer settings revert back to default. How do I make these changes stick permanently? Using a Vivo Y53, Android Marshmallow.
I am trying to enable Force GPU rendering option in the developer options. But after enabling it and then turning off the developer options, the developer settings revert back to default. How do I make these changes stick permanently?
Using a Vivo Y53, Android Marshmallow.
Divyansh Adwani
(11 rep)
Oct 5, 2020, 05:34 PM
• Last activity: Oct 5, 2020, 05:39 PM
0
votes
1
answers
946
views
Clock speed of Adreno 509
I'm sorry if this if off topic but I don't know a better place to put it, after it's a GPU used in Android device My ROM maintainer has capped it at 430 mhz on the Moto z3 play. I distinctly remember it being 830 on stock, and I know the 506 clocked at 652 mhz and why would a better gpu have a much...
I'm sorry if this if off topic but I don't know a better place to put it, after it's a GPU used in Android device
My ROM maintainer has capped it at 430 mhz on the Moto z3 play. I distinctly remember it being 830 on stock, and I know the 506 clocked at 652 mhz and why would a better gpu have a much lower speed
So once and for all: what is the max clock speed of the Adreno 509?
unixandria
(371 rep)
May 16, 2019, 10:51 AM
• Last activity: May 17, 2019, 02:48 PM
1
votes
0
answers
2817
views
How do I check if my phone has hardware video encoder?
I own a Samsung j7 2016 and I did some search about the CPU and looked for information tools but I've found codec info but not hardware video encoder info anywhere. If you know any app or adb command to retrieve info about this, it'll be helpful.
I own a Samsung j7 2016 and I did some search about the CPU and looked for information tools but I've found codec info but not hardware video encoder info anywhere.
If you know any app or adb command to retrieve info about this, it'll be helpful.
Uğur Gümüşhan
(111 rep)
Feb 3, 2018, 04:51 AM
0
votes
2
answers
723
views
What are the correct specs of Tecno W3 smart phone?
I would like to by Tecno W3 smart phone (Android 6.0 Marshmallow). I googled to know its GPU. Some websites said it's **Mali-400 GPU** such as: 1. http://bestmobs.com/tecno-w3/ 2. http://naijaquest.com/tecno-w3-specs-features-reviews-and-price-official/ And other websites said it's **Mali-400MP2 GPU...
I would like to by Tecno W3 smart phone (Android 6.0 Marshmallow).
I googled to know its GPU. Some websites said it's **Mali-400 GPU** such as:
1. http://bestmobs.com/tecno-w3/
2. http://naijaquest.com/tecno-w3-specs-features-reviews-and-price-official/
And other websites said it's **Mali-400MP2 GPU** such as:
1. http://www.androidphonesinnigeria.com/tecno-w3-full-specifications-features-price/
2. http://www.droidafrica.com/tecno-w3-brings-android-60/
The official website of the phone does not give any information about the GPU nor the part number of the CPU IC.
How can I know the real GPU when I test the phone at the shop? Is there an android test code? Thank you very much,
user2824371
(141 rep)
Sep 30, 2016, 07:09 AM
• Last activity: Jun 6, 2017, 01:48 AM
2
votes
2
answers
2374
views
Can PowerTutor app measure exact whole power consumption of device's GPU?
I'm developing face detection app using OpenCL for heterogeneous devices with CPU-GPU. My app uses CPU - GPU simultaneously, so I want to measure app power consumption, comparing only GPU version which most calculations are executed in GPU kernel. I found [PowerTutor](https://play.google.com/store/a...
I'm developing face detection app using OpenCL for heterogeneous devices with CPU-GPU. My app uses CPU - GPU simultaneously, so I want to measure app power consumption, comparing only GPU version which most calculations are executed in GPU kernel.
I found [PowerTutor](https://play.google.com/store/apps/details?id=edu.umich.PowerTutor) app. It measures power consumption of each app. The PowerTutor app measures about utility of CPU, LCD, 3G, WiFi respectively and weighted average of power consumption.
Can PowerTutor app measures exact whole power consumption of devices which uses GPU?
youngwan lee
(23 rep)
May 14, 2015, 07:28 AM
• Last activity: Mar 15, 2017, 08:26 AM
1
votes
1
answers
5967
views
Does Forcing GPU Rendering Affect Battery Life?
I'm currently unsure about this and haven't found anything concrete while searching on the internet. I just recently got my first Android phone a week ago and started tinkering with the developer settings, I am currently using a OnePlus 3T with Android Nougat. Any answers will be appreciated. ԅ...
I'm currently unsure about this and haven't found anything concrete while searching on the internet. I just recently got my first Android phone a week ago and started tinkering with the developer settings, I am currently using a OnePlus 3T with Android Nougat. Any answers will be appreciated. 😀
TLDR: Does enabling force GPU Rendering affect battery life on the OnePlus 3T with Android Nougat?
Nhoj
(11 rep)
Jan 17, 2017, 11:12 PM
• Last activity: Jan 17, 2017, 11:17 PM
15
votes
3
answers
253445
views
Why is "Force GPU rendering" disabled by default Developer options?
Why is this feature disabled? When I turn it on, many apps and become snappy and awesome with smooth graphics. Seems like it'd be nice if it was enabled by default. The linked article in [this question](https://android.stackexchange.com/questions/17731/force-gpu-rendering-in-ics-how-does-this-affect...
Why is this feature disabled? When I turn it on, many apps and become snappy and awesome with smooth graphics. Seems like it'd be nice if it was enabled by default.
The linked article in [this question](https://android.stackexchange.com/questions/17731/force-gpu-rendering-in-ics-how-does-this-affect-system-performance) says that hardware acceleration wasn't default up until 4.0.
Is the "Force GPU rendering" option then targeting apps that use API for 3.0 and lower?
trusktr
(1297 rep)
May 5, 2014, 10:12 PM
• Last activity: Nov 5, 2016, 11:23 PM
0
votes
0
answers
219
views
How do I know if my device's GPU (or graphics driver) is of subpar quality?
The other day I got a new tablet. It's an [Insignia Flex 10.1][1], a bargain Best Buy brand. A tablet's a tablet, though. Then I noticed, across several apps, this weird texture bleeding: (Click image to enlarge for better resolution) [ ][2] Notice the text. This didn't happen when playing this game...
The other day I got a new tablet. It's an Insignia Flex 10.1 , a bargain Best Buy brand. A tablet's a tablet, though.
Then I noticed, across several apps, this weird texture bleeding:
(Click image to enlarge for better resolution)
" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy">
Notice the text. This didn't happen when playing this game on a different device.
(Click image to enlarge for better resolution)
" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy">
Notice the dots.
**Is this indicative of a cheap, crappy GPU or bad OpenGL drivers?** Or is it a coincidence and that the developers for these two apps use the same bad OpenGL techniques? And by cheap and crappy I mean *bad*, not just mediocre or underpowered.


JesseTG
(101 rep)
Oct 22, 2015, 06:41 PM
• Last activity: Oct 22, 2015, 10:08 PM
6
votes
1
answers
3066
views
Can I Throttle the GPU on my phone?
My phone gets really hot when playing games. I've tried throttling the cpu all the way down, but it doesn't seem to help any. Is there anyway to manually throttle the GPU? EDIT: My phone is an LG Motion 4G LTE
My phone gets really hot when playing games. I've tried throttling the cpu all the way down, but it doesn't seem to help any. Is there anyway to manually throttle the GPU?
EDIT:
My phone is an LG Motion 4G LTE
Sepero
(707 rep)
Nov 18, 2012, 07:49 AM
• Last activity: Aug 12, 2015, 07:53 AM
1
votes
0
answers
494
views
HD Video in Chrome Browser is not working properly
I have an Android device with Android 4.2. It's a Box with an HDMI Output, to plug in to a TV. This box is capable of playing 1080p HD-Videos in the media-player app. However when I try to display a 720p Video (downscaled via ffmpeg) in the chrome or chromium browser, the framerate gets horribly low...
I have an Android device with Android 4.2. It's a Box with an HDMI Output, to plug in to a TV.
This box is capable of playing 1080p HD-Videos in the media-player app. However when I try to display a 720p Video (downscaled via ffmpeg) in the chrome or chromium browser, the framerate gets horribly low. (It varies between 15fps and 22fps) You can't really enjoy the video...
When the video is not fullscreen, but in a smaller div-container it gets even worse!
In the
chrome://inspect
-settings I have set the flags:
- \#ignore-cpu-blacklist
- \#show-fps-counter
- \#enable-gpu-rasterization (force enable)
When I do not set those flags, the video does not play at all.
On the video-screenshot in the top right corner you can see, that the browser almost takes none of the available GPU-memory! Why is that? Can I do something about it?
When I enter chrome://gpu
it shows, that Hardware acceleration is supported. Nevertheless the output is just terrible...
Do you have any tips how to improve HD-video playback in the browser?
Best regards


user_1559454
(345 rep)
Aug 10, 2015, 01:31 PM
• Last activity: Aug 10, 2015, 01:38 PM
0
votes
0
answers
146
views
MHL screen becomes static anytime a new app is loaded
I have an HTC One m7 that I use to stream Netflix with over an MHL HDMI cable to a touch screen. When I was running ViperOne 7.0.1 I would only occasionally see this and it would regain the video feed after becoming static. It is random and not repeatable by any particular steps. Now I am running Cy...
I have an HTC One m7 that I use to stream Netflix with over an MHL HDMI cable to a touch screen.
When I was running ViperOne 7.0.1 I would only occasionally see this and it would regain the video feed after becoming static. It is random and not repeatable by any particular steps.
Now I am running Cyanogenmod M12 (latest snapshot) and any time I open Netflix, I get permanent static until I unplug and re-plug the MHL cable. Also any time a new app loads or a new Netflix video loads, I'll get static until pulling and replugging in the cable.
Given that it works fine in one ROM and not so well in the other, what is the missing link to getting this to work reliably? Is it the kernel? What can I do to figure out the problem?
Status3543
(1250 rep)
Nov 20, 2014, 03:57 PM
0
votes
1
answers
510
views
How to meausre GPU performance in different Custom ROMs
I plan to compare the GPU performance of different GPU powerscale policies. GPU powerscale policies are found under /drivers/msm/gpu/msm[or any other chipset name]/kgsl_pwrscale_XXXX.c under the kernel tree, where XXXX= trustzone, msm or any other policy I wrote. Based on these different policies I...
I plan to compare the GPU performance of different GPU powerscale policies.
GPU powerscale policies are found under
/drivers/msm/gpu/msm[or any other chipset name]/kgsl_pwrscale_XXXX.c
under the kernel tree,
where XXXX= trustzone, msm or any other policy I wrote. Based on these different policies I expect differing performance for frame rendering. SO for each policy let's assume there is a different ROM.
I know there are apps like GFXBench and Basemark 2.0 ES Taiji which can measure GPU performance directly. But I am looking to measuring performance of the GPU in low GPU intensive apps/workloads such as Home screen scrolling, Twitter or 2048 game.
What metrics can I take into account and how can I measure them?
Since I am using a 2nd Gen Nexus 7 and it's using a Qualcomm Adreno GPU, I can use the Adreno Profiler from Qualcomm to capture FPS when I scroll. But in apps like Twitter, the screen doesn't refresh unless you scroll, so there is no FPS measurement if we don't scroll. So what other metrics can I use
Isuru
(151 rep)
May 20, 2014, 02:39 PM
• Last activity: May 20, 2014, 04:11 PM
1
votes
1
answers
1363
views
How to disable GPU rendering on Samsung Galaxy Tab 3 8"
You're reading it right, I'm trying to do the oposite as others. **I want to use CPU for rendering.** The reason is simple. My tablet is freezing very frequently. I have no warranty, so I'm trying to solve problem by lowering performance of device. I isolated a problem and I'm sure freezing is cause...
You're reading it right, I'm trying to do the oposite as others. **I want to use CPU for rendering.**
The reason is simple. My tablet is freezing very frequently. I have no warranty, so I'm trying to solve problem by lowering performance of device. I isolated a problem and I'm sure freezing is caused by GPU. It freezes on gfx intese moments(few seconds of video playback), or on overlay (Eg. opening search dialog in google play causes almost instant freeze).
So the question stands:
**How can I disable GPU rendering on my device**(I have terminal with root access if it helps)?
What I already tried:
1. Underclocking CPU has no effect on freezing. I tried powersave mode with 200MHz, with no impact on problem.
2. Underclocking GPU has also no effect on freezing.
The reason is simple. My tablet is freezing very frequently. I have no warranty, so I'm trying to solve problem by lowering performance of device. I isolated a problem and I'm sure freezing is caused by GPU. It freezes on gfx intese moments(few seconds of video playback), or on overlay (Eg. opening search dialog in google play causes almost instant freeze).
So the question stands:
**How can I disable GPU rendering on my device**(I have terminal with root access if it helps)?
What I already tried:
1. Underclocking CPU has no effect on freezing. I tried powersave mode with 200MHz, with no impact on problem.
2. Underclocking GPU has also no effect on freezing.
Viliam
(111 rep)
Feb 4, 2014, 09:04 PM
• Last activity: Feb 7, 2014, 06:00 AM
0
votes
1
answers
439
views
What GPU is the Touchmate MID TM-MID777 Tablet?
Can anyone tell me the specifications of a tablet called MID TM-MID777 Touchmate? Is their chipset: - Adreno - Mali - Tegra **or** - PowerVR?
Can anyone tell me the specifications of a tablet called MID TM-MID777 Touchmate?
Is their chipset:
- Adreno
- Mali
- Tegra **or**
- PowerVR?
user52383
(1 rep)
Jan 31, 2014, 11:17 AM
• Last activity: Jan 31, 2014, 01:33 PM
Showing page 1 of 20 total questions