Skip to contentSkip to conversation

New: rendering error with MSAA on HD6850

Bug 58840 [email protected] 1 participant 16 messages Dec 28, 2012 – May 24, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 58840
Assignee: [email protected]
Summary: rendering error with MSAA on HD6850
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

There are weird rendering errors when OpenGL applications use MSAA framebuffer. The output is mostly noise. KDE 4.8 with OpenGL compositing is totally unusable this way.

It is also interesting, that MS visuals are only advertised in glxinfo, if I have the msaa-capable r600_dri.so installed on the system. If I only enable it via LIBGL_DRIVERS_PATH and LD_LIBRARY_PATH, they are not advertised, but still selectable. At least with __GL_FSAA_MODE=4 the applications are broken in the same way.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #2 from almos <[email protected]> --- (In reply to comment #1)

Quoted 1 line

Please attach your xorg log and dmesg output.

The same as the ones at bug 58839

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #3 from almos <[email protected]> ---
Created attachment 72400
--> https://bugs.freedesktop.org/attachment.cgi?id=72400&action=edit
neverball.png

The frames of Neverball are ok most of the time, but it flashes to garbage like in the attachment several times per second. The other applications I tried are sauerbraten and kde-window-manager, those are permanently garbage.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

almos <[email protected]> changed:

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

  Attachment #72400|text/plain                  |image/png
          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

#5 lore raw

[Bug 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #4 from almos <[email protected]> ---
Now I tried again with updated mesa (git-8ed6b14). Now glxgears, sauerbraten, ut2004 (32bit), fgfs (when did 3d clouds become such a performance killer?) are fine. Neverball still flashes garbage. Nexuiz is 3fps with AA. Etqw (32bit) and team fortress 2 (32bit, wine) cause gpu lockup even without AA (I'll bisect later). Alien-arena with AA dies with r600_texture.c:776:r600_texture_transfer_map: Assertion `rtex->resource.b.b.nr_samples <= 1' failed.

In all cases I had to use the env var, even games that support setting AA cannot do it themselves.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #5 from almos <[email protected]> ---
Cogs also works, sort of. It has to be started with the __GL_FSAA_MODE=4 env var *and* antialias must be enabled in the options menu to see AA. However, it cannot start this way, it says
Couldn't set 1280x960 OpenGL video mode: Couldn't find matching GLX visual on the next startup. The antialias has to be reset to 0 in ~/.local/share/Cogs/cogs.ini, and re-enabled in the menu. Additionally, there is a 90% chance of segfault on startup and on changing the antialias setting.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #6 from Marek Olšák <[email protected]> --- (In reply to comment #5)

Quoted 2 lines

Couldn't set 1280x960 OpenGL video mode: Couldn't find matching GLX visual on the next startup.

If you want MSAA GLX visuals, you must *install* the gallium driver and restart the X server for it to pick up the visuals.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

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

Quoted 6 lines

(In reply to comment #5)

Quoted 2 lines

Couldn't set 1280x960 OpenGL video mode: Couldn't find matching GLX visual on the next startup.

If you want MSAA GLX visuals, you must *install* the gallium driver and restart the X server for it to pick up the visuals.

I know, but the last time I tried to install it, the whole screen became noise, like I said in the initial report.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #8 from almos <[email protected]> ---
Now I tested things again, and I only see rendering errors with neverball.

I don't know if it is expected, but some games completely slow down to a few fps with msaa enabled (etqw, nexuiz), while others slow down only when lots of geometry is seen (sauerbraten). I still can't install the msaa-capable r600_dri.so, because of the kde-window-manager slowdown bug discussed at bug 55998, so I used the __GL_FSAA_MODE=4 env var for the tests.

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #9 from Marek Olšák <[email protected]> --- (In reply to comment #8)

Quoted 7 lines

Now I tested things again, and I only see rendering errors with neverball.

I don't know if it is expected, but some games completely slow down to a few fps with msaa enabled (etqw, nexuiz), while others slow down only when lots of geometry is seen (sauerbraten). I still can't install the msaa-capable r600_dri.so, because of the kde-window-manager slowdown bug discussed at bug 55998, so I used the __GL_FSAA_MODE=4 env var for the tests.

Does the slowdown happen with the latest kernel from Linus Torvalds's 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

#11 lore raw

[Bug 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

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

Quoted 2 lines

Does the slowdown happen with the latest kernel from Linus Torvalds's git?

Currently I use 3.6.4. I plan to upgrade to 3.7.4 this weekend. How stable is the git version? How do I check it out? Is 3.8-rc4 enough?

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 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #11 from Marek Olšák <[email protected]> ---
The latest kernel may be more stable for your graphics card. You can get it from:

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.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

#13 lore raw

[Bug 58840] rendering error with MSAA on HD6850

In reply to [email protected]

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

--- Comment #12 from almos <[email protected]> ---
I happened to check out the git exactly at the tag 3.8-rc5 as HEAD. With that the preformance issues in etqw and nexuiz are gone. The neverball problem is still there though.

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 58840] [r600g][hd6850] rendering error with MSAA

In reply to [email protected]

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

Jerome Glisse <[email protected]> changed:

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

            Summary|rendering error with MSAA   |[r600g][hd6850] rendering
                   |on HD6850                   |error with MSAA
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 58840] [r600g][hd6850] rendering error with MSAA

In reply to [email protected]

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

almos <[email protected]> changed:

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

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

--- Comment #13 from almos <[email protected]> --- With Mesa 10.1.1 and kernel 3.12 Neverball runs perfectly even with __GL_FSAA_MODE=4. Closing.

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