Summary: | [nve7] witcher2: blurry image & DATA_ERRORs (class 0xa097 mthd 0x2380/0x238c) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Marcin Slusarz <marcin.slusarz> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED FIXED | QA Contact: | Nouveau Project <nouveau> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Witcher2 on Nouveau
Witcher2 on Intel cb management patch |
Description
Marcin Slusarz
2015-09-05 23:35:17 UTC
Created attachment 118092 [details]
Witcher2 on Intel
Hmmm... that's the CB_SIZE which is 64K max, aka 0x10000. Somehow it's trying to write to 0x24000 which is well past that. Should probably throw some asserts in to see where it's happening. IIRC I fixed some issues with CB writes at some point, can you confirm that this happens on a semi-recent mesa? Preferably Mesa 11-rcN or git? This happens on mesa git (3c6c4d4f298ec81fe57992790a68aaab2e573519). Created attachment 118094 [details] [review] cb management patch This is a very preliminary patch, but in replaying the above trace, I get the same results as on intel (at least on the last frame). And at least with mesa 10.6.3, I do see the same blurriness as you did. (Fun, looks like it makes use of GL_DEPTH_BOUNDS_TEST_EXT, which wasn't available in 10.6.3.) Please confirm that the included patch fixes the blurriness. It's a pile-o-hacks right now, but could definitely be cleaned up. I've been aware of this issue for a while, but didn't have a reason to fix until now. This patch resolves both blurriness and DATA_ERRORs. Thanks! Pushed out this commit: commit e50c01d5af305e07110cb4a38d5a655437058f04 Author: Ilia Mirkin <imirkin@alum.mit.edu> Date: Wed Sep 9 03:17:38 2015 -0400 nvc0: keep track of cb bindings per buffer, use for upload settings |
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.