Skip to contentSkip to conversation

New: 2.6.37 - NV11 crashes X if glxgears maximised

Bug 33999 [email protected] 1 participant 17 messages Feb 7, 2011 – Aug 19, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: 2.6.37 - NV11 crashes X if glxgears maximised
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

With Gnome, start glxgears, then click on maximise, X will crash. With LIBGL_ALWAYS_SOFTWARE=1, crashes do not occur.

Starting KDE 4.6.x always result in a X crash.

Logs attached. I am always happy to assist if necessary to fix this problem.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-33999-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears maximised

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

--- Comment #1 from Alex Buell <[email protected]> 2011-02-07 12:13:49 PST --- Created an attachment (id=43038)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43038)
dmesg output

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears maximised

In reply to a message not in the archive

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

--- Comment #2 from Alex Buell <[email protected]> 2011-02-07 12:14:19 PST --- Created an attachment (id=43040)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43040)
2.6.37 Xorg.0.log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears maximised

In reply to a message not in the archive

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

--- Comment #3 from Alex Buell <[email protected]> 2011-02-07 12:18:17 PST --- I'd consider this a regression since 2.6.36 worked perfectly with the same
program and same libraries.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears maximised

In reply to a message not in the archive

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

--- Comment #4 from Alex Buell <[email protected]> 2011-02-07 14:34:38 PST --- Created an attachment (id=43052)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43052)
dmesg with drm.debug=6

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

Alex Buell <[email protected]> changed:

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

            Summary|2.6.37 - NV11 crashes X if  |2.6.37 - NV11 crashes X if
                   |glxgears maximised          |glxgears started
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

Alex Buell <[email protected]> changed:

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

  Attachment #43052|0                           |1

is obsolete| |

--- Comment #5 from Alex Buell <[email protected]> 2011-02-07 16:22:51 PST --- Created an attachment (id=43058)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43058)
2.6.37 dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #6 from Alex Buell <[email protected]> 2011-02-07 18:12:08 PST --- I managed to get a backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xb72d7821 in nouveau_dri2_create_buffer (pDraw=0x845e918, attachment=1, format=0) at nouveau_dri2.c:72
72 nouveau_dri2.c: No such file or directory.
in nouveau_dri2.c
(gdb) bt
#0 0xb72d7821 in nouveau_dri2_create_buffer (pDraw=0x845e918, attachment=1, format=0) at nouveau_dri2.c:72

#1  0xb7327935 in ?? () from /usr/lib/xorg/modules/extensions/libdri2.so
#2  0xb7329ca0 in ?? () from /usr/lib/xorg/modules/extensions/libdri2.so
#3  0x08071e7f in Dispatch () at dispatch.c:432
#4  0x0806577a in main (argc=6, argv=0xbfbd3824, envp=0xbfbd3840) at main.c:291

The offending line of code that caused the crash is:

    nouveau_bo_handle_get(nouveau_pixmap(ppix)->bo, &nvbuf->base.name);

I'm not sure why it's crashing at this point but my guess is that it's probably the ->bo that might be the cause. I'd be glad to help track the cause down. I just need some input on how to proceed.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #7 from Alex Buell <[email protected]> 2011-02-28 18:36:13 PST --- Just a quick word to say I've traced it to memory allocation problems. The card
is a 32MB adapter living in a 64MB GART, with 16MB allocated to a scratch
buffer. Attempts to reduce the amount of memory allocated to the scratch buffer
ended in failure. The biggest allocation was 17MB, not sure what this was
allocated for. See http://ompldr.org/vN2x1eQ for some debugging in the nouveau
ddx driver.

Ideas welcome on how to get this to work.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #8 from Alex Buell <[email protected]> 2011-03-01 03:01:51 PST ---
http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=ace98a492353e6de712f4f717e6d3f562e3591f0
fixes the crash in the X server.
(thanks to pq)

There are still problems, but trying 2.6.38-rc6 at the moment.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #10 from [email protected] 2011-12-05 14:43:20 UTC --- Funny though, I just tested an NV11, in old box I played with today.

System itself has 256MB or ram, thus totally unusable even in xubuntu, but nouveau does work and glxgears does work as well (glxinfo reports that nouveau, nv11 driver is used).
Kudos, guys!

That card was Nvidia Geforce2 MX 200, with 32 MB of ram. I just installed ubuntu 11.10 there.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #11 from Alex Buell <[email protected]> 2011-12-05 15:32:47 UTC --- (In reply to comment #10)

Quoted 9 lines

Funny though, I just tested an NV11, in old box I played with today.

System itself has 256MB or ram, thus totally unusable even in xubuntu, but nouveau does work and glxgears does work as well (glxinfo reports that nouveau, nv11 driver is used).
Kudos, guys!

That card was Nvidia Geforce2 MX 200, with 32 MB of ram. I just installed ubuntu 11.10 there.

How much graphic memory did you have on your box, and which versions of the OpenGL stack did you use with which kernel, please?

I will be testing on my old laptop as well.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #9 from Marcin Slusarz <[email protected]> 2011-12-05 13:35:36 PST --- There were some patches to nouveau-git kernel and xf86-video-nouveau which
probably fix this bug. Please test it.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #12 from Alex Buell <[email protected]> 2011-12-06 17:06:05 PST --- (In reply to comment #11)

Quoted 1 line

I will be testing on my old laptop as well.

Just tested, glxinfo still crashes with a segfault.

OpenGL stack used:

xf86-video-nouveau 0.0.16_pre20111109
mesa 7.11.2
xorg-server 1.10.4

Kernel:
3.1.0

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #13 from Marcin Slusarz <[email protected]> 2011-12-07 08:09:50 PST ---
Alex: you need kernel from nouveau git tree (see
http://nouveau.freedesktop.org/wiki/InstallDRM ).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

--- Comment #14 from Alex Buell <[email protected]> 2012-04-13 17:33:32 PDT --- (In reply to comment #13)

Quoted 2 lines

Alex: you need kernel from nouveau git tree (see
http://nouveau.freedesktop.org/wiki/InstallDRM ).

With 3.3.0, X no longer crashes. Tested on Gnome 3 in fallback mode. One small problem is that if I try to start Gnome 3, it will die with an error. Using fallback mode avoids the problem yet OpenGL programs seem to work just as well.

Yay :)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 33999] 2.6.37 - NV11 crashes X if glxgears started

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

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

--- Comment #15 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- All the comments seem to indicate that the issue is fixed, updating status to reflect that.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau