Article 51W0S How to install nvidia graphic driver instead of nouveau opensource driver?

How to install nvidia graphic driver instead of nouveau opensource driver?

by
kcynice
from LinuxQuestions.org on (#51W0S)
As the topic, I want to install nvidia commercial driver. I followed the instructions from slackbuilds.org.
I checked my hardware first using command " lspci -nn -d 10de:" and got result:
PHP Code:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104BM [GeForce GTX 1080 Mobile] [10de:1be0] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)
and then, I installed some packages such as nvidia-driver, nvidia-kernel, nvidia-firmware and libxnvctrl,
and of course add nouveau driver into blacklist in /etc/modprobe.d/disable_nouveau.conf:
PHP Code:blacklist nouveau
options nouveau modeset=0
However, when I reboot, the system can't work, some system message looks like:
PHP Code:[ 7.610784] i915 0000:00:02.0: enabling device (0000 -> 0003)
[ 7.614439] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.615816] [drm] Driver supports precise vblank timestamp query.
...
[ 7.735225] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[ 7.736808] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 7.796518] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 7.845878] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
[ 7.847303] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[ 7.856127] iwlwifi 0000:45:00.0: Applying debug destination EXTERNAL_DRAM
[ 7.857600] iwlwifi 0000:45:00.0: Allocated 0x00400000 bytes for firmware monitor.
[ 7.893101] [drm] failed to retrieve link info, disabling eDP
[ 7.896771] [drm] Initialized i915 1.6.0 20190822 for 0000:00:02.0 on minor 0
[ 7.898832] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 7.916030] iwlwifi 0000:45:00.0: base HW address: b4:6b:fc:cb:32:75
[ 8.100023] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 440.44 Sun Dec 8 03:29:48 UTC 2019
...
[ 8.133660] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 8.135120] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
...
[ 8.227781] [drm] Cannot find any crtc or sizes
...
[ 8.545220] [drm] Cannot find any crtc or sizes
...
[ 8.942003] uvcvideo: Found UVC 1.00 device Integrated_Webcam_FHD (0c45:6708)
[ 8.955053] usb 1-2.3: reset high-speed USB device number 6 using xhci_hcd
[ 9.007277] input: Integrated_Webcam_FHD: Integrat as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input19
[ 9.011188] uvcvideo: Unknown video format adef8c70-71c2-4cb5-adff-8ac10f4aec4c
[ 9.013944] uvcvideo: Found UVC 1.10 device EyeChip (2104:0124)
...
Apr 8 09:40:04 acpid: client connected from 1355[0:0]
Apr 8 09:40:04 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1355[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1365[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1365[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1369[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1369[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1373[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1373[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1377[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1377[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1382[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1382[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1386[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1386[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1390[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1390[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1394[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 acpid: client 1394[0:0] has disconnected
Apr 8 09:40:05 acpid: client connected from 1398[0:0]
Apr 8 09:40:05 acpid: 1 client rule loaded
Apr 8 09:40:05 init: Id "x1" respawning too fast: disabled for 5 minutes
In fact, I can't see the message on the screen since the nvidia driver loaded(I guess from then).
I have to reboot use a usb stick to seen the log file from /var/log/message.
I want to know, what's wrong about it, why it said no crtc?
I hope some one have a successfully experience about nvidia driver. And my kernel version is 5.4.25

Thanks and best regards.latest?d=yIl2AUoC8zA latest?i=NDXh8Ghaf1U:LoLTXQx8jQk:F7zBnMy latest?i=NDXh8Ghaf1U:LoLTXQx8jQk:V_sGLiP latest?d=qj6IDK7rITs latest?i=NDXh8Ghaf1U:LoLTXQx8jQk:gIN9vFwNDXh8Ghaf1U
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments