[Bf-committers] Linux + Blender faq
Juan J. Pena Mena
bf-committers@blender.org
04 Aug 2004 08:41:58 -0400
--=-jrPxIYjJwGRZeAX2REhp
Content-Type: multipart/alternative; boundary="=-0uv11usyTos2ydAjp7xR"
--=-0uv11usyTos2ydAjp7xR
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Just some last minute corrections... I hope the corrections make it on
time for the 2.34 release! (It is going to be released tomorrow, isn't
it? )
The corrections were some typos and spelling erros, plus a link to the
Piovra Renderfarm Manager.
The OpenOffice Doc has been updated as well (still available from the
same link).
Apollux.
--=-0uv11usyTos2ydAjp7xR
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.9">
</HEAD>
<BODY>
<FONT SIZE="3">Just some last minute corrections... I hope the corrections make it on time for the 2.34 release! (It is going to be released tomorrow, isn't it? )<BR>
<BR>
The corrections were some typos and spelling erros, plus a link to the Piovra Renderfarm Manager.<BR>
<BR>
The OpenOffice Doc has been updated as well (still available from the same link).<BR>
<BR>
Apollux.<BR>
</FONT><BR>
</BODY>
</HTML>
--=-0uv11usyTos2ydAjp7xR--
--=-jrPxIYjJwGRZeAX2REhp
Content-Disposition: inline; filename=Blender-Linux-FAQ.txt
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=Blender-Linux-FAQ.txt; charset=UTF-8
Linux Blender FAQ
GENERAL
What is different in Blender for Linux, compared to Blender for other platf=
orms?
Is there any advantage of running Blender on Linux?
Blender is running way to slow on Linux, why?
Do I need any particular window manager or graphic desktop to run Blender?
Still, I would like to try something more to make it run faster, what could=
I do?
How do I find out if I'm using acceleration for my graphic card?
How will my graphic card behave with Blender and Linux?
If I make a .blend file in Linux, can it be opened in other platforms?
What about binaries plug-ins? Can they be used cross platform?
INSTALLING
Do I need root access to install Blender?
Why there isn't an automated installer?
How do I install Blender on my Linux system?
Why are Hot-Keys not working the way they should?
What does these error messages mean? =20
=C2=A8Could not find platform independent libraries <prefix>=C2=A8=20
=C2=A8Could not find platform dependent libraries <exec_prefix>=C2=A8=20
=C2=A8Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]=C2=A8=20
=C2=A8'import site' failed; use -v for traceback=C2=A8
=C2=A8sys_init:warning - no sitedirs added from site module.=C2=A8
What does the error =C2=A8Xlib: extension "GLX" missing on display ":0.0" m=
eans?
What does the error about a missing libstdc++-libc6.1-1.so.2 means ?
What does =C2=A8ERROR: File .blanguages not found=C2=A8 means?
MISCELLANIES / MORE INFORMATION
What about scaling up?
Where do I find more information?
I have some contributions for this document, how do contact the FAQ maintai=
ner?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=20
GENERAL
* What is different in Blender for Linux, compared to Blender for other pla=
tforms?
On the Windows version there is a button on the GUI (on the top bar) for sw=
itching between window mode and full screen mode. On the Linux version ther=
e isn't such button and, by default, Blender starts in full screen mode. To=
start Blender in window mode you should use the -w option: =C2=A8./blender=
-w=C2=A8
On the Windows version you can render your animations to video files alread=
y compressed with the CODECs installed on your computer (there is an option=
for this on the rendering buttons), but at the time of this writing, under=
Linux, you can only use the MPEG codec or no codec at all. For further vid=
eo compression you would need to render your animations to an uncompressed =
file, and then use another program to do any needed video compression; or r=
ender your animations to sequenced image files and use a video composition =
software to create the final video file. (By taking this last route you cou=
ld do all the actual rendering on Linux and only do the final video composi=
tion using Blender for other platform).
In the near future, a .zip file containing the basic Python libraries will =
be distributed alongside the Windows version of Blender (thus, on most case=
s doing a full Python install would not be necessary for running complex sc=
ripts). On Linux you are required to do a full Python install if you want =
to run complex scripts (but there is pretty high chance that Python is alr=
eady installed on your computer, since Python is a defacto component on mos=
t Linux distros).
* Is there any advantage of running Blender on Linux?
Yes, specially on the speed department. May users (including myself) has re=
ported that Blender loads and renders noticeable faster on Linux than in ot=
her operating systems. Please take note that no matter what operating sys=
tem you are using, rendering from the command line is (on 99% of the cases)=
faster than rendering from the GUI.
Besides, considering consumed computer resources, Linux puts a lighter load=
on your CPU, thus leaving more free resources to be used for actual 3D wor=
k.
* Blender is running way to slow on Linux, why?
Your first stop should be the advices given at http://www.elysiun.com/forum=
/viewtopic.php?t=3D13722
If those advices don't solve the problem then your next stop is checking if=
you are getting hardware acceleration for OpenGL operations (Blender uses =
OpenGL for all it's GUI drawing operations, so having an OpenGL accelerated=
graphic card truly does a difference when it comes to GUI response time. )
See wich GLX driver is been used on your system (more info on that bellow),=
if you get =C2=A8 Mesa GLX Indirect=C2=A8 it means that you are NOT using =
any hardware acceleration at all.
Check if your graphic card maker provides Linux drivers for your card. By r=
eplacing the general purpose Indirect Mesa driver with a driver made specif=
ically for your card you could see speed increases up to 400% (my own exper=
ience) or maybe more.
Nvidia, Ati and many other graphic card manufacturers provide Linux specifi=
c drivers for their cards. Bear in mind that those speed increases might co=
me at the cost of some stability issues. =20
Blender supports both mesa a proprietary glx drivers, but some users have r=
eported buggy behavior coming from using those proprietary drivers, while o=
ther users have reported outstanding performance gains without any trouble.=
=20
* Do I need any particular window manager or graphic desktop to run Blender=
?
No, as long as you have a working X system (Xorg/Xfree86/etc) and a OpenGL =
driver (see next question) you should be fine. There is no difference from =
using KDE, GNOME or whatever your desktop manager might be.
* How do I find out if I'm using acceleration for my graphic card?
Within Blender, open a new text window and type in this:
from Blender.BGL import *=20
print "GL Vendor ", glGetString(GL_VENDOR)=20
print "GL Renderer", glGetString(GL_RENDERER)=20
print "GL Version ", glGetString(GL_VERSION)
Now press Alt-P or click on File -> Run Python Script. Go to your console a=
nd see what is written over there. If you find something like:
=C2=A8Mesa GLX Indirect=20
Mesa project: www.mesa3d.org=20
1.3 Mesa 4.0.4=C2=A8
then you are not using acceleration for your graphic card (noticed the =C2=
=A8Indirect=C2=A8 word?). On the other hand, if you get something like:
=C2=A8GeForce4 Ti 4200 with AGP8X/AGP/SSE2=20
NVIDIA Corporation=20
1.4.0 NVIDIA 43.63=C2=A8
or like:
=C2=A8GeForce2 MX/PCI/3DNOW!=20
NVIDIA Corporation=20
1.3.1 NVIDIA 31.23=C2=A8
or even like:
=C2=A8GL Vendor VA Linux Systems, Inc.=20
GL Renderer Mesa DRI Voodoo3 20010501 x86/MMX/3DNow!=20
GL Version 1.2 Mesa 3.4.2=C2=A8
it means that you are using a real accelerated graphic driver.
Another way to find information about your current OpenGL setup is by using=
the glxinfo command, that will yield more technical oriented data about yo=
ur system. Just be prepared to pipe the output trough a LESS command since =
glxinfo could be really articulated some times.=20
* Still, I would like to try something more to make it run faster, what cou=
ld I do?
So you are felling a little adventurous, aren't you? Here is a small tip f=
or you: Ctrl-Shift-Alt-Z, but don't be dissapointed if it doesn't improves =
your situation at all.
* Why are they 2 versions of Blender for Linux? What does the static/dynami=
c mean?
Actually there are 4 versions of Blender for Linux, two for x386 processors=
and two for PowerPC processors. For each processor family we have dynamic=
and statics flavors available. (2 x 2 =3D 4).
On a static build, all the system dependencies needed to run Blender are in=
cluded, even a software based OpenGL environment. So if you are having depe=
ndencies errors or you are unable to find a proper OpenGL driver for your g=
raphic card the static build should run on your system. You should consider=
a static built as a trouble-shooting/worst case scenario option.
On a dynamic build, the dependencies are not included, so Blender will use =
the libraries already installed and available on your system. Also, Blender=
will use any OpenGL accelerated driver that it might find on your system. =
Generally speaking, a dynamic build should be preferred over a static build=
.
Always make sure, despite your static or dynamic choice, to download the ve=
rsion that match your processor. If you have an Intel, AMD or Cyrix process=
or you should go with the x386 version. If you have a Mackintosh (or one of=
those rare Motorola CPUs) then you should go with the PPC version.
* How will my graphic card behave with Blender and Linux?
The best way to know is looking the testimonials of other users with the sa=
me/similar graphic cards as yours. Go and take a look into the official Bl=
ender OpenGL/GFx database located at http://blender.org/modules/gfxdatabase=
/
* If I make a .blend file in Linux, can it be opened in other platforms?
Yes. Every .blend made in any platform should open in any other platform. I=
f you ever come across a .blend file that opens OK in a platform but won't =
open on another platform then you have officially found a bug and we would =
be most interested in hearing about it on our Bug tracker, located at http:=
//projects.blender.org/tracker/?atid=3D125&group_id=3D9&func=3Dbrowse
* What about binaries plug-ins? Can they be used cross platform?
No. A binary plug-in should be compiled specifically for the same platform =
where Blender is running (and usually for the same Blender version). If the=
plug-in has a .dll extension it is intended to be used on Windows, if it h=
as a .so extension then it is compiled to run on Linux.
Fortunately, plug-ins are usually distributed on both .dll and .so forms. =
For a good repository of Blender binary plugs, take a look at http://www.bl=
ender3d.org/cms/Resources.181.0.html#569
Also, some binary plug-ins are distributed alongside with Blender, they are=
stored inside the =C2=A8plugins=C2=A8 directory where you extracted Blende=
r. The trick is that they are not compiled yet. Just go into that director=
y and type Make, everything else goes automatically from there. (of course =
you need to have gcc and make installed on your system, but those two are p=
ractically omnipresent on all distros).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=20
INSTALLING
* Do I need root access to install Blender?
No. If you install Blender under your home directory it would run just fine=
. =20
However, just like with any Linux program, installing the needed dependenci=
es might (like in =C2=A8could happen but is not sure=C2=A8) need root acces=
s.
* Why there isn't an automated installer?
Because the install process is so easy that even a 2 years old kid could do=
it.=20
Besides, distro makers sometimes make funky decisions about where to put wh=
at on their Linux version. So to be safe a manual install is the best choic=
e (remember that I said it is a really easy process).
* How do I install Blender on my Linux system?
Short answer: the file you downloaded is a compressed folder, just uncompre=
ss it and run the blender executable from that directory.=20
Long answer: (not fully written, in the meanwhile read at http://www.blende=
r.org/modules/documentation/htmlI/c217.html )
* Why are Hot-Keys not working the way they should?
Most window manager programs trap user's key events and analyze them before=
sending to the running program. If the pressed hotkey is already assigned=
on the window manager it will never make it into the running program.=20
In other words, if you have a particular keyboard combination defined on yo=
ur window manager, and Blender uses that same keyboard combination as a hot=
key, the one defined on the window manager will prevail. KDE's window mana=
ger default configuration is known to have more than a few collisions with =
Blender's hotkeys.=20
Until the time comes when all Blender hotkeys are user configurable, your =
2 only choices are going into your Window Manger configuration and disablin=
g or re-directing the offending hotkey; or trying to substitute the trouble=
maker hotkey with it's GUI counterpart (witch is not always feasible).
To access KDE's hot-key editor go into Control Center -> Regional Settings =
and Accessibility -> Keyboard Shortcuts
A special note should be made about the ~ hotkey (the one that toggles all =
your layers on/off). If that hot key isn't working for you, the Window Mana=
ger is not the one to be blamed, but your keyboard configuration:
For some non standard English configurations, that key is used as a modifie=
r to input Latin characters, specially the =C3=91 letter (ascii codes 164 a=
nd 165) used often in the Spanish language (like in =C2=A8Pi=C3=B1a Colada=
=C2=A8). On those keyboard configurations, the ~ key event isn't treated as=
a keystroke on itself, but like a modifier for the next key that you press=
. Again, besides changing your keyboard configuration, there isn't much th=
at could be done to fix it.
* What does these error messages mean? =20
=C2=A8Could not find platform independent libraries <prefix>=C2=A8=20
=C2=A8Could not find platform dependent libraries <exec_prefix>=C2=A8=20
=C2=A8Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]=C2=A8=20
=C2=A8'import site' failed; use -v for traceback=C2=A8
=C2=A8sys_init:warning - no sitedirs added from site module.=C2=A8
Those error messages all point in the same direction, a proper Python insta=
llation could not be found by Blender. Either you don't have Python instal=
led, or you have and outdated version. At the time of this writing, Blende=
r uses Python 2.3.
The error is non fatal, meaning that Blender will still open and work, but =
you'll be in trouble if you try to run a script that requires Python functi=
ons not already provided by Blender (file import/export scripts are good ca=
ndidates for that).
* What does the error =C2=A8Xlib: extension "GLX" missing on display ":0.0"=
means?
If you are getting this error it means that the glx extension is not enable=
d in /etc/X11/XF86Config.=20
GLX allows blender to access your 3d card and draw to the screen, but some =
distributions ship with GLX disabled.=20
It likely means that you just haven't got OpenGL installed or properly conf=
igured on your system. (It is also a symptom that you should review your 3D=
card setup in general).
Unfortunately there isn't a easy answer on how to enable it, since it varie=
s from distro to distro.=20
As a general tip it could be said that most of the times a line that says =
=C2=A8Load GLX=C2=A8 withing the Modules section of your Xfree86config file=
is involved. However, Your distro manual should point you in the right dir=
ection.
* What does the error about a missing libstdc++-libc6.1-1.so.2 means ?
Means that you need to install the C++ compatibility libraries. If you are =
on RedHat, that would be compat-libstdc++-*.rpm.
* What does =C2=A8ERROR: File .blanguages not found=C2=A8 means?
It means that at loading time Blender was unable to find it's locale transl=
ation files. When you uncompressed the file where blender is distributed, =
a small hidden directory called .blender was uncompressed as well. Just co=
py or move that directory to your home directory and the error should go aw=
ay.
While you might not be interested in using the international translations o=
ptions, I'm sure that you would be interested in using the many scripts tha=
t are distributed with Blender. Well, those scripts are stored inside .blen=
der as well, so by copying that directory to your home directory you are so=
lving two issues at the same time.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=20
MISCELLANIES / MORE INFORMATION
* What about scaling up?
If you are thinking about implementing Blender on big scale, then you shoul=
d know that there are renderfarm solutions already available.
At the inside of the Blender Foundation there is ongoing work to develop n=
etwork rendering capabilities, more details can be found at http://proje=
cts.blender.org/softwaremap/trove_list.php?form_cat=3D150
Outside the Blender Foundation, there is DrQueue (a Linux, Irix and OSX bas=
ed GLP network rendering tool). It is freely available at http://www.drqueu=
e.org/ and at the time of this writing it supports Blender, Maya, BMRT and=
Pixie (support for FreeBSD and Aqsis is on the work).
Also, there is the Piovra renderfarm manager ( http://utenti.lycos.it/matti=
oli/ ), witch is free and with many features. More information and performa=
nce tips about Piovra, written by the developer itself, can be seen at http=
://www.cgtalk.com/showthread.php?t=3D150501&page=3D1&pp=3D15 (English) and =
http://www.blender.it/modules.php?name=3DForums&file=3Dviewtopic&topic=3D11=
86&forum=3D15&start=3D80 (Italian).
Besides, Render Planet ( https://renderplanet.com/ ) is offering both paid =
and free renderfarm services for Blender, Maya and Lightwave users.
When it comes to project management, Blender has built-in data linking and =
sharing capabilities that make it easier for lager groups to collaborate on=
a single project. Besides that, users has reported success by using the Ma=
kefile system to manage complex projects involving large animations. More i=
nformation about that particular subject can be found at http://www.cgtalk.=
com/showthread.php?t=3D155978 .
NOTICE: The Blender Foundation doesn't endorse or sponsors the DrQueue nor =
the Render Planet products, they are included in this FAQ for the sake comp=
leteness.
* Where do I find more information?
On the Internet:
http://www.blender3d.com/
http://www.blender.org/
http://www.elysiun.com/
http://www.cgtalk.com/forumdisplay.php?f=3D91
The Internet is the preferred way for getting more information related to B=
lender, as well to participate in the user communities and stay tunned with=
the latest developments.
By face-to-face interaction:
Each year, the official Blender Conference is held in Amsterdam, usually ar=
ound the end of October, where many of the community members gather to disc=
uss new development proposals, to hear seminars given by notorious communit=
y members and people involved in the CG industry who are putting Blender to=
good use, among others activities. Also, there are the annual Blender Art =
Festival and the Suzanne Awards Ceremony where the most outstanding artwork=
s and development contributions are prized.
At the same time that the official Conference is taking place, smaller conf=
erences and informals get-together take place around the globe, organized b=
y volunteer community members.
During Siggraph, each year small BOF sections are programmed, as well as in=
formation stands on the expo floor.
By books:
About once in a year, the Blender foundation releases a new documentation o=
riented book related to blender. By buying one of those books you help fina=
nce the Blender Foundation.=20
Others Blender books, not released by the BF, are available through mayor l=
ibraries like Barnes & Noble and Amazon. Besides English language, there ar=
e German and Japanese books available.
* I have some contributions for this document, how do contact the FAQ maint=
ainer?
That would be me, Juan J. Pena M. (also known as Apollux). You can usually =
catch me around the forums mentioned on the previous answer, or you could r=
each me by e-mail me on jjulio.pena at verizon.net.do (just substitute the =
=C2=A8at=C2=A8 whit the @ sing, and no empty spaces in between).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=
- - - - - -
Thanks for taking the time to read this document. This FAQ was last updated=
on August 4th, 2004.
--=-jrPxIYjJwGRZeAX2REhp--