NUbots / NUpbr

Physics Based Rendering (PBR) pipeline for generating realistic semi-synthetic data
MIT License
2 stars 2 forks source link

GPU issues documented #12

Closed ysims closed 1 year ago

ysims commented 1 year ago

Noticed during RoboCup that some laptops weren't utilising their GPUs when they should've been.

Should be very simple, can't remember if it's a setting or just a case of making sure in the docs that people check their GPU drivers. I think @BaileyJoe had something for this, feel free to PR it here or NUbook.

ysims commented 1 year ago

@BaileyJoe what was the fix for this? It only uses CPU when I run it, and I do have the right GPU drivers.

BaileyJoe commented 1 year ago

GPU rendering is not enabled by default in this version of blender. Just open up blender and go into Edit -> Preferences -> System -> CUDA + Enable your GPU.
At some point Alana told me that there was also another problem with the robocup computers, but this is what i've had to do on my computers.

ysims commented 1 year ago

I've got it working with that. It seems after running it, it no longer seems to be able to access the GPU on a second run. I had to restart the computer and then it worked.

ysims commented 1 year ago

I've started a guide on NUbook, I'll add this in

ysims commented 1 year ago

This is documented and should be fine.