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

Enormous graphical memory allocation when drawing surface shapes on Mali GPU #252

Open
ComBatVision opened this issue Aug 6, 2023 · 3 comments

Comments

@ComBatVision
Copy link

ComBatVision commented Aug 6, 2023

Description

Enormous graphical memory allocation when drawing surface shapes on Mali GPU.
Each frame GPU allocates new memory for resulting texture and it generated 2GB of VRAM during 5 sec.

Steps to Reproduce

Issue can be easily reproduced on any example with surface shapes on textures.

Expected behavior: It should free allocated graphical memory on GPU friver level

Actual behavior: It creates a copy of texture on each frame and generates 1Gb VRAM leak per second.

Reproduces how often: Always

Operating System and Version

Android 11 - Android 13

Additional Information

This issue happened only on Mali GPU
photo_2023-08-06_13-50-10

@nicolasvila
Copy link

nicolasvila commented Aug 7, 2023

Please give details about hardware (device/model) and software version (kernel, Android OS versions)
Could be related to the same Mali bug described here?
https://community.arm.com/support-forums/f/graphics-gaming-and-vr-forum/5469/glteximage2d-memory-leak

@ComBatVision
Copy link
Author

Galaxy Tab Active3 Mali G72 M18 Android 11
Galaxy A53 Mali G63

@ComBatVision
Copy link
Author

This issue is somehow related with the driver.
Below are the hardware info from Galaxy Tab Active3 on Android 13 and Galaxy Note 9 Android 10.

First one has an issue, but second one is not.

I have created topic on ARM forum, but I think some workaround should be done on engine level.

signal-2023-08-08-08-07-11-929
Screenshot_20230807-193311_CPU-Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants