Pagina 1 di 1

[RISOLTO] Blender e scheda video intel i855

Inviato: lun 29 set 2008, 14:45
da paolo86
Salve, ho un problema con Blender sul mio portatile.
Inizialmente ho installato il pacchetto preso qui su slacky, e con quello ho installato anche le relative dipendenze; però avviandolo va in segmentation fault.
Più esattamente mi scrive:

Codice: Seleziona tutto

Compiled with Python version 2.5.2.
Checking for installed Python... got it!
Segmentation fault
Ho provato persino a prendere il programma dal sito ufficiale, ma l'esito è sempre lo stesso.
Usando GDB scrive:

Codice: Seleziona tutto

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 0xb788c700 (LWP 4136)]
0xb75cfe87 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
(gdb) backtrace
#0  0xb75cfe87 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#1  0x0aa04478 in ?? ()
#2  0x00000001 in ?? ()
#3  0xbffd4808 in ?? ()
#4  0xb75b3a02 in intelStartInlinePrimitive () from /usr/lib/xorg/modules/dri/i915_dri.so
#5  0xb7652580 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#6  0x0aa04478 in ?? ()
#7  0x00000001 in ?? ()
#8  0x00000002 in ?? ()
#9  0x00000000 in ?? ()
Prima usavo una kubuntu e funzionava senza problemi su questo portatile.
Qualcuno sa come posso risolvere? E' per caso colpa di X.org?

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 8:17
da paolo86
Non mi aiuta nessuno??? :cry: [-o<

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 10:29
da Trotto@81
La versione che hai usato è quella dinamica o statica?
Python l'hai installato?
Nel caso posso darti lo sclackbuild che uso io per compilarlo da me e fai una prova.
Ti scarichi scons da slacky che serve per compilarlo e lanci lo script per creare il pacchetto.
Non ho problemi sulla mia slackware.

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 11:10
da paolo86
Trotto@81 ha scritto:La versione che hai usato è quella dinamica o statica?
Credo sia la versione dinamica...
Trotto@81 ha scritto:Python l'hai installato?
Si... Ho altri programmi che usano python e funzionano tutti.

Codice: Seleziona tutto

$ python -V
Python 2.5.2
Trotto@81 ha scritto:Nel caso posso darti lo sclackbuild che uso io per compilarlo da me e fai una prova.
Ti scarichi scons da slacky che serve per compilarlo e lanci lo script per creare il pacchetto.
Grazie! Sperando possa funzionare...

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 11:19
da sardylan
Stessaa cosa anche a me!!! Segmentation fault... Ed ho fglrx funzionanti...
Ho risolto scaricando dal sito ufficiale questa versione: lender-2.47-linux-glibc236-py25-i386, ed ho risolto...
Mi da solo qualche problemino nelle finestre alla chiusura di blender, ma niente di particolare...

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 11:24
da paolo86
sardylan ha scritto:Stessaa cosa anche a me!!! Segmentation fault... Ed ho fglrx funzionanti...
Ho risolto scaricando dal sito ufficiale questa versione: lender-2.47-linux-glibc236-py25-i386, ed ho risolto...
Mi da solo qualche problemino nelle finestre alla chiusura di blender, ma niente di particolare...
Questa è proprio la versione che avevo scaricato dal sito ufficiale... E puntualmente crasha... :cry:

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 11:50
da Trotto@81
Paolo mandami la tua mail in un messaggio privato che ti mando il tutto.

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 17:48
da paolo86
Niente... Ho ricompilato blender dai sorgenti, ma ancora il risultato è sempre lo stesso.
Con GDB:

Codice: Seleziona tutto

$ gdb /usr/share/blender/blender
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/share/blender/blender
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Compiled with Python version 2.5.2.
Checking for installed Python... got it!
[New Thread 0xb74f26d0 (LWP 12031)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb74f26d0 (LWP 12031)]
0xb7235e87 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
(gdb) backtrace
#0  0xb7235e87 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#1  0x0acb7050 in ?? ()
#2  0x00000001 in ?? ()
#3  0xbfe20e58 in ?? ()
#4  0xb7219a02 in intelStartInlinePrimitive () from /usr/lib/xorg/modules/dri/i915_dri.so
#5  0xb72b8580 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#6  0x0acb7050 in ?? ()
#7  0x00000001 in ?? ()
#8  0x00000002 in ?? ()
#9  0x00000000 in ?? ()
Senza GDB:

Codice: Seleziona tutto

$ blender
Compiled with Python version 2.5.2.
Checking for installed Python... got it!
/usr/bin/blender: line 2: 12696 Segmentation fault      /usr/share/blender/blender

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 18:39
da Trotto@81
E' strano perchè tu mi pare di capire che hai un 12.1, a me compila e parte senza problemi.

Re: Blender e scheda video intel i855

Inviato: mar 30 set 2008, 19:22
da paolo86
Compilare compila....
Il problema è che apre la finestra e subito dopo si chiude andando in segmentation fault...

Secondo me è un problema legato alla mia scheda video e a X.org....

Re: Blender e scheda video intel i855

Inviato: gio 2 ott 2008, 14:20
da paolo86
Salve a tutti!!!

Frugando nella rete ho trovato una possibile soluzione a questo indirizzo:
https://bugs.freedesktop.org/show_bug.cgi?id=12164.

Qui altri hanno avuto problemi simili al mio e hanno risolto ricompilando mesa,
ormai giunto alla versione 7.2, mentre sulla mia 12.1 c'è una ben più vecchia 7.0.2... :shock:

Ora vado di ricompilazione, spero finalmente di risolvere!!

Re: Blender e scheda video intel i855

Inviato: gio 2 ott 2008, 14:51
da paolo86
Non capisco perché, ma la compilazione termina avvisando che alcune variabili non sono dichiarate.
Come può essere che una versione stable (7.2) non abbia delle variabili dichiarate?

Codice: Seleziona tutto

...
...
In file included from ../../../../../src/mesa/drivers/dri/common/dri_util.h:53,
                 from ../intel/intel_screen.h:32,
                 from intel_buffers.c:28:
/usr/include/drm/drm.h:744:1: warning: this is the location of the previous definition
intel_buffers.c: In function ‘intelUpdatePageFlipping’:
intel_buffers.c:218: error: dereferencing pointer to incomplete type
intel_buffers.c:223: error: dereferencing pointer to incomplete type
intel_buffers.c:233: error: dereferencing pointer to incomplete type
intel_buffers.c:234: error: dereferencing pointer to incomplete type
intel_buffers.c:235: error: ‘drm_i915_flip_t’ undeclared (first use in this function)
intel_buffers.c:235: error: (Each undeclared identifier is reported only once
intel_buffers.c:235: error: for each function it appears in.)
intel_buffers.c:235: error: expected ‘;’ before ‘flip’
intel_buffers.c:238: error: dereferencing pointer to incomplete type
intel_buffers.c:242: error: dereferencing pointer to incomplete type
intel_buffers.c:243: error: dereferencing pointer to incomplete type
intel_buffers.c:244: error: dereferencing pointer to incomplete type
intel_buffers.c:248: error: ‘flip’ undeclared (first use in this function)
intel_buffers.c:250: error: dereferencing pointer to incomplete type
intel_buffers.c:251: error: dereferencing pointer to incomplete type
intel_buffers.c:252: error: dereferencing pointer to incomplete type
intel_buffers.c: In function ‘intelWindowMoved’:
intel_buffers.c:309: error: dereferencing pointer to incomplete type
intel_buffers.c:309: error: dereferencing pointer to incomplete type
intel_buffers.c:310: error: dereferencing pointer to incomplete type
intel_buffers.c:310: error: dereferencing pointer to incomplete type
intel_buffers.c:311: error: dereferencing pointer to incomplete type
intel_buffers.c:311: error: dereferencing pointer to incomplete type
intel_buffers.c:312: error: dereferencing pointer to incomplete type
intel_buffers.c:312: error: dereferencing pointer to incomplete type
intel_buffers.c:313: error: dereferencing pointer to incomplete type
intel_buffers.c:313: error: dereferencing pointer to incomplete type
intel_buffers.c:314: error: dereferencing pointer to incomplete type
intel_buffers.c:314: error: dereferencing pointer to incomplete type
intel_buffers.c: In function ‘intelPageFlip’:
intel_buffers.c:667: error: ‘drm_i915_flip_t’ undeclared (first use in this function)
intel_buffers.c:667: error: expected ‘;’ before ‘flip’
intel_buffers.c:669: error: ‘flip’ undeclared (first use in this function)
intel_buffers.c:683: error: dereferencing pointer to incomplete type
intel_buffers.c: In function ‘intelScheduleSwap’:
intel_buffers.c:736: error: ‘DRM_VBLANK_FLIP’ undeclared (first use in this function)
intel_buffers.c:738: error: dereferencing pointer to incomplete type
intel_buffers.c:762: error: dereferencing pointer to incomplete type
make[6]: *** [intel_buffers.o] Error 1
make[6]: Leaving directory `/tmp/Mesa-7.2/src/mesa/drivers/dri/i915'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/tmp/Mesa-7.2/src/mesa/drivers/dri'
make[4]: *** [default] Error 1
make[4]: Leaving directory `/tmp/Mesa-7.2/src/mesa/drivers'
make[3]: *** [driver_subdirs] Error 2
make[3]: Leaving directory `/tmp/Mesa-7.2/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/tmp/Mesa-7.2/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/tmp/Mesa-7.2'
make: *** [linux-dri-x86] Error 2
root@bqpaolo86:/home/paolo/Desktop/my_packages/mesa#

Re: Blender e scheda video intel i855

Inviato: lun 13 ott 2008, 15:41
da paolo86
Risolto!!!! \:D/
Sono riuscito a risolvere questo fastidioso problema...
Era dovuto alla versione di mesa (la 7.0.2) installato sulla 12.1, che probabilmente aveva un bug...
Sono riuscito a compilare la 7.0.3 invece dell'ultima che non ne voleva sapere di compilarsi, ho creato il pacchetto, e dopo averlo installato blender è finalmente partito!!!
Immagine

Ciao!