Nvidia 450.57 not Working Debian 10 on Lenovo P53s / Quadro P520

I have installed Linux Driver version 450.57 successfully. But Lenovo P53s use Intel UHD Graphics instead of NVIDIA card.

If i execute nvidia-settings this is the result:

ERROR: Unable to load info from any available system

And this is the output of nvidia-smi:

Thu Aug 13 18:09:56 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 450.57 Driver Version: 450.57 CUDA Version: 11.0 |
|-------------------------------±---------------------±---------------------+
| 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 Quadro P520 Off | 00000000:3C:00.0 Off | N/A |
| N/A 43C P0 N/A / N/A | 0MiB / 2002MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+nvidia-bug-report.log.gz (1.9 MB)

Are you using Gnome on Wayland? If yes, try with Gnome on X.

I’m using X.

Have you tried this?

Yes, but it does not work.

This is xorg.o.log:

[ 10.746] (II) LoadModule: “nvidia”
[ 10.746] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 10.746] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 10.746] compiled for 1.6.99.901, module version = 1.0.0
[ 10.746] Module class: X.Org Video Driver
[ 10.746] (II) LoadModule: “modesetting”
[ 10.747] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10.747] (II) Module modesetting: vendor=“X.Org Foundation”
[ 10.747] compiled for 1.20.9, module version = 1.20.9
[ 10.747] Module class: X.Org Video Driver
[ 10.747] ABI class: X.Org Video Driver, version 24.1
[ 10.747] (II) NVIDIA dlloader X Driver 450.66 Wed Aug 12 19:44:12 UTC 2020
[ 10.747] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 10.747] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 10.776] (II) modeset(G0): using drv /dev/dri/card0
[ 10.776] (WW) Falling back to old probe method for modesetting
[ 10.792] (EE) No devices detected.
[ 10.793] (EE)
Fatal server error:
[ 10.793] (EE) no screens found(EE)
[ 10.793] (EE)

And this is my xorg.conf:

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “nvidia” 0 0
Inactive “intel”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection

Section “Files”
EndSection

Section “InputDevice”

# generated from default
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"

EndSection

Section “InputDevice”

# generated from default
Identifier     "Keyboard0"
Driver         "kbd"

EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
Option “DPMS”
EndSection

Section “Device”
Identifier “nvidia”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BusID “00000000:3c:00.0”
EndSection

Section “Device”
Identifier “intel”
Driver “modesetting”
EndSection

Section “Screen”
Identifier “nvidia”
Device “nvidia”
Monitor “Monitor0”
DefaultDepth 24
Option “AllowEmptyInitialConfiguration”
SubSection “Display”
Depth 24
Modes “nvidia-auto-select”
EndSubSection
EndSection

Section “Screen”
Identifier “intel”
Device “intel”
Monitor “Monitor0”
EndSection