Bug 64493 - X server crashes when launch Savage XR
Summary: X server crashes when launch Savage XR
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 9.1
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-12 14:43 UTC by Stanislav German-Evtushenko
Modified: 2019-09-18 20:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (60.79 KB, text/plain)
2013-05-12 22:33 UTC, Stanislav German-Evtushenko
Details

Description Stanislav German-Evtushenko 2013-05-12 14:43:58 UTC
Savage XR wasn't stable on nouveau before but now I can't launch it because it craches X server.

OS: Arch Linux

$ pacman -Q | grep -i nouveau
nouveau-dri 9.1.2-1
xf86-video-nouveau 1.0.7-1

$ pacman -Qi xorg-server | grep Version
Version        : 1.14.1-1

$ uname -a
Linux giner-arch 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 21:11:14 CEST 2013 i686 GNU/Linux

$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)

$ sudo grep -i nouveau /var/log/kern.log | tail
*****************************************************************************
May 12 17:21:02 giner-arch kernel: [  513.858894] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f939000 gnome-shell[1542]] subc 3 class 0x8297 mthd 0x0e04 data 0xff380000
May 12 17:21:02 giner-arch kernel: [  513.858909] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR INVALID_VALUE
May 12 17:21:02 giner-arch kernel: [  513.858913] nouveau E[  PGRAPH][0000:01:00.0]  DATA_ERROR
May 12 17:21:02 giner-arch kernel: [  513.858917] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f939000 gnome-shell[1542]] subc 3 class 0x8297 mthd 0x0e08 data 0xffd30000
May 12 18:33:35 giner-arch kernel: [ 4866.200937] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR INVALID_VALUE
May 12 18:33:35 giner-arch kernel: [ 4866.200943] nouveau E[  PGRAPH][0000:01:00.0]  DATA_ERROR
May 12 18:33:35 giner-arch kernel: [ 4866.200948] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f939000 gnome-shell[2500]] subc 3 class 0x8297 mthd 0x0e04 data 0xff380000
May 12 18:33:35 giner-arch kernel: [ 4866.200967] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR INVALID_VALUE
May 12 18:33:35 giner-arch kernel: [ 4866.200971] nouveau E[  PGRAPH][0000:01:00.0]  DATA_ERROR
May 12 18:33:35 giner-arch kernel: [ 4866.200975] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f939000 gnome-shell[2500]] subc 3 class 0x8297 mthd 0x0e08 data 0xffd30000
*****************************************************************************

$ tail -n 30 /var/log/Xorg.0.log.old
*****************************************************************************
[   529.737] (II) NOUVEAU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   529.737] (II) NOUVEAU(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[  4863.472] (EE) 
[  4863.472] (EE) Backtrace:
[  4863.494] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x49) [0x81d7ae9]
[  4863.494] (EE) 1: /usr/bin/Xorg (0x8048000+0x193854) [0x81db854]
[  4863.494] (EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb775d40c]
[  4863.494] (EE) 3: /usr/lib/xorg/modules/dri/nouveau_dri.so (0xb5639000+0x24b065) [0xb5884065]
[  4863.494] (EE) 4: /usr/lib/xorg/modules/extensions/libglx.so (0xb6f1e000+0xbd98) [0xb6f29d98]
[  4863.494] (EE) 5: /usr/lib/xorg/modules/extensions/libglx.so (0xb6f1e000+0x40300) [0xb6f5e300]
[  4863.494] (EE) 6: /usr/lib/xorg/modules/extensions/libglx.so (0xb6f1e000+0x42a2e) [0xb6f60a2e]
[  4863.494] (EE) 7: /usr/bin/Xorg (0x8048000+0x3144d) [0x807944d]
[  4863.494] (EE) 8: /usr/bin/Xorg (0x8048000+0x1f625) [0x8067625]
[  4863.494] (EE) 9: /usr/lib/libc.so.6 (__libc_start_main+0xf3) [0xb73937c3]
[  4863.494] (EE) 10: /usr/bin/Xorg (0x8048000+0x1f9f9) [0x80679f9]
[  4863.494] (EE) 
[  4863.494] (EE) Segmentation fault at address 0xde5
[  4863.494] 
Fatal server error:
[  4863.494] Caught signal 11 (Segmentation fault). Server aborting
[  4863.494] 
[  4863.494] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  4863.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4863.494] (EE) 
[  4863.494] (II) AIGLX: Suspending AIGLX clients for VT switch
[  4863.494] (II) NOUVEAU(0): NVLeaveVT is called.
[  4863.527] Server terminated with error (1). Closing log file.
*****************************************************************************
Comment 1 Emil Velikov 2013-05-12 18:23:39 UTC
The PGRAPH messages listed are harmless and do not cause your issues :)

Although there are a few things you can do

1. Find out which component did you update when the issue occurred
* The game, X, xf86-video-nouveau, mesa, kernel ?

2. Check if the software renderer produces the same result
* export LIBGL_ALWAYS_SOFTWARE=1 && savage...

3. Attach better logs
* http://nouveau.freedesktop.org/wiki/Bugs
Comment 2 Stanislav German-Evtushenko 2013-05-12 22:33:30 UTC
Created attachment 79217 [details]
dmesg

> 1. Find out which component did you update when the issue occurred
> * The game, X, xf86-video-nouveau, mesa, kernel ?
Unfortunately I can't remember. I'd been using proprietary driver before today as I didn't get luck with nouveau.

> 2. Check if the software renderer produces the same result
> * export LIBGL_ALWAYS_SOFTWARE=1 && savage...
Same result
Comment 3 Emil Velikov 2013-08-14 22:54:37 UTC
(In reply to comment #2)
> > 2. Check if the software renderer produces the same result
> > * export LIBGL_ALWAYS_SOFTWARE=1 && savage...
> Same result

If X crashes while using the swrast (i.e. when LIBGL_ALWAYS_SOFTWARE is set), then the issue is not nouveau but mesa related.

If you're interested in getting this sorted you could track the package and commit that caused this :) Hint - seems like the package is mesa and/or xorg-server
Comment 4 Ilia Mirkin 2013-08-14 23:03:39 UTC
[  4863.494] (EE) Segmentation fault at address 0xde5

This is likely a simple null pointer dereference. Install the debug versions of the libraries (xf86-video-nouveau, mesa, X), and run X inside gdb (or just use gdb to look up where in the code it's dying based on the addresses it prints).

Not sure about the assertion that LIBGL_ALWAYS_SOFTWARE=1 + X crash = not a bug in nouveau. There's still the ddx...
Comment 5 GitLab Migration User 2019-09-18 20:38:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1053.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.