packages icon indicating copy to clipboard operation
packages copied to clipboard

blender: Enable CUDA and OptiX support

Open joebonrichie opened this issue 2 years ago • 7 comments
trafficstars

Summary

  • Add CUDA as a source to avoid redistributing CUDA in a separate package.
  • Add OptiX headers as a source to avoid redistributing in a separate package.

Test Plan

  • Run classroom with CUDA cycles renderer enabled. Verify the GPU is being used.
  • Run classroom with OptiX cycles renderer enabled. Verify the GPU is being used.

Checklist

  • [x] Package was built and tested against unstable

joebonrichie avatar Nov 19 '23 18:11 joebonrichie

Needs some testing with if you have the 470 driver installed or you're using nouveau. Just to verify things don't explode.

joebonrichie avatar Nov 19 '23 19:11 joebonrichie

I cannot test it, but it looks fine to me judging by the pspec_x86_64.xml.

GZGavinZhao avatar Nov 23 '23 14:11 GZGavinZhao

YOLO

davidjharder avatar May 10 '24 22:05 davidjharder

Hmm generating an abi report fails: failed to open 'kernel_sm_50.cubin', reason: 'mismatched ELF version 'EV_CURRENT+122' in record at byte 0x0'

joebonrichie avatar May 17 '24 18:05 joebonrichie

I think that fail is expected, since CUDA binaries are not ELF binaries.

GZGavinZhao avatar May 17 '24 20:05 GZGavinZhao

I think that fail is expected, since CUDA binaries are not ELF binaries.

Problem is it kills abi-wizard and no updated abi_* files get generated.

joebonrichie avatar May 18 '24 12:05 joebonrichie

Issue is coming from one of these: https://github.com/search?q=repo%3ADataDrake%2Fabi-wizard%20failed%20to%20open&type=code

joebonrichie avatar May 18 '24 12:05 joebonrichie