Summary: | Two Worlds 2 renders water incorrectly | ||
---|---|---|---|
Product: | Mesa | Reporter: | Béla Gyebrószki <gyebro69> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED FIXED | QA Contact: | Nouveau Project <nouveau> |
Severity: | normal | ||
Priority: | medium | CC: | gyebro69, imirkin |
Version: | git | Keywords: | regression |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
screenshot
potential patch |
Description
Béla Gyebrószki
2015-12-08 19:18:22 UTC
Thanks for testing :) I find it difficult to believe that NV50_PROG_OPTIMIZE=0 wouldn't fix the issue -- probably you just don't have a debug mesa build. However I find it easy to believe that this commit breaks something, esp on nv50, as that (a) has a lot more restrictions and (b) has separate address registers. Will investigate the trace to see what's up. Created attachment 120418 [details] [review] potential patch Does the attached patch help? If so I'll put something a bit more generic together. (In reply to Ilia Mirkin from comment #1) > Thanks for testing :) I find it difficult to believe that NV50_PROG_OPTIMIZE=0 > wouldn't fix the issue -- probably you just don't have a debug mesa build. Yes indeed, disabling optimizations works around the problem with a debug build (originally I tested with a non-debug Mesa build). (In reply to Ilia Mirkin from comment #2) > Created attachment 120418 [details] [review] [review] > potential patch > > Does the attached patch help? If so I'll put something a bit more generic > together. The patch fixes the problem, thank you. Fix pushed: commit 0f647bd65bae16c7a2dc7a960c96593ad6ab729c Author: Ilia Mirkin <imirkin@alum.mit.edu> Date: Tue Dec 8 16:48:06 2015 -0500 nv50/ir: check if the target supports the new offset before inlining Fixes: abd326e81b (nv50/ir: propagate indirect loads into instructions) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93300 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Double-checked that this updated version actually fixed your trace as well. |
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.