All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 74718] New: r600g: graphics artifacts with geometry shaders
@ 2014-02-08 18:00 bugzilla-daemon
  2014-02-08 18:00 ` [Bug 74718] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 18:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2913 bytes --]

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

          Priority: medium
            Bug ID: 74718
                CC: airlied@freedesktop.org
          Assignee: dri-devel@lists.freedesktop.org
           Summary: r600g: graphics artifacts with geometry shaders
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: edwin+mesa@etorok.net
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/DRI/R600
           Product: Mesa

Created attachment 93670
  --> https://bugs.freedesktop.org/attachment.cgi?id=93670&action=edit
geometry.trace

This application uses a geometry shader, and runs without crashing, but there
are graphics artifacts, see geometry.0000001176.png and
geometry.0000001644.png:

Source code for the application can be found here:
https://bitbucket.org/alfonse/gltut/src/1d1479cc7027f1e32c5adff748f3b296f1931d84/Tut%2013%20Impostors/GeomImpostor.cpp?at=default
https://bitbucket.org/alfonse/gltut/src/1d1479cc7027f1e32c5adff748f3b296f1931d84/Tut%2013%20Impostors/data/GeomImpostor.frag?at=default
https://bitbucket.org/alfonse/gltut/src/1d1479cc7027f1e32c5adff748f3b296f1931d84/Tut%2013%20Impostors/data/GeomImpostor.geom?at=default
https://bitbucket.org/alfonse/gltut/src/1d1479cc7027f1e32c5adff748f3b296f1931d84/Tut%2013%20Impostors/data/GeomImpostor.vert?at=default

It doesn't work exactly as is with the upstream source code, due to mismatching
layouts between vert/geom/frag shader, but adding this to all shaders makes it
run:
layout(std140) uniform;

Let me know if a tarball with a working source code would help debugging or if
the apitrace suffices.

I did an apitrace, and rerun it using llvmpipe forced to 3.3, and there are no
artifacts there, see geometry.0000001176.good.png:
$ MESA_GLSL_VERSION_OVERRIDE=330 MESA_GL_VERSION_OVERRIDE=3.3
LIBGL_ALWAYS_SOFTWARE=1 glretrace ./geometry.trace

Kernel is 3.14.0-rc1 + merge of 7c4c62a04a2a80e3feb5d6c97aca1e413b11c790 from
drm-fixes:
$ uname -a
Linux debian 3.14.0-rc1-00015-g7c4c62a #48 SMP PREEMPT Sat Feb 8 17:33:48 EET
2014 x86_64 GNU/Linux

Mesa is from the 10.1 branch:
$ glxinfo |grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.0-rc1
(git-1e6bba5)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.1.0-rc1 (git-1e6bba5)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

Hardware is a Radeon HD 4650:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730
PRO [Radeon HD 4650] (prog-if 00 [VGA controller])

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4993 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
@ 2014-02-08 18:00 ` bugzilla-daemon
  2014-02-08 18:01 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 18:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]

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

--- Comment #1 from Török Edwin <edwin+mesa@etorok.net> ---
Created attachment 93671
  --> https://bugs.freedesktop.org/attachment.cgi?id=93671&action=edit
good rendering with llvmpipe

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1263 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
  2014-02-08 18:00 ` [Bug 74718] " bugzilla-daemon
@ 2014-02-08 18:01 ` bugzilla-daemon
  2014-02-08 18:01 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 18:01 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 317 bytes --]

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

--- Comment #2 from Török Edwin <edwin+mesa@etorok.net> ---
Created attachment 93672
  --> https://bugs.freedesktop.org/attachment.cgi?id=93672&action=edit
artifacts with r600g

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1239 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
  2014-02-08 18:00 ` [Bug 74718] " bugzilla-daemon
  2014-02-08 18:01 ` bugzilla-daemon
@ 2014-02-08 18:01 ` bugzilla-daemon
  2014-02-08 18:01 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 18:01 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 317 bytes --]

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

--- Comment #3 from Török Edwin <edwin+mesa@etorok.net> ---
Created attachment 93673
  --> https://bugs.freedesktop.org/attachment.cgi?id=93673&action=edit
artifacts with r600g

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1239 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-02-08 18:01 ` bugzilla-daemon
@ 2014-02-08 18:01 ` bugzilla-daemon
  2014-02-08 18:06 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 18:01 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]

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

Török Edwin <edwin+mesa@etorok.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93671|text/plain                  |image/png
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1104 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-02-08 18:01 ` bugzilla-daemon
@ 2014-02-08 18:06 ` bugzilla-daemon
  2014-02-08 19:48 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 18:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 384 bytes --]

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

Marek Olšák <maraeo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/R600            |Drivers/Gallium/r600

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1093 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-02-08 18:06 ` bugzilla-daemon
@ 2014-02-08 19:48 ` bugzilla-daemon
  2014-02-08 19:54 ` [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730 bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 19:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 268 bytes --]

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

--- Comment #4 from Grigori Goronzy <greg@chown.ath.cx> ---
Looks fine on Evergreen. This is probably specific to r600/r700 class hardware.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1038 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-02-08 19:48 ` bugzilla-daemon
@ 2014-02-08 19:54 ` bugzilla-daemon
  2014-02-08 20:19 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 19:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 720 bytes --]

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

Andreas Boll <andreas.boll.dev@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|r600g: graphics artifacts   |r600g: graphics artifacts
                   |with geometry shaders       |with geometry shaders with
                   |                            |RV730

--- Comment #5 from Andreas Boll <andreas.boll.dev@gmail.com> ---
(In reply to comment #4)
> Looks fine on Evergreen. This is probably specific to r600/r700 class
> hardware.

Looks fine on BARTS too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2070 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (6 preceding siblings ...)
  2014-02-08 19:54 ` [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730 bugzilla-daemon
@ 2014-02-08 20:19 ` bugzilla-daemon
  2014-02-08 22:00 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 20:19 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]

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

--- Comment #6 from Andreas Boll <andreas.boll.dev@gmail.com> ---
BTW I've found another bug (failing assertion in mesa core on debug builds)
when replaying your trace file (attachment 93670).
see bug 74723

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1571 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (7 preceding siblings ...)
  2014-02-08 20:19 ` bugzilla-daemon
@ 2014-02-08 22:00 ` bugzilla-daemon
  2014-10-23 18:51 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-08 22:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]

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

--- Comment #7 from Török Edwin <edwin+mesa@etorok.net> ---
(In reply to comment #6)
> BTW I've found another bug (failing assertion in mesa core on debug builds)
> when replaying your trace file (attachment 93670 [details]).
> see bug 74723

After the fix in c325ec896545cc909f2f0e359f0bb0513a8a53b5 I don't get any
assertion with --enable-debug, only these messages:

669: glDebugOutputCallback: High severity Shader Compiler unknown issue 1,
0:2(12): warning: extension `GL_EXT_gpu_shader4' unsupported in geometry shader
673: glDebugOutputCallback: High severity Shader Compiler unknown issue 2,
0:2(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2172 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (8 preceding siblings ...)
  2014-02-08 22:00 ` bugzilla-daemon
@ 2014-10-23 18:51 ` bugzilla-daemon
  2015-11-25  1:54 ` bugzilla-daemon
  2016-12-25 10:47 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-10-23 18:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 387 bytes --]

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

--- Comment #8 from Dieter Nützel <Dieter@nuetzel-hh.de> ---
Is this still a problem for you?

Looks very similar as mesa-demos/glsl/geom-outlining-150 on my RV730 AGP.
I have a geom-outlining-150-shader.log with R600_DEBUG=gs,vs,fs,ps if needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (9 preceding siblings ...)
  2014-10-23 18:51 ` bugzilla-daemon
@ 2015-11-25  1:54 ` bugzilla-daemon
  2016-12-25 10:47 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2015-11-25  1:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 622 bytes --]

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

--- Comment #9 from Dieter Nützel <Dieter@nuetzel-hh.de> ---
(In reply to Dieter Nützel from comment #8)
> Is this still a problem for you?
> 
> Looks very similar as mesa-demos/glsl/geom-outlining-150 on my RV730 AGP.
> I have a geom-outlining-150-shader.log with R600_DEBUG=gs,vs,fs,ps if needed.

Stays this for you?
'cause my reported 'mesa-demos/glsl/geom-outlining-150' artifacts are SOLVED,
now.
Have a look at:
https://bugs.freedesktop.org/show_bug.cgi?id=83319#c11

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1675 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730
  2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
                   ` (10 preceding siblings ...)
  2015-11-25  1:54 ` bugzilla-daemon
@ 2016-12-25 10:47 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-12-25 10:47 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 687 bytes --]

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

Török Edwin <edwin+bugs@etorok.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #10 from Török Edwin <edwin+bugs@etorok.eu> ---
Thanks, I confirm this works for me:
OpenGL renderer string: Gallium 0.4 on AMD RV730 (DRM 2.48.0 / 4.9.0_3, LLVM
3.9.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2215 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-12-25 10:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-08 18:00 [Bug 74718] New: r600g: graphics artifacts with geometry shaders bugzilla-daemon
2014-02-08 18:00 ` [Bug 74718] " bugzilla-daemon
2014-02-08 18:01 ` bugzilla-daemon
2014-02-08 18:01 ` bugzilla-daemon
2014-02-08 18:01 ` bugzilla-daemon
2014-02-08 18:06 ` bugzilla-daemon
2014-02-08 19:48 ` bugzilla-daemon
2014-02-08 19:54 ` [Bug 74718] r600g: graphics artifacts with geometry shaders with RV730 bugzilla-daemon
2014-02-08 20:19 ` bugzilla-daemon
2014-02-08 22:00 ` bugzilla-daemon
2014-10-23 18:51 ` bugzilla-daemon
2015-11-25  1:54 ` bugzilla-daemon
2016-12-25 10:47 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.