https://bugs.freedesktop.org/show_bug.cgi?id=105670

--- Comment #5 from Roland Scheidegger <srol...@vmware.com> ---
(In reply to almos from comment #4)
> The problem is not loop unrolling. The problem is that userspace code can
> hang the GPU unrecoverably, and thus bringing down the entire system.
> 
> BTW I can confirm this on Pitcairn with radeon drm in linux 4.15.

There isn't much you can do about shaders not terminating (loop limiting in
llvmpipe is quite a hack, you could legitimately have a loop which has more
iterations).

But yes, gpu reset actually working reliably would be nice. I haven't really
seen it succeed lately neither (but it can happen...).

I disagree that loop unrolling isn't a problem. Clearly there's two problems:
- loop unrolling shouldn't turn perfectly fine loops into loops which don't
terminate, this is what this bug is about.
- gpu reset should work reliably

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to