Jump to content

bcabalka

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by bcabalka

  1. Can someone give me some insight as to how I can get audio working via GPU Passthrough on my VM? It's not showing an option for audio output.

     

    Any help would be great, thanks in advance.

     

    VM XML:

    Spoiler
    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='18'>
      <name>GarageSim</name>
      <uuid>ba6b16fb-419c-091e-5e6d-5a51770db1fc</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
      </metadata>
      <memory unit='KiB'>16777216</memory>
      <currentMemory unit='KiB'>16777216</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>12</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='6'/>
        <vcpupin vcpu='1' cpuset='18'/>
        <vcpupin vcpu='2' cpuset='7'/>
        <vcpupin vcpu='3' cpuset='19'/>
        <vcpupin vcpu='4' cpuset='8'/>
        <vcpupin vcpu='5' cpuset='20'/>
        <vcpupin vcpu='6' cpuset='9'/>
        <vcpupin vcpu='7' cpuset='21'/>
        <vcpupin vcpu='8' cpuset='10'/>
        <vcpupin vcpu='9' cpuset='22'/>
        <vcpupin vcpu='10' cpuset='11'/>
        <vcpupin vcpu='11' cpuset='23'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <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/ba6b16fb-419c-091e-5e6d-5a51770db1fc_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='6' 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/virtio-win-0.1.225-2.iso' index='2'/>
          <backingStore/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <alias name='sata0-0-1'/>
          <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/disks/vmstore/Win11/garageSim.img' index='1'/>
          <backingStore/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <alias name='sata0-0-2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <alias name='usb'/>
          <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'>
          <alias name='usb'/>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <alias name='usb'/>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'>
          <alias name='pcie.0'/>
        </controller>
        <controller type='pci' index='1' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x8'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x9'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0xa'/>
          <alias name='pci.3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0x13'/>
          <alias name='pci.4'/>
          <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'/>
          <alias name='pci.5'/>
          <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='0x15'/>
          <alias name='pci.6'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
        </controller>
        <controller type='pci' index='7' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='7' port='0xb'/>
          <alias name='pci.7'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:2c:3d:41'/>
          <source bridge='br0'/>
          <target dev='vnet17'/>
          <model type='virtio-net'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </interface>
        <serial type='pty'>
          <source path='/dev/pts/1'/>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
          <alias name='serial0'/>
        </serial>
        <console type='pty' tty='/dev/pts/1'>
          <source path='/dev/pts/1'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        </console>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-18-GarageSim/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <alias name='input0'/>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'>
          <alias name='input1'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input2'/>
        </input>
        <tpm model='tpm-tis'>
          <backend type='emulator' version='2.0' persistent_state='yes'/>
          <alias name='tpm0'/>
        </tpm>
        <sound model='ich9'>
          <alias name='sound0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
        </sound>
        <audio id='1' type='none'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x10' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x13' slot='0x00' function='0x3'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

     

    OS Version: 6.11.1

     

    I do have IOMMU bing configured
    image.thumb.png.33f64463f42e22518ab121c5044b247e.png

  2. Also, just ran, in Maintenance Mode, a btrfs check with --read-only flag.

     

    Results:

    [1/7] checking root items
    [2/7] checking extents
    data backref 3424221175808 root 5 owner 3034 offset 20020936704 num_refs 0 not found in extent tree
    incorrect local backref count on 3424221175808 root 5 owner 3034 offset 20020936704 found 1 wanted 0 back 0x99e58a0
    incorrect local backref count on 3424221175808 root 5 owner 265178 offset 20020936704 found 0 wanted 1 back 0xb249ad0
    backref disk bytenr does not match extent record, bytenr=3424221175808, ref bytenr=0
    backpointer mismatch on [3424221175808 524288]
    ERROR: errors found in extent allocation tree or chunk allocation
    [3/7] checking free space tree
    [4/7] checking fs roots
    	unresolved ref dir 6339767 index 15 namelen 45 name org.appwork.shutdown.ShutdownController.log.0 filetype 1 errors 2, no dir index
    	unresolved ref dir 6339767 index 15 namelen 45 name org.eppwork.shutdown.ShutdownController.log.0 filetype 1 errors 5, no dir item, no inode ref
    ERROR: errors found in fs roots
    Opening filesystem to check...
    Checking filesystem on /dev/sdb1
    UUID: cf9672ae-6154-45d3-8457-69259db993e7
    found 359280635904 bytes used, error(s) found
    total csum bytes: 250838900
    total tree bytes: 882212864
    total fs tree bytes: 463798272
    total extent tree bytes: 131973120
    btree space waste bytes: 143087789
    file data blocks allocated: 2046518329344
     referenced 326062190592

     

  3. Looking at the syslog, it appears there's a BTRFS error. That would explain why it isnt converting.

     

    Dec 30 08:09:37 cortex  ool www[13111]: /usr/local/emhttp/plugins/dynamix/scripts/btrfs_balance 'start' '/mnt/cache' '-dconvert=single,soft -mconvert=raid1,soft'
    Dec 30 08:09:37 cortex kernel: BTRFS info (device sdb1): balance: start -dconvert=single,soft -mconvert=raid1,soft -sconvert=raid1,soft
    Dec 30 08:09:37 cortex kernel: BTRFS info (device sdb1): relocating block group 2442826612736 flags data|raid1
    Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 1
    Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdc1 errs: wr 0, rd 0, flush 0, corrupt 887, gen 0
    Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 2
    Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 726, gen 0
    Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 1
    Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdc1 errs: wr 0, rd 0, flush 0, corrupt 888, gen 0
    Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 2
    Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 727, gen 0
    Dec 30 08:09:38 cortex kernel: BTRFS info (device sdb1): balance: ended with status: -5

     

  4. My brain doesn't appear to be working right now and when I go to the cache pool and convert to single mode, it doesn't appear to expand the space available on the pool. Is there a way to get this converted while retaining the data on the pool?

     

    I have 2x 1TB SSDs and was hoping to use all available space.

     

    Pasted_Image_12_29_22__9_25_PM.thumb.png.6805feb9c6beab3a3df81d77d6d349b2.png

     

    Pasted_Image_12_29_22__9_27_PM.thumb.png.249f7f304e059e48b24fadab51c68cb0.png

×
×
  • Create New...