Bug 713683 - [NV43] Xorg in infinite loop when using gnome shell
Summary: [NV43] Xorg in infinite loop when using gnome shell
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 08:44 UTC by Simon Andrews
Modified: 2012-08-07 15:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 15:36:34 UTC
Type: ---


Attachments (Terms of Use)
Xorg log file (62.18 KB, text/plain)
2011-06-17 15:07 UTC, Simon Andrews
no flags Details
Output of dmesg (123.99 KB, text/plain)
2011-06-17 15:08 UTC, Simon Andrews
no flags Details

Description Simon Andrews 2011-06-16 08:44:16 UTC
Description of problem:

After using gnome shell for a while Xorg enters an infinite loop and locks up. This normally occurs when using the application switcher.


Version-Release number of selected component (if applicable):
xorg-x11-drv-nouveau-0.0.16-24.20110324git8378443.fc15.x86_64

xorg-x11-fonts-100dpi-7.5-3.fc15.noarch
xorg-x11-drivers-7.4-2.fc15.x86_64
xorg-x11-xtrans-devel-1.2.6-2.fc15.noarch
xorg-x11-fonts-Type1-7.5-3.fc15.noarch
xorg-x11-utils-7.5-2.fc15.x86_64
xorg-x11-fonts-75dpi-7.5-3.fc15.noarch
xorg-x11-twm-1.0.5-3.fc15.x86_64
xorg-x11-fonts-ISO8859-1-100dpi-7.5-3.fc15.noarch
xorg-x11-util-macros-1.13.0-1.fc15.noarch
xorg-x11-xdm-1.1.6-22.fc15.x86_64
xorg-x11-proto-devel-7.6-8.fc15.noarch
xorg-x11-xauth-1.0.2-9.fc15.x86_64
xorg-x11-fonts-ISO8859-1-75dpi-7.5-3.fc15.noarch
xorg-x11-apps-7.6-2.fc15.x86_64
xorg-x11-docs-1.3-7.fc15.noarch
xorg-x11-xkb-utils-7.5-3.fc15.x86_64
xorg-x11-font-utils-7.5-6.fc15.x86_64
xorg-x11-xfs-1.1.1-2.fc15.x86_64
xorg-x11-server-common-1.10.2-1.fc15.x86_64
xorg-x11-server-utils-7.5-5.fc15.x86_64
xorg-x11-resutils-7.5-2.fc15.x86_64
xorg-x11-xinit-1.0.9-20.fc15.x86_64
xorg-x11-fonts-misc-7.5-3.fc15.noarch
xorg-x11-server-Xorg-1.10.2-1.fc15.x86_64


How reproducible:

Always (eventually)


Steps to Reproduce:
1. Run Xorg using nouveau driver
2. Run gnome shell
3. Try using the task switcher a few times
  
Actual results:

X freezes.  Machine is still accessible by ssh.  No processes using any CPU.  Xorg log contains an error message.


Additional info:

Xorg error:

[  7758.510] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[  7758.510]
Backtrace:
[  7758.525] 0: /usr/bin/Xorg (xorg_backtrace+0x2f) [0x4a142f]
[  7758.525] 1: /usr/bin/Xorg (mieqEnqueue+0x1e9) [0x4a0949]
[  7758.525] 2: /usr/bin/Xorg (xf86PostMotionEventM+0xa3) [0x47db33]
[  7758.525] 3: /usr/bin/Xorg (xf86PostMotionEventP+0x52) [0x47dc52]
[  7758.525] 4: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f450fee2000+0x498b) [0x7f450fee698b]
[  7758.525] 5: /usr/bin/Xorg (0x400000+0x6b588) [0x46b588]
[  7758.525] 6: /usr/bin/Xorg (0x400000+0x119c90) [0x519c90]
[  7758.525] 7: /lib64/libpthread.so.0 (0x3d1ac00000+0xeeb0) [0x3d1ac0eeb0]
[  7758.525] 8: /lib64/libc.so.6 (ioctl+0x7) [0x3d1a0d8a07]
[  7758.526] 9: /usr/lib64/libdrm.so.2 (drmIoctl+0x28) [0x313b603358]
[  7758.526] 10: /usr/lib64/libdrm.so.2 (drmCommandWrite+0x1b) [0x313b60547b]
[  7758.526] 11: /usr/lib64/libdrm_nouveau.so.1 (0x7f4512ff3000+0x2ed7) [0x7f4512ff5ed7]
[  7758.526] 12: /usr/lib64/libdrm_nouveau.so.1 (nouveau_bo_map_range+0x109) [0x7f4512ff64f9]
[  7758.526] 13: /usr/lib64/xorg/modules/drivers/nouveau_drv.so (0x7f45131f8000+0xb19d) [0x7f451320319d]
[  7758.526] 14: /usr/lib64/xorg/modules/drivers/nouveau_drv.so (0x7f45131f8000+0xb589) [0x7f4513203589]
[  7758.526] 15: /usr/lib64/xorg/modules/extensions/libdri2.so (DRI2SwapBuffers+0x10c) [0x7f4513439a6c]
[  7758.526] 16: /usr/lib64/xorg/modules/extensions/libdri2.so (0x7f4513437000+0x39f3) [0x7f451343a9f3]
[  7758.526] 17: /usr/bin/Xorg (0x400000+0x2ec11) [0x42ec11]
[  7758.526] 18: /usr/bin/Xorg (0x400000+0x22e1a) [0x422e1a]
[  7758.526] 19: /lib64/libc.so.6 (__libc_start_main+0xed) [0x3d1a02139d]
[  7758.526] 20: /usr/bin/Xorg (0x400000+0x23101) [0x423101]

LSPCI:
01:00.0 VGA compatible controller: nVidia Corporation NV43GL [Quadro FX 550] (rev a2)

DMESG:

[    2.077692] [drm] Initialized drm 1.1.0 20060810
[    2.108026] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.108034] nouveau 0000:01:00.0: setting latency timer to 64
[    2.111815] [drm] nouveau 0000:01:00.0: Detected an NV40 generation card (0x043d00a4)
[    2.114166] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
[    2.185160] [drm] nouveau 0000:01:00.0: ... appears to be valid
[    2.185164] [drm] nouveau 0000:01:00.0: BIT BIOS found
[    2.185168] [drm] nouveau 0000:01:00.0: Bios version 05.43.02.97
[    2.185171] [drm] nouveau 0000:01:00.0: TMDS table version 1.1
[    2.185174] [drm] nouveau 0000:01:00.0: BIT table 'd' not found
[    2.185177] [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 3.0
[    2.185180] [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00000028
[    2.185183] [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 01000302 00000004
[    2.185186] [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 04011310 00000028
[    2.185188] [drm] nouveau 0000:01:00.0: Raw DCB entry 3: 04011312 00000000
[    2.185191] [drm] nouveau 0000:01:00.0: DCB connector table: VHER 0x30 5 7 2
[    2.185195] [drm] nouveau 0000:01:00.0:   0: 0x00002030: type 0x30 idx 0 tag 0x08
[    2.185198] [drm] nouveau 0000:01:00.0:   1: 0x00001130: type 0x30 idx 1 tag 0x07
[    2.185201] [drm] nouveau 0000:01:00.0:   2: 0x00000260: type 0x60 idx 2 tag 0xff
[    2.185207] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xB3AE
[    2.185348] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xB7EA
[    2.197769] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xBC64
[    2.197785] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xBDEF
[    2.200980] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xBECF
[    2.219902] [drm] nouveau 0000:01:00.0: mem timing table length unknown: 14
[    2.219956] [drm] nouveau 0000:01:00.0: 1 available performance level(s)
[    2.219960] [drm] nouveau 0000:01:00.0: 0: memory 800MHz core 360MHz voltage 1300mV fanspeed 100%
[    2.219970] [drm] nouveau 0000:01:00.0: c: memory 598MHz core 360MHz voltage 1300mV
[    2.220095] [TTM] Zone  kernel: Available graphics memory: 4064388 kiB.
[    2.220097] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB.
[    2.220100] [TTM] Initializing pool allocator.
[    2.220129] [drm] nouveau 0000:01:00.0: Detected 128MiB VRAM
[    2.226032] usb 2-1: new low speed USB device using uhci_hcd and address 2
[    2.226947] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
[    2.227020] [drm] nouveau 0000:01:00.0: Saving VGA fonts
[    2.272618] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    2.272620] [drm] No driver support for vblank timestamp query.
[    2.273538] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[    2.273542] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[    2.273545] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 2)
[    2.273548] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 3)
[    2.414526] usb 2-1: New USB device found, idVendor=1241, idProduct=1166
[    2.414529] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.419101] Refined TSC clocksource calibration: 2128.055 MHz.
[    2.419106] Switching to clocksource tsc
[    2.420344] [drm] nouveau 0000:01:00.0: allocated 1600x1200 fb: 0x49000, bo ffff880227a3b400
[    2.420412] fbcon: nouveaufb (fb0) is primary device
[    2.433689] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 2)
[    2.433693] [drm] nouveau 0000:01:00.0: Output DVI-I-2 is running on CRTC 0 using output C
[    2.435136] Console: switching to colour frame buffer device 200x75
[    2.436536] fb0: nouveaufb frame buffer device
[    2.436538] drm: registered panic notifier
[    2.436545] [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 0
[   61.916516] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 2)
[   61.926697] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 2)
[   61.926702] [drm] nouveau 0000:01:00.0: Output DVI-I-2 is running on CRTC 0 using output C

Comment 1 Elad Alfassa 2011-06-16 11:22:49 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Simon Andrews 2011-06-17 15:07:39 UTC
Created attachment 505291 [details]
Xorg log file

Comment 3 Simon Andrews 2011-06-17 15:08:14 UTC
Created attachment 505292 [details]
Output of dmesg

Comment 4 Simon Andrews 2011-06-17 15:09:52 UTC
Unfortunately can't attach /var/log/messages at the moment as this machine was affected by the rsyslog bug upon upgrading to F15 so syslog wasn't running.

There is no xorg.conf file on this machine.

Comment 5 Simon Andrews 2011-06-21 08:23:07 UTC
I've now got /var/log/messages back, but I'm not going to post the whole thing as it quickly filled up with huge numbers of the following errors:

Jun 17 02:56:08 bilinws3 kernel: [37380.396881] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:08 bilinws3 kernel: [37380.396891] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:09 bilinws3 kernel: [37380.782108] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:09 bilinws3 kernel: [37380.782120] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:09 bilinws3 kernel: [37381.172066] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:09 bilinws3 kernel: [37381.172078] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:10 bilinws3 kernel: [37381.540922] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:10 bilinws3 kernel: [37381.540934] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:10 bilinws3 kernel: [37381.936179] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:10 bilinws3 kernel: [37381.936191] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:10 bilinws3 kernel: [37382.321415] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:10 bilinws3 kernel: [37382.321427] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:11 bilinws3 kernel: [37382.689390] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:11 bilinws3 kernel: [37382.689402] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000
Jun 17 02:56:11 bilinws3 kernel: [37383.070372] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DMA_VTX_PROTECTION nstatus: PROTECTION_FAULT
Jun 17 02:56:11 bilinws3 kernel: [37383.070384] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0010d010) subc 7 class 0x4097 mthd 0x1dac data 0x00000000


..until it filled the whole partition!

Comment 6 Fedora End Of Life 2012-08-07 15:36:38 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.