Skip to contentSkip to conversation

New: Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

Bug 111292 [email protected] 1 participant 15 messages Aug 3, 2019 – Sep 18, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 111292
Summary: Advanced Lighting option in Firestorm Viewer makes
some objects black on nv92 card
Product: Mesa
Version: git
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: randrik-JGs/[email protected]
QA Contact: [email protected]

Hello!

While not everyone here likes to play Second Life - I was lured into it by following some interesting posts, and so far it works quite OK with nouveau/nv92 card. But when i tried to enable _everything_ in viewer's preferences - scene become broken: / Disabling 'Advanced Lighting' in preferences moves scene back to normal look.

Viewer: https://www.firestormviewer.org/
Phoenix_FirestormOS-Release_i686_6.0.2.56680 {but be aware viewer for Second Life only and not OpenSimulator can be blocked when 3 new releases come out .. see https://wiki.firestormviewer.org/fs_old_version_blocks}

src:
http://www.phoenixviewer.com/phoenix-firestorm-lgpl/file/80296261f0ac/indra/newview/pipeline.cpp
[I think this is correct file in their VCS]

Mesa: OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.2.0-devel (git-de17922b8a)
kernel: 5.1.12-x64
Xserver: 1.19.7
xf86-video-nouveau - latest git [132955.893] (II) NOUVEAU driver Date: Mon

Jan 28 23:25:58 2019 -0500

will add two attachements - broken and correct rendering.

You can get Second Life account for free, no need for credit card info or real name.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #1 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- Created attachment 144936
--> https://bugs.freedesktop.org/attachment.cgi?id=144936&action=edit
Scene with broken lighting

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #2 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- Created attachment 144937
--> https://bugs.freedesktop.org/attachment.cgi?id=144937&action=edit
Same scene with correct lights

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #3 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- Created attachment 144938
--> https://bugs.freedesktop.org/attachment.cgi?id=144938&action=edit
X log

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #4 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- Created attachment 144939
--> https://bugs.freedesktop.org/attachment.cgi?id=144939&action=edit
dmesg

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #5 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- Created attachment 144940
--> https://bugs.freedesktop.org/attachment.cgi?id=144940&action=edit
glxinfo

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- An apitrace that demonstrates this would be the most expedient way to get this analyzed and ideally resolved.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #7 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- (In reply to Ilia Mirkin from comment #6)

Quoted 2 lines

An apitrace that demonstrates this would be the most expedient way to get this analyzed and ideally resolved.

https://yadi.sk/d/2MMPqKPSiIHxLA - 41791K

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Note to anyone taking a look... due to either a bug in the shader or a bug in mesa (depending on one's view), you have to run the trace with

MESA_EXTENSION_ENABLE=-GL_ARB_gpu_shader5

on DX11+ GPUs. Clarifying the behavior now as to which is right (pretty sure mesa behavior is right), but either way it doesn't affect the OP's problem. The black floor does not reproduce on a GK208 though.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #9 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Andrew - do you see a bunch of "nv50cal_space: -16" errors in dmesg when this happens? I get a lot of submit errors right when the black background appears, so I think it may be related. But I also have a much lower-end G84 plugged in right now.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #10 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- (In reply to Ilia Mirkin from comment #9)

Quoted 4 lines

Andrew - do you see a bunch of "nv50cal_space: -16" errors in dmesg when this happens? I get a lot of submit errors right when the black background appears, so I think it may be related. But I also have a much lower-end G84 plugged in right now.

No, or at least they not in dmesg: dmesg | grep nv50cal_space returns nothing.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #11 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Andrew Randrianasulu from comment #10)

Quoted 8 lines

(In reply to Ilia Mirkin from comment #9)

Quoted 4 lines

Andrew - do you see a bunch of "nv50cal_space: -16" errors in dmesg when this happens? I get a lot of submit errors right when the black background appears, so I think it may be related. But I also have a much lower-end G84 plugged in right now.

No, or at least they not in dmesg: dmesg | grep nv50cal_space returns nothing.

OK, that seems like an artifact of glretrace. Running with MESA_DEBUG=flush and making _mesa_flush actually call Finish() as well makes the trace run ok. Now I can get to the actual figuring out of the misrender.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #12 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- The issue occurs in draw call 1306672 in the referenced trace. Not yet clear why... all the inputs are the same, and it's not a complex shader.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

--- Comment #13 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- I also tried NV50_PROG_USE_NIR=1 (with Mesa 19.2.0-devel (git-5254e53deb)) but it made no difference.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#15 lore raw

[Bug 111292] Advanced Lighting option in Firestorm Viewer makes some objects black on nv92 card

In reply to a message not in the archive

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #14 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1189.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau