We have an OpenGL application that runs 24/7. After 4-5 days the application quits with this error in the syslog.
../amdgpu/amdgpu_bo.c:443: amdgpu_bo_cpu_map: Assertion `bo->cpu_map_count > 0' failed.
The system is running
Debian 10 buster (kernel 4.19.0)
libdrm 2.4.99 built from source (gitlab.freedesktop.org)
There seems to be a patch to fix this problem here
But there has been no activity on this patch in a while and it has not been merged.
I will start a test of this patch and will verify if it works for me, but it will take 5 days to confirm.
Any chance of getting this patch merged?
(In reply to Todd from comment #0)
> There seems to be a patch to fix this problem here
As discussed there, this is a Mesa issue and should be addressed there.
I can't comment on where the fix should be, but
1. This does not happen on a radeon based system
2. With the patch applied to the amdgpu code the application has been running for over 7 days now with no issues.