Comments (14)
Hi,
CMake probably failed to find nvcc in your case. I slightly modified the building process to make it less confusing. Can you try again? If it still doesn't work, can you show me where is your nvcc, and the CUDA-related variables in your CMakeCache.txt? Maybe also show the log of make VERBOSE=1
from redner.
Sweet! It works now but I'm getting a bus error when I run the tests
[1] 6024 bus error (core dumped) python3 test_shadow_light.py
from redner.
Interesting. What is the compute capability of your GPU? Do you know which line the code crashed?
from redner.
I have a K40 (3.5) and TitanX (5.2) and it's failing on both of them. My guess is it's crashing on the CPU. I'll find out at what line it's crashing
from redner.
It's crashing on line 64 test_shadow_light.py
img = render(0, *args)
from redner.
Can you maybe run a debugger on python (e.g. gdb python, run test_shadow_light.py), and find out which line in the C++ that crashes?
from redner.
Here's the line:
Thread 1 "python3" received signal SIGBUS, Bus error.
Scene::Scene (this=0x22aaa80, camera=..., shapes=std::vector of length 3, capacity 3 = {...},
materials=std::vector of length 2, capacity 2 = {...}, lights=std::vector of length 1, capacity 1 = {...}, use_gpu=<optimized out>)
at /home/jay/redner/scene.cpp:137
137 light_areas[light_id] = area_sum;
(gdb) p area_sum
$1 = 0.040000001192092904
(gdb) p light_id
$2 = 0
(gdb) p light_areas
$3 = {use_gpu = true, data = 0x2308941000, count = 1}
from redner.
I supposed it's because I didn't synchronize the kernel. I pushed some fix. Let me know if it fixes the problem.
from redner.
The test runs fine on the CPU with your latest push. But I get this on either GPUs
Thread 51 "python3" received signal SIGBUS, Bus error.
[Switching to Thread 0x7fff5affd700 (LWP 17870)]
0x00007fffbe9091f2 in DScene::DScene (this=0x7fff7800b3b0, camera=..., shapes=std::vector of length 3, capacity 3 = {...},
materials=std::vector of length 2, capacity 2 = {...}, lights=std::vector of length 1, capacity 1 = {...}, use_gpu=<optimized out>)
at /home/jay/redner/scene.cpp:202
202 this->shapes[shape_id] = *shapes[shape_id]
from redner.
Probably the same issue. I pushed another fix that adds more synchronizations. Let me know if there's more issues.
from redner.
All tests are running fine now. Awesome! Thanks!
from redner.
I started to have this assertion error after using the Redner a while , scene.cpp , line 125, when using calling path tracing functions from Jupyter notebook , but not from .py files so far.
from redner.
You probably did pip install redner
instead of pip install redner-gpu
.
Try pip uninstall redner
and reinstall the GPU version.
from redner.
I actually initially installed GPU version and then after awhile had issues, however that is probably an issue happened in my system, oddly py files were running smoothly still, and they were using the same environment. Reinstalling redner-gpu seems to be working now.
from redner.
Related Issues (20)
- Inconsistent formulation of SH_reconstruct
- CUDA Runtime Error: out of memory at E:\redner\src\buffer.h:55 HOT 2
- Can redner support glasses/transparent material now?
- RTX 30 Series Compatibility HOT 14
- weird render behavior
- Windows package on PyPI is at version 0.4.25 while OSX and Linux packages are at 0.4.28
- I have intrinsic parameters in terms of fx, fy, skew, cx, cy. I tried extracting parameters from the file (param: vertices, indices, normals and colors) and creating an object, and using intrinsic parameters to set up the perspective camera. But orientation of scene in output is not lining up, can I get some guidance?
- build from source problem HOT 3
- Icosphere normals generation seems buggy
- Unable to load some obj files with pyredner.load_obj()
- Support pointLight in "render_pathtracing".
- Build for 3.9 no attribute 'CameraType' HOT 1
- How to get the z_buffer or depth information at the rendering process?
- [Question] What is AABB6 and BVHNode6 in "aabb.h" and "edge_tree.h" used for?
- Assertion `false' failed when running the test scripts. HOT 2
- How to set material and environment map obtained by inverse rendering in blender ? HOT 1
- Pip install not compatible with python 3.9? HOT 2
- Is warp-area sampling method easier to understand and implement in path space? HOT 1
- How to realize automatic differentiable in interior term?
- Edge Sampling Integrator broken in Warped Area Integrator branch?
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 redner.