NVIDIA graphics card failed to initialized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I install NVIDIA driver in ubuntu 16.04, get the error message: Unable to load the 'nvidia-drm' kernel module
Some error in dmsg:
[ 155.904924] nvidia 0000:02:00.0: Refused to change power state, currently in D3
[ 155.905012] NVRM: This is a 64-bit BAR mapped above 4GB by the system
[ 155.905012] NVRM: This may be due to a known Linux kernel bug. Please
[ 155.905015] nvidia: probe of 0000:02:00.0 failed with error -1
[ 155.905034] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 155.905035] NVRM: None of the NVIDIA graphics adapters were initialized!
Some error in dmsg for "pci 0000:02:00.0"
[ 0.264074] pci 0000:02:00.0: [10de:1c8c] type 00 class 0x030200
[ 0.264082] pci 0000:02:00.0: reg 0x10: [mem 0xd1000000-
[ 0.264090] pci 0000:02:00.0: reg 0x14: [mem 0xa0000000-
[ 0.264097] pci 0000:02:00.0: reg 0x1c: [mem 0xb0000000-
[ 0.264102] pci 0000:02:00.0: reg 0x24: [io 0xd000-0xd07f]
[ 0.264107] pci 0000:02:00.0: reg 0x30: [mem 0xfff80000-
[ 0.384960] pci 0000:02:00.0: can't claim BAR 6 [mem 0xfff80000-
[ 0.385040] pci 0000:02:00.0: BAR 6: no space for [mem size 0x00080000 pref]
[ 0.385041] pci 0000:02:00.0: BAR 6: failed to assign [mem size 0x00080000 pref]
it seems that the NVIDIA card doesn't get the memory the bios tells the kernel it wants, it gets remapped and then the drivers fails.
My machine is ThinkPad S5 (with NVIDIA GTK 1050 Ti), I have disabled the secure boot in the BIOS.
output of lspci:
02:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8c] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
---
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2018-01-09 (0 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b5c0 Chicony Electronics Co., Ltd
Bus 001 Device 004: ID 0bda:b023 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 17ef:6093 Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20JA0000CD
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.157.14
Tags: xenial
Uname: Linux 4.10.0-42-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/13/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: R0MET36W (1.13 )
dmi.board.
dmi.board.name: 20JA0000CD
dmi.board.vendor: LENOVO
dmi.board.version: SDK0K09938 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20JA0000CD
dmi.product.
dmi.sys.vendor: LENOVO
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1742112
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.