Jump to content

radeon 6800xt


Recommended Posts

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>ShadowPC</name>
  <uuid>9b8e2ed3-401e-54af-5c9b-5644bed40033</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-7.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/9b8e2ed3-401e-54af-5c9b-5644bed40033_VARS-pure-efi-tpm.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv mode='custom'>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='2' threads='2'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/Win11_English_x64v1.iso'/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/virtio-win-0.1.221-1.iso'/>
      <target dev='hdb' bus='sata'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows 11/vdisk1.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x14'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:d8:49:1d'/>
      <source bridge='br0'/>
      <model type='virtio-net'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <tpm model='tpm-tis'>
      <backend type='emulator' version='2.0' persistent_state='yes'/>
    </tpm>
    <audio id='1' type='none'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/Storage/Gigabyte.RX6800XT.16384.201112.rom'/>
      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
</domain>

This is what i have for my VM cant seem to get the 6800xt passed through. 

 

I have updated my syslinux with below

 

default menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label Unraid OS
  menu default
  kernel /bzimage
  append pcie_acs_override=downstream,multifunction video=vesafb:off video=efifb:off initrd=/bzroot
label Unraid OS GUI Mode
  kernel /bzimage
  append initrd=/bzroot,/bzroot-gui
label Unraid OS Safe Mode (no plugins, no GUI)
  kernel /bzimage
  append initrd=/bzroot unraidsafemode
label Unraid OS GUI Safe Mode (no plugins)
  kernel /bzimage
  append initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
  kernel /memtest

 

i believe i have binded the the think correctly

 

IOMMU group 18:[1002:73bf] 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c1)

IOMMU group 19:[1002:ab28] 07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller

 

Binding...
Successfully bound the device 1002:73bf at 0000:07:00.0 to vfio-pci
---
Processing 0000:07:00.1 1002:ab28
Vendor:Device 1002:ab28 found at 0000:07:00.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:07:00.1/iommu_group/devices/0000:07:00.1

Binding...
Successfully bound the device 1002:ab28 at 0000:07:00.1 to vfio-pci
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:
lrwxrwxrwx 1 root root    0 Nov  6 05:01 0000:07:00.0 -> ../../../../devices/pci0000:00/0000:00:03.1/0000:05:00.0/0000:06:00.0/0000:07:00.0
lrwxrwxrwx 1 root root    0 Nov  6 05:01 0000:07:00.1 -> ../../../../devices/pci0000:00/0000:00:03.1/0000:05:00.0/0000:06:00.0/0000:07:00.1

 

This is the error im getting in the logs

2022-11-06T05:02:43.085731Z qemu-system-x86_64: vfio_region_write(0000:07:00.0:region0+0x41e51, 0x0,1) failed: Device or resource busy
2022-11-06T05:02:43.085737Z qemu-system-x86_64: vfio_region_write(0000:07:00.0:region0+0x41e52, 0x0,1) failed: Device or resource busy
2022-11-06T05:02:43.085744Z qemu-system-x86_64: vfio_region_write(0000:07:00.0:region0+0x41e53, 0x0,1) failed: Device or resource busy
2022-11-06T05:02:43.085750Z qemu-system-x86_64: vfio_region_write(0000:07:00.0:region0+0x41e54, 0x0,1) failed: Device or resource busy
2022-11-06T05:02:43.085757Z qemu-system-x86_64: vfio_region_write(0000:07:00.0:region0+0x41e55, 0x0,1) failed: Device or resource busy

 

 

Can anyone give me some guidance. 

Link to comment

0000000-00000fff : Reserved
00001000-0008ffff : System RAM
00090000-00090fff : Reserved
00091000-0009ffff : System RAM
000a0000-000fffff : Reserved
  00000000-00000000 : PCI Bus 0000:00
  000a0000-000dffff : PCI Bus 0000:00
  000f0000-000fffff : System ROM
00100000-09dfefff : System RAM
  04000000-04a01e07 : Kernel code
  04c00000-04fc1fff : Kernel rodata
  05000000-051a13ff : Kernel data
  05617000-057fffff : Kernel bss
09dff000-09ffffff : Reserved
0a000000-0a1fffff : System RAM
0a200000-0a20dfff : ACPI Non-volatile Storage
0a20e000-0affffff : System RAM
0b000000-0b01ffff : Reserved
0b020000-aaad6fff : System RAM
aaad7000-aaad7fff : Reserved
aaad8000-aab22fff : System RAM
aab23000-aab23fff : Reserved
aab24000-b4ea2017 : System RAM
b4ea2018-b4ebfe57 : System RAM
b4ebfe58-b4ec0017 : System RAM
b4ec0018-b4ecd867 : System RAM
b4ecd868-c6182fff : System RAM
c6183000-c654ffff : Reserved
c6550000-c90fffff : System RAM
c9100000-c9100fff : Reserved
c9101000-ca38afff : System RAM
ca38b000-ca738fff : Reserved
  ca718000-ca71bfff : MSFT0101:00
    ca718000-ca71bfff : MSFT0101:00
  ca71c000-ca71ffff : MSFT0101:00
    ca71c000-ca71ffff : MSFT0101:00
ca739000-ca896fff : ACPI Tables
ca897000-caf5afff : ACPI Non-volatile Storage
caf5b000-cbbfefff : Reserved
cbbff000-ccffffff : System RAM
cd000000-cfffffff : Reserved
d0000000-fcffffff : PCI Bus 0000:00
  f0000000-f7ffffff : PCI MMCONFIG 0000 [bus 00-7f]
    f0000000-f7ffffff : Reserved
      f0000000-f7ffffff : pnp 00:00
  fc700000-fc9fffff : PCI Bus 0000:09
    fc700000-fc7fffff : 0000:09:00.3
      fc700000-fc7fffff : xhci-hcd
    fc800000-fc8fffff : 0000:09:00.1
      fc800000-fc8fffff : ccp
    fc900000-fc907fff : 0000:09:00.4
    fc908000-fc909fff : 0000:09:00.1
      fc908000-fc909fff : ccp
  fca00000-fccfffff : PCI Bus 0000:05
    fca00000-fcbfffff : PCI Bus 0000:06
      fca00000-fcbfffff : PCI Bus 0000:07
        fca00000-fcafffff : 0000:07:00.0
        fcb00000-fcb1ffff : 0000:07:00.0
        fcb20000-fcb23fff : 0000:07:00.1
    fcc00000-fcc03fff : 0000:05:00.0
  fcd00000-fcefffff : PCI Bus 0000:02
    fcd00000-fcdfffff : PCI Bus 0000:03
      fcd00000-fcdfffff : PCI Bus 0000:04
        fcd00000-fcd0ffff : 0000:04:00.0
          fcd00000-fcd0ffff : r8169
        fcd10000-fcd13fff : 0000:04:00.0
    fce00000-fce7ffff : 0000:02:00.1
    fce80000-fce9ffff : 0000:02:00.1
      fce80000-fce9ffff : ahci
    fcea0000-fcea7fff : 0000:02:00.0
      fcea0000-fcea7fff : xhci-hcd
  fcf00000-fcffffff : PCI Bus 0000:01
    fcf00000-fcf03fff : 0000:01:00.0
      fcf00000-fcf03fff : nvme
    fcf04000-fcf05fff : 0000:01:00.0
      fcf04000-fcf05fff : nvme
fd200000-fd2fffff : Reserved
  fd200000-fd2fffff : pnp 00:01
    fd210510-fd21053f : MSFT0101:00
fd500000-fd57ffff : amd_iommu
fd600000-fd7fffff : Reserved
fea00000-fea0ffff : Reserved
feb80000-fec01fff : Reserved
  fec00000-fec003ff : IOAPIC 0
  fec01000-fec013ff : IOAPIC 1
fec10000-fec10fff : Reserved
  fec10000-fec10fff : pnp 00:05
fec30000-fec30fff : Reserved
  fec30000-fec30fff : AMDIF030:00
fed00000-fed00fff : Reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed40000-fed44fff : Reserved
fed80000-fed8ffff : Reserved
  fed81500-fed818ff : AMDI0030:00
fedc0000-fedc0fff : pnp 00:05
fedc2000-fedcffff : Reserved
fedd4000-fedd5fff : Reserved
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : pnp 00:05
ff000000-ffffffff : Reserved
  ff000000-ffffffff : pnp 00:05
100000000-102f2fffff : System RAM
102f300000-102fffffff : Reserved
1030000000-7fffffffff : PCI Bus 0000:00
  7800000000-7c0fffffff : PCI Bus 0000:05
    7800000000-7c0fffffff : PCI Bus 0000:06
      7800000000-7c0fffffff : PCI Bus 0000:07
        7800000000-7bffffffff : 0000:07:00.0
          7800000000-7801fa3fff : efifb
        7c00000000-7c0fffffff : 0000:07:00.0

shadowraid-diagnostics-20221106-0651.zip

Link to comment

hey so i found a second syslinux file in the folder changed that one now my log is different.

But im still getting error 43 in the vm

 

00000000-00000fff : Reserved
00001000-0008ffff : System RAM
00090000-00090fff : Reserved
00091000-0009ffff : System RAM
000a0000-000fffff : Reserved
  00000000-00000000 : PCI Bus 0000:00
  000a0000-000dffff : PCI Bus 0000:00
  000f0000-000fffff : System ROM
00100000-09dfefff : System RAM
  04000000-04a01e07 : Kernel code
  04c00000-04fc1fff : Kernel rodata
  05000000-051a13ff : Kernel data
  05617000-057fffff : Kernel bss
09dff000-09ffffff : Reserved
0a000000-0a1fffff : System RAM
0a200000-0a20dfff : ACPI Non-volatile Storage
0a20e000-0affffff : System RAM
0b000000-0b01ffff : Reserved
0b020000-aaad6fff : System RAM
aaad7000-aaad7fff : Reserved
aaad8000-aab22fff : System RAM
aab23000-aab23fff : Reserved
aab24000-b4ea2017 : System RAM
b4ea2018-b4ebfe57 : System RAM
b4ebfe58-b4ec0017 : System RAM
b4ec0018-b4ecd867 : System RAM
b4ecd868-c6182fff : System RAM
c6183000-c654ffff : Reserved
c6550000-c90fffff : System RAM
c9100000-c9100fff : Reserved
c9101000-ca38afff : System RAM
ca38b000-ca738fff : Reserved
  ca718000-ca71bfff : MSFT0101:00
    ca718000-ca71bfff : MSFT0101:00
  ca71c000-ca71ffff : MSFT0101:00
    ca71c000-ca71ffff : MSFT0101:00
ca739000-ca896fff : ACPI Tables
ca897000-caf5afff : ACPI Non-volatile Storage
caf5b000-cbbfefff : Reserved
cbbff000-ccffffff : System RAM
cd000000-cfffffff : Reserved
d0000000-fcffffff : PCI Bus 0000:00
  f0000000-f7ffffff : PCI MMCONFIG 0000 [bus 00-7f]
    f0000000-f7ffffff : Reserved
      f0000000-f7ffffff : pnp 00:00
  fc700000-fc9fffff : PCI Bus 0000:09
    fc700000-fc7fffff : 0000:09:00.3
      fc700000-fc7fffff : xhci-hcd
    fc800000-fc8fffff : 0000:09:00.1
      fc800000-fc8fffff : ccp
    fc900000-fc907fff : 0000:09:00.4
    fc908000-fc909fff : 0000:09:00.1
      fc908000-fc909fff : ccp
  fca00000-fccfffff : PCI Bus 0000:05
    fca00000-fcbfffff : PCI Bus 0000:06
      fca00000-fcbfffff : PCI Bus 0000:07
        fca00000-fcafffff : 0000:07:00.0
          fca00000-fcafffff : vfio-pci
        fcb00000-fcb1ffff : 0000:07:00.0
        fcb20000-fcb23fff : 0000:07:00.1
          fcb20000-fcb23fff : vfio-pci
    fcc00000-fcc03fff : 0000:05:00.0
  fcd00000-fcefffff : PCI Bus 0000:02
    fcd00000-fcdfffff : PCI Bus 0000:03
      fcd00000-fcdfffff : PCI Bus 0000:04
        fcd00000-fcd0ffff : 0000:04:00.0
          fcd00000-fcd0ffff : r8169
        fcd10000-fcd13fff : 0000:04:00.0
    fce00000-fce7ffff : 0000:02:00.1
    fce80000-fce9ffff : 0000:02:00.1
      fce80000-fce9ffff : ahci
    fcea0000-fcea7fff : 0000:02:00.0
      fcea0000-fcea7fff : xhci-hcd
  fcf00000-fcffffff : PCI Bus 0000:01
    fcf00000-fcf03fff : 0000:01:00.0
      fcf00000-fcf03fff : nvme
    fcf04000-fcf05fff : 0000:01:00.0
      fcf04000-fcf05fff : nvme
fd200000-fd2fffff : Reserved
  fd200000-fd2fffff : pnp 00:01
    fd210510-fd21053f : MSFT0101:00
fd500000-fd57ffff : amd_iommu
fd600000-fd7fffff : Reserved
fea00000-fea0ffff : Reserved
feb80000-fec01fff : Reserved
  fec00000-fec003ff : IOAPIC 0
  fec01000-fec013ff : IOAPIC 1
fec10000-fec10fff : Reserved
  fec10000-fec10fff : pnp 00:05
fec30000-fec30fff : Reserved
  fec30000-fec30fff : AMDIF030:00
fed00000-fed00fff : Reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed40000-fed44fff : Reserved
fed80000-fed8ffff : Reserved
  fed81500-fed818ff : AMDI0030:00
fedc0000-fedc0fff : pnp 00:05
fedc2000-fedcffff : Reserved
fedd4000-fedd5fff : Reserved
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : pnp 00:05
ff000000-ffffffff : Reserved
  ff000000-ffffffff : pnp 00:05
100000000-102f2fffff : System RAM
102f300000-102fffffff : Reserved
1030000000-7fffffffff : PCI Bus 0000:00
  7800000000-7c0fffffff : PCI Bus 0000:05
    7800000000-7c0fffffff : PCI Bus 0000:06
      7800000000-7c0fffffff : PCI Bus 0000:07
        7800000000-7bffffffff : 0000:07:00.0
          7800000000-7bffffffff : vfio-pci
        7c00000000-7c0fffffff : 0000:07:00.0
          7c00000000-7c0fffffff : vfio-pci

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...