Skip to content

Udev rules ? #64

Done
Done

Description

@wiiznokes

Is there some udev rules i can use ?
Rn, i'm using this fork https://github.com/raum-dellamorte/nvml-wrapper but the set_fan_speed function return NoPermission

My attempt:

KERNEL=="nvidia*", MODE="0666"
KERNEL=="nvidiactl", MODE="0666"
KERNEL=="nvidia-uvm", MODE="0666"

Activity

  1. brayniac commented on Nov 24, 2026

    @brayniac
    Contributor

    NVML refuses fan control to non-root users regardless of device-node permissions. On an RTX 4090 with driver 550.163.01, with /dev/nvidia* already at mode 0666 (the driver's default, NVreg_DeviceFileMode=0666), set_fan_speed(), set_default_fan_speed() and set_fan_control_policy() all returned NoPermission as uid 1000 and succeeded as root. Udev rules won't help; the process needs to run as root. #148 documents this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions