(In reply to comment #28)
> Oh, I'm sorry, after some minutes, the memory usage come backs to normal...
>
> Will this work exactly this?
>
I think I see exactly what you met now.
In all, it seems not free system memory at the right time. So if we keep resizing the window for a few minutes, it will use up all system memory, and finally GPU hang. So there might be some issue with BO cache policy
And here's what I saw:
with KMS/UXA/DRI2/compiz. a few resizing will make memory usage grow rapidly
it will reach to use 1092860k, cat /proc/dri/0/gem_objects
2732 objects
552259584 object bytes
4 pinned
16977920 pin bytes
189448192 gtt bytes
234885120 gtt total
then if I don't operate for a few seconds, it seems start to free some memories.
so it use 859872k system memory, cat /proc/dri/0/gem_objects
3011 objects
276971520 object bytes
4 pinned
16977920 pin bytes
181391360 gtt bytes
234885120 gtt total
and if I start resizing the window again, it will reach to use 1440524k system memory, and cat /proc/dri/0/gem_objects
3394 objects
832200704 object bytes
4 pinned
16977920 pin bytes
179752960 gtt bytes
234885120 gtt total
and then if I keep resizing the window for a few minutes, it will use all system memory, then GPU hangs.
(In reply to comment #28)
> Oh, I'm sorry, after some minutes, the memory usage come backs to normal...
>
> Will this work exactly this?
>
I think I see exactly what you met now.
In all, it seems not free system memory at the right time. So if we keep resizing the window for a few minutes, it will use up all system memory, and finally GPU hang. So there might be some issue with BO cache policy
And here's what I saw: DRI2/compiz. a few resizing will make memory usage grow rapidly 0/gem_objects
with KMS/UXA/
it will reach to use 1092860k, cat /proc/dri/
2732 objects
552259584 object bytes
4 pinned
16977920 pin bytes
189448192 gtt bytes
234885120 gtt total
then if I don't operate for a few seconds, it seems start to free some memories. 0/gem_objects
so it use 859872k system memory, cat /proc/dri/
3011 objects
276971520 object bytes
4 pinned
16977920 pin bytes
181391360 gtt bytes
234885120 gtt total
and if I start resizing the window again, it will reach to use 1440524k system memory, and cat /proc/dri/ 0/gem_objects
3394 objects
832200704 object bytes
4 pinned
16977920 pin bytes
179752960 gtt bytes
234885120 gtt total
and then if I keep resizing the window for a few minutes, it will use all system memory, then GPU hangs.