bugzilla-daemon at freedesktop.org
2012-Mar-04 14:01 UTC
[Nouveau] [Bug 46956] New: Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956
Bug #: 46956
Summary: Selecting 2xAntiAliasing causes Nexuiz to crash "X
Error: BadMatch, failed request (X_CreateWindow)"
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: emil.l.velikov at gmail.com
Created attachment 58004
--> https://bugs.freedesktop.org/attachment.cgi?id=58004
Nexuiz console output
How to:
1. Startup Nexuiz
2. Select Settings>Effects
3. Set Antialiasing to 2x
4. Click Apply immediately
5. Observe the crash
Issue is not present when
* 0xAA, 4xAA mode is selected in Nexuiz
* Software rendering is used - LIBGL_ALWAYS_SOFTWARE=1
Issue is independent on
* kernel version
* direct/indirect rendering - LIBGL_ALWAYS_INDIRECT=1 makes no difference
* Desktop enviroment - Gnome3, fluxbox
Distribution - Arch x86-64
Nexuiz - 2.5.2 Nexuiz Linux 02:51:06 Oct 1 2009 9271 release
kernel - 3.0.22 / 3.2.8 / nouveau-git
libdrm - 2.4.31
Mesa - 95594bae47d8b3302be188e6f0be2d69c5507bb3
xf86-video-nouveau - b0d7f4ddd94154491d04dcb9698d63d61e9240d
Xorg - 1.11.4
The issue was bisected to
commit b2dcf880e8bcd61be59602f5a2d18c77a5fc60c1
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Mon Jul 11 18:02:27 2011 +0200
nv50,nvc0: add support for multi-sample resources
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-04 14:02 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956
Emil Velikov <emil.l.velikov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58004|application/octet-stream |text/plain
mime type| |
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-04 14:19 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956 --- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> 2012-03-04 06:19:15 PST --- Created attachment 58005 --> https://bugs.freedesktop.org/attachment.cgi?id=58005 nv50_screen_is_format_supported - debug info -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-04 14:21 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956 --- Comment #2 from Emil Velikov <emil.l.velikov at gmail.com> 2012-03-04 06:21:40 PST --- Created attachment 58006 --> https://bugs.freedesktop.org/attachment.cgi?id=58006 nv50_screen_is_format_supported - debug info, disallow sample_count=2 Nexuiz works great if we return False when sample_count is 2 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-04 14:24 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956 --- Comment #3 from Emil Velikov <emil.l.velikov at gmail.com> 2012-03-04 06:24:32 PST --- IMHO this is a mesa and/or X fault, although I'm out of ideas I'm happy to test any patches/provide any additional information Thanks Emil -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-04 16:53 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956 --- Comment #4 from Christoph Bumiller <e0425955 at student.tuwien.ac.at> 2012-03-04 08:53:54 PST --- Created attachment 58007 --> https://bugs.freedesktop.org/attachment.cgi?id=58007 Patch to disable MS visuals. Does that help ? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-04 20:05 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956 --- Comment #5 from Emil Velikov <emil.l.velikov at gmail.com> 2012-03-04 12:05:50 PST --- Works like a charm Note: Nexuiz complains about "Couldn't get an RGB, Double-buffered, Depth visual" Although everything works as expected Thanks Emil -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Mar-14 19:59 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956 --- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> 2012-03-14 12:59:19 PDT --- The issue exists in xonotic 0.6 (nexuiz fork) I would not mind filing the bug in xonotic if it is an application issue Regards Emil -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-29 19:47 UTC
[Nouveau] [Bug 46956] Selecting 2xAntiAliasing causes Nexuiz to crash "X Error: BadMatch, failed request (X_CreateWindow)"
https://bugs.freedesktop.org/show_bug.cgi?id=46956
Emil Velikov <emil.l.velikov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Emil Velikov <emil.l.velikov at gmail.com> 2012-05-29
12:47:09 PDT ---
Thank you, the issue was resolved by
commit f80c2874eca86a12517fbe2f4c15287edfb4dc89
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Mon May 21 23:46:11 2012 +0200
gallium: add st_api feature mask to prevent advertising MS visuals
v2: use a define for the maximum sample count
v3: also test odd sample counts (r300 supports MS3)
While multisample renderbuffers are supported by mesa, MS visuals
are not, so we need a way to tell dri/st not to advertise them even
if the gallium driver does support multisampled surfaces.
Otherwise applications selecting these non-functional visuals would
run into trouble ...
Reviewed-by: Brian Paul <brianp at vmware.com>
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.