Search Issue Tracker

Not Reproducible

Votes

0

Found in

2021.3.34f1

Issue ID

UUM-74912

Regression

No

[Android][GLES] PowerVR Rogue GE8320 GPU Memory LEAK

-

Steps to reproduce:
1. Unzip the “ReproProj” folder
2. Ensure that the 1.8.0_191 Java version is installed
3. Create or edit the gradle.properties file in the /Users/{}User{}/.gradle folder (see comments what to write)
4. Open the terminal of the root of the “ReproProj” project folder
5. Modify the gradle.properties that is at the root of the project and modify the UNITY_CMD_PATH to match the path with your unity exec
6. In the Terminal write {{chmod x ./gradlew}}
7. Build the project using {{./gradlew buildDebugAndroid}} in the Terminal
8. Build a second time if there are errors in Unit Tests
9. Run the /<RootProject>/build/DebugAndroid-12.7.2-<…>/artifacts apk on the device

Expected result: The Player doesn't leak memory
Actual result: The Player leaks memory

Reproducible with: 2021.3.34f1
Could not test with: 2021.3.35f1 (Scripts have compiler errors)

Testing environment: macOS Sonoma 14.5 (Intel), Windwos 10 (by user)
Not reproducible on: No other environment tested

Reproducible with these devices:
Motorola Moto G Play (2023) (by user)

Not reproducible with these devices:
VLNQA00287 - Motorola moto g(7) power (moto g(7) power), CPU: Snapdragon 625 MSM8953, GPU: Adreno 506, OS: 9
VLNQA00531 - OnePlus OnePlus 11 5G (CPH2449), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 13
VLNQA00460 - Google Pixel 6 (Pixel 6), CPU: Google Tensor (Whitechapel), GPU: Mali-G78, OS: 14

Devices crashing for insufficient memory:
VLNQA00032 - Motorola Moto X (2014) (XT1092), CPU: Snapdragon 801 MSM8974AC, GPU: Adreno 330, OS: 5.1
VLNQA00036 - Motorola Moto G (XT1032) (XT1032), CPU: Snapdragon 400 MSM8226, GPU: Adreno 305, OS: 5.1
VLNQA00069 - Motorola Moto G 4 (Moto G (4)), CPU: Snapdragon 617 MSM8952, GPU: Adreno 405, OS: 7.0

Notes:
- Unity version has to be downloaded from Unity Hub, otherwise, it will fail on DirectoryNotFound
- Couldn't test with Vulkan, as the reproducible devices does not support Vulkan

  1. Resolution Note:

    This case is suspecting memory leak on PowerVR Rogue GE8320 GPUs due to high initial memory usage compared to other devices. After our internal investigation we were not able to find reasonable proof supporting theory of there being a runtime leak. On 4GB RAM PowerVR GE8320 Nokia G20 device, total occupied memory is between 800MB-1200MB, favoring bottom end after idling for 7 hours in tutorial level and hitting all time low - 780MB on 15th hour. With Redmi 9A - same GPU, but lower physical memory (2GB), we recorded kswapd managing memory up to the point where lmk is involved and kills process for occupying unsustainable amount of in-use and reserved memory. Memory supervision by kswapd lead to different analytical results coming from memory inspection tools. We believe this is what you could have observed. Today we are closing this ticket. If you suspect this to be false negative on our end, please feel free to file a ticket, specifying memory measuring methods, inspected results and minimal reproduction project (to refute possibility of user-end issue or Android process involvement with resource intensive app)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.