Skip to contentSkip to conversation

New: Strange artifacts when rendering tees in Dota 2

Bug 74784 [email protected] 1 participant 17 messages Feb 10, 2014 – Sep 3, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 74784
Assignee: [email protected]
Summary: Strange artifacts when rendering tees in Dota 2
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 93753
--> https://bugs.freedesktop.org/attachment.cgi?id=93753&action=edit
Strange artifacts in trees

Hi,

When playing Dota 2, randomly and depending on the ligh and the perspective, some random artifacts appear in trees. They also appear in other places, but the trees are the most visible ones.

My graphics card is an AMD HD5470M (AMD Cedar) and I am using Arch linux 64 bits and mesa compiled from git at commit 356aff3.

I thought this problem could be related to this other bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=72895 but applying that patch doesn't help.

The attached screenshot shows the problem with the trees.

If you need anything else, just ask.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 74784] Strange artifacts when rendering tees in Dota 2

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

Bruno Jiménez <[email protected]> changed:

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

  Attachment #93753|text/plain                  |text/jpg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 74784] Strange artifacts when rendering tees in Dota 2

In reply to [email protected]

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

Emil Velikov <[email protected]> changed:

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

  Attachment #93753|text/jpg                    |image/jpeg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

            Summary|Strange artifacts when      |Strange artifacts when
                   |rendering tees in Dota 2    |rendering trees in Dota 2
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #1 from Alex Deucher <[email protected]> ---
Please attach your xorg log and dmesg output. Are using using the llvm backend in r600g? If so, does disabling it help? Also, if this is a regression, can you bisect?

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #2 from Bruno Jiménez <[email protected]> --- Yes, I am using the llvm backend (you mean the --enable-r600-llvm-compiler configure option, don't you? )

I will compile a mesa package without that option, and tonight I will see if it continues to happend and I will attach the xorg and dmesg logs.

And yes, it is a regression, although the best date I can give as not happening is the 29th of December.

If disabling the llvm backend doesn't help, I will start bisecting.

Thanks for all!

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #3 from Bruno Jiménez <[email protected]> --- Created attachment 93795
--> https://bugs.freedesktop.org/attachment.cgi?id=93795&action=edit
dmesg log

Theres like 440 lines that look like this:

radeon 0000:01:00.0: evergreen_cs_track_validate_cb:413 cb invalid format 0 for 1 (0x00000000)
radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd s[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #4 from Bruno Jiménez <[email protected]> --- Created attachment 93796
--> https://bugs.freedesktop.org/attachment.cgi?id=93796&action=edit
xorg log

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #5 from Alex Deucher <[email protected]> ---
This may be a duplicate of bug 68451. Make sure your kernel has this patch:

drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #6 from Bruno Jiménez <[email protected]> ---
No, Arch doesn't seem to apply that patch. But I am still using kernel 3.12.9, should it be there too?

Also, that bug report was reopened on the 19 Dec, but I think (I may be wrong) I recompiled mesa after that and didn't see anything wrong.

And compiling without --enable-r600-llvm-compiler doesn't help either.

If I can help with anything else, just ask.

Thanks

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

Bruno Jiménez <[email protected]> changed:

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

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

--- Comment #7 from Bruno Jiménez <[email protected]> --- With mesa at commit 6d1cecb (Friday evening) this problem is fixed.

Thanks!

P.D: Maybe it was related to the hyperz problem of r600g drivers, as I am using a revision that is after this commit
http://cgit.freedesktop.org/mesa/mesa/commit/?id=01e637114914453451becc0dc8afe60faff48d84

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #8 from Andreas Boll <[email protected]> --- (In reply to comment #7)

Quoted 8 lines

With mesa at commit 6d1cecb (Friday evening) this problem is fixed.

Thanks!

P.D: Maybe it was related to the hyperz problem of r600g drivers, as I am using a revision that is after this commit
http://cgit.freedesktop.org/mesa/mesa/commit/
?id=01e637114914453451becc0dc8afe60faff48d84

Could you set the following environment variable to re-enable hyperz?

R600_DEBUG=hyperz

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 74784] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #9 from Bruno Jiménez <[email protected]> --- With 'R600_DEBUG=hyperz' the problem happens again, so I'm afraid that it's something related to the hyperz.

If I can help with anything else, just ask.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 74784] [hyperz] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

            Summary|Strange artifacts when      |[hyperz] Strange artifacts
                   |rendering trees in Dota 2   |when rendering trees in
                   |                            |Dota 2
             Blocks|                            |75112
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 74784] [hyperz] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

Alexandre Demers <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #10 from Alexandre Demers <[email protected]> --- The bug is not fixed, HyperZ has only been disabled by default. Please, keep opened to track the problem until HyperZ is fixed.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw

[Bug 74784] [hyperz] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

--- Comment #11 from Marek Olšák <[email protected]> --- Could you please test if this is fixed with current Mesa git?

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw

[Bug 74784] [hyperz] Strange artifacts when rendering trees in Dota 2

In reply to [email protected]

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

Bruno Jiménez <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Bruno Jiménez <[email protected]> --- Hi,

I have just tried with 'R600_DEBUG=hyperz' to enable hyperz with mesa built from yesterday master.

I have played a match with a hero that used to cause failures with some of his abilities, but as far as I can tell, there has been no problem.

So it seems that this bug has been resolved (^_^)

If you need anything else just ask.

Thanks!

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel