Dear all,
I’d like to setup KUbuntu 22.04 on a desktop PC configured with:
- iGPU: Intel UHD Graphics 630
- dGPU: nVidia GTX 1650
iGPU will be used for X11/graphics purpose instead dGPU for CUDA computational works.
Looking for the web, I follow this procedure
1. Bios Setup
I set VGA priority in this order: iGPU - PEG - PCI
2. KUbuntu 22.04 driver setup
Once ubuntu has been installed, I did the following steps:
1. disable nouveau driver by setting its blacklist-file
blacklist nouveau
options nouveau modeset=0
and then update kernel’s
sudo update-initramfs -u
2. download official nvidia driver from nvidia XFree86 link
3. disable sddm and switch to init 3 mode
sudo service sddm stop && init 3
4. installing nvidia driver without opengl files
sudo ./NVIDIA-Linux-x86_64-525.125.06.run --no-opengl-files
5. Update/Create /etc/X11/xorg.conf
with this content:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "Intel Corporation"
BusID "PCI:0:2:0
EndSection
where PCI id has been set in accord to lspci
command.
After this, I reboot the OS, X11 correctly started but when I try the command nvidia-smi
, this raise the following error:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
This procedure has been read from these links:
Am I forgetting any step? Where am I wrong?
Thanks,
Nicola