Debian10/xfce - ERROR: Unable to load info from any available system

HI
trying to install nvidia drivers and run steam games with nvidia gpu

installed as describe in debian’s how-to

apt install nvidia-driver firmware-misc-nonfree

nvidia-settings 
ERROR: Unable to load info from any available system

Downloaded NVIDIA-Linux-x86_64-460.73.01.run . Then uninstalled previous drivers:

apt purge *nvidia*

rebooted switched off lightdm and installed NVIDIA-Linux-x86_64-460.73.01.run

Right now I still can’t launch settings

nvidia-settings 
ERROR: Unable to load info from any available system

lspci | grep  "VGA\|3D"
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)


sudo dkms status
aufs, 4.19+20190211, 4.19.0-16-amd64, x86_64: installed
aufs, 4.19+20190211, 4.19.0-6-amd64, x86_64: installed
bbswitch, 0.8, 4.19.0-6-amd64, x86_64: installed
nvidia, 460.73.01, 4.19.0-6-amd64, x86_64: installed

`

nvidia-smi
Sat May  1 23:37:37 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| 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  GeForce 840M        Off  | 00000000:03:00.0 Off |                  N/A |
| N/A   57C    P0    N/A /  N/A |      0MiB /  2004MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

It’s a hybrid graphics notebook, you’ll have to set this up to use PRIME:
https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_GPU_as_the_primary_GPU

Thanks for the reply, but I’ve set Optimus and it works for games. As I got, PRIME switch off Intel GPU and the laptop works all the time using NVIDIA GPU.

I can’t repair nvidia-settings and make it works. I can’t open it from Menu and executing nvidia-settings returns the error above.

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Here it is.nvidia-bug-report.log.gz (1.2 MB)

You have bumblebee installed.

Yes, you right. I don’t want to use nvidia gpu all the time(as a primary GPU). This way consumes battery too fast.
If I delete bumblebee, I can’t run apps like optirun app, right?

I’m not sure that I understand everything but I just want to use nvidia gpu in special cases like games on debian as bumblebee let me do.
Is it possible to configure system in such way with workable nvidia-settings?

You would have to run
optirun nvidia-settings
to use nvidia-settings, otherwise bumblebee unloads the driver and shuts down the gpu.
The way to go would be using prime render offload but this is not supported by debian 10. The xserver package is too old. You would have to change to debian testing/unstable for that. So for now, you’ll have to stick with bumblebee.

The same staff:

primusrun nvidia-settings
ERROR: Unable to load info from any available system

optirun nvidia-settings
ERROR: Unable to load info from any available system

It is not a big deal, but it would be great to make it work

Try

optirun nvidia-settings -c :8

It works! Thank you a lot!