fat-tire / resolve

Container scripts to build and run DaVinci Resolve [Studio] for Linux using Docker or Podman
MIT License
192 stars 23 forks source link

fix build.sh for multi gpu systems #36

Closed phiharri closed 1 year ago

phiharri commented 1 year ago

nvidia-smi --query-gpu=driver_version returns one line for each GPU present which breaks build.sh in multi-GPU systems. Only query the primary GPU to determine driver version.

fat-tire commented 1 year ago

Great catch and thanks for the fix! Quick question--

Shouldn't it be:

 --id=0

rather than:

 --id-0

The former worked fine for me with a single gpu.

phiharri commented 1 year ago

Yep, my apologies for the typo!

fat-tire commented 1 year ago

Thanks again!