Bug 38050 - segfault starting glxgears
Summary: segfault starting glxgears
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 13:15 UTC by karsten merkle
Modified: 2011-06-08 14:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
lspci -vvv -s 01:00.0 (1.18 KB, text/plain)
2011-06-07 13:20 UTC, karsten merkle
no flags Details
Kernel Log (76.77 KB, text/plain)
2011-06-07 13:21 UTC, karsten merkle
no flags Details
Xorg log (36.73 KB, text/plain)
2011-06-07 13:23 UTC, karsten merkle
no flags Details
dmesg with mesa git (47.09 KB, text/plain)
2011-06-08 14:07 UTC, karsten merkle
no flags Details
Xorg.0.log with mesa git (32.08 KB, text/plain)
2011-06-08 14:08 UTC, karsten merkle
no flags Details

Description karsten merkle 2011-06-07 13:15:47 UTC
using:
- xf86-video-nouveau git
- libdrm git
- mesa-7.10.2
- xorg-drivers-1.9  
- xorg-server-1.9.5

with:
gfx-card V7700 -> see attachement

crashes with modeset=1 and noaccel=1,
as with modeset=1 only.

- KDE log in works
- starting Konsole works
- calling glxgears segfaults
Comment 1 karsten merkle 2011-06-07 13:20:36 UTC
Created attachment 47685 [details]
lspci -vvv -s 01:00.0
Comment 2 karsten merkle 2011-06-07 13:21:38 UTC
Created attachment 47686 [details]
Kernel Log
Comment 3 karsten merkle 2011-06-07 13:23:00 UTC
Created attachment 47687 [details]
Xorg log
Comment 4 Emil Velikov 2011-06-08 06:35:57 UTC
Hi karsten

Would you mind updating to the latest mesa git as there is a patch[1] that resolves segfaults with nouveau_vieux_dri

On top of that note that bugs in the nouveau-dri mesa driver (/usr/lib64/dri/nouveau_vieux_dri.so), are not covered [2]

If you boot the system with "nouveau.noaccel=1" and X still segfaults, please attach both dmesg and Xorg.log of that session

Please give us a shout if the patch/latest git worked or not.


Thanks

[1] http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d24e6ec1d13c2b88b858997900aa8b69de92b13
[2] http://nouveau.freedesktop.org/wiki/MesaDrivers
Comment 5 karsten merkle 2011-06-08 14:07:51 UTC
Created attachment 47735 [details]
dmesg with mesa git
Comment 6 karsten merkle 2011-06-08 14:08:37 UTC
Created attachment 47736 [details]
Xorg.0.log with mesa git
Comment 7 karsten merkle 2011-06-08 14:17:40 UTC
Hi Emil,

mesa git doesn't change anything...

Don't know what mesa actually has to do with this bug, because backtrace in Xorg.0.log shows only involvement of xorg-server and xf86-video-nouveau.
Can't see mesa in there, therefore I posted this bug here for nouveau driver.

Tried mesa git unsuccessfully with and without acceleration.

But got now additionally:
glxgears used greatest stack depth: 3376 bytes left
in dmesg.
Comment 8 Emil Velikov 2011-06-08 14:58:39 UTC
After discussion over #nouveau it turns out the issue was caused by nouveau-dri

By removing nouveau_vieux_dri.so the problem has been resolved

Marking as resolved:invalid due to bug policy


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.