Since the last update by UBUNTU 14.04 I experience difficulties to run blender in a local folder (under home user).
Under linux, one has to install blender from the software center befor trying to run a more recent version of blender coming from the buildbot.
Once installed the package, one is able to run any new release placed under the home user folder, for me in the Downloads folder where I uncompress the tar package.
Until the laste update, two weeks ago, I had just to drag a link icone to the desktop to run blender.
Since two weeks ago, a new update from ubuntu has been released and is creating problems with the shortcuts and also with the activation of CUDA.
What is happening is first the shortcut don’t work anymore and no errors are logged in the system log, second when i run blender directly from the folder it is located in, CUDA services are not activated or showing in the user preferences.
To go around this, I did look for issues with rights and found out that if I log as sudo, then run blender, then I get the CUDA services activated. Otherwise, if I go in the latest release folder and try to run blender, I get it running but no way to get CUDA services.
I found out that first I have to sudo ./blender and it comes up normally with CUDA.
But then all the files I save as sudo are not accessible from my normal user logon. So what I have to do is to sudo ./blender, close it and then run it as normal user which provide me the CUDA services.
However if I shot down the machine, at reboot I have to redo the process, the state does not stay… somewhere there is a problem with the CUDA drivers, or the rights applied to it… Also the issue with the shortcuts not working is still an issue I have not been able to resolve and below you will find the log generated when I tried to run blender from the shortcut.
I have been looking at the ubuntu communities, support etc, and they are mentions of issues with the latest ubuntu update, but no specific blender solutions are provided.
I did these following tests from the terminal.
========================================================
yves@enterprise:~/Downloads/blender-2.73$ sudo ./blender
[sudo] password for yves:
connect failed: No such file or directory
Read new prefs: /home/yves/.config/blender/2.72/config/userpref.blend
found bundled python: /home/yves/Downloads/blender-2.73/2.72/python
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘/home/yves/.config/blender/2.72/scripts/addons/overwmat.py’
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘/home/yves/.config/blender/2.72/scripts/addons/removemat.py’
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘/home/yves/.config/blender/2.72/scripts/addons/sendmat.py’
mesh_vertex_tools.py: new version loaded!
read blend: /media/yves/Workshop/Blender projects/Modeling/Haunted house/texture 2 3D from photo _01-03.blend
Error: Not freed memory blocks: 6
Blender quit
yves@enterprise:~/Downloads/blender-2.73$
Here CUDA is activated and I can access my paths as it should.
===================================
When trying to create a shortcut from blender folder to desktop blender show up briefly on the screen then bail out.
ERROR: apport (pid 3341) Mon Dec 22 18:39:40 2014: called for pid 3331, signal 6, core limit 0
ERROR: apport (pid 3341) Mon Dec 22 18:39:40 2014: executable: /home/yves/Downloads/blender-2.73/blender (command line “/home/yves/Desktop/Link\ to\ blender”)
ERROR: apport (pid 3341) Mon Dec 22 18:39:40 2014: executable does not belong to a package, ignoring
===================================
After I used to log as sudo, I can run directly by calling blender as ‘./blender’
If I close it and then open it again, no problem with CUDA or working with it.
yves@enterprise:~/Downloads/blender-2.72$ ./blender
connect failed: No such file or directory
Read new prefs: /home/yves/.config/blender/2.72/config/userpref.blend
found bundled python: /home/yves/Downloads/blender-2.72/2.72/python
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘/home/yves/.config/blender/2.72/scripts/addons/overwmat.py’
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘/home/yves/.config/blender/2.72/scripts/addons/removemat.py’
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘/home/yves/.config/blender/2.72/scripts/addons/sendmat.py’
mesh_vertex_tools.py: new version loaded!
Error: Not freed memory blocks: 2
Blender quit
yves@enterprise:~/Downloads/blender-2.72$
In this part, I have manually accessed the blender folder without sudo, as user yves. I did not have to use ./ to run blender like above when I did run it as sudo. you can see that the process is the same and I got access to CUDA as it should.
However if I do not start blender as sudo in the first place, then there is no way to have cuda activated.
===================================
I don’t know if the ubuntu ommunity is concerned by this or if blender devs can provide clues as to how to solve this situation.
Also does other users are having similar issues? or others?