sxyu / volrend

PlenOctree Volume Rendering (supports CUDA & fragment shader backends)
Other
608 stars 84 forks source link

ubuntu failed to run #3

Open SSground opened 3 years ago

SSground commented 3 years ago

Is it due to insufficient RAM ? image

sxyu commented 3 years ago

Hello, Sorry you're having trouble. We've been using Ubuntu for development, so I am fairly confident it should work. Also the program doesn't use very much RAM when ran directly. We're using OpenGL 4.3; perhaps your GPU does not support it?

Could you post

If the OpenGL version support is the problem, then I believe you should be able to lower it to 3.xx without issues (line)

SSground commented 3 years ago

Thank you for your answer. But I still have a question, how do I train to get files in npz format. Will the training code be open source in the future?

sxyu commented 3 years ago

Hello, We've released the training code in https://github.com/sxyu/plenoctree, feel free to try it!

katealenic commented 3 years ago

Hello, I had this error and change opengl version to 3.3 in code line, but now i get another error image What can I do?

sxyu commented 3 years ago

hmm I got this errors like this when I was using my laptop at some point. The problem was that it defaulted to the integrated GPU. That could be the issue. Please try glxinfo|egrep "OpenGL vendor|OpenGL renderer" and make sure it prints NVIDIA etc.

katealenic commented 3 years ago

I use X-server to run and change in all place glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); but I have this error image

sxyu commented 3 years ago

Honestly I am not sure I can help with this particular issue sorry You could try to build the non-CUDA version right now, it's somewhat limited cmake .. -DVOLREND_USE_CUDA=OFF