Discussion:
[brlcad-devel] Raytrace Query: rt from command window
Shailesh Tripathi
2017-03-24 16:27:38 UTC
Permalink
Hello,
I was trying this tutorial for learning mged "
http://brlcad.org/VolumeII-Introduction_to_MGED.pdf". The raytrace works as
expected if launched from graphics window. But how to launch the same from
command window. I just typed 'rt' and it shows the following error:



*Xlib: extension "GLX" missing on display ":0.0".Xlib: extension "GLX"
missing on display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*




*fb_ogl_open: double buffering not available. Using single buffer.Xlib:
extension "GLX" missing on display ":0.0".Xlib: extension "GLX" missing on
display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*

*fb_ogl_open: Couldn't find an appropriate visual. Exiting.*

*fb_open: can't open device "dev/ogl", ret=-1.*

*rt: can't open frame buffer*
*Raytrace failed.*

I have installed OpenGL on my system.

Also, what changes do I need to make for using raytrace using "OpenCL" with
the command "*rt -z1*"


Regards
Shailesh Tripathi

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Vasco Alexandre da Silva Costa
2017-03-24 16:59:36 UTC
Permalink
Hello,
A proper answer to your question requires more information to be provided.
Which operating system and version are you using, if it's Linux which
distro, etc.
From the errors you got, it looks like you don't have OpenGL properly
installed on your system.

On Fri, Mar 24, 2017 at 4:27 PM, Shailesh Tripathi <
Hello,
I was trying this tutorial for learning mged "http://brlcad.org/VolumeII-
Introduction_to_MGED.pdf". The raytrace works as expected if launched
from graphics window. But how to launch the same from command window. I
*Xlib: extension "GLX" missing on display ":0.0".Xlib: extension "GLX"
missing on display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
extension "GLX" missing on display ":0.0".Xlib: extension "GLX" missing on
display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
*fb_ogl_open: Couldn't find an appropriate visual. Exiting.*
*fb_open: can't open device "dev/ogl", ret=-1.*
*rt: can't open frame buffer*
*Raytrace failed.*
I have installed OpenGL on my system.
Also, what changes do I need to make for using raytrace using "OpenCL"
with the command "*rt -z1*"
Regards
Shailesh Tripathi
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-03-24 17:06:57 UTC
Permalink
Hello,
I am using centos 6.8
For OpenGL, should I install the libraries from mesa-libgl, GLEW or
freeglut?

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Fri, Mar 24, 2017 at 10:29 PM, Vasco Alexandre da Silva Costa <
Post by Shailesh Tripathi
Hello,
A proper answer to your question requires more information to be provided.
Which operating system and version are you using, if it's Linux which
distro, etc.
From the errors you got, it looks like you don't have OpenGL properly
installed on your system.
On Fri, Mar 24, 2017 at 4:27 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I was trying this tutorial for learning mged "
http://brlcad.org/VolumeII-Introduction_to_MGED.pdf". The raytrace works
as expected if launched from graphics window. But how to launch the same
*Xlib: extension "GLX" missing on display ":0.0".Xlib: extension "GLX"
missing on display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
extension "GLX" missing on display ":0.0".Xlib: extension "GLX" missing on
display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
*fb_ogl_open: Couldn't find an appropriate visual. Exiting.*
*fb_open: can't open device "dev/ogl", ret=-1.*
*rt: can't open frame buffer*
*Raytrace failed.*
I have installed OpenGL on my system.
Also, what changes do I need to make for using raytrace using "OpenCL"
with the command "*rt -z1*"
Regards
Shailesh Tripathi
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Shailesh Tripathi
2017-03-24 17:10:08 UTC
Permalink
If OpenGL libraries are not installed correctly then shouldn't there be
issue with raytracer launched from graphics window also?

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Fri, Mar 24, 2017 at 10:36 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I am using centos 6.8
For OpenGL, should I install the libraries from mesa-libgl, GLEW or
freeglut?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Fri, Mar 24, 2017 at 10:29 PM, Vasco Alexandre da Silva Costa <
Post by Shailesh Tripathi
Hello,
A proper answer to your question requires more information to be
provided. Which operating system and version are you using, if it's Linux
which distro, etc.
From the errors you got, it looks like you don't have OpenGL properly
installed on your system.
On Fri, Mar 24, 2017 at 4:27 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I was trying this tutorial for learning mged "
http://brlcad.org/VolumeII-Introduction_to_MGED.pdf". The raytrace
works as expected if launched from graphics window. But how to launch the
same from command window. I just typed 'rt' and it shows the following
*Xlib: extension "GLX" missing on display ":0.0".Xlib: extension "GLX"
missing on display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
extension "GLX" missing on display ":0.0".Xlib: extension "GLX" missing on
display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
*fb_ogl_open: Couldn't find an appropriate visual. Exiting.*
*fb_open: can't open device "dev/ogl", ret=-1.*
*rt: can't open frame buffer*
*Raytrace failed.*
I have installed OpenGL on my system.
Also, what changes do I need to make for using raytrace using "OpenCL"
with the command "*rt -z1*"
Regards
Shailesh Tripathi
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Christopher Sean Morrison
2017-03-24 20:13:41 UTC
Permalink
Not necessarily. BRL-CAD has a variety of windowing methods including direct X11 (without OpenGL), GLX, and other methods. You will either want to make sure GLX is installed properly or compile with OpenGL support disabled (assuming it’s not needed for some other aspect of the OpenCL code).

Cheers!
Sean
If OpenGL libraries are not installed correctly then shouldn't there be issue with raytracer launched from graphics window also?
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Hello,
I am using centos 6.8
For OpenGL, should I install the libraries from mesa-libgl, GLEW or freeglut?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Hello,
A proper answer to your question requires more information to be provided. Which operating system and version are you using, if it's Linux which distro, etc.
From the errors you got, it looks like you don't have OpenGL properly installed on your system.
Hello,
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
fb_ogl_open: double buffering not available. Using single buffer.
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
fb_ogl_open: Couldn't find an appropriate visual. Exiting.
fb_open: can't open device "dev/ogl", ret=-1.
rt: can't open frame buffer
Raytrace failed.
I have installed OpenGL on my system.
Also, what changes do I need to make for using raytrace using "OpenCL" with the command "rt -z1"
Regards
Shailesh Tripathi
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot>
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel <https://lists.sourceforge.net/lists/listinfo/brlcad-devel>
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot>
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel <https://lists.sourceforge.net/lists/listinfo/brlcad-devel>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Shailesh Tripathi
2017-03-24 20:22:06 UTC
Permalink
Hello Sir,
Post by Christopher Sean Morrison
You will either want to make sure GLX is installed properly or compile
with OpenGL support disabled
Ok I will check the GLX install again.
How to disable OpenGL support for 'rt'?
I need the 'rt' and 'rt -z1' to use OpenCL code. But in both the case I am
getting the same error. Is there any other way to test it for the time
being?

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Post by Christopher Sean Morrison
Not necessarily. BRL-CAD has a variety of windowing methods including
direct X11 (without OpenGL), GLX, and other methods. You will either want
to make sure GLX is installed properly or compile with OpenGL support
disabled (assuming it’s not needed for some other aspect of the OpenCL
code).
Cheers!
Sean
If OpenGL libraries are not installed correctly then shouldn't there be
issue with raytracer launched from graphics window also?
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Fri, Mar 24, 2017 at 10:36 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I am using centos 6.8
For OpenGL, should I install the libraries from mesa-libgl, GLEW or freeglut?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Fri, Mar 24, 2017 at 10:29 PM, Vasco Alexandre da Silva Costa <
Post by Shailesh Tripathi
Hello,
A proper answer to your question requires more information to be
provided. Which operating system and version are you using, if it's Linux
which distro, etc.
From the errors you got, it looks like you don't have OpenGL properly
installed on your system.
On Fri, Mar 24, 2017 at 4:27 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I was trying this tutorial for learning mged "
http://brlcad.org/VolumeII-Introduction_to_MGED.pdf". The raytrace
works as expected if launched from graphics window. But how to launch the
same from command window. I just typed 'rt' and it shows the following
*Xlib: extension "GLX" missing on display ":0.0".Xlib: extension "GLX"
missing on display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
extension "GLX" missing on display ":0.0".Xlib: extension "GLX" missing on
display ":0.0".Xlib: extension "GLX" missing on display ":0.0".*
*fb_ogl_open: Couldn't find an appropriate visual. Exiting.*
*fb_open: can't open device "dev/ogl", ret=-1.*
*rt: can't open frame buffer*
*Raytrace failed.*
I have installed OpenGL on my system.
Also, what changes do I need to make for using raytrace using "OpenCL"
with the command "*rt -z1*"
Regards
Shailesh Tripathi
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
_________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Christopher Sean Morrison
2017-03-24 20:28:07 UTC
Permalink
Post by Shailesh Tripathi
Hello Sir,
You will either want to make sure GLX is installed properly or compile with OpenGL support disabled
Ok I will check the GLX install again.
How to disable OpenGL support for 'rt’?
It’s an option during cmake. Look for OpenGL in the top-level INSTALL file.

Cheers!
Sean
Shailesh Tripathi
2017-03-24 22:25:18 UTC
Permalink
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
-DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
the compilation log "*OpenGl support(optional)......: OFF"*. But when I
tried 'rt' command, the error shown is same. Is there somewhere else I need
to change.
I just deleted the build folder and built again using the cmake command.

Please tell me how can I resolve the issue.
Thanks in advance!

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Post by Shailesh Tripathi
Hello Sir,
Post by Christopher Sean Morrison
You will either want to make sure GLX is installed properly or compile
with OpenGL support disabled
Ok I will check the GLX install again.
How to disable OpenGL support for 'rt’?
It’s an option during cmake. Look for OpenGL in the top-level INSTALL file.
Cheers!
Sean
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Vasco Alexandre da Silva Costa
2017-03-25 00:15:28 UTC
Permalink
AFAIK OpenCL should work without OpenGL. But you are probably better off
installing OpenGL in the first place. You need to install the drivers
specific to your graphics hardware. Just installing some Mesa libraries is
not sufficient to get accelerated OpenGL support. You can then test if
OpenGL support is working with the 'glxinfo' command or running some OpenGL
program like 'glxgears'.

On Fri, Mar 24, 2017 at 10:25 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
-DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
the compilation log "*OpenGl support(optional)......: OFF"*. But when I
tried 'rt' command, the error shown is same. Is there somewhere else I need
to change.
I just deleted the build folder and built again using the cmake command.
Please tell me how can I resolve the issue.
Thanks in advance!
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Mar 24, 2017, at 4:22 PM, Shailesh Tripathi <
Hello Sir,
Post by Christopher Sean Morrison
You will either want to make sure GLX is installed properly or compile
with OpenGL support disabled
Ok I will check the GLX install again.
How to disable OpenGL support for 'rt’?
It’s an option during cmake. Look for OpenGL in the top-level INSTALL file.
Cheers!
Sean
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-03-25 06:52:02 UTC
Permalink
Hello,
1. I am getting the same error "*Xlib: extension "GLX" missing on display
":0.0".*" with '*glxinfo*'. I will try to fix this issue.
2. Meanwhile, is there a way test the code without 'OpenGL' support? I
tried "*cmake ../brlcad-code -DBRLCAD_ENABLE_OPENGL=OFF*" but it is not
helping.

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sat, Mar 25, 2017 at 5:45 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
AFAIK OpenCL should work without OpenGL. But you are probably better off
installing OpenGL in the first place. You need to install the drivers
specific to your graphics hardware. Just installing some Mesa libraries is
not sufficient to get accelerated OpenGL support. You can then test if
OpenGL support is working with the 'glxinfo' command or running some OpenGL
program like 'glxgears'.
On Fri, Mar 24, 2017 at 10:25 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
-DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
the compilation log "*OpenGl support(optional)......: OFF"*. But when I
tried 'rt' command, the error shown is same. Is there somewhere else I need
to change.
I just deleted the build folder and built again using the cmake command.
Please tell me how can I resolve the issue.
Thanks in advance!
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sat, Mar 25, 2017 at 1:58 AM, Christopher Sean Morrison <
On Mar 24, 2017, at 4:22 PM, Shailesh Tripathi <
Hello Sir,
Post by Christopher Sean Morrison
You will either want to make sure GLX is installed properly or compile
with OpenGL support disabled
Ok I will check the GLX install again.
How to disable OpenGL support for 'rt’?
It’s an option during cmake. Look for OpenGL in the top-level INSTALL file.
Cheers!
Sean
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Shailesh Tripathi
2017-03-25 22:00:14 UTC
Permalink
Hello Sir,
I have a doubt:
- I can see four kernles namely "do_pixel", "count_hits", "store_segs" and
"shade_segs" being launched. Which of these uses the xxx_shot() functions
and how? I can see the programs being compiled using clcompileprogram and
then all of them linked together, but I am not able to understand how the
xxx_shot() functions are used.


Also, I have written the code for 'hrt' primitive but I am not able to test
it due to the OpenGL issue :(
Please tell me is there a way I I can compile the code without the use of
OpenGL.

Thanks in advance!

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sat, Mar 25, 2017 at 12:22 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
1. I am getting the same error "*Xlib: extension "GLX" missing on
display ":0.0".*" with '*glxinfo*'. I will try to fix this issue.
2. Meanwhile, is there a way test the code without 'OpenGL' support? I
tried "*cmake ../brlcad-code -DBRLCAD_ENABLE_OPENGL=OFF*" but it is not
helping.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sat, Mar 25, 2017 at 5:45 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
AFAIK OpenCL should work without OpenGL. But you are probably better off
installing OpenGL in the first place. You need to install the drivers
specific to your graphics hardware. Just installing some Mesa libraries is
not sufficient to get accelerated OpenGL support. You can then test if
OpenGL support is working with the 'glxinfo' command or running some OpenGL
program like 'glxgears'.
On Fri, Mar 24, 2017 at 10:25 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
-DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
the compilation log "*OpenGl support(optional)......: OFF"*. But when I
tried 'rt' command, the error shown is same. Is there somewhere else I need
to change.
I just deleted the build folder and built again using the cmake command.
Please tell me how can I resolve the issue.
Thanks in advance!
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sat, Mar 25, 2017 at 1:58 AM, Christopher Sean Morrison <
On Mar 24, 2017, at 4:22 PM, Shailesh Tripathi <
Hello Sir,
Post by Christopher Sean Morrison
You will either want to make sure GLX is installed properly or compile
with OpenGL support disabled
Ok I will check the GLX install again.
How to disable OpenGL support for 'rt’?
It’s an option during cmake. Look for OpenGL in the top-level INSTALL file.
Cheers!
Sean
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Vasco Alexandre da Silva Costa
2017-03-26 14:05:35 UTC
Permalink
On Sat, Mar 25, 2017 at 10:00 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
- I can see four kernles namely "do_pixel", "count_hits", "store_segs" and
"shade_segs" being launched. Which of these uses the xxx_shot() functions
and how? I can see the programs being compiled using clcompileprogram and
then all of them linked together, but I am not able to understand how the
xxx_shot() functions are used.
This is explained in the GSoC pages of previous years:
http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs

Basically the function call diagram is like this:
do_pixel():
count_hits():
xxx_shot()
store_segs():
xxx_shot()
shade_segs()

Also, I have written the code for 'hrt' primitive but I am not able to test
Post by Shailesh Tripathi
it due to the OpenGL issue :(
Please tell me is there a way I I can compile the code without the use of
OpenGL.
Do you have OpenCL installed properly? You should be aware that if you
can't install OpenGL, installing OpenCL is a lot harder.

Regards,
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-03-26 14:18:39 UTC
Permalink
Hello Sir,
Thank you for the description. I got a rough idea at first, but this makes
it a lot clear :)

Regarding the OpenGL issue:
I am using CentOS 6 with NVIDIA GPU. I have installed CUDA. The and the
'devicequery' code works fine, which makes me think that CUDA, and hence
OpenCL, is installed correctly. The only issue is, for the X server, the
"GLX missing" pops up because missing "xorg.conf" file. Generating the file
using "nvidia-config" does the work, but after restart, the Xserver fails
to launch. This had been the issue with many, and I am not able to find any
working solution. If there is a way from which I can run the OpenCL code
without the involvement of OpenGL, it would be the fastest solution.

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sun, Mar 26, 2017 at 7:35 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
On Sat, Mar 25, 2017 at 10:00 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
- I can see four kernles namely "do_pixel", "count_hits", "store_segs"
and "shade_segs" being launched. Which of these uses the xxx_shot()
functions and how? I can see the programs being compiled using
clcompileprogram and then all of them linked together, but I am not able to
understand how the xxx_shot() functions are used.
http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs
xxx_shot()
xxx_shot()
shade_segs()
Also, I have written the code for 'hrt' primitive but I am not able to
Post by Shailesh Tripathi
test it due to the OpenGL issue :(
Please tell me is there a way I I can compile the code without the use of
OpenGL.
Do you have OpenCL installed properly? You should be aware that if you
can't install OpenGL, installing OpenCL is a lot harder.
Regards,
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Christopher Sean Morrison
2017-03-27 05:53:13 UTC
Permalink
Post by Shailesh Tripathi
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code -DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In the compilation log "OpenGl support(optional)......: OFF". But when I tried 'rt' command, the error shown is same.
Then you’ve done something wrong. If OpenGL is disabled, you will not see fb_ogl_open() in an error message. Make sure you delete your build directory before trying again, not just re-run cmake.

Sean
Shailesh Tripathi
2017-03-27 12:07:59 UTC
Permalink
I was doing that only but I think I was missing something in the
installations steps.
Finally the rt command works but I am not sure with the 'rt -z1' command.
It is working fine but the output log is similar to the 'rt' command
result. If 'rt -z1' shows an output does it means it is using OpenCL, or
can it use the cpu in case OpenCL is not available?

Moreover, at the end of the log it shows "*XIO: fatal IO error 11
(Resources temporarily unavailable) on X server ":0.0" after 538 requests
(16 known processed) with 0 events mapping*".


Thanks for the help :)

Regards
Shailesh


Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Post by Shailesh Tripathi
Post by Shailesh Tripathi
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
-DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
the compilation log "OpenGl support(optional)......: OFF". But when I tried
'rt' command, the error shown is same.
Then you’ve done something wrong. If OpenGL is disabled, you will not see
fb_ogl_open() in an error message. Make sure you delete your build
directory before trying again, not just re-run cmake.
Sean
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Shailesh Tripathi
2017-03-28 00:01:39 UTC
Permalink
Finally, now all the errors are resolved. deviceQuery' is working fine with
CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives quantitatively
equal results.



*How can I make sure that 'rt -z1' is making use of GPU?*
Post by Shailesh Tripathi
Moreover, at the end of the log it shows "*XIO: fatal IO error 11
(Resources temporarily unavailable) on X server ":0.0" after 538 requests
(16 known processed) with 0 events mapping*".
I realized this is no issue, it is just shown when the frame buffer window
(with raytrace) is closed.

Thank in advance!

Cheers
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Mon, Mar 27, 2017 at 5:37 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
I was doing that only but I think I was missing something in the
installations steps.
Finally the rt command works but I am not sure with the 'rt -z1' command.
It is working fine but the output log is similar to the 'rt' command
result. If 'rt -z1' shows an output does it means it is using OpenCL, or
can it use the cpu in case OpenCL is not available?
Moreover, at the end of the log it shows "*XIO: fatal IO error 11
(Resources temporarily unavailable) on X server ":0.0" after 538 requests
(16 known processed) with 0 events mapping*".
Thanks for the help :)
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Mon, Mar 27, 2017 at 11:23 AM, Christopher Sean Morrison <
Post by Shailesh Tripathi
On Mar 24, 2017, at 6:25 PM, Shailesh Tripathi <
Hello,
I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
-DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
the compilation log "OpenGl support(optional)......: OFF". But when I tried
'rt' command, the error shown is same.
Then you’ve done something wrong. If OpenGL is disabled, you will not
see fb_ogl_open() in an error message. Make sure you delete your build
directory before trying again, not just re-run cmake.
Sean
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Christopher Sean Morrison
2017-03-28 01:57:21 UTC
Permalink
Finally, now all the errors are resolved. deviceQuery' is working fine with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would require compiling and installing both with and without OpenCL support to make sure the same compilation options are being used.

Another tell-tale sign is that the OpenCL path does not yet handle booleans. If you render the havoc sample model, does it look like the rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?

Last but not least, it should say "Compiling OpenCL programs...” and “OCLPREP” instead of “PREP” in the output.

Cheers!
Sean
Vasco Alexandre da Silva Costa
2017-03-28 15:54:47 UTC
Permalink
Post by Shailesh Tripathi
Finally, now all the errors are resolved. deviceQuery' is working fine
with CUDA which hints that OpenCL is also setup.
Post by Shailesh Tripathi
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
Post by Shailesh Tripathi
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-03-30 14:19:45 UTC
Permalink
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL. Right
now, I am just following the raytrace tutorial. The command are as follows
(n order):

i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr shapes.r u
sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the "rt"
command. But still the output log is exact same with no signs of OpenCL
compilation.

Please tell me how and what exactly to do for OpenCL compilation.

Regards
Shailesh


Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working fine
with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Shailesh Tripathi
2017-03-30 14:48:08 UTC
Permalink
Hello,
Wait, I think there is some confusion. The argument for OpenCL compilation
is "rt -z1" or "rt -z".
I think it is the second one.
Since "*rcc"* has not been ported yet, I am just creating "*sph*" and using
"rt -z" command:
When I try this, it says
*Planning to run with 8 processors*
*/usr/brlcad/dev-7.26.1/bin/rt -M -z -u*
*opendb model;*
*tree /home/**path_to_build**/mick1.g shapes.r; *
*rt: rt_dirbuild(model) failure *
*Raytrace failed.*
Is there any example (with the commands) to run opencl raytracing?

Regards
Shailesh


Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Thu, Mar 30, 2017 at 7:49 PM, Shailesh Tripathi <
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL. Right
now, I am just following the raytrace tutorial. The command are as follows
i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr shapes.r
u sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the
"rt" command. But still the output log is exact same with no signs of
OpenCL compilation.
Please tell me how and what exactly to do for OpenCL compilation.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Tue, Mar 28, 2017 at 2:57 AM, Christopher Sean Morrison <
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working fine
with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Vasco Alexandre da Silva Costa
2017-03-30 16:15:55 UTC
Permalink
If OpenCL isn't detected on your system, the OpenCL backend won't be used.

Did you check if OpenCL is properly installed in your system with 'clinfo'?

On Thu, Mar 30, 2017 at 3:48 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
Wait, I think there is some confusion. The argument for OpenCL compilation
is "rt -z1" or "rt -z".
I think it is the second one.
Since "*rcc"* has not been ported yet, I am just creating "*sph*" and
When I try this, it says
*Planning to run with 8 processors*
*/usr/brlcad/dev-7.26.1/bin/rt -M -z -u*
*opendb model;*
*tree /home/**path_to_build**/mick1.g shapes.r; *
*rt: rt_dirbuild(model) failure *
*Raytrace failed.*
Is there any example (with the commands) to run opencl raytracing?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 7:49 PM, Shailesh Tripathi <
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL.
Right now, I am just following the raytrace tutorial. The command are as
i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr shapes.r
u sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the
"rt" command. But still the output log is exact same with no signs of
OpenCL compilation.
Please tell me how and what exactly to do for OpenCL compilation.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Tue, Mar 28, 2017 at 2:57 AM, Christopher Sean Morrison <
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working
fine with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-03-31 19:58:15 UTC
Permalink
After setting the environment variables correctly, clinfo and
vector_addition codes are working fine. But the error with "rt -z" is the
same.
Do I need to set any other configuration paths?
How does rt detect opencl?

Regards
Shailesh


Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Thu, Mar 30, 2017 at 9:45 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
If OpenCL isn't detected on your system, the OpenCL backend won't be used.
Did you check if OpenCL is properly installed in your system with 'clinfo'?
On Thu, Mar 30, 2017 at 3:48 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
Wait, I think there is some confusion. The argument for OpenCL
compilation is "rt -z1" or "rt -z".
I think it is the second one.
Since "*rcc"* has not been ported yet, I am just creating "*sph*" and
When I try this, it says
*Planning to run with 8 processors*
*/usr/brlcad/dev-7.26.1/bin/rt -M -z -u*
*opendb model;*
*tree /home/**path_to_build**/mick1.g shapes.r; *
*rt: rt_dirbuild(model) failure *
*Raytrace failed.*
Is there any example (with the commands) to run opencl raytracing?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 7:49 PM, Shailesh Tripathi <
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL.
Right now, I am just following the raytrace tutorial. The command are as
i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr
shapes.r u sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the
"rt" command. But still the output log is exact same with no signs of
OpenCL compilation.
Please tell me how and what exactly to do for OpenCL compilation.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Tue, Mar 28, 2017 at 2:57 AM, Christopher Sean Morrison <
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working
fine with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Vasco Alexandre da Silva Costa
2017-04-01 02:18:59 UTC
Permalink
You need to make sure OpenCL is enabled with 'cmake' (e.g. using
'cmake-gui'), regenerate the Makefiles, and recompile the code with 'make'.

Plus it's "rt -z1".

On Fri, Mar 31, 2017 at 8:58 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
After setting the environment variables correctly, clinfo and
vector_addition codes are working fine. But the error with "rt -z" is the
same.
Do I need to set any other configuration paths?
How does rt detect opencl?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 9:45 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
If OpenCL isn't detected on your system, the OpenCL backend won't be used.
Did you check if OpenCL is properly installed in your system with 'clinfo'?
On Thu, Mar 30, 2017 at 3:48 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
Wait, I think there is some confusion. The argument for OpenCL
compilation is "rt -z1" or "rt -z".
I think it is the second one.
Since "*rcc"* has not been ported yet, I am just creating "*sph*" and
When I try this, it says
*Planning to run with 8 processors*
*/usr/brlcad/dev-7.26.1/bin/rt -M -z -u*
*opendb model;*
*tree /home/**path_to_build**/mick1.g shapes.r; *
*rt: rt_dirbuild(model) failure *
*Raytrace failed.*
Is there any example (with the commands) to run opencl raytracing?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 7:49 PM, Shailesh Tripathi <
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL.
Right now, I am just following the raytrace tutorial. The command are as
i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr
shapes.r u sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the
"rt" command. But still the output log is exact same with no signs of
OpenCL compilation.
Please tell me how and what exactly to do for OpenCL compilation.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Tue, Mar 28, 2017 at 2:57 AM, Christopher Sean Morrison <
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working
fine with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-04-02 00:51:45 UTC
Permalink
Hello,
The OpenCL rt finally works :)
To test my code, could someone please give me some set of commands to
successfully make and run raytrace over an HRT primitive.
I tried:
Loading Image...
But 'rt' command fails for this. (Error:


Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sat, Apr 1, 2017 at 7:48 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
You need to make sure OpenCL is enabled with 'cmake' (e.g. using
'cmake-gui'), regenerate the Makefiles, and recompile the code with 'make'.
Plus it's "rt -z1".
On Fri, Mar 31, 2017 at 8:58 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
After setting the environment variables correctly, clinfo and
vector_addition codes are working fine. But the error with "rt -z" is the
same.
Do I need to set any other configuration paths?
How does rt detect opencl?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 9:45 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
If OpenCL isn't detected on your system, the OpenCL backend won't be used.
Did you check if OpenCL is properly installed in your system with 'clinfo'?
On Thu, Mar 30, 2017 at 3:48 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
Wait, I think there is some confusion. The argument for OpenCL
compilation is "rt -z1" or "rt -z".
I think it is the second one.
Since "*rcc"* has not been ported yet, I am just creating "*sph*" and
When I try this, it says
*Planning to run with 8 processors*
*/usr/brlcad/dev-7.26.1/bin/rt -M -z -u*
*opendb model;*
*tree /home/**path_to_build**/mick1.g shapes.r; *
*rt: rt_dirbuild(model) failure *
*Raytrace failed.*
Is there any example (with the commands) to run opencl raytracing?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 7:49 PM, Shailesh Tripathi <
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL.
Right now, I am just following the raytrace tutorial. The command are as
i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr
shapes.r u sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the
"rt" command. But still the output log is exact same with no signs of
OpenCL compilation.
Please tell me how and what exactly to do for OpenCL compilation.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Tue, Mar 28, 2017 at 2:57 AM, Christopher Sean Morrison <
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working
fine with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this
would require compiling and installing both with and without OpenCL support
to make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Vasco Alexandre da Silva Costa
2017-04-02 01:38:41 UTC
Permalink
On Sun, Apr 2, 2017 at 1:51 AM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
The OpenCL rt finally works :)
Nice!
Post by Shailesh Tripathi
To test my code, could someone please give me some set of commands to
successfully make and run raytrace over an HRT primitive.
http://brlcad.org/~Izak/Export_test.png
make hrt hrt
e hrt
rt -z1
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-04-02 02:31:28 UTC
Permalink
Post by Shailesh Tripathi
make hrt hrt
e hrt
rt -z1
'make hrt hrt' gives usage error as 'hrt' is not in the name list.

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sun, Apr 2, 2017 at 7:08 AM, Vasco Alexandre da Silva Costa <
Post by Shailesh Tripathi
On Sun, Apr 2, 2017 at 1:51 AM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
The OpenCL rt finally works :)
Nice!
Post by Shailesh Tripathi
To test my code, could someone please give me some set of commands to
successfully make and run raytrace over an HRT primitive.
http://brlcad.org/~Izak/Export_test.png
make hrt hrt
e hrt
rt -z1
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Daniel Roßberg
2017-04-02 17:06:28 UTC
Permalink
This created a heart for me:
in heart.s hrt 0 0 0 1 0 0 0 1 0 0 0 1 10

Regards,
Daniel

2017-04-02 4:31 GMT+02:00 Shailesh Tripathi
Post by Shailesh Tripathi
Post by Shailesh Tripathi
make hrt hrt
e hrt
rt -z1
'make hrt hrt' gives usage error as 'hrt' is not in the name list.
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sun, Apr 2, 2017 at 7:08 AM, Vasco Alexandre da Silva Costa
Post by Shailesh Tripathi
On Sun, Apr 2, 2017 at 1:51 AM, Shailesh Tripathi
Post by Shailesh Tripathi
Hello,
The OpenCL rt finally works :)
Nice!
Post by Shailesh Tripathi
To test my code, could someone please give me some set of commands to
successfully make and run raytrace over an HRT primitive.
http://brlcad.org/~Izak/Export_test.png
make hrt hrt
e hrt
rt -z1
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Shailesh Tripathi
2017-04-03 13:25:51 UTC
Permalink
Thanks Daniel :)

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Post by Daniel Roßberg
in heart.s hrt 0 0 0 1 0 0 0 1 0 0 0 1 10
Regards,
Daniel
2017-04-02 4:31 GMT+02:00 Shailesh Tripathi
Post by Shailesh Tripathi
Post by Shailesh Tripathi
make hrt hrt
e hrt
rt -z1
'make hrt hrt' gives usage error as 'hrt' is not in the name list.
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sun, Apr 2, 2017 at 7:08 AM, Vasco Alexandre da Silva Costa
Post by Shailesh Tripathi
On Sun, Apr 2, 2017 at 1:51 AM, Shailesh Tripathi
Post by Shailesh Tripathi
Hello,
The OpenCL rt finally works :)
Nice!
Post by Shailesh Tripathi
To test my code, could someone please give me some set of commands to
successfully make and run raytrace over an HRT primitive.
http://brlcad.org/~Izak/Export_test.png
make hrt hrt
e hrt
rt -z1
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Post by Shailesh Tripathi
Post by Shailesh Tripathi
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Post by Shailesh Tripathi
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Christopher Sean Morrison
2017-04-04 01:22:03 UTC
Permalink
Post by Shailesh Tripathi
Post by Shailesh Tripathi
make hrt hrt
e hrt
rt -z1
'make hrt hrt' gives usage error as 'hrt' is not in the name list.
Not all primitives are hooked into the ‘make’ command (src/libged/make.c) — simple patch for someone interested in adding support though, and great for showing math data structure and API code-reading competency.

Cheers!
Sean

Shailesh Tripathi
2017-04-02 00:53:45 UTC
Permalink
Hello,
The OpenCL rt finally works :)
To test my code, could someone please give me some set of commands to
successfully make and run raytrace over an HRT primitive.
I tried:
http://brlcad.org/~Izak/Export_test.png
But 'rt' command fails for this. (*Error: No regions remaining.*)

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sat, Apr 1, 2017 at 7:48 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
You need to make sure OpenCL is enabled with 'cmake' (e.g. using
'cmake-gui'), regenerate the Makefiles, and recompile the code with 'make'.
Plus it's "rt -z1".
On Fri, Mar 31, 2017 at 8:58 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
After setting the environment variables correctly, clinfo and
vector_addition codes are working fine. But the error with "rt -z" is the
same.
Do I need to set any other configuration paths?
How does rt detect opencl?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 9:45 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
If OpenCL isn't detected on your system, the OpenCL backend won't be used.
Did you check if OpenCL is properly installed in your system with 'clinfo'?
On Thu, Mar 30, 2017 at 3:48 PM, Shailesh Tripathi <
Post by Shailesh Tripathi
Hello,
Wait, I think there is some confusion. The argument for OpenCL
compilation is "rt -z1" or "rt -z".
I think it is the second one.
Since "*rcc"* has not been ported yet, I am just creating "*sph*" and
When I try this, it says
*Planning to run with 8 processors*
*/usr/brlcad/dev-7.26.1/bin/rt -M -z -u*
*opendb model;*
*tree /home/**path_to_build**/mick1.g shapes.r; *
*rt: rt_dirbuild(model) failure *
*Raytrace failed.*
Is there any example (with the commands) to run opencl raytracing?
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Thu, Mar 30, 2017 at 7:49 PM, Shailesh Tripathi <
Hello,
Sorry for the late reply. As I said I got busy with my exams.
Post by Christopher Sean Morrison
You should see a consistent difference in performance, but this would
require compiling and installing both with and without OpenCL support to
make sure the same compilation options are being used.
I don't exactly understand by what you meant by compiling in OpenCL.
Right now, I am just following the raytrace tutorial. The command are as
i
Post by Christopher Sean Morrison
*n sph.s sph 4 4 4 3in rcc.s rcc 4 4 0 0 0 4 3draw sph.s rcc.sr
shapes.r u sph.s u rcc.smater shapes.r plastic 0 255 0 0B shapes.rrt*
This gives the raytrace output in the frame buffer
But in the output log there is nothing like "PREP" as you said.
Also for openCL raytracing, I am simply using "rt -z1" in place of the
"rt" command. But still the output log is exact same with no signs of
OpenCL compilation.
Please tell me how and what exactly to do for OpenCL compilation.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Tue, Mar 28, 2017 at 9:24 PM, Vasco Alexandre da Silva Costa <
Post by Christopher Sean Morrison
On Tue, Mar 28, 2017 at 2:57 AM, Christopher Sean Morrison <
On Mar 27, 2017, at 8:01 PM, Shailesh Tripathi <
Finally, now all the errors are resolved. deviceQuery' is working
fine with CUDA which hints that OpenCL is also setup.
Now, as I told the 'rt' command and 'rt and 'rt -z1' gives
quantitatively equal results.
How can I make sure that 'rt -z1' is making use of GPU?
You should see a consistent difference in performance, but this
would require compiling and installing both with and without OpenCL support
to make sure the same compilation options are being used.
Another tell-tale sign is that the OpenCL path does not yet handle
booleans. If you render the havoc sample model, does it look like the
rendering here http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs ?
Last but not least, it should say "Compiling OpenCL programs...” and
“OCLPREP” instead of “PREP” in the output.
Yes, the easiest way to know for sure is to look at the console log output.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Loading...