sorry for the late answer. I had the problem with opensuse tumbleweed - probably this issue is related to something of the kernel and/or X customizations they do or the contents of the packages they build.
I don’t have the chance anymore to test this as i’ve sold all of my Optimus Laptops meanwhile. I can check with the one from my sister. But this take time as I don’t see her that much.
I did not yet re-test with a newer driver version, though, but I presume the behaviour will be the same.
It for sure is also reproducible without bumblebee, as described in that post.
Judging from dmesg, you missed important points of the reproduction steps, for two reasons:
My steps don’t even require bumblebee / bbswitch to reproduce the issue. The issue most commonly appears in bumblebee-scenarios, but you can reproduce completely without it.
From dmesg, I see:
[ 30.572428] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 30.576379] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
So when you loaded bbswitch, the nvidia module was already loaded by some automatic system (udev? nvidia-persistenced?), which indicates it was not blacklisted.
The easiest way to reproduce, to quote myself:
So to reproduce, please try to boot the system without loading the nvidia module or using the nvidia card at all.
Only when the system has finished booting, try “modprobe nvidia”.
Just to make sure, did you check that
dmidecode -t bios | grep -i Release
returns a string ending with “2015”, and which kernel version did you use?
I’ll do that, likely later today, latest tomorrow.
First, I did all tests with kernel version 4.10.1,
and leaving BIOS settings unchanged (i.e. pcie_aspm still on). Here the results:
nvidia driver version | result with pcie_port_pm not set explicitly | result with pcie_port_pm=off
378.13 (patched for 4.10) | failure to detect card | works fine
375.39 (patched for 4.10) | failure to detect card | works fine
381.09 (unpatched) | failure to detect card | works fine
Please note that with 381.09, the syslog has become more expressive in case of failure:
[ 23.364573] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[ 23.364760] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 23.364848] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:139b) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 23.364877] nvidia: probe of 0000:01:00.0 failed with error -1
[ 23.364890] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 23.364890] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 23.364955] nvidia-nvlink: Unregistered the Nvlink Core, major device number 244
[ 23.399149] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[ 23.399487] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:139b) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 23.399528] nvidia: probe of 0000:01:00.0 failed with error -1
[ 23.399540] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 23.399540] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 23.399625] nvidia-nvlink: Unregistered the Nvlink Core, major device number 244
In case of success:
[ 21.510886] nvidia: module license 'NVIDIA' taints kernel.
[ 21.510888] Disabling lock debugging due to kernel taint
[ 21.518876] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[ 21.519184] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 21.519356] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 381.09 Thu Mar 30 20:07:40 PDT 2017 (using threaded interrupts)
Now I tried the following configurations, all with 381.09 on kernel 4.10.1:
BIOS ASPM setting | pcie_aspm kernel parameter | pcie_port_pm parameter | result
on (all ports + DMI) | off | (unset) | failure to detect card
on (all ports + DMI) | force (i.e. "force on") | (unset) | failure to detect card
ASPM support disabled for all ports and DMI | (unset) | (unset) | failure to detect card
To my feeling, this problem is fully unrelated to ASPM, but only related to PCIe port power management.
If there are other combinations you’d like to see, just let me know.
Hi All,
Did you test with latest 375.66 and 381.22 ? If issue still reproduce please share detail issue reproduction steps, nvidia bug report as soon as issue hit, The model of affected system. Note we are still not able to reproduce this issue so please provide as mush as detail info so we can reproduce this issue?
Still running into this issue on Kubuntu 17.04. The same driver (375.66) on 16.04 works fine however (I still have the old system running side by side)
booting the kernel with pcie_port_pm=off however resolves this issue.
Linux matteo-kubuntu 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Hi ma2teo,
Please share detail issue reproduction steps, the nvidia bug report log file as soon as issue hit, The model of affected system. Please provide as mush as detail info so we can reproduce this issue?
Install Kubuntu 17.04, maybe Vanilla Ubuntu will work too
Install the nvidia-375 driver from any source (apt-get is sufficient)
Reboot and look into the logs. As reported above the nvidia driver will not be able to start
Add pcie_port_pm=off to the Kernel boot options and it will boot as expected with the driver loading and being capable of selecting the nvidia graphics with prime-select.
ALso nvidia bug report of the system on which issue reproduce?
Not possible because the driver is not even loaded (and thus I could not execute nvidia-bug-report.sh under Ubuntu).
What is the model of the system in which issue reproduce ?
Dell XPS 15 9550
Is OS need to be installed in UEFI mode?
No
Is the issue reproduce on other distros like Ubuntu, Fedora etc, OR its specific to Gentoo?
No idea but it is specific to 17.04 / the 4.10 kernel series. Under 16.04 it works fine.
Is the kernel built with any custom config?
No
Also I just noticed that the installation seems to have failed - I will append the log. Note that I reinstalled the driver several times. This might no be the root cause but rather by induced by one of the installations failing.
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jul 2 15:41:34 2017
installer version: 375.66
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
nvidia-installer command line:
./nvidia-installer
Unable to load: nvidia-installer ncurses v6 user interface
Using: nvidia-installer ncurses user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> License accepted.
-> Installing NVIDIA driver version 375.66.
-> Running distribution scripts
executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes)
-> Will install GLVND GLX client libraries.
-> Will install GLVND EGL client libraries.
-> Skipping GLX non-GLVND file: "libGL.so.375.66"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.375.66"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
-> Skipping GLX non-GLVND file: "./32/libGL.so.375.66"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "./32/libEGL.so.375.66"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh
executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'...
Checking for libglvnd installation.
Checking libGLdispatch...
Can't load library libGLdispatch.so.0: libGLdispatch.so.0: cannot open shared object file: No such file or directory
Will install libglvnd libraries.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (375.66):
executing: '/sbin/ldconfig'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
-> done.
ERROR: Unable to load the 'nvidia-drm' kernel module.
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.
>>ALso nvidia bug report of the system on which issue reproduce?
Not possible because the driver is not even loaded (and thus I could not execute nvidia-bug-report.sh under Ubuntu).
You can run this script if driver installed in os. Not necessary that driver should be loaded.
>>Also I just noticed that the installation seems to have failed - I will append the log. Note that I reinstalled the driver several times. This might no be the root cause but rather by induced by one of the installations failing.
You driver installation is is not correct. Please fix it first.
Fedora 26 with kernel 4.11.10-300 still has the same issue.
System Information
Manufacturer: Dell Inc.
Product Name: Precision 7510
Base Board Information
Manufacturer: Dell Inc.
Product Name: 0M91XC
Version: A00
BIOS Information
Vendor: Dell Inc.
Version: 1.13.6
Release Date: 06/21/2017
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jul 19 18:51:01 2017
installer version: 375.66
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
nvidia-installer command line:
./nvidia-installer
--accept-license
--silent
--no-x-check
--no-nouveau-check
--no-recursion
--opengl-libdir=lib64/nvidia-bumblebee
--opengl-prefix=/usr
--x-library-path=lib64/nvidia-bumblebee
--x-prefix=/usr
--x-module-path=/usr/lib64/nvidia-bumblebee/xorg/modules
--no-libglx-indirect
--no-install-libglvnd
--no-glvnd-glx-client
--no-glvnd-egl-client
Using built-in stream user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1106' of a runnning X server.
-> Continuing per the '--no-x-check' option.
-> License accepted by command line option.
-> Installing NVIDIA driver version 375.66.
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.11.10-300.fc26.x86_64/source'
-> Kernel output path: '/lib/modules/4.11.10-300.fc26.x86_64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; /usr/bin/make -k -j8 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.11.10-300.fc26.x86_64/source" SYSOUT="/lib/modules/4.11.10-300.fc26.x86_64/build"'...
rm -f -r conftest
/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.11.10-300.fc26.x86_64/source M=/tmp/NVIDIA-Linux-x86_64-375.66/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.11.10-300.fc26.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video clean
make[1]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
make[2]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
make[2]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
make[1]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
-> Building kernel modules
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.11.10-300.fc26.x86_64/source" SYSOUT="/lib/modules/4.11.10-300.fc26.x86_64/build"'...
/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.11.10-300.fc26.x86_64/source M=/tmp/NVIDIA-Linux-x86_64-375.66/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.11.10-300.fc26.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
make[2]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
SYMLINK /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: remap_pfn_range
CONFTEST: hash__remap_4k_pfn
CONFTEST: follow_pfn
CONFTEST: vmap
CONFTEST: set_pages_uc
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: change_page_attr
CONFTEST: pci_get_class
CONFTEST: pci_choose_state
CONFTEST: vm_insert_page
CONFTEST: acpi_device_id
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: kmem_cache_create
CONFTEST: on_each_cpu
CONFTEST: smp_call_function
CONFTEST: acpi_evaluate_integer
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: pci_domain_nr
CONFTEST: pci_dma_mapping_error
CONFTEST: sg_alloc_table
CONFTEST: sg_init_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: efi_enabled
CONFTEST: proc_create_data
CONFTEST: pde_data
CONFTEST: proc_remove
CONFTEST: pm_vt_switch_required
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: write_cr4
CONFTEST: of_parse_phandle
CONFTEST: for_each_online_node
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: request_threaded_irq
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: remap_page_range
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: fatal_signal_pending
CONFTEST: list_cut_position
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: drm_atomic_set_mode_for_crtc
CONFTEST: drm_atomic_clean_old_fb
CONFTEST: get_user_pages_remote
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_free
CONFTEST: i2c_adapter
CONFTEST: pm_message_t
CONFTEST: irq_handler_t
CONFTEST: acpi_device_ops
CONFTEST: acpi_op_remove
CONFTEST: outer_flush_all
CONFTEST: proc_dir_entry
CONFTEST: scatterlist
CONFTEST: sg_table
CONFTEST: file_operations
CONFTEST: vm_operations_struct
CONFTEST: atomic_long_type
CONFTEST: pci_save_state
CONFTEST: file_inode
CONFTEST: task_struct
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: dma_map_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_present
CONFTEST: vm_fault_has_address
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: mm_context_t
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_functions_have_name_arg
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_mode_config_funcs_has_atomic_state_alloc
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: drm_available
CONFTEST: nvidia_grid_build
CONFTEST: drm_atomic_available
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-gvi.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-i2c.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mempool.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mmap.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-p2p.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pat.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-procfs.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-usermap.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vm.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-interface.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-mlock.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-pci.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-registry.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-usermap.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pci-table.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q-selftest.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv_uvm_interface.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/ebridge_linux.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/ibmnpu_linux.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_pci.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_utils.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_stubs.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_kepler.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_pascal.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/nv-kthread-q.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_kernel_events.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_kernel_counters.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_debug_session.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_mmu_mgmt_pascal.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_mmu_mgmt.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_mmu_mgmt_stubs.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_full_fault_buffer.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/mmu_fmt.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/gmmu_fmt.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tools.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_global.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_procfs.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_space.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mem.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_rm_mem.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_channel.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_lock.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_hal.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_tree.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_allocator.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_range.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_block.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_group.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu_page_fault.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_events.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_module.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mmu.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pte_batch.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tlb_batch.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_push.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pushbuffer.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_thread_context.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tracker.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler_ce.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler_host.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler_mmu.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_maxwell.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_maxwell_host.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_ce.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_host.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_mmu.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_policy.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_utils.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kvmalloc.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pmm_gpu.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_migrate.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_map_external.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_user_channel.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_hmm.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_heuristics.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_thrashing.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_prefetch.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_test_rng.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_tree_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_allocator_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mem_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_rm_mem_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_page_tree_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tracker_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_push_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_channel_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_ce_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_lock_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_utils_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pmm_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_events_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_module_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mmu_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_block_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nvidia-modeset-linux.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-drv.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-connector.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-modeset.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-mmap.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-linux.o
CC [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nv-pci-table.o
ld -r -o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-gvi.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-i2c.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mempool.o /tm
p/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mmap.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-p2p.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pat.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-procfs.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-usermap.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vm.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vtophys.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-mlock.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-pci.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-registry.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-usermap.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-modeset-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pci-table.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q-selftest.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv_uvm_interface.o /tmp/NVIDIA-L
inux-x86_64-375.66/kernel/nvidia/ebridge_linux.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/ibmnpu_linux.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_linux.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_pci.o
ld -r -o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nvidia-modeset-linux.o
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia.o
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm.o
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset.o
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm.o
Building modules, stage 2.
MODPOST 4 modules
CC /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm.mod.o
CC /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset.mod.o
CC /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm.mod.o
CC /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia.mod.o
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia.ko
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset.ko
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm.ko
LD [M] /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm.ko
make[2]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
make[1]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: No such device
-> Kernel messages:
[ 40.690537] VFIO - User Level meta-driver version: 0.3
[ 40.701891] nvidia: module license 'NVIDIA' taints kernel.
[ 40.701893] Disabling lock debugging due to kernel taint
[ 40.708201] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 40.708227] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:13b0)
NVRM: installed in this system is not supported by the 375.66
NVRM: NVIDIA Linux driver release. Please see 'Appendix
NVRM: A - Supported NVIDIA GPU Products' in this release's
NVRM: README, available on the Linux driver download page
NVRM: at www.nvidia.com.
[ 40.708235] nvidia: probe of 0000:01:00.0 failed with error -1
[ 40.708251] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 40.708266] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 40.708267] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 40.708268] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
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.
Hi arcivanov, Can I get nvidia bug report as soon as issue hit? also attach output of rpm -qa . Just installation of driver hit this issue or need to do any other configuration?
[193852.341932] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[193852.342263] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[193852.342285] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:13b0) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[193852.342292] nvidia: probe of 0000:01:00.0 failed with error -1
[193852.342308] NVRM: The NVIDIA probe routine failed for 1 device(s).
[193852.342308] NVRM: None of the NVIDIA graphics adapters were initialized!
[193852.342396] nvidia-nvlink: Unregistered the Nvlink Core, major device number 236
@sandipt For some reason, laptops starting with Skylake (including Kabylake) shipping with GTX 9xxM/10xx GPUs have an issue were runtime power management fails to restore power to the Nvidia device.
On such laptops, you can reproduce the problem by installing (an older version of) TLP, laptop-mode-tools, use powertop, etc. Essentially it boils down to the following commands that enable runtime PM for the Nvidia GPU (01:00.0) and its parent PCIe Root Port (00:01.0 for my laptop):
echo auto > /sys/bus/pci/devices/0000:01:00.0/power/control
echo auto > /sys/bus/pci/devices/0000:00:01.0/power/control
The problem can be observed with Linux kernel version 4.8 and newer which would remove power when the parent PCIe port and its children are idle.