XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    iGPU PCI passthrough: new experimental packages need testers

    Scheduled Pinned Locked Moved Hardware
    15 Posts 3 Posters 122 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yannsionneau Vates 🪐 XCP-ng Team @yannsionneau
      last edited by

      Another possibility for you would be to yum downgrade qemu and the xapi packages, everything except edk2 and try again.

      O 1 Reply Last reply
      Reply Quote 0
      • O
        ovicz @yannsionneau
        last edited by

        @yannsionneau cd /sys/bus/pci/devices/0000:00:02.0/
        [11:55 xcp-ng-akz 0000:00:02.0]# echo 1 > rom
        [11:55 xcp-ng-akz 0000:00:02.0]# cat rom > /root/vbios.bin
        cat: rom: Input/output error
        [11:55 xcp-ng-akz 0000:00:02.0]# echo 0 > rom

        1 Reply Last reply
        Reply Quote 0
        • O
          ovicz @yannsionneau
          last edited by

          @yannsionneau Reverted to stable and I upgraded only that package from your repo. VMs start now. At what should i look for now ?

          Y O 2 Replies Last reply
          Reply Quote 0
          • Y
            yannsionneau Vates 🪐 XCP-ng Team @ovicz
            last edited by yannsionneau

            @ovicz with the new edk2 package it should help your VM access the vbios in the rom bar.
            Does the VM see the gpu?
            Can you share the VM dmesg as attached file?
            Also, are you trying to passthrough a sriov virtual function? or the entire physical gpu?
            Thanks

            1 Reply Last reply
            Reply Quote 0
            • O
              ovicz @ovicz
              last edited by

              Yes it does see it.
              dmesg.txt
              Passthrough was working and without that file from your repo.

              Y 1 Reply Last reply
              Reply Quote 0
              • Y
                yannsionneau Vates 🪐 XCP-ng Team @ovicz
                last edited by

                @ovicz It seems your gpu works even without vbios since in your dmesg I can see

                [    7.424250] i915 0000:00:08.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
                [    7.424259] i915 0000:00:08.0: [drm] Failed to find VBIOS tables (VBT)
                

                So you're saying that anyway your setup was working even without all those new packages?
                Thanks for testing anyway!

                O 1 Reply Last reply
                Reply Quote 0
                • O
                  ovicz @yannsionneau
                  last edited by

                  @yannsionneau Yes it works with the stock packages.

                  Y 1 Reply Last reply
                  Reply Quote 0
                  • Y
                    yannsionneau Vates 🪐 XCP-ng Team @ovicz
                    last edited by

                    @ovicz Thanks a lot for the feedbacks and tests 🙂

                    O 1 Reply Last reply
                    Reply Quote 0
                    • O
                      ovicz @yannsionneau
                      last edited by

                      @yannsionneau No problem.

                      S 1 Reply Last reply
                      Reply Quote 0
                      • S
                        steff22 @ovicz
                        last edited by steff22

                        Yes it works 😀 Thank you very much, great job 😀

                        Tested on Ryzen 9 9950X / AMD Raphael iGPU Tested the new experimental iGPU passthrough packages. - CPU: AMD Ryzen 9 9950X - iGPU: AMD Raphael (1002:13c0) - XCP-ng: 8.3 -

                        Guest: Bazzite AMD - VBIOS: extracted from the ACPI VFCT and supplied as /root/vbios.bin - iGPU passthrough: working - AMD amdgpu driver: working - Physical HDMI output: working - Bazzite desktop displayed successfully on the physical HDMI port. Ubuntu 24.04.2 was able to initialize the GPU and Vulkan/RADV detected the Raphael iGPU, but the HDMI output went black when the graphical desktop started. Bazzite worked and provided a stable display output. So on my Ryzen 9 9950X, the experimental packages appear to successfully enable Raphael iGPU passthrough and physical HDMI output.

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post