![]() Registered Member ![]()
|
Hi there!,
I work with blender and I'm trying to use openCL for Cycles rendering, but it's not activated by default. I created a new item on "KDE Menu Editor" but I don't how to specify custom commands to it. Here's how it looks: ![]() How do I specify a custom command after it's path, like "CYCLES_OPENCL_TEST=true" for example? R9 270X (14.12 drivers) openSUSE 13.2 x86_64 KDE 4.14.6 Regards, Amarildo
Last edited by amarildojunior on Sat Apr 04, 2015 10:16 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
Someone, pretty pretty please?
![]() |
![]() Manager ![]()
|
what happens when you just append the options to the command string?
in advanced options check "Run in terminal" do errors show? |
![]() Manager ![]()
|
wait is that an environmental variable or a blender option?
if env try:
|
![]() Registered Member ![]()
|
Hmm, I tried every possibility, with no dice. OpenCL just doesn't seem to work. It works if I launch Blender via Terminal though.
|
![]() Manager ![]()
|
try
found that here http://www.blenderartists.org/forum/sho ... -maybe-ATI) |
![]() ![]()
|
Since this looks like an environment variable:
The "CYCLES_OPENCL_TEST=true" assignment is a bash "trick", it doesn't work with rather plain (most non-interactive, even some interactive) shell interpreters. |
![]() Registered Member ![]()
|
Looks like it's not going to work. Here are all the 'command' lines I tried:
Thank you guys for trying to help me. Have a nice easter holiday you all. |
![]() ![]()
|
the basic command is "env", it sets the environment variable (that is NOT a parameter!!!) CYCLES_OPENCL_TEST=true and then calls blender. (blender will at some point then call getenv("CYCLES_OPENCL_TEST") and check whether that is "true") |
![]() Registered Member ![]()
|
You're right, luebking! I though the path to Blender had to come first, excuse my ignorance
![]() I pasted your code line and now it works! Thank you very much, and thank you 'google01103' too for the effort ![]() Best wishes, Amarildo |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]