Install video-nvidia on TTY or terminal, it stuck at the last step

When uprading my PC to 12700k+z690+3080ti, I simply put my original Manjaro disk(working with intel 8700k and 3080ti) into the new system.

when I install video nvidia on TYY or termial, it stuck at the last step.

linux60-nvidia: install reason has been set to 'explicitly installed'
linux61-nvidia: install reason has been set to 'explicitly installed'

The following is the installation verbose

Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (7) egl-wayland-2:1.1.11-2  eglexternalplatform-1.1-2  libxnvctrl-520.56.06-1  lib32-nvidia-utils-520.56.06-1  linux60-nvidia-520.56.06-13  linux61-nvidia-520.56.06-0.5  nvidia-utils-520.56.06-2

Total Installed Size:  889.55 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing eglexternalplatform...
installing egl-wayland...
installing libxnvctrl...
installing nvidia-utils...
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
Optional dependencies for nvidia-utils
    xorg-server-devel: nvidia-xconfig
    opencl-nvidia: OpenCL support
installing lib32-nvidia-utils...
Optional dependencies for lib32-nvidia-utils
    lib32-opencl-nvidia
installing linux60-nvidia...
installing linux61-nvidia...
:: Running post-transaction hooks...
(1/8) Creating system user accounts...
(2/8) Reloading system manager configuration...
(3/8) Reloading device manager configuration...
(4/8) Arming ConditionNeedsUpdate...
(5/8) Updating module dependencies...
(6/8) Updating Kernel initcpios for Nvidia-DRM...
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> Starting build: 6.0.8-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.0-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> Starting build: 6.0.8-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.0-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img
==> Starting build: 6.1.0-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: 6.1.0-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64-fallback.img
==> Image generation successful
(7/8) Reloading system bus configuration...
(8/8) Updating the desktop file MIME type cache...
nvidia-utils: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
linux60-nvidia: install reason has been set to 'explicitly installed'
linux61-nvidia: install reason has been set to 'explicitly installed'

I thought the following was the reason but not sure.
The asus z690 has secure boot state as “user” (not disable because in the bios verion 2103 there is no way to disable it, the only two states are " user", or “setup”).
The boot option I chose is “other OS” and “standard”.

Since my Manjaro disk works with video-nvidia on z370 motherboard with 3080ti, I guess it is the secure boot that caused this problem.

I checked the secure boot status with mokutil --sb-state. It said it is disabled.

running mhwd -l
i have

> 0000:01:00.0 (0300:10de:2208) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:4680) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI




check on net on how to disable secure boot on asus motherboards…
also check if the AHCI is enabled in bios
also check if its in bios mode or uefi mode, depending if you have a mbr/bios or gpt/efi

@kansas.manjar0
I don’t think your issue has anything todo with SecureBoot…
(That has only todo with being able to load the driver or not)

What i would suggest is to just uninstall the nVidea drivers, then reboot, and try to re-install them :wink:

the install stuck so I terminated it and have to uninstalled the package in pacman gui.
because

~ >>> sudo mhwd -r  pci video-nvidia              
Error: config 'video-nvidia' is not installed!

if I reinstall it I will stuck again the same way.
The nv card works fine on a new manjaro installed on this PC, so probably secure boot doesn’t play a role here.

thanks,
The z690 tuf gaming don’t have “disable” option anymore it only has “setup” and " user". I checked my secure boot status on linux it says it is disabled.
it seems there is no AHCI item in my bios.
I have gpt/efi. I am in the uefi mode.

how is the nvidia connected? via cable or directly to the motherboard?
but you can boot normally with the intel one?

try adding the ibt parameter:
kate /etc/default/grub
and in this line: GRUB_CMDLINE_LINUX_DEFAULT inside the quotes add this parameter:
ibt=off
dont remove anything from there!, just add it to existing parameters, save the file, update grub:
sudo update-grub
reboot

1 Like

Thanks for the guidance.
without Nvidia driver, both igpu or 3080 gpu work. I can boot into the desktop.
I found I can successfully install video-nvidia if I disable “mulple monitor support” in igpu setting of bios then install nvidia drive in TTY.
After installed Nvidia driver (successfully or stuck at the last step), neither igpu nor 3080 gpu works. I cannot boot into the desktop. The system will be stuck at verbose screen.
The gpu was plugged on the mb directly not via a cable.
I will try the method you mentioned. Thanks a lot!

It worked. You are incredible! You found a solution with such a vague description I give. I was thinking about reinstalling everything. Ok, the following is what I did according to brahma’s guide.

sudo nano /etc/default/grub

and in this line: GRUB_CMDLINE_LINUX_DEFAULT inside the quotes add this parameter:
ibt=off

sudo update-grub
reboot into the system
sudo mhwd -i pci video-nvidia
This is it. Now the drive installation won’t stuck at the last step.

Also now I can’t not see the intel igpu anymore in the hardware detection. I guess the ibt=off disable the igpu?
The z690 with 12700 doesn’t have an option in the bios anymore to disable igpu, if with that option maybe I can simply disable it to solve the problem. I tested again and find that the “igpu multiple monitor” "disabled " is in fact “disable” option for igpu.

the ibt doesnt disable the igpu…
and you have hybrid drivers, so i dont know why you didnt install them…
it looks like the igpu was disabled in bios automatically…
post output from:
mhwd -l -li

I will try both environments.
This is what I got when I

  1. enable “mulple monitor support” in igpu setting of bios
  2. and boot with just one monitor connected with the igpu
  3. then plug in another monitor into 3080
    Two GPUs works simultaneously!(I read before that open sourse and nvidia drive won’t work simultaneously, and i believed it. and when I have Z370 and intel 8700k only one gpu will work, so can’t have all the monitor working with two gpu simultaneously)

If I boot with monitor connected with the 3080 gpu with “mulple monitor support” in igpu setting of bios. I be stuck in the login loops with my account, but I can login with root.

I will add another post about what I got when I disable “mulple monitor support” in igpu setting of bios and boot with just one monitor connected with the 3080 gpu.

~ >>> mhwd -l -li                                                                            
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
          video-nvidia            2021.11.04               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:2208) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:4680) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

This is display info

~ >>> lshw -c video                                                                                                                                              
WARNING: you should run this program as super-user.
  *-display                 
       description: VGA compatible controller
       product: GA102 [GeForce RTX 3080 Ti]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: iomemory:600-5ff iomemory:600-5ff irq:188 memory:84000000-84ffffff memory:6000000000-600fffffff memory:6010000000-6011ffffff ioport:6000(size=128) memory:85000000-8507ffff
  *-display
       description: VGA compatible controller
       product: AlderLake-S GT1
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: iomemory:600-5ff iomemory:400-3ff irq:164 memory:6014000000-6014ffffff memory:4000000000-400fffffff ioport:7000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

both gpus are detected, and you dont have installed proper drivers…
remove nvidia:
sudo mhwd -r pci video-nvidia
and install the proper ones:
sudo mhwd -a pci nonfree 0300
reboot

Thanks.
I did that and the video nvdia is not installed anymore, with sudo mhwd -a pci nonfree 0300 only video-hybrid-intel-nvidia-prime was installed. It feels the graphic is not as smooth as the case where I disable igpu, use video-nvidia as the driver.

~ >>> mhwd -li -l                                                                                                  
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:2208) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:4680) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI



if you want to switch to nvidia only, install envycontrol:
pamac build envycontrol
when its done, switch to nvidia:
sudo envycontrol -s nvidia
it will prompt you for reboot, so do it, and you should now be on nvidia only

Thanks a lot. I see now; the video-hybrid-intel-nvidia-prime include the video nvideo already so I can install only one of the two; video-nvidia or video-hybrid-intel-nvidia-prime .

im not sure you can install on hybrid setup only the video nvidia without any issues…
you could install video-nvidia, if you disable the igpu from bios…

1 Like

Thank!! you are right excatly. I disabled igpu so now mhwd only detected 3080 nvdia gpu.
I uninstalled hybrid driver and installed video nvidia. Now i am using all the monitors on the 3080.

I found the graphic is not smooth on both monitors when using both igpu and nv gpu to power my monitor. Is it supposed to be not smooth as a single nv gpu? Or it is because i didnt set up nvdia setting or screens well(they both shows 60hz but it feels it has more shudder)?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.