Skip to content

--device doesn't seem to target specified GPU #16

@sandwormusmc

Description

@sandwormusmc

The binary still tries to enable all GPUs detected and fails when they are in use by other applications.

E.g. run nsgminer --device 2 on a system with 3 GPUs, nvidia-smi still shows nsgminer occupying memory on all 3 GPUs

Ends up with errors like:

[00:08:10] The network difficulty has been set to 376108
[00:08:10] Stratum from pool 0 detected new block
[00:08:10] Error -2: Creating Context. (clCreateContextFromType)
[00:08:10] Failed to init GPU thread 26, disabling device 2
[00:08:10] Error -2: Creating Context. (clCreateContextFromType)
[00:08:10] Failed to init GPU thread 27, disabling device 2
[00:08:11] Error -2: Creating Context. (clCreateContextFromType)
[00:08:11] Failed to init GPU thread 28, disabling device 2
[00:08:11] Stratum from pool 0 requested work restart
[00:08:11] Error -2: Creating Context. (clCreateContextFromType)
[00:08:11] Failed to init GPU thread 29, disabling device 2

Full command line:

nsgminer --device 2 --neoscrypt -o http://69.27.173.229:19327 -u somevalidwallet -p x -I 15 --worksize 16 -g 10 --syslog --temp-target 80 --auto-fan --gpu-engine 150 --gpu-memclock 500 --gpu-reorder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions