Then reboot your system and repeat the STEP 8. $ sudo apt-get install -reinstall xserver-xorg-core $ sudo apt-get install -reinstall libgl1-mesa-glx libgl1-mesa-dri $ sudo apt-get install xserver-xorg-video-all $ sudo apt-get install xserver-xorg-video-nouveau $ sudo apt-get remove -purge xserver-xorg-video-nv $ sudo apt-get remove -purge xserver-xorg-video-nouveau Here is a recipe which removes all old video drivers, and reinstalls nouveau: $ sudo nvidia-settings -uninstall You need to remove all old video drivers. Your system uses NVIDIA Proprietary Drivers. Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia If You see text "Kernel driver in use: nvidia" like below: 01:00.0 VGA compatible controller : NVIDIA Corporation TU117 (rev a1) Memory at df080000 (32-bit, non-prefetchable) Device įlags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 1 Subsystem: Micro-Star International Co., Ltd. Memory at d0000000 (64-bit, prefetchable) Įxpansion ROM at 000c0000 Ġ1:00.1 Audio device : NVIDIA Corporation Device (rev a1) Memory at c0000000 (64-bit, prefetchable) Memory at de000000 (32-bit, non-prefetchable) TU117 įlags: bus master, fast devsel, latency 0, IRQ 151, IOMMU group 1 You should see text like below: 01:00.0 VGA compatible controller : NVIDIA Corporation TU117 (rev a1) (prog-if 00 ) DMAR: Intel(R) Virtualization Technology for Directed I/O pci 0000:0a:00.0: Adding to iommu group 2 You should see message like below: pci 0000:09:00.0: Adding to iommu group 1 Check that IOMMU is enabled $ sudo dmesg | grep -i -e DMAR -e IOMMU Update GRUB $ sudo grub-mkconfig -o /boot/grub/grub.cfg Enable IOMMU $ sudo nano /etc/default/grubĪdd the following options to GRUB_CMDLINE_LINUX_DEFAULT=""įor AMD processor: amd_iommu=on kvm.ignore_msrs=1įor Intel processor: intel_iommu=on kvm.ignore_msrs=1 You should see the highlighted text svm or vmx. Check for IOMMU Support on your CPUįor AMD processor: $ cat /proc/cpuinfo | grep -color svmįor Intel processor: $ cat /proc/cpuinfo | grep -color vmx Set the BIOS to use the Integrated Graphics as the primary boot deviceĪttention! If you boot the system with designed for passthrough PCI-Express Graphics Device, error code 43* will appear. Enable Hardware-assisted virtualization in the BIOSįor Intel based system enable Intel Virtualization Tech (VT-x) and Intel VT-D Tech See list of IOMMU-supporting hardware (list may not be complete).Īlso You will need 8GB RAM for operating system (OS) and 8GB RAM for guest machine, the 16GB RAM may significantly increase your HDD's or SSD's performance and lifetime. Monitor with two inputs like Displayport, D-SUB, DVI, HDMI or switcher box with monitor or two monitors.ĬPU with AMD-V, AMD-Vi and Integrated Graphics Motherboard with Integrated Graphics (for manipulations)ĬPU with VT-x, VT-d and Processor Graphicsĭiscrete Graphics Card with GPU passthrough support (for passthrough) HARDWARE SPECIFICATION REQUIRED FOR THIS GUIDE Please read the text carefully before you start system changes. This guide was tested on Ubuntu 22.04 LTS, 22.10 with Nouveau driver and the following system configuration:Īttention! This guide is only relevant for Nouveau driver. GPU PASSTHROUGH GUIDE FOR UBUNTU 22.04 LTS, 22.10
0 Comments
Leave a Reply. |