radeonsi: VRAM Leak/abnormally high usage in Minecraft mod pack
System information
- OS: Lubuntu 21.10 and Lubuntu 21.04
- GPU: Pitcairn XT [Radeon HD 7870 GHz Edition] and AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X]
- Kernel version: 5.13.3 and 5.11.0
- Mesa version: Mesa 22.1.0-devel (git-45770ac2 2022-03-10 impish-oibaf-ppa) and Mesa 22.0.0-devel (git-b8d37eb1 2022-01-16 hirsute-oibaf-ppa)
- Xserver version: X.Org X Server 1.20.13 and X.Org X Server 1.20.11
- Desktop manager and compositor: LxQt/None on both
VRAM Leak/abnormally high usage in Minecraft mod pack (OpenGL)
I run a specific Minecraft mod pack (every other Minecraft mod pack I played before ran fine) for a few minutes.
During that time VRAM, then GTT get filled (observed in radeontop).
Once they both are quite full, the game slows down and lags badly from time to time.
The game runs 'fine' (slow but consistent) on llvmpipe, leaking no memory.
The issue is reproducible on both systems described above with an apitrace available here (sorry for the slow download, I have to host it myself, because its 5,7 GiB (~30 GiB before apitrace repack), and my internet connection is mediocre at best.): https://merl.dnshome.de/nextcloud/index.php/s/fdEdYXAsbGT89XK
I don't know if the issue is a regression. If someone wants me to, I can test a few old Mesa versions.