dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 74718] New: r600g: graphics artifacts with geometry shaders
Date: Sat, 08 Feb 2014 18:00:27 +0000	[thread overview]
Message-ID: <bug-74718-502@http.bugs.freedesktop.org/> (raw)


[-- 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

             reply	other threads:[~2014-02-08 18:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08 18:00 bugzilla-daemon [this message]
2014-02-08 18:00 ` [Bug 74718] r600g: graphics artifacts with geometry shaders 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-74718-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox