[Nix-dev] Nvidia & Cuda & Optimus - root required?
Bjørn Forsman
bjorn.forsman at gmail.com
Fri May 12 17:36:25 CEST 2017
On 12 May 2017 at 16:07, Marc Weber <marco-oweber at gmx.de> wrote:
> Nvidia & Cuda:
>
> As root it works, as user it doesn't (even exporting the env from root).
> Easiest way to reproduce:
>
> $(nix-build cudatoolkit)/extras/demo_suite/deviceQuery
>
> Either outputs 'FAILED' or some info
>
> Has anybody a solution yet?
Isn't there some /dev/* file representing the device that you can set
permissions on? (Half guessing here...)
Best regards,
Bjørn Forsman
More information about the nix-dev
mailing list