Skip to contentSkip to conversation

New: Artifacts in 3D games.

Bug 74062 [email protected] 1 participant 17 messages Jan 26, 2014 – Oct 19, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

          Priority: medium
            Bug ID: 74062
          Assignee: [email protected]
           Summary: Artifacts in 3D games.
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 10.0
         Component: Drivers/DRI/nouveau
           Product: Mesa

Moving artifacts are present in the rendering of 3D games such as OpenArena or Minetest/Freeminer, happens in glxgears too. However, there is no issue when I use compiz. In blender, the artifacts are visible only “inside” 3d elements.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

A message that is not in the archive (sent off-list or not yet received): bug-74062-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 74062] Artifacts in 3D games.

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

--- Comment #1 from Mario Barrera <[email protected]> --- Created attachment 92790
--> https://bugs.freedesktop.org/attachment.cgi?id=92790&action=edit
Video of a short gameplay in OpenArena where the artifacts can be seen

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#3 lore raw

[Bug 74062] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #2 from Mario Barrera <[email protected]> --- Created attachment 92791
--> https://bugs.freedesktop.org/attachment.cgi?id=92791&action=edit
Blender having artifacts visible only “inside” 3d elements in the design view

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#4 lore raw

[Bug 74062] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- What hardware is this with? (dmesg | grep -i chipset). Do you see any nouveau-related errors in dmesg?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#5 lore raw

[Bug 74062] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #4 from Mario Barrera <[email protected]> --- (In reply to comment #3)

Quoted 2 lines

What hardware is this with? (dmesg | grep -i chipset). Do you see any nouveau-related errors in dmesg?

Hi Ilia, it is chipset GK104 (NVE4).
I don't see any nouveau related errors in dmesg, only a warning about unknown voltage. I am attaching the output of dmesg.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#6 lore raw

[Bug 74062] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #5 from Mario Barrera <[email protected]> --- Created attachment 92889
--> https://bugs.freedesktop.org/attachment.cgi?id=92889&action=edit
Output of dmesg for the system with the issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#7 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

            Summary|Artifacts in 3D games.      |[NVE4] Artifacts in 3D
                   |                            |games.

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I think I remember someone else having this style of corruption... e.g.
https://bugs.freedesktop.org/attachment.cgi?id=87845 from bug #70326 (for nvf0, but they're sorta similar and the reporter mentions that he saw that issue on a gtx650, which is nve7 probably). Sadly, not the slightest clue as to what's wrong :( Feels like it's just not rendering certain triangles, or doesn't have time to do it, or we're not waiting for it properly... or something else entirely.

I was going to recommend that you try to use blob graph fw, but I see you're already doing that. I suppose going back to the nouveau one causes even worse issues...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#8 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

  Attachment #92790|application/octet-stream    |video/mpeg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#9 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #7 from Mario Barrera <[email protected]> --- (In reply to comment #6)

Quoted 3 lines

I was going to recommend that you try to use blob graph fw, but I see you're already doing that. I suppose going back to the nouveau one causes even worse issues...

Actually, the nouveau one has exactly the same issues.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#10 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #8 from Mario Barrera <[email protected]> --- Probably useful, the artifacts are not present if the OpenGL application is run inside a Xephyr screen, though the performance decreases.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#11 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #9 from Elias Vanderstuyft <[email protected]> --- On the following link, you can find my experiences of this issue on nouveau with a GTX760 card:
http://bugzilla.redhat.com/show_bug.cgi?id=1029224

Note that this bug only shows up when running high-end games on high graphics settings.
Other games, like Xonotic don't exhibit this problem (even on high quality) and run very smooth (60-120fps). Nouveau seems to use the lowest clock speed: my GPU idle temp is 32 degrees Celcius and climbs to only maximum 35 degrees Celcius on full load. (so I am quite pleased with nouveau: good performance for nearly no power consumption)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#12 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #10 from Mario Barrera <[email protected]> --- (In reply to comment #9)

Quoted 11 lines

On the following link, you can find my experiences of this issue on nouveau with a GTX760 card:
http://bugzilla.redhat.com/show_bug.cgi?id=1029224

Note that this bug only shows up when running high-end games on high graphics settings.
Other games, like Xonotic don't exhibit this problem (even on high quality) and run very smooth (60-120fps). Nouveau seems to use the lowest clock
speed: my GPU idle temp is 32 degrees Celcius and climbs to only maximum 35 degrees Celcius on full load. (so I am quite pleased with nouveau: good performance for nearly no power consumption)

My issue happens with Xonotic too. I dont know why.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#13 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #11 from Mario Barrera <[email protected]> --- Created attachment 100185
--> https://bugs.freedesktop.org/attachment.cgi?id=100185&action=edit
demonstrating more clearly the bug with glxgears

The bug being demonstrated with glxgears and resizing it to various window sizes so how the artifacts change can be seen. Note that the artifacts completely disappear when the scene rendering is smaller than a certain size.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#14 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #12 from Emil Velikov <[email protected]> --- Wild guess - perhaps it's LTCG related ?

You can easily check if that's the case my setting compressed = false in nvc0_miptree.c:nvc0_miptree_create.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#15 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #13 from Mario Barrera <[email protected]> --- (In reply to comment #12)

Quoted 4 lines

Wild guess - perhaps it's LTCG related ?

You can easily check if that's the case my setting compressed = false in nvc0_miptree.c:nvc0_miptree_create.

Seems like, I just did what you suggested and all artifacts are gone now (just had to restart any OpenGL program after installing). So I confirm this workaround works for me.
Thanks Emil.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#16 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

--- Comment #14 from Ben Skeggs <[email protected]> --- It's worth retrying this with Linux 3.17. I fixed a bug with the same symptoms on a macbook I had access to, but did not expect the same fix to be relevant for the other boards where the issue was reported.

However, I've just had an email saying it's fixed for another guy, so, it's worth a try.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#17 lore raw

[Bug 74062] [NVE4] Artifacts in 3D games.

In reply to a message not in the archive

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

Mario Barrera <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Mario Barrera <[email protected]> --- (In reply to Ben Skeggs from comment #14)

Quoted 6 lines

It's worth retrying this with Linux 3.17. I fixed a bug with the same symptoms on a macbook I had access to, but did not expect the same fix to be relevant for the other boards where the issue was reported.

However, I've just had an email saying it's fixed for another guy, so, it's worth a try.

I just compiled Linux 3.17 and found that the bug won't happen with it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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