← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 701044] [NEW] Semi-frequent freezes in nouveau

 

Public bug reported:

Binary package hint: xserver-xorg-video-nouveau

One or more times a week my computer display freezes. I can still move
the mouse, but the screen doesn't update.

I think nouveau driver enters an infinite loop and consumes 100% CPU. I
think the X0rg.0.log confirms this, but I only installed debug symbols
today. This happens semi regularly, so I can provide more information if
needed:

$ sudo gdb -p 1188
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 1188
Reading symbols from /usr/bin/Xorg...(no debugging symbols found)...done.
Reading symbols from /lib/libudev.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libudev.so.0
Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcrypt.so.11
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.12.1.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libpciaccess.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpciaccess.so.0
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.12.1.so...done.
[Thread debugging using libthread_db enabled]
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpixman-1.so.0
Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.12.1.so...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.12.1.so...done.
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.12.1.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libgpg-error.so.0
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.12.1.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/libfontenc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libextmod.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libdbe.so
Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libglx.so
Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/librecord.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libdri.so
Reading symbols from /lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdrm.so.2
Reading symbols from /usr/lib/xorg/modules/extensions/libdri2.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libdri2.so
Reading symbols from /usr/lib/xorg/modules/drivers/nouveau_drv.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/nouveau_drv.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/drivers/nouveau_drv.so
Reading symbols from /lib/libdrm_nouveau.so.1...Reading symbols from /usr/lib/debug/lib/libdrm_nouveau.so.1.0.0...done.
done.
Loaded symbols for /lib/libdrm_nouveau.so.1
Reading symbols from /usr/lib/xorg/modules/drivers/nv_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/drivers/nv_drv.so
Reading symbols from /usr/lib/xorg/modules/drivers/vesa_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/drivers/vesa_drv.so
Reading symbols from /usr/lib/xorg/modules/drivers/fbdev_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/drivers/fbdev_drv.so
Reading symbols from /usr/lib/xorg/modules/libfbdevhw.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libfbdevhw.so
Reading symbols from /usr/lib/xorg/modules/libwfb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libwfb.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libfb.so
Reading symbols from /usr/lib/xorg/modules/libexa.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libexa.so
Reading symbols from /usr/lib/xorg/modules/libshadowfb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libshadowfb.so
Reading symbols from /usr/lib/dri/swrast_dri.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dri/swrast_dri.so
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /usr/lib/libtalloc.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtalloc.so.2
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/lib/xorg/modules/input/evdev_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/input/evdev_drv.so
Reading symbols from /usr/lib/libutouch-grail.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libutouch-grail.so.1
Reading symbols from /usr/lib/libmtdev.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmtdev.so.1
Reading symbols from /usr/lib/xorg/modules/input/synaptics_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/input/synaptics_drv.so
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from /usr/lib/debug/lib/libnss_compat-2.12.1.so...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/libnsl-2.12.1.so...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from /usr/lib/debug/lib/libnss_nis-2.12.1.so...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.12.1.so...done.
done.
Loaded symbols for /lib/libnss_files.so.2
0xb736e2d0 in OUT_RING (ppix=0xabff438, is_src=<value optimized out>) at /usr/include/nouveau/nouveau_pushbuf.h:67

warning: Source file is more recent than executable.
67              *(chan->cur++) = (data);
(gdb) bt
#0  0xb736e2d0 in OUT_RING (ppix=0xabff438, is_src=<value optimized out>) at /usr/include/nouveau/nouveau_pushbuf.h:67
#1  NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
#2  0xb736f7d0 in NV50EXAPrepareSolid (pdpix=0xabff438, alu=3, planemask=4294967295, fg=0) at ../../src/nv50_exa.c:235
#3  0xb736f8fe in NV50EXAStateSolidResubmit (chan=0x9ceec98) at ../../src/nv50_exa.c:219
#4  0xb7395dbd in nouveau_pushbuf_flush (chan=0x9ceec98, min=0) at ../../nouveau/nouveau_pushbuf.c:276
#5  0xb736d6ce in FIRE_RING (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at /usr/include/nouveau/nouveau_pushbuf.h:121
#6  NV50EXASolid (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at ../../src/nv50_exa.c:268
#7  0xb72d2894 in ?? () from /usr/lib/xorg/modules/libexa.so
#8  0x0812289d in ?? ()
#9  0x08116b30 in CompositePicture ()
#10 0x0811b481 in ?? ()
#11 0x08118293 in ?? ()
#12 0x0806e087 in ?? ()
#13 0x080625ba in _start ()
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
130     ../../src/nv50_exa.c: No such file or directory.
        in ../../src/nv50_exa.c
(gdb) bt
#0  NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
#1  0xb736f7d0 in NV50EXAPrepareSolid (pdpix=0xabff438, alu=3, planemask=4294967295, fg=0) at ../../src/nv50_exa.c:235
#2  0xb736f8fe in NV50EXAStateSolidResubmit (chan=0x9ceec98) at ../../src/nv50_exa.c:219
#3  0xb7395dbd in nouveau_pushbuf_flush (chan=0x9ceec98, min=0) at ../../nouveau/nouveau_pushbuf.c:276
#4  0xb736d6ce in FIRE_RING (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at /usr/include/nouveau/nouveau_pushbuf.h:121
#5  NV50EXASolid (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at ../../src/nv50_exa.c:268
#6  0xb72d2894 in ?? () from /usr/lib/xorg/modules/libexa.so
#7  0x0812289d in ?? ()
#8  0x08116b30 in CompositePicture ()
#9  0x0811b481 in ?? ()
#10 0x08118293 in ?? ()
#11 0x0806e087 in ?? ()
#12 0x080625ba in _start ()
(gdb) q
A debugging session is active.

        Inferior 1 [process 1188] will be detached.

Quit anyway? (y or n) n
Not confirmed.
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
130     in ../../src/nv50_exa.c
(gdb) bt
#0  NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
#1  0xb736f7d0 in NV50EXAPrepareSolid (pdpix=0xabff438, alu=3, planemask=4294967295, fg=0) at ../../src/nv50_exa.c:235
#2  0xb736f8fe in NV50EXAStateSolidResubmit (chan=0x9ceec98) at ../../src/nv50_exa.c:219
#3  0xb7395dbd in nouveau_pushbuf_flush (chan=0x9ceec98, min=0) at ../../nouveau/nouveau_pushbuf.c:276
#4  0xb736d6ce in FIRE_RING (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at /usr/include/nouveau/nouveau_pushbuf.h:121
#5  NV50EXASolid (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at ../../src/nv50_exa.c:268
#6  0xb72d2894 in ?? () from /usr/lib/xorg/modules/libexa.so
#7  0x0812289d in ?? ()
#8  0x08116b30 in CompositePicture ()
#9  0x0811b481 in ?? ()
#10 0x08118293 in ?? ()
#11 0x0806e087 in ?? ()
#12 0x080625ba in _start ()
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
130     in ../../src/nv50_exa.c
(gdb) bt
#0  NV50EXAAcquireSurface2D (ppix=0xabff438, is_src=<value optimized out>) at ../../src/nv50_exa.c:130
#1  0xb736f7d0 in NV50EXAPrepareSolid (pdpix=0xabff438, alu=3, planemask=4294967295, fg=0) at ../../src/nv50_exa.c:235
#2  0xb736f8fe in NV50EXAStateSolidResubmit (chan=0x9ceec98) at ../../src/nv50_exa.c:219
#3  0xb7395dbd in nouveau_pushbuf_flush (chan=0x9ceec98, min=0) at ../../nouveau/nouveau_pushbuf.c:276
#4  0xb736d6ce in FIRE_RING (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at /usr/include/nouveau/nouveau_pushbuf.h:121
#5  NV50EXASolid (pdpix=0xabff438, x1=0, y1=0, x2=1648, y2=1078) at ../../src/nv50_exa.c:268
#6  0xb72d2894 in ?? () from /usr/lib/xorg/modules/libexa.so
#7  0x0812289d in ?? ()
#8  0x08116b30 in CompositePicture ()
#9  0x0811b481 in ?? ()
#10 0x08118293 in ?? ()
#11 0x0806e087 in ?? ()
#12 0x080625ba in _start ()
(gdb) q
A debugging session is active.


q
stephen@bishop:~$ top
top - 15:21:03 up  2:42,  4 users,  load average: 1.52, 1.07, 0.75
Tasks: 218 total,   3 running, 215 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us, 50.0%sy,  0.0%ni, 49.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   4047708k total,  3721212k used,   326496k free,   236660k buffers
Swap:  1951860k total,    15780k used,  1936080k free,  1889920k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                               
 1188 root      20   0 87720  24m 5348 S   99  0.6  19:12.35 Xorg                                                                                                                                  
   59 root      20   0     0    0    0 S    1  0.0   0:09.68 kondemand/1                                                                                                                           
27883 stephen   20   0  2620 1192  840 R    1  0.0   0:00.02 top                                                                                                                                   
    4 root      RT   0     0    0    0 S    0  0.0   0:01.29 migration/0                                                                                                                           
    9 root      20   0     0    0    0 R    0  0.0   0:03.68 events/0                                                                                                                              
    1 root      20   0  2876 1512 1144 S    0  0.0   0:00.72 init                                                                                                                                  
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd                                                                                                                              
    3 root      20   0     0    0    0 S    0  0.0   0:01.20 ksoftirqd/0                                                                                                                           
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0                                                                                                                            
    6 root      RT   0     0    0    0 S    0  0.0   0:01.41 migration/1

** Affects: xserver-xorg-video-nouveau (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-nouveau in ubuntu.
https://bugs.launchpad.net/bugs/701044

Title:
  Semi-frequent freezes in nouveau



Follow ups

References