NVIDIA kernel driver not built/installed

Bug #2016323 reported by Veilleuse
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-525 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Web pages display and app launch are VERY slow for a PC having this configuration. There is really a problem about display since I bougth this PC.

And ...

Since last big upgrade (including some Nvidia stuff) :

No more gear on login to switch to Wayland/X11.
Night mode in screen parameters doesn't work.
Steam game (Northgard) launches very slowly and is unplayable

I have uncommented the line #WaylandEnable=true in /etc/gdm3/custom.conf and restarted with no success.

Thank you in advance for your help.

Release Ubuntu 22.04.2 LTS

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.1.0-1008.8-oem 6.1.14
Uname: Linux 6.1.0-1008-oem x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
BootLog: Error: [Errno 13] Permission non accordée: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 14 18:53:58 2023
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus: nvidia/525.105.17: added
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:249d] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: CLEVO/KAPOK Computer GA104M [GeForce RTX 3070 Mobile / Max-Q] [1558:50f4]
InstallationDate: Installed on 2023-01-27 (77 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: Notebook NH5xVR
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.1.0-1008-oem root=UUID=c6e942e5-1878-4e2a-8d85-81abebd32761 ro quiet splash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/18/2021
dmi.bios.release: 7.6
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.07.06
dmi.board.asset.tag: Tag 12345
dmi.board.name: NH5xVR
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.ec.firmware.release: 7.3
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.07.06:bd02/18/2021:br7.6:efr7.3:svnNotebook:pnNH5xVR:pvrNotApplicable:rvnNotebook:rnNH5xVR:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:skuNotApplicable:
dmi.product.family: Not Applicable
dmi.product.name: NH5xVR
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.9
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Veilleuse (veilleuse) wrote :
summary: - Many problems!
+ Many problems displaying web pages & launching apps
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please run:

  sudo apt install --reinstall nvidia-driver-525 nvidia-dkms-525

and then reboot.

affects: xorg (Ubuntu) → nvidia-graphics-drivers-525 (Ubuntu)
summary: - Many problems displaying web pages & launching apps
+ NVIDIA kernel driver not built/installed
Revision history for this message
Veilleuse (veilleuse) wrote :

Thank you for your help, Daniel. I have reinstalled 525 nvidia drivers with your command line but I had no change after reboot.
I have shut down the PC, waited a bit before restarting it, (I noticed things are different when reboot or shut down/restart) then I had a frozen login screen (still without gear).
Then I have done a reboot again and login screen worked fine but still no change (no gear on login screen, no night mode, etc.)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

OK next please run:

  journalctl -b0 > journal.txt
  lspci -k > lspci.txt

and attach the resulting text files here.

Please also have a look for build logs in /var/lib/dkms/ and attach any if you find them.

Changed in nvidia-graphics-drivers-525 (Ubuntu):
status: New → Incomplete
Revision history for this message
Veilleuse (veilleuse) wrote :

Here is journalctl.

Revision history for this message
Veilleuse (veilleuse) wrote :

lspci.txt

Revision history for this message
Veilleuse (veilleuse) wrote (last edit ):

I have no *.log files in /var/lib/dkms/, only those ones : common.postinst,dkms_autoinstaller and dkms-autopkgtest

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

There's still no NVIDIA driver installed. Please have a look in the subdirectories of /var/lib/dkms/ too.

Also have a look at the 'Additional Drivers' app and try using that to install a driver.

Revision history for this message
Alejandro Dubrovsky (alito-organicrobot) wrote :

Not sure if it's appropriate to take shots in the dark but I also lost my nvidia drivers after updating to 22.04.2. It turned out that I was missing the linux headers. See if

sudo apt install linux-headers-$(uname -r)

makes any difference

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Yes I was wondering about the kernel packages.

Please run:

  sudo apt install --reinstall linux-modules-6.1.0-1008-oem linux-headers-6.1.0-1008-oem
  sudo apt install --reinstall nvidia-driver-525 nvidia-dkms-525

and if the problem isn't fixed after rebooting then please run:

  find /lib/modules -name drm.ko > drmmods.txt

and attach the resulting text file here.

Revision history for this message
Veilleuse (veilleuse) wrote :

So here is what I did and what happened :
- ran your command lines for reinstall linux-modules/headers & nvidia drivers
- reboot and had grub menu, so I selected "Ubuntu" and then got error screen (see joined file) so shut-down-waited-restarted
- grub menu again, selected "Ubuntu" again and then I had the gear on login screen, so selected "Wayland" but it seems that was a bad idea : mouse cursor lagging, no night mode, launched Brave but no Brave window displayed
- reboot, back to "Ubuntu"(no wayland)

Now all seems to work (night mode, Brave display, etc - didn't try Northgard but I guess it's ok too). So thanks a lot. Web pages and app launch are still slow in my opinion but maybe it is another problem?

So I guess I can't use Wayland?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The image in comment #11 is a kernel crash. I don't think it's related to this bug.

Please run these commands again to confirm the driver is working for Xorg:

  journalctl -b0 > journal.txt
  lspci -k > lspci.txt

and attach the resulting text files.

As for Wayland, yes we know more work is required for Wayland. The known bug list is here:

  https://bugs.launchpad.net/ubuntu/+bugs?field.tag=nvidia-wayland

I think we're missing a bug report for "mouse cursor lagging" so please create one.

If you are ever missing the "Ubuntu on ..." option then please also check for crashes in /var/crash/ and create bugs for each using 'ubuntu-bug'.

Revision history for this message
Veilleuse (veilleuse) wrote :
Revision history for this message
Veilleuse (veilleuse) wrote :
Revision history for this message
Veilleuse (veilleuse) wrote :
Revision history for this message
Veilleuse (veilleuse) wrote (last edit ):

Ok. Thank you for your help. I'll check your link for Wayland bugs.
And create a new report for "mouse cursor lagging" (but there was many other bugs when I was under Wayland like Brave window not opening, system monitor app window blinking).
Have a nice day.

Edit: no more mouse cursor lagging on my last Wayland tests. So I won"t report.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks, comments #14 and #15 confirm we've at least got the NVIDIA kernel driver loaded successfully.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nvidia-graphics-drivers-525 (Ubuntu) because there has been no activity for 60 days.]

Changed in nvidia-graphics-drivers-525 (Ubuntu):
status: Incomplete → Expired
Changed in nvidia-graphics-drivers-525 (Ubuntu):
status: Expired → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.