Skip to contentSkip to conversation

New: compis/kwin crashes on nouveau due to msaa

Bug 58925 [email protected] 1 participant 6 messages Jan 1, 2013 – Aug 19, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 58925
Assignee: [email protected]
Summary: compis/kwin crashes on nouveau due to msaa
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
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=1d0bf69f831e138a05a282e59746f20141046fd6

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

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

[Bug 58925] compis/kwin crashes on nouveau due to msaa

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

--- Comment #1 from Vladimir <[email protected]> --- 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.

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 58925] compis/kwin crashes on nouveau due to msaa

In reply to [email protected]

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

Vladimir <[email protected]> changed:

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

           Hardware|Other                       |x86-64 (AMD64)
                 OS|All                         |Linux (All)
          Component|General                     |libGL
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 58925] compis/kwin crashes on nouveau due to msaa

In reply to [email protected]

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

--- Comment #2 from Christoph Bumiller <[email protected]> --- What's weird is, why does it try to create a texture with 32 samples ? 32x MSAA is not very common ...

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 58925] compis/kwin crashes on nouveau due to msaa

In reply to [email protected]

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

--- Comment #3 from Pali Rohár <[email protected]> --- 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

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 58925] compis/kwin crashes on nouveau due to msaa

In reply to [email protected]

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

Fabio Pedretti <[email protected]> changed:

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

           Assignee|[email protected] |[email protected].
                   |.org                        |org
                 CC|                            |[email protected],
                   |                            |[email protected]
            Product|DRI                         |Mesa
            Version|XOrg CVS                    |git
          Component|libGL                       |Mesa core
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