Summary: | NV40 vertex corruption (kernel BO deletion too early?) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Luca Barbieri <luca.barbieri> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Luca Barbieri
2009-12-27 13:45:10 UTC
Upon further examination, the kernel does seem to have the required logic: sending a pushbuffer creates a fence, which is put in bo->sync_obj, which is then checked on deletion and if non-null, the buffer is put on a delayed destroy list. However, it seems to be somehow not working. Maybe fencing is broken on my card? (i.e. the kernel thinks fences are signaled when they aren't) Or possibly fences are being signaled before the vertex shader is finished running? How can I test that fencing is working correctly? (In reply to comment #1) > Upon further examination, the kernel does seem to have the required logic: > sending a pushbuffer creates a fence, which is put in bo->sync_obj, which is > then checked on deletion and if non-null, the buffer is put on a delayed > destroy list. > > However, it seems to be somehow not working. > > Maybe fencing is broken on my card? (i.e. the kernel thinks fences are signaled > when they aren't) > Or possibly fences are being signaled before the vertex shader is finished > running? That would be almost unprecedented... it's more likely that some caches in the GPU aren't being flushed often enough (or maybe the ones in the CPU... a bug in the kernel PAT code also used to cause the same symptoms, but that's hopefully already fixed). I'm marking this as invalid because that's the current policy, unfortunately we're already aware of too many gallium bugs. > > How can I test that fencing is working correctly? > |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.