Hello, I tried to lookup on the net and here in the forums but I couldn’t find an answer to my issue.
I saw the solution proposed by user generix to this question and I’ve managed to make some nvidia-settings options work like this:
sudo DISPLAY=:0 XAUTHORITY=/run/user/1000/gdm/Xauthority nvidia-settings -a GPUGraphicsClockOffsetAllPerformanceLevels=300
sudo DISPLAY=:0 XAUTHORITY=/run/user/1000/gdm/Xauthority nvidia-settings -a GPUMemoryTransferRateOffsetAllPerformanceLevels=1000
Problem is that if I issue some other commands like:
sudo DISPLAY=:0 XAUTHORITY=/rub/user/1000/gdm/Xauthority nvidia-settings -q all
sudo DISPLAY=:0 XAUTHORITY=/rub/user/1000/gdm/Xauthority nvidia-settings -q [fan:0]/GPUCurrentFanSpeedRPM
it says “No protocol specified”
Why it works only with some commands?