https://bugs.freedesktop.org/show_bug.cgi?id=58925
Priority: medium Bug ID: 58925 Assignee: dri-devel@lists.freedesktop.org Summary: compis/kwin crashes on nouveau due to msaa Severity: normal Classification: Unclassified OS: All Reporter: bobahu4@gmail.com Hardware: Other Status: NEW Version: XOrg CVS Component: General Product: DRI
Here compiz/kwin crashes when tries to run with weird assertion on msaa textures. Found that msaa can be swithced off with enviroment variable
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d0bf69f831e138a05a282e5974...
but GALLIUM_MSAA = 0 doesnt help at all.
so I edited dri_fill_st_visual in dri_screen.c to disable msaa at all
if (mode->sampleBuffers) { - stvis->samples = mode->samples; + stvis->samples = 1; }
Now compiz/kwin work fine.
kernel 3.8-git from ubuntu daily kernel-ppa, ubuntu 12.10, nvidia gtx670
https://bugs.freedesktop.org/show_bug.cgi?id=58925
--- Comment #1 from Vladimir bobahu4@gmail.com --- Forgot the assertion
nvc0_miptree_init_ms_mode:177 - invalid nr_samples: 32 dri2.c:256:dri2_drawable_process_buffers: Assertion `drawable->msaa_textures[att]' failed.
https://bugs.freedesktop.org/show_bug.cgi?id=58925
Vladimir bobahu4@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86-64 (AMD64) OS|All |Linux (All) Component|General |libGL
https://bugs.freedesktop.org/show_bug.cgi?id=58925
--- Comment #2 from Christoph Bumiller e0425955@student.tuwien.ac.at --- What's weird is, why does it try to create a texture with 32 samples ? 32x MSAA is not very common ...
https://bugs.freedesktop.org/show_bug.cgi?id=58925
--- Comment #3 from Pali Rohár pali.rohar@gmail.com --- This problem is maybe related: http://lists.freedesktop.org/archives/mesa-dev/2013-August/043505.html
Kwin from KDE4.8 not rendering properly after commit 35840ab189595b817fa8b1a1df8cc92474a7c38d: st/dri: implement MSAA for GLX/DRI2 framebuffers Author: Marek Olšák 2012-12-03 05:36:08 Committer: Marek Olšák 2012-12-07 14:19:29 Reviewed-by: Brian Paul
https://bugs.freedesktop.org/show_bug.cgi?id=58925
Fabio Pedretti fabio.ped@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org CC| |fabio.ped@libero.it, | |maraeo@gmail.com Product|DRI |Mesa Version|XOrg CVS |git Component|libGL |Mesa core
dri-devel@lists.freedesktop.org