Intel 13th gen with Focal 20.04, Llvmpipe instead of RTX A500 which is invisible, driver UNCLAIMED

Spec dell precision M3580 i7-1360p 32gb Rtx A500 Ubuntu 20.04.06 on Wayland

nvidia-bug-report.log (964.1 KB)

sudo lshw -c video

*-display                 
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 ...
  *-display UNCLAIMED
       description: 3D controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: iomemory:600-5ff ....

After running apt list --installed | grep -i header, there is no nvidia-driver-535/amd64 arm64 libnvidia-common-535-dev or anything simillar.

apt-cache policy nvidia-driver-535:

nvidia-driver-535:
  Installed: 535.86.05-0ubuntu0.20.04.2
  Candidate: 535.86.05-0ubuntu0.20.04.2
  Version table:
 *** 535.86.05-0ubuntu0.20.04.2 500
        500 http://pl.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages
        100 /var/lib/dpkg/status
     535.54.03-0ubuntu0.20.04.4 500
        500 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages

uname -sr
Linux 6.1.42-060142-generic

inxi -Gx

Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: Dell driver: N/A bus ID: 02:00.0 
           Display: wayland server: X.Org 1.20.13 driver: fbdev unloaded: modesetting,vesa 
           resolution: 1920x1080~75Hz, 1920x1080~75Hz, 1920x1080~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.2.6 direct render: Yes

MESA_GL_VERSION_OVERRIDE=3.0 is set

in Software & Updates is nvidia-driver-535 checked

The system is currently not very responsive, I use 3 full hd monitors.

uploading also result of cat /var/log/gpu-manager.log
cat.var.log.gpu-manager.log (2.8 KB)

Hello!

This is what I see from your bug report:

First there is an installation log from the .run file installer.
You tried to install it, although the installer detected an already present installation (most likely distro package).
You ignored the warning and installed it anyway.
Usually messes up the system.
Installation failed because your build system does not seem to be in order.

*** /var/log/nvidia-installer.log
*** ls: -rw-rā€“r-- 1 root root 1759 2023-08-02 15:12:28.599914693 +0200 /var/log/nvidia-installer.log
nvidia-installer log file ā€˜/var/log/nvidia-installer.logā€™
creation time: Wed Aug 2 15:11:56 2023
installer version: 535.86.05

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
ā†’ Detected 16 CPUs online; setting concurrency level to 16.
ā†’ Installing NVIDIA driver version 535.86.05.
ā†’ An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.

Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:

The NVIDIA driver provided by Ubuntu can be installed by launching the ā€œSoftware & Updatesā€ application, and by selecting the NVIDIA driver from the ā€œAdditional Driversā€ tab.

(Answer: Continue installation)
ā†’ Performing CC sanity check with CC=ā€œ/usr/bin/ccā€.
ā†’ Performing CC check.
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the ā€˜kernel-sourceā€™ or ā€˜kernel-develā€™ RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the ā€˜ā€“kernel-source-pathā€™ command line option.
ERROR: Installation has failed. Please see the file ā€˜/var/log/nvidia-installer.logā€™ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

I donā€™t know how many files the nvidia .run file installer has installed at that point, but itā€™s always highly recommended to completely purge one type of installation before attempting the other (apt purge ā€¦, or --uninstall parameter of the .run file).

Next day you install (most likely from Software&Updates). It fails again because there is something wrong with your build environment. The kernel modules did not build:

*** /var/lib/dkms/nvidia/535.86.05/build/make.log
*** ls: -rw-rā€“r-- 1 root root 1118 2023-08-03 15:20:22.519386070 +0200 /var/lib/dkms/nvidia/535.86.05/build/make.log
DKMS make.log for nvidia-535.86.05 for kernel 6.1.42-060142-generic (x86_64)
czw, 3 sie 2023, 15:20:21 CEST
make[1]: Entering directory ā€˜/usr/src/linux-headers-6.1.42-060142ā€™
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
You are using: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/535.86.05/build need-builtin=1 need-modorder=1
The Module.symvers file is missing, or does not contain any
symbols exported from the kernel. This could cause the NVIDIA
kernel modules to be built against a configuration that does
not accurately reflect the actual target kernel.
The Module.symvers file check can be disabled by setting the
environment variable IGNORE_MISSING_MODULE_SYMVERS to 1.
make[2]: *** [/var/lib/dkms/nvidia/535.86.05/build/Kbuild:346: module_symvers_sanity_check] Error 1
make[1]: *** [Makefile:2018: /var/lib/dkms/nvidia/535.86.05/build] Error 2
make[1]: Leaving directory ā€˜/usr/src/linux-headers-6.1.42-060142ā€™
make: *** [Makefile:82: modules] Error 2

There is also the compiler mismatch warning (which is a bit confusing as the versions seem to actually match). Maybe worth checking with update-alternatives, if all is in order.

You are using a mainline kernel it looks to me.
Iā€™m not sure about the compatibility of the mainline kernel and ubuntu focal.
v6.1 is not found here:
https://people.canonical.com/~kernel/info/kernel-version-map.html
Might be the root of these problems.

Anyhow the nvidia modules did not build, so they cannot work.

At boot these two things stick out:
1: An ACPI related crash (donā€™t know of its relevance):

[ 0.210689] ================================================================================
[ 0.210689] UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/acpi/acpica/dswexec.c:401:12
[ 0.210689] index -1 is out of range for type ā€˜acpi_operand_object *[9]ā€™
[ 0.210689] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 6.1.42-060142-generic #202307270338
[ 0.210689] Hardware name: Dell Inc. Precision 3580/031CD3, BIOS 1.5.0 06/14/2023
[ 0.210689] Call Trace:
[ 0.210689]
[ 0.210689] show_stack+0x4e/0x61
[ 0.210689] dump_stack_lvl+0x4a/0x6f
[ 0.210689] dump_stack+0x10/0x18
[ 0.210689] ubsan_epilogue+0x9/0x3a
[ 0.210689] __ubsan_handle_out_of_bounds.cold+0x42/0x47
[ 0.210689] acpi_ds_exec_end_op+0x948/0x960
[ 0.210689] acpi_ps_parse_loop+0x287/0x770
[ 0.210689] acpi_ps_parse_aml+0x226/0x600
[ 0.210689] acpi_ps_execute_table+0xec/0x160
[ 0.210689] acpi_ns_execute_table+0x180/0x3b0
[ 0.210689] acpi_ns_parse_table+0x4a/0xc0
[ 0.210689] acpi_ns_load_table+0x6b/0x240
[ 0.210689] acpi_tb_load_namespace+0x1a3/0x300
[ 0.210689] ? acpi_bus_init+0x27a/0x27a
[ 0.210689] acpi_load_tables+0x73/0xde
[ 0.210689] ? acpi_bus_init+0x27a/0x27a
[ 0.210689] acpi_bus_init+0x27/0x27a
[ 0.210689] ? acpi_install_address_space_handler+0xc1/0x150
[ 0.210689] ? pcc_rx_callback+0x20/0x20
[ 0.210689] ? acpi_bus_init+0x27a/0x27a
[ 0.210689] ? acpi_bus_init+0x27a/0x27a
[ 0.210689] acpi_init+0x88/0x14b
[ 0.210689] ? acpi_bus_init+0x27a/0x27a
[ 0.210689] do_one_initcall+0x5b/0x240
[ 0.210689] do_initcalls+0x131/0x16b
[ 0.210689] kernel_init_freeable+0xf6/0x137
[ 0.210689] ? rest_init+0x100/0x100
[ 0.210689] kernel_init+0x1b/0x170
[ 0.210689] ? rest_init+0x100/0x100
[ 0.210689] ret_from_fork+0x1f/0x30
[ 0.210689]
[ 0.210689] ================================================================================

2: The intel driver also seems to have a massive problem:

[ 5.026105] i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc_ver2_16.bin failed with error -2
[ 5.026110] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/adlp_dmc_ver2_16.bin. Disabling runtime power management.
[ 5.026111] i915 0000:00:02.0: [drm] DMC firmware homepage: i915 - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel
[ 5.026495] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 5.051370] i915 0000:00:02.0: GuC firmware i915/adlp_guc_70.bin: fetch failed with error -2
[ 5.051376] i915 0000:00:02.0: Please file a bug on drm/i915; see How to file i915 bugs Ā· Wiki Ā· drm / intel Ā· GitLab for details.
[ 5.051377] i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from i915 - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel
[ 5.232640] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 0.0.0
[ 5.232713] i915 0000:00:02.0: GuC initialization failed -2
[ 5.232721] i915 0000:00:02.0: Enabling uc failed (-5)
[ 5.232722] i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
[ 5.234426] i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_set_wedged_on_init+0x34/0x50 [i915]

As this is a very new model of laptop, Iā€™d actually recommend installing a newer version of ubuntu than 20.04.

1 Like

Hi Mart, thank you for your reply

Also, I would like 22.04 there were no such problems but unfortunately it is not possible because the development packages that I need to compile projects use 20.04. The final solution is Docker which I would prefer to avoid though. Now luckily there is ā€œonlyā€ a problem with a little responsiveness, but I can work on the project. I managed to solve the previous problems, and a few of them are spontaneous logging out of the system after entering the settings or when starting the project, hanging on driver initialization or random ubuntu crashes.

The default kernel from which ubuntu 20.04 is installed is 5.15, but it is too old kernel for intel 13th gen, it works fine on 5.19 and 6.1 is the last version on which 20.04 works stably. I have them both installed but if it helps Iā€™ll roll back to 5.19

I downloaded the missing files from this site i915 - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel and put them in /lib/firmware/i915, specifically adlp_dmc_ver2_16.bin and i915/adlp_guc_70.bin because they were not in that location

Next purged driver via this command sudo apt-get remove --purge ā€˜^nvidia-.*ā€™ and installed new from software and updates. ?I donā€™t think this removed all drivers, but it might improve the situation?

sudo prime-select nvidia

and reboot

pkg -l | grep nvidia

ii  libnvidia-cfg1-535:amd64                                                      535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-535                                                          535.86.05-0ubuntu0.20.04.2          all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-470:amd64                                                   470.199.02-0ubuntu0.20.04.1         amd64        NVIDIA libcompute package
rc  libnvidia-compute-470-server:amd64                                            470.199.02-0ubuntu0.20.04.1         amd64        NVIDIA libcompute package
rc  libnvidia-compute-525:amd64                                                   525.125.06-0ubuntu0.20.04.3         amd64        NVIDIA libcompute package
ii  libnvidia-compute-535:amd64                                                   535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA libcompute package
ii  libnvidia-compute-535:i386                                                    535.86.05-0ubuntu0.20.04.2          i386         NVIDIA libcompute package
rc  libnvidia-compute-535-server:amd64                                            535.54.03-0ubuntu0.20.04.1          amd64        NVIDIA libcompute package
ii  libnvidia-decode-535:amd64                                                    535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-535:i386                                                     535.86.05-0ubuntu0.20.04.2          i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-535:amd64                                                    535.86.05-0ubuntu0.20.04.2          amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-535:i386                                                     535.86.05-0ubuntu0.20.04.2          i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-535:amd64                                                     535.86.05-0ubuntu0.20.04.2          amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-535:amd64                                                      535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-535:i386                                                       535.86.05-0ubuntu0.20.04.2          i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-535:amd64                                                        535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-535:i386                                                         535.86.05-0ubuntu0.20.04.2          i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  nvidia-compute-utils-535                                                      535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA compute utilities
ii  nvidia-dkms-535                                                               535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA DKMS package
ii  nvidia-driver-535                                                             535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA driver metapackage
ii  nvidia-firmware-535-535.86.05                                                 535.86.05-0ubuntu0.20.04.2          amd64        Firmware files used by the kernel module
ii  nvidia-kernel-common-535                                                      535.86.05-0ubuntu0.20.04.2          amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-535                                                      535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA kernel source package
ii  nvidia-prime                                                                  0.8.16~0.20.04.2                    all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                                               470.57.01-0ubuntu0.20.04.3          amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-535                                                              535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                                                       0.18build1                          all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-535                                                 535.86.05-0ubuntu0.20.04.2          amd64        NVIDIA binary Xorg driver

nvidia-bug-report.log (509.3 KB)

As said the mainline kernel 6.1 does not seem to be compatible.
Maybe this one is better suited:

You should always be able to install a newer firmware package from ubuntu. i.e.
http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_20230323.gitbcdcfbcf-0ubuntu1.2_all.deb

This will miss all the libnvidia* files.
sudo apt purge '*nvidia*' catches all.

You didnā€™t do this.

There is no sign of the nvidia driver modules being being built in your new bug report.

Donā€™t use that if you want to see what is going on (and people like me, trying to help you).
use: sudo apt install nvidia-driver-XXX

1 Like

So before installing the new driver, install this new kernel?

If I understood correctly, I should execute sudo add-apt-repository ppa:tuxinvader/lts-mainline
sudo apt update
and install one of these versions
-6.2.16-060216.202306051605
-6.3.13-060313.202307200757
-6.2.16-0
-6.3.13-0

Iā€™ve tried it ~/Downloads$ ./driver.run ā€“uninstall, and got this:

./nvidia-installer: invalid option: "ā€“uninstall"

ERROR: Invalid commandline, please run `./nvidia-installer --help` for usage
       information.

Done and installed new one by sudo apt install nvidia-driver-530 to be distinguishable

Tried but gained this output

sudo dpkg --install linux-firmware_20230323.gitbcdcfbcf-0ubuntu1.2_all.deb 
dpkg: regarding linux-firmware_20230323.gitbcdcfbcf-0ubuntu1.2_all.deb containing linux-firmware:
 linux-firmware breaks amd64-microcode (<= 3.20220411.1ubuntu1)
  amd64-microcode (version 3.20191218.1ubuntu1.1) is present and installed.

dpkg: error processing archive linux-firmware_20230323.gitbcdcfbcf-0ubuntu1.2_all.deb (--install):
 installing linux-firmware would break amd64-microcode, and
 deconfiguration is not permitted (--auto-deconfigure might help)

Yes and the associated kernel-headers. Usually linux-headers-KERNEL_VERSION.

--uninstall

Well, ok. You post no output, so canā€™t tell if itā€™s working.

dkms status tells you if the driver modules have been built and installed successfully (must show installed, not just added, or built).

1 Like

Will do this now, but after this I think I should reload the driver by this procedure, if i am wrong correct me please

  • sudo apt purge '*nvidia*'
  • sudo apt install nvidia-driver-530

then installing the amd microcode package first might help.
But Iā€™d just put that all on hold for now, as the intel driver seems to be working ok, right?

1 Like

Will do this now, but after this I think I should reload the driver by this procedure, if i am wrong correct me please

sudo apt purge '*nvidia*'
sudo apt install nvidia-driver-530

No.
By installing a new kernel and itā€™s headers dkms modules for that kernel should be installed automativally.

1 Like

Done that and output is ok:
There is no NVIDIA driver currently installed.

And getting to work to install this new kernel

After taking these two more files and putting them into firmware/i915/ nvidia-bug-report.log output about it is looking ok

Done installing kernel, looks like headers were installed automatically.

sudo apt install linux-generic-6.02
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  linux-headers-6.2.16-060216 linux-headers-6.2.16-060216-generic linux-image-unsigned-6.2.16-060216-generic linux-modules-6.2.16-060216-generic
Suggested packages:
  fdutils linux-doc | linux-source-6.2.16 linux-tools linux-modules-extra-6.2.16-060216-generic
The following NEW packages will be installed
  linux-generic-6.02 linux-headers-6.2.16-060216 linux-headers-6.2.16-060216-generic linux-image-unsigned-6.2.16-060216-generic linux-modules-6.2.16-060216-generic
0 to upgrade, 5 to newly install, 0 to remove and 11 not to upgrade.
Need to get 121 MB of archives.
After this operation, 838 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/tuxinvader/lts-mainline/ubuntu focal/main amd64 linux-headers-6.2.16-060216 all 6.2.16-060216.202306051605 [12,6 MB]
Get:2 http://ppa.launchpad.net/tuxinvader/lts-mainline/ubuntu focal/main amd64 linux-headers-6.2.16-060216-generic amd64 6.2.16-060216.202306051605 [3 297 kB]                                            
Get:3 http://ppa.launchpad.net/tuxinvader/lts-mainline/ubuntu focal/main amd64 linux-modules-6.2.16-060216-generic amd64 6.2.16-060216.202306051605 [92,1 MB]                                             
Get:4 http://ppa.launchpad.net/tuxinvader/lts-mainline/ubuntu focal/main amd64 linux-image-unsigned-6.2.16-060216-generic amd64 6.2.16-060216.202306051605 [13,5 MB]                                      
Get:5 http://ppa.launchpad.net/tuxinvader/lts-mainline/ubuntu focal/main amd64 linux-generic-6.02 amd64 6.2.16-0 [2 396 B]                                                                                
Fetched 121 MB in 16s (7 803 kB/s)                                                                                                                                                                        
Selecting previously unselected package linux-headers-6.2.16-060216.
(Reading database ... 348360 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.2.16-060216_6.2.16-060216.202306051605_all.deb ...
Unpacking linux-headers-6.2.16-060216 (6.2.16-060216.202306051605) ...
Selecting previously unselected package linux-headers-6.2.16-060216-generic.
Preparing to unpack .../linux-headers-6.2.16-060216-generic_6.2.16-060216.202306051605_amd64.deb ...
Unpacking linux-headers-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
Selecting previously unselected package linux-modules-6.2.16-060216-generic.
Preparing to unpack .../linux-modules-6.2.16-060216-generic_6.2.16-060216.202306051605_amd64.deb ...
Unpacking linux-modules-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
Selecting previously unselected package linux-image-unsigned-6.2.16-060216-generic.
Preparing to unpack .../linux-image-unsigned-6.2.16-060216-generic_6.2.16-060216.202306051605_amd64.deb ...
Unpacking linux-image-unsigned-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
Selecting previously unselected package linux-generic-6.02.
Preparing to unpack .../linux-generic-6.02_6.2.16-0_amd64.deb ...
Unpacking linux-generic-6.02 (6.2.16-0) ...
Setting up linux-modules-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
Setting up linux-image-unsigned-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.1.42-060142-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.1.42-060142-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-6.2.16-060216-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.2.16-060216-generic
Setting up linux-headers-6.2.16-060216 (6.2.16-060216.202306051605) ...
Setting up linux-headers-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.2.16-060216-generic

Kernel preparation unnecessary for this kernel.  Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...patching file Kbuild
Hunk #1 succeeded at 123 (offset 52 lines).


Building module:
cleaning build area...(bad exit status: 2)
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.2.16-060216-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/
lib/modules/6.2.16-060216-generic/build LD=/usr/bin/ld.bfd modules..........
Signing module:
 - /var/lib/dkms/nvidia/535.86.05/6.2.16-060216-generic/x86_64/module/nvidia-peermem.ko
 - /var/lib/dkms/nvidia/535.86.05/6.2.16-060216-generic/x86_64/module/nvidia-uvm.ko
 - /var/lib/dkms/nvidia/535.86.05/6.2.16-060216-generic/x86_64/module/nvidia-drm.ko
 - /var/lib/dkms/nvidia/535.86.05/6.2.16-060216-generic/x86_64/module/nvidia-modeset.ko
 - /var/lib/dkms/nvidia/535.86.05/6.2.16-060216-generic/x86_64/module/nvidia.ko
Secure Boot not enabled on this system.
cleaning build area...(bad exit status: 2)

DKMS: build completed.

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

nvidia-peermem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

depmod...

DKMS: install completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
KERNELDIR=/lib/modules/6.2.16-060216-generic/build make driver....
Signing module:
 - /var/lib/dkms/openrazer-driver/3.6.1/6.2.16-060216-generic/x86_64/module/razeraccessory.ko
 - /var/lib/dkms/openrazer-driver/3.6.1/6.2.16-060216-generic/x86_64/module/razermouse.ko
 - /var/lib/dkms/openrazer-driver/3.6.1/6.2.16-060216-generic/x86_64/module/razerkraken.ko
 - /var/lib/dkms/openrazer-driver/3.6.1/6.2.16-060216-generic/x86_64/module/razerkbd.ko
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.

razerkbd.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

razermouse.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

razerkraken.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.16-060216-generic/updates/dkms/

depmod...

DKMS: install completed.
   ...done.
Setting up linux-generic-6.02 (6.2.16-0) ...
Processing triggers for linux-image-unsigned-6.2.16-060216-generic (6.2.16-060216.202306051605) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.2.16-060216-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.16-060216-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.16-060216-generic
Found initrd image: /boot/initrd.img-6.2.16-060216-generic
Found linux image: /boot/vmlinuz-6.1.42-060142-generic
Found initrd image: /boot/initrd.img-6.1.42-060142-generic
Found linux image: /boot/vmlinuz-5.19.0-051900-generic
Found initrd image: /boot/initrd.img-5.19.0-051900-generic
Found linux image: /boot/vmlinuz-5.15.0-78-generic
Found initrd image: /boot/initrd.img-5.15.0-78-generic
Found linux image: /boot/vmlinuz-5.15.0-67-generic
Found initrd image: /boot/initrd.img-5.15.0-67-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
done

And it looks like sudo apt install nvidia-driver-530 is also installing 535

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnvidia-cfg1-535 libnvidia-common-535 libnvidia-compute-535 libnvidia-decode-535 libnvidia-encode-535 libnvidia-extra-535 libnvidia-fbc1-535 libnvidia-gl-535 libnvidia-gl-535:i386
  nvidia-compute-utils-535 nvidia-dkms-535 nvidia-driver-535 nvidia-firmware-535-535.86.05 nvidia-kernel-common-535 nvidia-kernel-source-535 nvidia-prime nvidia-settings nvidia-utils-535
  xserver-xorg-video-nvidia-535
The following NEW packages will be installed
  libnvidia-cfg1-535 libnvidia-common-535 libnvidia-compute-535 libnvidia-decode-535 libnvidia-encode-535 libnvidia-extra-535 libnvidia-fbc1-535 libnvidia-gl-535 libnvidia-gl-535:i386
  nvidia-compute-utils-535 nvidia-dkms-535 nvidia-driver-530 nvidia-driver-535 nvidia-firmware-535-535.86.05 nvidia-kernel-common-535 nvidia-kernel-source-535 nvidia-prime nvidia-settings
  nvidia-utils-535 xserver-xorg-video-nvidia-535

dkms status

nvidia, 535.86.05, 6.2.16-060216-generic, x86_64: installed
openrazer-driver, 3.6.1, 5.4.0-155-generic, x86_64: installed
openrazer-driver, 3.6.1, 6.2.16-060216-generic, x86_64: installed

Donā€™t know how that happens, but usually installing a new version via apt removes the old one.

Now for the first time you have the driver installed successfully it seems.

1 Like

nvidia-bug-report.log is almost empty

base64 "nvidia-nvml-temp5202.log"

some Coded info here...

/usr/bin/systemctl status nvidia-fabricmanager.service

____________________________________________

Skipping acpidump output (acpidump not found)

____________________________________________

End of NVIDIA bug report log file.

Canā€™t say anything about that, sorry.
Maybe run journalctl -b0 > journal.txt and attach it here.

1 Like

You rebooted, did you?

1 Like

sudo reboot done of course

rebooted once again and now nvidia-bug-report.log generated successfully, that was probably caused by chosing kernel version in gnome by advanced ubuntu instead of ubuntu sorry 4 that

Looks like weā€™re getting closer, Iā€™ll be back at the office on Monday.

nvidia-bug-report.log (1.6 MB)

delete /etc/X11/xorg.conf. Itā€™s just the wrong config.

You are running a wayland session. Is that what you want?
I wouldnā€™t on Ubuntu 20.04. Too old.

Reboot and create a new report.

1 Like

In X11 with Xorg, there was an issue - when I entered the settings, it triggered something like a logout. The same happened when I was opening one of my projectā€™s solutions which uses osgEarth, and that, in turn, utilizes OpenGL. But when i manage to activate this gpu i can try to go back to x11 and see if this error persists

On Monday, when I return to the office, I will immediately delete that config and gen new .log.

/etc/X11/xorg.conf deleted and reboted.

nvidia-bug-report.log (1.6 MB)

I also discovered something very interesting, the default system works quite sluggishly, for example, when I take a window and move it, there is a slight stuttering, or, for example, when opening the menu of installed applications, the animation is not smooth. When I run pacman nothing changes

Oddly enough, when I turn on something that will load the system, e.g. glxgears, everything suddenly starts to run smoothly.

Please show the output of each of these commands:

grep -r nvidia /lib/modprobe.d/ /etc/modprobe.d/

grep -r nvidia /lib/udev/rules.d /etc/udev/rules.d/

grep -r 10de /lib/udev/rules.d /etc/udev/rules.d/

modprobe -vvv nvidia

1 Like