NVIDIA Drivers [GTX 1650] not installing propperly on Ubuntu server (22.04.4)

Hi, i’ve been working on a server project recently to learn (and teach myself) how to work with Linux and networking. I’ve bought a GTX 1650 for my transcoding on Plex, but installing the drivers for my server wont work propperly. I’ve tried many forum solutions, but none have seemed to work. I will try to provide as much information as possible, please ask for more if needed.

I installed the driver using
sudo apt install nvidia-driver-535

Purged all the files multiple times. Updated and upgraded all my packages. Autoremoved unused packages.

nvidia-bug-report.sh output:
nvidia-bug-report.log (382.6 KB)

lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy

nvidia-settings

ERROR: NVIDIA driver is not loaded

(nvidia-settings:4037): GLib-GObject-CRITICAL **: 18:08:20.587: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:4037): CRITICAL **: 18:08:20.589: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

nvidia-smi

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

uname -r

6.9.2-060902-generic

dkms status

nvidia/535.171.04: added

lspci -v | grep VGA

01:00.0 VGA compatible controller: NVIDIA Corporation TU117 [GeForce GTX 1650] (rev a1) (prog-if 00 [VGA controller])

ubuntu-drivers devices

sudo == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001F82sv00001458sd00004026bc03sc00i00
vendor   : NVIDIA Corporation
model    : TU117 [GeForce GTX 1650]
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-545 - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-545-open - distro non-free
driver   : nvidia-driver-535 - distro non-free recommended
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

dpkg -l |grep nvidia

ii  libnvidia-cfg1-535:amd64                  535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-535                      535.171.04-0ubuntu0.22.04.1             all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-535:amd64               535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA libcompute package
ii  libnvidia-decode-535:amd64                535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-535:amd64                535.171.04-0ubuntu0.22.04.1             amd64        NVENC Video Encoding runtime library
ii  libnvidia-extra-535:amd64                 535.171.04-0ubuntu0.22.04.1             amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-535:amd64                  535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-535:amd64                    535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  nvidia-compute-utils-535                  535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA compute utilities
ii  nvidia-dkms-535                           535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA DKMS package
ii  nvidia-driver-535                         535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA driver metapackage
ii  nvidia-firmware-535-535.171.04            535.171.04-0ubuntu0.22.04.1             amd64        Firmware files used by the kernel module
ii  nvidia-kernel-common-535                  535.171.04-0ubuntu0.22.04.1             amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-535                  535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA kernel source package
ii  nvidia-prime                              0.8.17.1                                all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                           510.47.03-0ubuntu1                      amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-535                          535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                   0.18.2                                  all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-535             535.171.04-0ubuntu0.22.04.1             amd64        NVIDIA binary Xorg driver

If anyone has ANY solutions for me, please let me know. I’ve been on this for the past 2 days. Thank you all so much in advance!

You have manually installed a kernel with incompatible header package. Please either return to the stock hwe kernel or use the liquorix ppa for the latest kernel, then make sure the linux header package is installed.

1 Like

Thank you so much, you’re a life-saver! I updated to 6.9.2 without realising it isnt supported. I tried updating to the newest Kernel as one of my solutions.

Again, much much thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.