Skip to content

Specifying -nvidia 0 results in GPU 1 being selected -nvidia 1 selects GPU 0 #2255

Open
@papabear99

Description

@papabear99

Describe the bug
Specifying -nvidia 0 results in GPU 1 being selected -nvidia 1 selects GPU 0

To Reproduce
Steps to reproduce the behavior:

  1. Add -nvidia 0 to start command
  2. Start Livepeer
  3. View console output and observe "Transcoding on these Nvidia GPUs: [1]" Also confirmed in use that the incorrect GPU is selected and used for transcoding.
  4. This behavior also happens in reverse. -nvidia 1 selects GPU 0.

Expected behavior
The GPU specified by the -nvidia flag should choose the GPU specified.

Desktop (please complete the following information):

  • OS: WIndows 10 and Windows Server 2019
  • Version Livepeer 0.5.24 - 0.5.27 (probably other versions as well but I have tried it on these versions)

Additional context
The behavior is present using both combined O+T and stand alone T configurations
I have not tried this on machines with more than 2 GPUs so I don't know what happens if -nvidia 2 is specified

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions