Skip to contentSkip to conversation

Rendering errors when running basic opengl 3 demo

Bug 89107 [email protected] 1 participant 6 messages Feb 12, 2015 – Feb 13, 2015

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 89107
Summary: [Radeonsi/Hawaii] Rendering errors when running basic
opengl 3 demo
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 113408
--> https://bugs.freedesktop.org/attachment.cgi?id=113408&action=edit
The lab files.

I'm currently taking a course in Opengl 3 graphics programming.

When doing the first lab I noticed that the bunny (and other objects) had quite severe rendering errors when using the open source driver for my graphics card. See the attached image for how it looks.

There seems to be a problem with the facing direction of the rendered triangles. However, it doesn't do that much of a difference if I turn off culling either...

The bunny renders correctly on nvidia cards (with the closed source drivers) and on my card running fgrlx. The professor in charge of the course is running OSX, and the lab computers are running Linux (with nvidia cards). So I guess this is a problem only with Mesa (or something else in the driver stack). I haven't tried on intel cards so I can't say if this is just a problem with radeonsi or not.

I've attached the lab code. It should run on Linux and OSX. I would really appreciate if other people could try it out so we can see if this is a general problem with mesa or not.

I haven't seen anything like this in other opengl 3 programs. So if there is a problem with the code, IE it breaks opengl spec, then please tell me so I can inform the professor about it.

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

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

--- Comment #1 from Sebastian Parborg <[email protected]> --- Created attachment 113409
--> https://bugs.freedesktop.org/attachment.cgi?id=113409&action=edit
Bunny render errors

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
In reply to [email protected]

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

--- Comment #2 from Sebastian Parborg <[email protected]> --- Created attachment 113410
--> https://bugs.freedesktop.org/attachment.cgi?id=113410&action=edit
glxinfo output

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
In reply to [email protected]

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

Sebastian Parborg <[email protected]> changed:

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

 Attachment #113408|text/plain                  |application/octet-stream
          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

#4 lore raw
In reply to [email protected]

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

--- Comment #3 from Ilia Mirkin <[email protected]> ---
FWIW just tested on nvc0, llvmpipe, and softpipe -- all give the same results. At the very least this is a gallium issues, if not a mesa one. (Classic swrast doesn't do GL3.2, don't have i965 handy.)

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
In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

          Component|Drivers/Gallium/radeonsi    |Mesa core
           Assignee|[email protected] |[email protected].
                   |.org                        |org
         QA Contact|[email protected] |[email protected].
                   |.org                        |org
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