Driver is not working in ubunu nvidia MX150

I had to run the query as root:

sudo nvidia-bug-report.sh
nvidia-bug-report.log.gz (112.2 KB)

=====

sudo prime-select query

give “nvidia”

this command gives me the following

sudo apt-get install linux-headers-$(uname -r)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package linux-headers-6.5.7-060507-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘linux-headers-6.5.7-060507-generic’ has no installation candidate

======

I have installed the driver from:


software center.

But the following command is giving me the error.

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.

in Graphics, it should be nvidia I think if nvidia is working in my system

Please help me out, my type c to HDMI stops working

sudo apt-get install linux-headers-6.5.
linux-headers-6.5.0-1003-oem linux-headers-6.5.0-1007-azure
linux-headers-6.5.0-1004-oem linux-headers-6.5.0-1008-aws
linux-headers-6.5.0-1006-oem linux-headers-6.5.7-060507
sankar@sankar-asus:~$ sudo apt-get install linux-headers-6.5.7-060507
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
linux-headers-6.5.7-060507 is already the newest version (6.5.7-060507.202310102154).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

sudo lshw -C display
*-display
description: VGA compatible controller
product: UHD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
resources: irq:128 memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
*-display UNCLAIMED
description: 3D controller
product: GP108M [GeForce MX150]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff

if this helps!

Please run
sudo apt install --reinstall linux-headers-$(uname -r)
post any errors and the output of
dkms status
afterwards.

$ sudo apt install --reinstall linux-headers-$(uname -r)
[sudo] password for sankar: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-headers-6.5.7-060507-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-6.5.7-060507-generic' has no installation candidate


$ dkms status
nvidia/535.129.03: added

$ sudo apt update
Get:1 file:/var/nvidia-driver-local-repo-ubuntu2204-525.105.17  InRelease [1,572 B]
Get:1 file:/var/nvidia-driver-local-repo-ubuntu2204-525.105.17  InRelease [1,572 B]
Err:1 file:/var/nvidia-driver-local-repo-ubuntu2204-525.105.17  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C5C5881321ACFBA
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                                                                                   
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy InRelease                                    
Get:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]                   
Hit:6 https://linux.teamviewer.com/deb stable InRelease                                                 
Hit:7 https://download.docker.com/linux/ubuntu focal InRelease                                          
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [43.2 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB] 
Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [55.1 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [101 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [304 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:14 http://in.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [4,952 B]
Get:15 http://in.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [19.0 kB]
Reading package lists... Done                                                
W: GPG error: file:/var/nvidia-driver-local-repo-ubuntu2204-525.105.17  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C5C5881321ACFBA
E: The repository 'file:/var/nvidia-driver-local-repo-ubuntu2204-525.105.17  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

If this can help.
Thank you

Looks like you have manually installed a kernel but without the -generic headers, likely incompatible. Please remove the kernel packages for 6.5.7 and return to the stock 5.15/5.19 kernel of 22.04. If you really need the latest kernel, add the liqourix ppa and install the kernel from there.

1 Like

However, my third monitor is not working. maybe the motherboard is not supporting it… But I am happy that I have updated the kernel in a good way using liqourix ppa

Please create a new nvidia-bug-report.log so I can check for the missing monitor.

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