Bug 26809 - KMS/R200: Bad shading in NWN since Mesa rewrite
KMS/R200: Bad shading in NWN since Mesa rewrite
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200
Other All
: medium normal
Assigned To: Default DRI bug account
Depends on:
  Show dependency treegraph
Reported: 2010-02-28 14:19 UTC by Alan Swanson
Modified: 2012-12-10 16:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

r200-nwn-plaza.jpg (282.22 KB, image/jpeg)
2010-02-28 14:19 UTC, Alan Swanson
r200-nwn-indoor.jpg (186.40 KB, image/jpeg)
2010-02-28 14:21 UTC, Alan Swanson

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Swanson 2010-02-28 14:19:33 UTC
Created attachment 33655 [details]

Neverwinter Nights with KMS has rendering problems possibly related to other R200 KMS shading issues reported while before the Radeon rewrite was merged, Mesa 7.5.2 is fine.

On rv250; characters are almost black except when highlighted with a mouse over,  general scenery appears darker than old reference whilst objects flip to black as a scene view is rotated.

On R200; characters are very dark but do have some shading compared to rv250, general scenery tends to flicker madly inverting shading on each tile and even borders of interface flicker. Note though that am using patch from bug 25544 to disable texture checking to allow R200 to run but don't think it should be relevant.

(UMS on both tends to die quickly for other reasons but concentrating on KMS as the future.)

Attached are comparative screenshots of two scenes with current Mesa git, libdrm 2.4.18 and Linux 2.6.33.
Comment 1 Alan Swanson 2010-02-28 14:21:47 UTC
Created attachment 33656 [details]

Bit harder to see as shading is more coloured in this scene but R200 still has flickering on floor tiles.
Comment 2 Roland Scheidegger 2012-12-10 16:38:39 UTC
Ought to be fixed by 320d531373e7b0873f5de42f6173b986290f593f.