Skip to content

Code 43 in guest when passing through NVIDIA GPU #34

Open
@AnErrupTion

Description

@AnErrupTion

Bug Description

When following the guide over here, adapting it to passthrough a dedicated GPU, a code 43 error can be observed after installing the GPU drivers in the guest system using Device Manager.

How to Reproduce

  1. Follow the previously linked guide, ensuring that:
  • vfio-pci is correctly bound to the GPU
  • The proper memlock modifications are done in /etc/security/limits.conf
  • The proper permissions are set throughout /dev/vfio/*
  • The VFIO device is attached to the guest using --attachvfio
  1. Install the GPU drivers, here using the latest NVIDIA 560.81 drivers
  2. Reboot and observe the code 43 error (NOTE: a pretty long ~5-6 seconds freeze can also be observed when booting up the VM. I'm assuming it tries to load the NVIDIA driver but fails to do so)

VM configuration

Guest OS configuration details:

  • Guest OS type and version (e.g. Windows 10 22H2): Windows 11 23H2
  • Attach guest VM configuration file from VirtualBox VMs/<guest VM name>/<guest VM name>.vbox: Windows 11.vbox.zip

Host OS details:

  • Host OS distribution: Arch Linux
  • Host OS kernel version: Linux shininglea 6.10.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000 x86_64 GNU/Linux

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions