Comments

NVIDIA – New 580.xx driver OK with Kernel 6.19.. — 4 Comments

  1. Hello, I’m also testing this new 580 driver. It installed fine on kernel 6.19-rc5, but I can’t start the X server. “startx” throws an error. I have a computer with two graphics cards, one Intel and the other Nvidia GTX 1050Ti. Well, for now I’ve reverted to kernel 6.17.13, that’s the situation. Regards.

  2. Both NVIDIA driver versions 580.126.09 and 590.48.01 run normally on various preview builds of kernel 6.19 under Fedora. However, they completely fail to compile and install on various versions of kernel 6.19 under Ubuntu. I really don’t know what the Ubuntu administrator is thinking!

    • This is the reason I always use the standard kernel.org version of the Kernel on all my systems – the distros always have their own patches, sometimes backported from later versions, that can cause issues, and make it impossible to verify everything..

  3. Failing to build on Debian Sid / kernel.org version with following error :
    nvidia/nv-imp.c: In function ‘nv_imp_get_import_data’:
    nvidia/nv-imp.c:77:5: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    77 | #if IMP_SUPPORT_FUNCTIONS_PRESENT
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    nvidia/nv-imp.c:77:1: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    77 | #if IMP_SUPPORT_FUNCTIONS_PRESENT
    | ^~~~~~~~~~~~~~~~~~~
    nvidia/nv-imp.c: In function ‘nv_imp_enable_disable_rfl’:
    nvidia/nv-imp.c:115:5: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    115 | #if IMP_SUPPORT_FUNCTIONS_PRESENT
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    nvidia/nv-imp.c:115:1: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    115 | #if IMP_SUPPORT_FUNCTIONS_PRESENT
    | ^~~~~~~~~~~~~~~~~~~
    nvidia/nv-imp.c: In function ‘nv_imp_icc_get’:
    nvidia/nv-imp.c:174:5: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    174 | #if ICC_SUPPORT_FUNCTIONS_PRESENT && NV_SUPPORTS_PLATFORM_DEVICE
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    nvidia/nv-imp.c: In function ‘nv_imp_icc_put’:
    nvidia/nv-imp.c:249:5: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    249 | #if ICC_SUPPORT_FUNCTIONS_PRESENT
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    nvidia/nv-imp.c: In function ‘nv_imp_icc_set_bw’:
    nvidia/nv-imp.c:308:5: warning: this use of ‘defined’ may not be portable [-Wexpansion-to-defined]
    308 | #if ICC_SUPPORT_FUNCTIONS_PRESENT && NV_SUPPORTS_PLATFORM_DEVICE
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CC [M] nvidia/nv-mmap.o
    CC [M] nvidia/nv-p2p.o
    CC [M] nvidia/nv-pat.o
    CC [M] nvidia/nv-procfs.o
    CC [M] nvidia/nv-usermap.o
    CC [M] nvidia/nv-vm.o
    CC [M] nvidia/nv-vtophys.o
    CC [M] nvidia/os-interface.o
    CC [M] nvidia/os-mlock.oCC [M] nvidia/os-pci.o
    CC [M] nvidia/os-registry.o
    CC [M] nvidia/os-usermap.o
    CC [M] nvidia/nv-modeset-interface.o
    CC [M] nvidia/nv-pci-table.o
    CC [M] nvidia/nv-kthread-q.o
    nvidia/nv-vm.c:412:11: warning: no previous prototype for ‘nv_init_page_pools’ [-Wmissing-prototypes]
    412 | NV_STATUS nv_init_page_pools(void) { return NV_OK; }
    | ^~~~~~~~~~~~~~~~~~
    nvidia/nv-vm.c:413:6: warning: no previous prototype for ‘nv_destroy_page_pools’ [-Wmissing-prototypes]
    413 | void nv_destroy_page_pools(void) {}
    | ^~~~~~~~~~~~~~~~~~~~~
    nvidia/nv-vm.c:414:14: warning: no previous prototype for ‘nv_mem_pool_alloc_pages’ [-Wmissing-prototypes]
    414 | unsigned int nv_mem_pool_alloc_pages(nv_page_pool_t *mem_pool, nv_alloc_t *at) { return 0; }
    | ^~~~~~~~~~~~~~~~~~~~~~~
    nvidia/nv-vm.c:415:11: warning: no previous prototype for ‘nv_mem_pool_free_pages’ [-Wmissing-prototypes]
    415 | NV_STATUS nv_mem_pool_free_pages(nv_page_pool_t *mem_pool, nv_alloc_t *at) { return NV_OK; }
    | ^~~~~~~~~~~~~~~~~~~~~~
    CC [M] nvidia/nv-memdbg.o
    CC [M] nvidia/nv-report-err.o
    nvidia/nv-mmap.c: In function ‘nv_vma_enter_locked’:
    nvidia/nv-mmap.c:867:24: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
    867 | NvU32 tgt_refcnt = VMA_LOCK_OFFSET;
    | ^~~~~~~~~~~~~~~
    VGA_CRTC_OFFSET
    nvidia/nv-mmap.c:867:24: note: each undeclared identifier is reported only once for each function it appears in
    nvidia/nv-mmap.c: In function ‘nv_vma_start_write’:
    nvidia/nv-mmap.c:919:9: error: too many arguments to function ‘__is_vma_write_locked’; expected 1, have 2
    919 | if (__is_vma_write_locked(vma, &mm_lock_seq))
    | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
    In file included from /usr/src/linux-headers-6.19.0-amd64/arch/x86/include/asm/uaccess.h:12,
    from /usr/src/linux-headers-6.19.0-amd64/include/linux/uaccess.h:13,
    from /usr/src/linux-headers-6.19.0-amd64/include/linux/sched/task.h:13,
    from /usr/src/linux-headers-6.19.0-amd64/include/linux/sched/signal.h:9,
    from ././common/inc/nv-lock.h:33,
    from ././common/inc/nv-linux.h:32,
    from nvidia/nv-mmap.c:27:
    /usr/src/linux-headers-6.19.0-amd64/include/linux/mmap_lock.h:282:20: note: declared here
    282 | static inline bool __is_vma_write_locked(struct vm_area_struct *vma)
    | ^~~~~~~~~~~~~~~~~~~~~
    CC [M] nvidia/nv-rsync.o
    CC [M] nvidia/nv-msi.o
    nvidia/nv-mmap.c:928:42: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
    928 | detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
    | ^~~~~~~~~~~~~~~
    | VGA_CRTC_OFFSET
    CC [M] nvidia/nv-caps.o
    CC [M] nvidia/nv-caps-imex.o
    make[4]: *** [/usr/src/linux-headers-6.19.0-amd64/scripts/Makefile.build:289: nvidia/nv-mmap.o] Error 1
    make[4]: *** Attente des tâches non terminées….
    make[3]: *** [/usr/src/linux-headers-6.19.0-amd64/Makefile:2092: .] Error 2
    make[2]: *** [/usr/src/linux-headers-6.19.0-amd64/Makefile:248: __sub-make] Error 2
    make[2] : on quitte le répertoire « /var/lib/dkms/nvidia/590.48.01/build »
    make[1]: *** [Makefile:248: __sub-make] Error 2
    make[1] : on quitte le répertoire « /usr/src/linux-headers-6.19.0-amd64 »
    make: *** [Makefile:138: modules] Error 2

    # exit code: 2
    # elapsed time: 00:00:08

    Driver nvidia/590.48.01 …..

Leave a Reply to Ciapas Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.