https://bugs.freedesktop.org/show_bug.cgi?id=58042
Priority: medium Bug ID: 58042 Assignee: dri-devel@lists.freedesktop.org Summary: Garbled UI in Team Fortress 2 Beta Severity: normal Classification: Unclassified OS: All Reporter: dev@stuffit.at Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 71229 --> https://bugs.freedesktop.org/attachment.cgi?id=71229&action=edit Screenshot of UI Problem
With 3.0 Mesa 9.1-devel (git-122dfc5) i get the attached garbled screen output when starting Linux native Team Fortress 2 Beta client. I tried all of the visual settings under advanced options but the problem persists. If you need more input feel free to ask.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
dev@stuffit.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71229|text/plain |image/png mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #1 from dev@stuffit.at --- Created attachment 71230 --> https://bugs.freedesktop.org/attachment.cgi?id=71230&action=edit 32bit glxinfo
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #2 from Alex Deucher agd5f@yahoo.com --- Is this a regression or has it always had rendering problems? Does it render ok with mesa 9.0.x or 8.0.x? If so, can you bisect?
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #3 from dev@stuffit.at --- Only tried it with mesa from git but i can give 9.0 a shot. Though as far as I know the native client is not officially released yet, so I don't know if bisecting will help.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.boll.dev@gmail.com, | |maraeo@gmail.com
--- Comment #4 from Andreas Boll andreas.boll.dev@gmail.com --- 1eedebc65b02130ef7a27062a1ed67972a317a08 is the first bad commit commit 1eedebc65b02130ef7a27062a1ed67972a317a08 Author: Marek Olšák maraeo@gmail.com Date: Thu Nov 1 02:00:37 2012 +0100
r600g: re-enable handling of DISCARD_RANGE, improving performance
It seems to work for me now. Even the graphics corruption is gone.
This also boosts performance in Reaction Quake.
Reverting this commit on current master (e721a76) does fix the garbled UI on my rv770.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Summary|Garbled UI in Team Fortress |[bisected] Garbled UI in |2 Beta |Team Fortress 2 Beta
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Bryan Quigley BryanQuigley@Ubuntu.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |BryanQuigley@Ubuntu.com
--- Comment #5 from Bryan Quigley BryanQuigley@Ubuntu.com --- I have the garbled issue, but if I try to play the game it soon crashes. Do you all have this additional issue as well?
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #6 from Andreas Boll andreas.boll.dev@gmail.com --- (In reply to comment #5)
I have the garbled issue, but if I try to play the game it soon crashes. Do you all have this additional issue as well?
Nope, I can play with the garbled issue and it doesn't crash.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pontostroy@gmail.com
--- Comment #7 from Laurent carlier lordheavym@gmail.com --- *** Bug 60224 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #8 from Marek Olšák maraeo@gmail.com --- Do the piglit transform feedback tests pass?
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #9 from Bryan Quigley BryanQuigley@Ubuntu.com --- All 241 tests with this command pass: piglit-run.py -t transform_feedback /usr/share/piglit/tests/all.tests
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #10 from Bryan Quigley BryanQuigley@Ubuntu.com --- Created attachment 74780 --> https://bugs.freedesktop.org/attachment.cgi?id=74780&action=edit Full results of quick-driver piglit tests
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #11 from almos aaalmosss@gmail.com --- I just tried steam and tf2 on linux, and I didn't see any rendering error. The only abnormal thing was this line: This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
HD6850, OpenGL version string: 3.0 Mesa 9.2-devel (git-b681ed6)
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #12 from Marek Olšák maraeo@gmail.com --- Could you please attach an apitrace file showing the issue?
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #13 from Bryan Quigley BryanQuigley@Ubuntu.com --- Apitrace done.. It's about 300MB so I uploaded it to GoogleDrive.
https://docs.google.com/file/d/0B9PdLrdrtm1wRW9VdVJiOTl5YVU/edit?usp=sharing
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Marek Olšák maraeo@gmail.com --- Fixed by Mesa commit aac81387447152b5bda99150414d636a003adc5. Closing.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #15 from Andreas Boll andreas.boll.dev@gmail.com --- I can still reproduce the garbled ui on my rv770
Mesa f6b40ddd2d92fd82ccf7ce695d4ed026ef7cfd11 Kernel 3.8.0
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #16 from Alex Deucher agd5f@yahoo.com --- the patches in bug 50655 may help.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #17 from Alex Deucher agd5f@yahoo.com --- Created attachment 75334 --> https://bugs.freedesktop.org/attachment.cgi?id=75334&action=edit possible fix
Does this patch help?
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #18 from Andreas Boll andreas.boll.dev@gmail.com --- Nope it doesn't help :/
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #75334|0 |1 is obsolete| |
--- Comment #19 from Alex Deucher agd5f@yahoo.com --- Created attachment 75374 --> https://bugs.freedesktop.org/attachment.cgi?id=75374&action=edit possible fix
How about this one?
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #20 from Andreas Boll andreas.boll.dev@gmail.com --- It doesn't help either.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[bisected] Garbled UI in |[bisected] Garbled UI in |Team Fortress 2 Beta |Team Fortress 2 and | |Counter-Strike: Source Keywords| |regression
--- Comment #21 from Andreas Boll andreas.boll.dev@gmail.com --- I've tested Mesa f6b40ddd2d92fd82ccf7ce695d4ed026ef7cfd11 with the patch set "r6xx flushing rework and enable CP DMA (v2)" from http://lists.freedesktop.org/archives/mesa-dev/2013-February/035081.html and it doesn't fix the issue.
Note that older kernels (eg 3.5) which don't have CP DMA are affected by this issue too.
I could reproduce the garbled UI on Counter-Strike: Source too. Reverting 1eedebc65b02130ef7a27062a1ed67972a317a08 fixes the issue on CSS.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #22 from Benjamin Bellec b.bellec@gmail.com --- (In reply to comment #21)
I could reproduce the garbled UI on Counter-Strike: Source too. Reverting 1eedebc65b02130ef7a27062a1ed67972a317a08 fixes the issue on CSS.
Me too. I have a RV770 and reverting 1eedebc65b02130ef7a27062a1ed67972a317a08 fixes the issue on CSS.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #23 from Simone Scanzoni nonno.cicala@tiscali.it --- Mesa 9.2-devel (git-4deefd9) showed the problem here with TF2, I don't have CSS. Added patches: r600g: emit a ps partial flush after CP DMA r600g: enable CP DMA on r6xx (v3) and the problem persisted. Then reverting commit 1eedebc65b02130ef7a27062a1ed67972a317a08 fixed the issue. Mesa 9.0.3 works. HD3850 (RV670) AGP, kernel 3.8.0
First comment so I want to thank the devs for their work. :)
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #24 from Andreas Boll andreas.boll.dev@gmail.com --- (In reply to comment #23)
Mesa 9.2-devel (git-4deefd9) showed the problem here with TF2, I don't have CSS. Added patches: r600g: emit a ps partial flush after CP DMA r600g: enable CP DMA on r6xx (v3) and the problem persisted. Then reverting commit 1eedebc65b02130ef7a27062a1ed67972a317a08 fixed the issue. Mesa 9.0.3 works. HD3850 (RV670) AGP, kernel 3.8.0
First comment so I want to thank the devs for their work. :)
Nice to hear from you!
Could you test this patch http://lists.freedesktop.org/archives/mesa-dev/2013-February/035347.html
It helps here on rv770 and kernel 3.8.0
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #25 from Bryan Quigley BryanQuigley@Ubuntu.com ---
Could you test this patch http://lists.freedesktop.org/archives/mesa-dev/2013-February/035347.html
Patch 3/5 doesn't help for me. Should I try out the other patches in that series? (nee ATI RV670 [Radeon HD 3870], Git kernel (pre 3.9))
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #26 from Alex Deucher agd5f@yahoo.com --- (In reply to comment #25)
Could you test this patch http://lists.freedesktop.org/archives/mesa-dev/2013-February/035347.html
Patch 3/5 doesn't help for me. Should I try out the other patches in that series? (nee ATI RV670 [Radeon HD 3870], Git kernel (pre 3.9))
The only patch that's relevant for r6xx is 2/5. Does that help? You might need to apply 1/5 first.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #27 from Bryan Quigley BryanQuigley@Ubuntu.com ---
The only patch that's relevant for r6xx is 2/5. Does that help?
That's just turning that off (same as a revert specific to r600 though). Works perfectly.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #28 from Marek Olšák maraeo@gmail.com --- Andreas Boll requested a branch of all my latest Mesa patches for people to test it. It's here:
git://people.freedesktop.org/~mareko/mesa master
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #29 from Andreas Boll andreas.boll.dev@gmail.com --- (In reply to comment #28)
Andreas Boll requested a branch of all my latest Mesa patches for people to test it. It's here:
git://people.freedesktop.org/~mareko/mesa master
This branch fixes the garbled screen and improves the performance (~ 120 - 160%) here with tf2 and css on my rv770.
Please test it!
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #30 from Benjamin Bellec b.bellec@gmail.com --- (In reply to comment #28)
Andreas Boll requested a branch of all my latest Mesa patches for people to test it. It's here:
git://people.freedesktop.org/~mareko/mesa master
Awesome! With my RV770 all is rendering correctly now in CS:S! Moreover, I'm always at 60FPS (vsync certainly enabled) with all graphical options enabled (even MSAA 2x) (1680*1050)!
Note that I'm using 3.7.9-201.fc18.x86_64.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
--- Comment #31 from Simone Scanzoni nonno.cicala@tiscali.it --- I tested master Mesa 9.2-devel (git-a40ba43) and TF2 works with my RV670.
https://bugs.freedesktop.org/show_bug.cgi?id=58042
dev@stuffit.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
--- Comment #32 from dev@stuffit.at --- Tested and works for me!
dri-devel@lists.freedesktop.org