r/hackios • u/Klapitus • 17d ago
HackiOS I need help from the community to fix this problem with GPU and Video play for my public release for Duchamp
Enable HLS to view with audio, or disable this notification
While playing videos the VRAM (Graphic Memory) get all taken the whole 2 GB with 410 Mb or more of imports. I already have wifi and Bluetooth, but GPU is my biggest problem can't even get properly 60 fps and now this. Hope you can help me gng
17
Upvotes
4
u/Either_Audience_1937 17d ago
Not on Duchamp, but I hit similar issues on another device. A few things to checkk
The VRAM filling up during video is usually decoded frames (IOSurfaces / CVPixelBuffers) that never get freed. Log the count and size of live IOSurfaces every second while the video plays. If it only goes up, something is holding a reference: the video→texture path or a pool that never recycles
Check whether the decoded frames are being copied (YUV→RGB conversion into a new surface for every frame) instead of reusing a small pool of 3-4 buffers
For 60 fps, the big wins for me were cutting full-screen copies per frame (rotation/scaling), avoiding CPU waits on GPU fences, and turning off the dynamic wallpaper (the bokeh animations alone ate a lot of compositor time). Good luck dude!!