Does the AN515-54 (Acer Nitro 5 varient) support GPU passthrough to a VM?

MacCraker
MacCraker Member Posts: 17 Troubleshooter
edited April 2021 in Nitro Gaming
System information I copy-pasted from steam while using Nvidia driver for GPU:
Computer Information: <br>&nbsp;&nbsp;&nbsp; Manufacturer:&nbsp; Unknown <br>&nbsp;&nbsp;&nbsp; Model:&nbsp; Unknown <br>&nbsp;&nbsp;&nbsp; Form Factor: Laptop <br>&nbsp;&nbsp;&nbsp; No Touch Input Detected <br>&nbsp;<br>Processor Information: <br>&nbsp;&nbsp;&nbsp; CPU Vendor:&nbsp; GenuineIntel <br>&nbsp;&nbsp;&nbsp; CPU Brand:&nbsp; Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz <br>&nbsp;&nbsp;&nbsp; CPU Family:&nbsp; 0x6 <br>&nbsp;&nbsp;&nbsp; CPU Model:&nbsp; 0x9e <br>&nbsp;&nbsp;&nbsp; CPU Stepping:&nbsp; 0xa <br>&nbsp;&nbsp;&nbsp; CPU Type:&nbsp; 0x0 <br>&nbsp;&nbsp;&nbsp; Speed:&nbsp; 4500 Mhz <br>&nbsp;&nbsp;&nbsp; 12 logical processors <br>&nbsp;&nbsp;&nbsp; 6 physical processors <br>&nbsp;&nbsp;&nbsp; HyperThreading:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; FCMOV:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; SSE2:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; SSE3:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; SSSE3:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; SSE4a:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; SSE41:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; SSE42:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; AES:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; AVX:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; AVX2:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; AVX512F:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; AVX512PF:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; AVX512ER:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; AVX512CD:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; AVX512VNNI:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; SHA:&nbsp; Unsupported <br>&nbsp;&nbsp;&nbsp; CMPXCHG16B:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; LAHF/SAHF:&nbsp; Supported <br>&nbsp;&nbsp;&nbsp; PrefetchW:&nbsp; Unsupported <br>&nbsp;<br>Operating System Version: <br>&nbsp;&nbsp;&nbsp; Ubuntu 20.04.2 LTS (64 bit) <br>&nbsp;&nbsp;&nbsp; Kernel Name:&nbsp; Linux <br>&nbsp;&nbsp;&nbsp; Kernel Version:&nbsp; 5.8.0-45-generic <br>&nbsp;&nbsp;&nbsp; X Server Vendor:&nbsp; The X.Org Foundation <br>&nbsp;&nbsp;&nbsp; X Server Release:&nbsp; 12009000 <br>&nbsp;&nbsp;&nbsp; X Window Manager:&nbsp; Xfwm4 <br>&nbsp;&nbsp;&nbsp; Steam Runtime Version:&nbsp; steam-runtime_0.20210317.0 (this line doesn't matter)<br>&nbsp;<br>Video Card: <br>&nbsp;&nbsp;&nbsp; Driver:&nbsp; NVIDIA Corporation GeForce RTX 2060/PCIe/SSE2 <br>&nbsp;&nbsp;&nbsp; Driver Version:&nbsp; 4.6.0 NVIDIA 460.73.01 <br>&nbsp;&nbsp;&nbsp; OpenGL Version: 4.6 <br>&nbsp;&nbsp;&nbsp; Desktop Color Depth: 24 bits per pixel <br>&nbsp;&nbsp;&nbsp; Monitor Refresh Rate: 144 Hz <br>&nbsp;&nbsp;&nbsp; VendorID:&nbsp; 0x10de <br>&nbsp;&nbsp;&nbsp; DeviceID:&nbsp; 0x1f15 <br>&nbsp;&nbsp;&nbsp; Revision Not Detected <br>&nbsp;&nbsp;&nbsp; Number of Monitors:&nbsp; 1 <br>&nbsp;&nbsp;&nbsp; Number of Logical Video Cards:&nbsp; 2 <br>&nbsp;&nbsp;&nbsp; Primary Display Resolution:&nbsp; 1920 x 1080 <br>&nbsp;&nbsp;&nbsp; Desktop Resolution: 1920 x 1080 <br>&nbsp;&nbsp;&nbsp; Primary Display Size: 13.54" x 7.60" (15.51" diag) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34.4cm x 19.3cm (39.4cm diag) <br>&nbsp;&nbsp;&nbsp; Primary Bus: PCI Express 16x <br>&nbsp;&nbsp;&nbsp; Primary VRAM: 6144 MB <br>&nbsp;&nbsp;&nbsp; Supported MSAA Modes:&nbsp; 2x 4x 8x 16x &nbsp;<br>&nbsp;<br>Sound card: <br>&nbsp;&nbsp;&nbsp; Audio device: Realtek ALC255 <br>&nbsp;<br>Memory: <br>&nbsp;&nbsp;&nbsp; RAM:&nbsp; 15847 Mb <br>&nbsp;<br>VR Hardware: <br>&nbsp;&nbsp;&nbsp; VR Headset: None detected <br>&nbsp;<br>Miscellaneous: <br>&nbsp;&nbsp;&nbsp; UI Language:&nbsp; English <br>&nbsp;&nbsp;&nbsp; LANG:&nbsp; en_US.UTF-8 <br>&nbsp;&nbsp;&nbsp; Total Hard Disk Space Available:&nbsp; 238364 Mb <br>&nbsp;&nbsp;&nbsp; Largest Free Hard Disk Block:&nbsp; 98947 Mb <br>&nbsp;<br>Storage: <br>&nbsp;&nbsp;&nbsp; Number of SSDs: 0 <br>&nbsp;&nbsp;&nbsp; SSD sizes: %s1 <br>&nbsp;&nbsp;&nbsp; Number of HDDs: 0 <br>&nbsp;&nbsp;&nbsp; HDD sizes: %s1 <br>&nbsp;<br>The runtime information tool is preparing a report, please wait...

Some information:
First off, yes I have VT-X and VT-D (IOMMU) enabled in the bios.
Also, someone else tried to passthrough an RTX 2060 mobile to a VM, so the GPU supports it.
When I tried to passthrough my USB keyboard/mice that also worked.
The GPU isn't broken, if I configure the GPU to use the Nvidia driver in Linux, it will output to an external monitor.
My OS is Ubuntu 20.04 LTS
Anyways, when I was trying to passthrough my RTX 2060 to a Windows VM that way I could play windows games that no matter what wouldn't run on linux, it decided it wouldn't work. I am not sure why this is happening (I did the steps correctly), I am thinking the laptop doesn't support it. Does anyone know if the AN515-54 (or Acer Nitro 5) supports GPU passthrough?

Answers

  • Leostat
    Leostat ACE Posts: 3,043 Pathfinder
    In theory it should do, the laptop is advertised as optimus right?.

    Any errors when you pass it through, and is it blacklisted in the kernel?
  • MacCraker
    MacCraker Member Posts: 17 Troubleshooter
    It does not show any errors when passing through, and as I am a Linux novice, I don't really know what a device blacklisted in the kernel means. Information from uname -a:
    Linux aiden-Nitro-AN515-54 5.8.0-45-generic #51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Leostat
    Leostat ACE Posts: 3,043 Pathfinder
    In so in windows is it not showing at all? Here is a googd guide on checking the blacklisting :-
    https://askubuntu.com/questions/719390/blacklist-a-nvidia-gpu-for-qemu-kvm-passthrough



    And did you follow a guide to set it up :)