Coming from this thread, proposed solution stopped working after updating to 24.04
ls -l /sys/class/backlight
total 0
lrwxrwxrwx 1 root root 0 Nov 10 19:16 nvidia_wmi_ec_backlight -> ../../devices/pci0000:00/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/603E9613-EF25-4338-A3D0-C46177516DB7/backlight/nvidia_wmi_ec_backlight
nvidia-smi
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3060 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 48C P8 10W / 55W | 9MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 394970 G /usr/bin/gnome-shell 2MiB |
+-----------------------------------------------------------------------------------------+
Relevant lines in /etc/default/grub/
(here I reverted the changes proposed in the previous thread, as they no longer allowed me to change brigtness with light
command)
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
…and this is what I’ve found after running dmesg
[523388.254114] __vm_enough_memory: pid: 1845120, comm: nvidia-smi, bytes: 51539607552 not enough memory for the allocation
[523388.254122] __vm_enough_memory: pid: 1845120, comm: nvidia-smi, bytes: 51539644416 not enough memory for the allocation
[523388.254126] __vm_enough_memory: pid: 1845120, comm: nvidia-smi, bytes: 51539742720 not enough memory for the allocation
Any help would be much appreciated, thanks in advance!