View previous topic :: View next topic |
Author |
Message |
dr_Fell Apprentice
Joined: 10 Nov 2004 Posts: 170 Location: Sosnowiec, Poland
|
Posted: Tue Nov 21, 2006 8:09 pm Post subject: [SOLVED] blender segmentation fault |
|
|
Recently when I tried to start blender it gave me such error:
Quote: |
michal@home ~ $ blender
guessing 'blender' == '/usr/bin/blender'
Compiled with Python version 2.4.
Checking for installed Python... got it!
Segmentation fault
|
I have found similar thread but it seems it is related to problem with ATI drivers (I am using Nvidia 4200 TI + nvidia-drivers-1.0.9629).
Thinking it might be a python problem I tried to download and run precompiled executables:
Quote: |
blender-2.42a-linux-glibc232-py23-i386
blender-2.42a-linux-glibc232-py23-i386-static
|
One (first) version segfaults:
Quote: |
guessing './blender' == '/home/michal/Desktop/blender exe/blender-2.42a-linux-glibc232-py23-i386/./blender'
Compiled with Python version 2.3.
Checking for installed Python... got it!
Segmentation fault
|
But static version runs without problems.
Quote: |
guessing './blender' == '/home/michal/Desktop/blender exe/blender-2.42a-linux-glibc232-py23-i386-static/./blender'
Compiled with Python version 2.3.
Checking for installed Python... got it!
Blender quit
|
So... What can I do in this situation ?
Last edited by dr_Fell on Sat Nov 25, 2006 8:32 am; edited 2 times in total |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Thu Nov 23, 2006 9:59 am Post subject: |
|
|
it could be that some dependency library is compiled with too agressive flags? Run an strace on it. Also please post your emerge --info |
|
Back to top |
|
|
dr_Fell Apprentice
Joined: 10 Nov 2004 Posts: 170 Location: Sosnowiec, Poland
|
Posted: Thu Nov 23, 2006 11:03 pm Post subject: |
|
|
Here's my emerge --info:
Quote: |
home michal # emerge --info
Portage 2.1.2_rc2-r1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Tue, 21 Nov 2006 10:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -msse -ffast-math -mmmx -m3dnow -fmove-all-movables -s -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -msse -ffast-math -mmmx -m3dnow -fmove-all-movables -s -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://134.68.220.73/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi aiglx alsa apm arts atlas ba-completion bash-completion berkdb bigger-fonts bitmap-fonts buttons cddb cdr cle266 cli cracklib crypt cups dba dbcp dedicated divx dlloader dri dvd dvdr eds elibc_glibc emboss encode extensions extramodules fbcon fbdev firefox foomaticdb fortran ftp gd gdal gdbm geos gif gimp glx gmedia gpm grass gstreamer gtk gtk2 iconv imap inifile inkjar innkeywords input_devices_keyboard input_devices_mouse ipv6 isdnlog jasper java jpeg jpeg2k kadmos kde kdeenablefinal kernel_linux lcd lcms libg++ linguas_en linguas_pl lm_sensors mad mail maildir mikmod mime mmx mmxext mozsvg mp3 mpeg music ncurses network nis nls nptl nptlonly nsplugin nvidia ogdi ogg openexr opengl pam pascal pcre pdf perl png povray ppds pppd python qt3 quicktime readline reflection rtc sdl session simplexml sockets spell spl sql sse ssl svg sysvipc tcltk tcpd tidy tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 video_cards_nv video_cards_nvidia videos voice vorbis win32codecs wmp xbase xcomposite xfs xml xorg xscreensaver xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
|
And here is strace log
Probably apps that use 3D acceleration stopped to work. 3D game warzone 2100 and glxgears also give segfault. |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Thu Nov 23, 2006 11:14 pm Post subject: |
|
|
Could you try compiling it with just
Code: | CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer |
Some of your CFLAGS are redundant and are already contained in the -march (mmx, etc) |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Nov 23, 2006 11:25 pm Post subject: |
|
|
dr_fell,
same card, same xorg, having same prob. Does seem to be 3D related.
many things up in the air right now. Just had to revert older board after AN7 uGuru wiped my BIOS for me.
I had this GeForce4 on this mobo great but that's going back a good while before I did modular xorg, gcc 4.1 and probably two or three kernel changes.
do you get anything odd in boot log. I am getting a shit load of udev_run_devd failures that I have not tracked down yet.
Need to start pulling some stuff. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Thu Nov 23, 2006 11:34 pm Post subject: |
|
|
Have either of you tried the xorg GL implementation, just to get you blendering for now? |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Nov 24, 2006 9:39 am Post subject: |
|
|
just swapped in a GeForce2 card this works fine with glxgears etc. This card causes xorg to print a message about it not supporting Xcomposite. This may be a clue to where the GF4 was segfaulting.
I also recall some issue with the nvidia drivers on modular xorg that I linked to on the forum but cannnot remember details.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Nov 24, 2006 3:56 pm Post subject: |
|
|
now we see the true cause of this problem it looks like this should be in kernel and hardware thread. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
dr_Fell Apprentice
Joined: 10 Nov 2004 Posts: 170 Location: Sosnowiec, Poland
|
Posted: Fri Nov 24, 2006 4:36 pm Post subject: |
|
|
batistuta wrote: | Could you try compiling it with just
Code: | CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer |
Some of your CFLAGS are redundant and are already contained in the -march (mmx, etc) |
Compile blender ? I tried, still segfault. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
|
Back to top |
|
|
dr_Fell Apprentice
Joined: 10 Nov 2004 Posts: 170 Location: Sosnowiec, Poland
|
Posted: Fri Nov 24, 2006 9:45 pm Post subject: |
|
|
So it seems it's known bug now, bug affecting NV 2x GPU's. I'll try to install older version of drivers tommorow.
EDIT: This could be usefull too...
So... does it mean that Nvidia wants to remove NV 2x support from nvidia-drivers and move it to legacy drivers soon ? It seems that new version of drivers just doesn't support NV2x GPU's, maybe (by mistake) a bit before Nvidia wnats it officially :> |
|
Back to top |
|
|
dr_Fell Apprentice
Joined: 10 Nov 2004 Posts: 170 Location: Sosnowiec, Poland
|
Posted: Sat Nov 25, 2006 8:30 am Post subject: |
|
|
So yes - it's nvidia-drivers bug. Downgrading to nvidia-drivers-1.0.8776 solved the problem. Thanks ! |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sat Nov 25, 2006 12:47 pm Post subject: |
|
|
Be aware that 8776 wont compile on 2.6.18 kernels. Currently only 9626 will work on recent kernels and that has been removed from portage. If anyone needs it you will have to mess about in the cvs archive and add it to your portage overlay.
https://bugs.gentoo.org/show_bug.cgi?id=154817
cool this is "resolved" as WONTFIX" , very helpful.
If you think that is unhelpful you may wish to add a comment to the bug report. Certainally wasted enough of everyone's time here. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
dr_Fell Apprentice
Joined: 10 Nov 2004 Posts: 170 Location: Sosnowiec, Poland
|
Posted: Sat Nov 25, 2006 2:19 pm Post subject: |
|
|
Thanks, it clears situation even more. As for me, I have been living without AIGLX for now, so downgrading doesn't hurt, I can wait for bug-free release of nvidia-drivers |
|
Back to top |
|
|
Hrk Tux's lil' helper
Joined: 24 May 2003 Posts: 90 Location: Rome, Italy
|
Posted: Sat Nov 25, 2006 6:23 pm Post subject: |
|
|
Gentree wrote: | Be aware that 8776 wont compile on 2.6.18 kernels. |
Hi,
looks like 8776 (luckily) still works on 2.6.18 (gentoo-r3)
Code: | aiace ~ # uname -a
Linux aiace 2.6.18-gentoo-r3 #1 PREEMPT Sat Nov 25 14:26:05 CET 2006 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux
|
Code: | aiace ~ # dmesg | tail -n 1
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8776 Mon Oct 16 21:56:04 PDT 2006
|
Legacy drivers are.............. old.
This is hurting my fondness of NVIDIA... (ok, they can't support my card forever and ever but....................) |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sat Nov 25, 2006 9:32 pm Post subject: |
|
|
Quote: | looks like 8776 (luckily) still works on 2.6.18 (gentoo-r3) |
I was sure I'd already been through that and found it was known due to a kernel change. Maybe gentoo kernel patches it ? You prove me wrong. Good news.
Quote: | Legacy drivers are.............. old. |
Hmm, I dislike the kind of second-class citizen snear behind this use of legacy. I really dont need a 6000 fps 150 euro gfx card for a non games machine , most of the time a 64M Geforce2 is amply powerful with the BIG plus that it does not need a 15W/64dB blower on it.
It's not legacy , it's an appropriate level of hardware for the job.
If I wanted to get caught up in OS upgrade -> hardware upgrade -> OS upgrade loop I would be using Windose not Linux.
I appreciate Nvidia for showing a serious commitment to linux support . If there are a few glitches in certain versions I think it's upto portage to maintain sufficient choice that our hardware is usable on Gentoo, rather than being too keen to trim the tree.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
|