Comments (5)
While building MoonRay (Step 4: https://docs.openmoonray.org/getting-started/installation/building-moonray/building-moonray-centos-7/#step-4-build-moonray), you might want to check the output of "cmake --preset container-release" to make sure it was able to find CUDA as well as OptiX before starting the build process. Otherwise, its going to be built without GPU support and the shaders folder would then be empty.
from openmoonray.
@knightcrawler25 Aha, there is indeed a problem there:
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- No CUDA support
I've followed the build guide to the letter. How can I enable a CUDA compiler?
from openmoonray.
The simplest way (that worked for me) is to first set the path variable to where nvcc is available on your system. This will allow cmake to find CUDA:
export PATH=/usr/local/cuda/bin:${PATH}
Then make sure the complier and the cmake versions are set to the ones mentioned in the instructions:
scl enable devtoolset-9 bash
export PATH=/installs/cmake-3.23.1-linux-x86_64/bin:${PATH}
Then proceed with Step 4 of the build instructions.
from openmoonray.
Great, it's working now! Thanks a lot for the help. :)
from openmoonray.
Hi, I'm having the same error with my Arch Linux build.
moonray_gui -in scene.rdla scene.rdlb -exec_mode xpu -debug
GPU: Creating accelerator
GPU: Loading .ptx: /shaders/GPUPrograms.ptx
DEBUG (lib.render): GPU: Unable to load PTX file: /shaders/GPUPrograms.ptx ...falling back to CPU vectorized mode
Warning (lib.render): GPU: Unable to load PTX file: /shaders/GPUPrograms.ptx ...falling back to CPU vectorized mode
Error: GPU: Unable to load PTX file: /shaders/GPUPrograms.ptx ...falling back to CPU vectorized mode
GPU: Freeing accelerator
GPU: Closed database: "/var/tmp/OptixCache_adro/optix7cache.db"
GPU: Cache data size: "2.0 MiB"
00:00:00 915.9 MB | GPU setup aborted due to error:
00:00:00 915.9 MB | Unable to load PTX file: /shaders/GPUPrograms.ptx
00:00:00 915.9 MB | Falling back to CPU vector mode
My Cuda version is 12.2.0 (RTX 3090), the /opt/moonray/shaders/GPUPrograms.ptx
exists. I tested both with optix 7.3 and 7.7 (using a patch)
from openmoonray.
Related Issues (20)
- Cannot build on Centos-7 HOT 5
- Loading Hydra plugin into Houdini. HOT 1
- OpenImageIO path HOT 2
- Some help for you guys.
- Building Moonray for Houdini 20 (GCC11.2) HOT 6
- How can I use this for blender? HOT 2
- fatal error: scene_rdl2/render/util/AtomicFloat.h: No such file or directory 11 | #include <scene_rdl2/render/util/AtomicFloat.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOT 2
- Rocky Linux 9 Install Dependencies Script fails in Docker HOT 1
- OpenMoonRay failing to build on Rocky Linux 9 on Docker HOT 1
- Failed to find plugin HOT 1
- Env variable not set - REZ2_DEFAULT_VERSION HOT 2
- _GLIBCXX_ASSERTIONS flag causes core dump
- Open Moonray Failing to build on RHEL9 HOT 5
- Renderizador Dreamworks
- Building OpenMoonray 1.6 on MacOS+Houdini - missing preset container-macOS-houdini HOT 1
- Does Moonray require a specific class of CPU ?
- Segmentation fault rendering USD Moana Island HOT 1
- Dependency build failing on M-Series MacBook Pro with Sonoma HOT 1
- MacOS build was unable to find freetype
- moonray_gui on MacOS leaks substantial memory when orbiting camera HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmoonray.