Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blender segfaults (OpenGL prob)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Fri Jun 03, 2005 5:41 pm    Post subject: Blender segfaults (OpenGL prob) Reply with quote

Steps:
1) Start Blender
2) Press F12
3) Press F12
4) Press F12

This is really scary ... it always crashes the third render! This also happens when I first render file one, then file two, file three - BOOM! :twisted:

This happens with new Blender 2.37. I think this may be an OpenGL problem because when I use the static binary from the blender homepage, everything is running a bit slower, but these segfaults don't appear anymore!

Blender 2.36 already had this problem too.

Can anybody help me? All other OpenGL apps are running fine ... :cry:
Back to top
View user's profile Send private message
Xaid
Guru
Guru


Joined: 30 Oct 2004
Posts: 474
Location: Edmonton / Alberta

PostPosted: Fri Jun 03, 2005 6:04 pm    Post subject: Reply with quote

I just tried it here and it doesn't segfault....
here's my emerge info output:
Code:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200                                                                                    41102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 13:55:53)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.6.3, 1.5, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1                                                                                    1/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/                                                                                    config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/                                                                                     /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/                                                                                    distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt cups 
curl dts dvd dvdr emboss encode flac foomaticdb fortran gd gdbm gif gpm gtk gtk2
imagemagick imlib java jpeg libg++ libwww mad mailwrapper matroska mikmod mmx
motif mozilla mp3 mpeg ncurses network nls nptl ogg oggvorbis opengl oss pam
pdflib perl png python quicktime readline rtc sdl slang spell sse sse2 ssl svg svga
tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLA                                                                               Y


post the output of your "emerge info", it could be a problem with you CFLAGS thats causing it to segfault.

Edit: Fixed typos
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Fri Jun 03, 2005 6:09 pm    Post subject: Reply with quote

I don't really think that it has something to do with my CFLAGS because also the Blender dymanic linked stuff segfaults. Sorry I didn't mention this in my previous post. :oops:


emerge --info:
Code:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 14:45:59)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.4_p6, 1.7.9-r1, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts crypt cups curl directfb dvd emboss encode fam fbcon flac foomaticdb fortran gcj gd gdbm gif gpm gtk gtk2 guile hal imagemagick imlib ipv6 java jpeg junit kde libg++ libwww live mad mikmod motif mozilla mp3 mpeg ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba sdl slang spell ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts vanilla vorbis win32codecs xine xml2 xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Back to top
View user's profile Send private message
Xaid
Guru
Guru


Joined: 30 Oct 2004
Posts: 474
Location: Edmonton / Alberta

PostPosted: Fri Jun 03, 2005 6:24 pm    Post subject: Reply with quote

hmm, you're right, your CFLAGS look normal :)
if you get a dynamically linked blender (or emerge the one in portage) and then do:
Code:

ldd /usr/bin/blender | grep found

do you get anything?
btw, is your video card an nvidia one or an ati one?
one more thing, about the "ntpl nptlonly" USE flags, I have mine set to only "nptl" just to be safe, maybe someone who has both flags and has blender working without any crashes can post a reply here so you can rule out a problem with building glibc with only nptl.
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Fri Jun 03, 2005 6:56 pm    Post subject: Reply with quote

ldd /usr/bin/blender | grep found gives nothing.

About the video card: I use a laptop with integrated graphics (Intel 855GM), so neither Nvidia nor ATI.

Strange, you are not the first who mentions the USE flag "nptlonly". I think I will remove this because I thought it would give me more performance, but I found the performance killer, so I don't need this flag anymore anyway :D .

If you have more ideas, just post. I would be happy to get Blender running! :D
Back to top
View user's profile Send private message
msakj
n00b
n00b


Joined: 28 Dec 2004
Posts: 1

PostPosted: Thu Jun 16, 2005 4:56 pm    Post subject: Reply with quote

Me too. but I'm using i845 + radeon9200SE (drivers are from gentoo-kernnel:radeon,intel_agp)

Blender is crash down in DRI mode.
But It's not crash in Inderect rendering mode.

Which is wrong? X? Blender? I don't know.

This is my suggestion:
Try to DRI indirect rendering mode.This is slow mode. But It will make you happy Blender Life.
Back to top
View user's profile Send private message
Membris
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 297
Location: Murcia (Spain)

PostPosted: Tue Jul 19, 2005 9:55 am    Post subject: Reply with quote

Hello, I get same problem, with last stable (2.36). If I run Blender from terminal, I only get "segfault" when crashes.

I have an ATI Radeon 9250 (same as 9200) with xorg and kernel DRI.

There isn't any solution for this problem?

I though emerging last ~x86 ebuild (2.37) but if you get same error, I desist :(
_________________
No por mucho madrugar verás a las vacas en camisón.
Back to top
View user's profile Send private message
varikin
n00b
n00b


Joined: 07 Jan 2004
Posts: 16

PostPosted: Sun Dec 11, 2005 9:23 pm    Post subject: Reply with quote

I have the same problem. I found these links that helped me.
Here is another thread with this problem. https://forums.gentoo.org/viewtopic-t-324921-highlight-blender+segfault.html
Here is a bug report for this problem https://bugs.gentoo.org/show_bug.cgi?id=95438
Here is an upstream bug report https://bugs.freedesktop.org/show_bug.cgi?id=2733
The bug has been fixed in mesa 6.3 and up. The current xorg 6.8.* uses the old 6.2 branch. I am trying to install xorg 7, the modularized one. It uses mesa 6.4.1. If that fixes it for me, I will let you know. Otherwise you could try compiling mesa from source but I don't know how that fits into xorg without recompiling.
Back to top
View user's profile Send private message
varikin
n00b
n00b


Joined: 07 Jan 2004
Posts: 16

PostPosted: Mon Dec 12, 2005 6:59 pm    Post subject: Xorg 7 didn't work Reply with quote

Quote:
I am trying to install xorg 7, the modularized one.

Xorg-server wouldn't compile for me so I switched back to using the xorg 6.8. Then I switched from the radeon open source driver to the ati-drivers. Blender does not crash now. There are several threads and docs on using the ati-drivers.
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Fri Apr 07, 2006 11:43 pm    Post subject: Re: Blender segfaults (OpenGL prob) Reply with quote

01mf02 wrote:
Steps:
1) Start Blender
2) Press F12
3) Press F12
4) Press F12

This is really scary ... it always crashes the third render! This also happens when I first render file one, then file two, file three - BOOM! :twisted:

This happens with new Blender 2.37. I think this may be an OpenGL problem because when I use the static binary from the blender homepage, everything is running a bit slower, but these segfaults don't appear anymore!

Blender 2.36 already had this problem too.

Can anybody help me? All other OpenGL apps are running fine ... :cry:


Same here with 2.41.
Code:
# emerge info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.16-gent
oo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share
/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh
are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te
x/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfpe
rms strict"
GENTOO_MIRRORS="ftp://mirrors1.netvisao.pt/gentoo http://distfiles.gentoo.org ht
tp://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib acpi ada adns aimextras alsa amarok apache2 arts artworkextra asterisk auctex audiofile avi bash-completion berkdb big-tables bitmap-fonts blender-game bluetooth bzip2 c++ cairo calendar caps ccache cdb cddb cdr cdrom cmucl crypt cscope cups curl dbus dri dts dvd dvi ecsteve ecsteve2 eds effects emacs emboss encode enscript epson escreen esd ethereal etwin exif expat fam festival ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp gimpprint ginac gkrellm glut gmail gmailtimestamps gmp gnuplot gnutls gpm graphviz gtk gtk2 guile hal haskell idn ieee1394 imagemagick imlib imlib2 inkjar isdnlog jabber java javascript jikes jpeg junit kde kdeenablefinal kig-scripting latex lcd lcms ldap ldb leim lesstif libg++ libwww lirc logrotate mad mailwrapper mhash mikmod mime mmx mng monkey motif mozilla mp3 mpeg mplayer musepack musicbrainz mysql nas nautilus ncurses neXt nfs nls nntp nosource nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oss pam pascal pci pcmcia pcre pdf perl php plotutils plugin png pnp postgres ppds pppd print python qhull qt quicktime readline real recode reiserfs ruby samba sametime sdl slang slp speex spell sql sqlite sse sse2 ssl stats subversion svg svga symlink tcltk tcpd tetex theora tidy tiff tomsfast math transcode truetype truetype-fonts type1-fonts udev usb v4l v4l2 videos vim vim-with-x visualization vorbis wifi win32codecs wmf xcomposite xine xml xml2 xprint xrandr xscreensaver xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Sun Apr 09, 2006 12:48 pm    Post subject: Re: Blender segfaults (OpenGL prob) Reply with quote

Updating to xorg-x11 7 solves this. :)
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Sun Apr 09, 2006 2:20 pm    Post subject: Reply with quote

Hehe, since I posted this problem I got a new computer, and the nVidia graphics card solved my problem, too. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum