Hi,
I understand that could be answered in other topic but I tried all other topic didn’t resolve my problem.
I do want to run my system on the NVIDIA card and use my Radeon card on a VM.
My system seems to boot on Radeon card, switch it in VFIO as I need for my VM so all boot display disappear but not switch to the NVIDIA card.
IOMMU Group 55 4a:00.0 VGA compatible controller [0300]: NVIDIA Corporation G72 [GeForce 7350 LE] [10de:01d0] (rev a1)
uname -a:
Linux marc-Ryzen 5.11.0-18-generic #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION=“Ubuntu 21.04”
grep -r nvidia /etc/modprobe.d/* /lib/modprobe.d/*
/etc/modprobe.d/blacklist-framebuffer.conf:#blacklist nvidiafb
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
prime-select query
nvidia
xrandr --verbose
Can’t open display
dmesg | grep secureboot
[ 0.000000] secureboot: Secure boot disabled
[ 0.000000] secureboot: Secure boot disabled
sudo lshw -C display
*-display
description: VGA compatible controller
product: Lexa XT [Radeon PRO WX 3100]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:21:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=vfio-pci latency=0
resources: irq:255 memory:a0000000-afffffff memory:b0000000-b01fffff ioport:6000(size=256) memory:b1e00000-b1e3ffff memory:b1e40000-b1e5ffff
*-display UNCLAIMED
description: VGA compatible controller
product: G72 [GeForce 7350 LE]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:4a:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller cap_list
configuration: latency=0
resources: memory:e0000000-e0ffffff memory:c0000000-cfffffff memory:df000000-dfffffff memory:e1000000-e101ffff
ii libnvidia-cfg1-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-460 460.80-0ubuntu0.21.04.2 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVIDIA libcompute package
ii libnvidia-compute-460:i386 460.80-0ubuntu0.21.04.2 i386 NVIDIA libcompute package
ii libnvidia-decode-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-460:i386 460.80-0ubuntu0.21.04.2 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-460:i386 460.80-0ubuntu0.21.04.2 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-460:amd64 460.80-0ubuntu0.21.04.2 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-460:i386 460.80-0ubuntu0.21.04.2 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-460:i386 460.80-0ubuntu0.21.04.2 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-460:amd64 460.80-0ubuntu0.21.04.2 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-460:i386 460.80-0ubuntu0.21.04.2 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-compute-utils-460 460.80-0ubuntu0.21.04.2 amd64 NVIDIA compute utilities
ii nvidia-dkms-460 460.80-0ubuntu0.21.04.2 amd64 NVIDIA DKMS package
ii nvidia-driver-455 460.80-0ubuntu0.21.04.2 amd64 Transitional package for nvidia-driver-460
ii nvidia-driver-460 460.80-0ubuntu0.21.04.2 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-460 460.80-0ubuntu0.21.04.2 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-460 460.80-0ubuntu0.21.04.2 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16.1 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 460.56-0ubuntu2 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-460 460.80-0ubuntu0.21.04.2 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18build2 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-460 460.80-0ubuntu0.21.04.2 amd64 NVIDIA binary Xorg driver