vineri, 3 iunie 2011

Fighting Blender, NVIDIA and GNOME ...

Today I spent some time with Blender, NVIDIA and GNOME ...

Since I did preupdate and put Fedora 15, the system worked well until today.

Today I tried to relax a bit with Blender 3D, but ...

[free-tutorials@user ~]$blender
Info: Config directory with "startup.blend" file not found.
Segmentation fault (core dumped)</code></pre>

How to prevent uploading that file? Simply using:

[free-tutorials@user ~]$blender --factory-startup 
Segmentation fault (core dumped)</code></pre>

Obviously, I should try to debug:

[free-tutorials@user ~]$blender --factory-startup  -d
Blender 2.57 (sub 0)
Build: 2011-04-27 16:56:56 Linux:32bit Release
argv[0] = blender
argv[1] = --factory-startup
argv[2] = -d
read file 
  Version 256 sub 6 svn r36063

ordered
 OBCube
 OBLamp
 OBCamera
Segmentation fault (core dumped)</code></pre>

Simply don't wants, it's something related to graphics card ...

[free-tutorials@user ~]$blender --factory-startup  -d -noglsl 
Blender 2.57 (sub 0)
Build: 2011-04-27 16:56:56 Linux:32bit Release
argv[0] = blender
argv[1] = --factory-startup
argv[2] = -d
argv[3] = -noglsl
read file 
  Version 256 sub 6 svn r36063

ordered
 OBCube
 OBLamp
 OBCamera
Segmentation fault (core dumped)</code></pre>

So the problem is not related to GLSL.

Then I tried to see what glxinfo says.

[free-tutorials@user ~]$glxinfo | grep Error
Error: glXCreateContext failed</code></pre>

I found this problem and I added to xorg.conf the following lines of code.

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules/drivers"
ModulePath "/usr/lib/xorg/modules"
EndSection </code></pre>

I must admit that after restarting the computer, greeted me with the gnome interface and unprecedented special effects.

Then I waited ... and waited ... I fixed up with a simple line of code:

$  gsettings set org.gnome.desktop.session session-name 'gnome-fallback'</code></pre>

... written in xfce terminal, because in gnome I have not succeeded.

Now I have the old gnome, slightly improved but it works flawlessly with Blender 3D...

3 comentarii:

Valent spunea...

Hopefully these bugs bet squashed and things start working better out of the box.

If you are interested in Blender check out Fusion Linux - www.fusionlinux.org

We package latest blender in our Fedora Remix.

Cheers,
Valent.

kevinkofler spunea...

Have you tried Nouveau? The fact that 3D apps inside a 3D desktop don't work clearly looks like a bug in the NVidia driver to me.

twohot spunea...

Using Blender 2.61 on Fedora 16 on this Machine without a glitch. Its Nouveau and its robust. I opted for tranquillity after much turmoil with nVidia blobware. Free yourself

Trimiteți un comentariu