Jump to content

ghost82

Members
  • Posts

    2,726
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by ghost82

  1. Configuration seems good to me.

    I imagine the vbios is dumped from your card and hex edited, and not a downloaded one, right?

    Did you try to enable remote desktop in windows vm (booted without gpu passthrough) and see if it boots or if it's hanging?

    Once you enable remote desktop and the os is able to boot but with a black screen, try to install the gpu drivers.

     

    I noticed that your mb bios is not the latest, I would try to update to v. 4401 released on 31st of october.

  2. 33 minutes ago, xtrap225 said:

    i am going to edit and passthrough the TPM without it ever seeing a virtual one. any idea if i should tell it that it is TIS or CRB?

    and try to do that serial thing, which i hope i am not misremembering.

    When you passthrough the tpm device you need to choose a model.

    In this example:

    <devices>
      <tpm model='tpm-tis'>
        <backend type='passthrough'>
          <device path='/dev/tpm0'/>
        </backend>
      </tpm>
    </devices>

     

    you are passing through a tpm device located at /dev/tpm0 'tis' type.

    If the device is crb just use 'tpm-crb' instead of 'tpm-tis' for the model.

  3. 8 hours ago, takkkkkkk said:

    terminal?

    Yes, unraid terminal (mount is a linux command)

    8 hours ago, takkkkkkk said:

    where would "/path/to/mount/" be, could it be any folder within a share? I tried mounting it via adding the vdisk in windows, but it didn't work...

    Not sure I understood..the vdisk has to be saved somewhere that could be accessed by the host (unraid) with read/write permissions.

    To see if your share folder "works" try to access it with the cd command in the unraid terminal (cd /path/to/the/share) and try to create a file (touch test.txt).

    If it doesn't work, choose another folder or fix what it doesn't work.

  4. 1 hour ago, falkfyrebeard said:

    Quick question. I don't have a Mac VM set up right now. I've tried multiple times to and have an RX580 I passthrough to it but I've never been able to get audio, even from the display ports. In order to get it to work do I need to flash it? I've tried passing the VBIOS through instead of using what is on the card but no matter what I get no audio at all. I'd love to get a Mac VM set up at some point.

    You probably didn't set your gpu as a multifunction device; whatevergreen kext needs the audio part to be on function 1, same slot and same bus as the video part of the gpu, as in the real hardware.

  5. Usually, windows 10 vms are configured with cpu hostpassthrough, so if the real cpu supports aes, the aes flag will be passed to the guest too...can you check with cpu-z if aes is listed in the cpu flags?and what is the real cpu?

  6. On 7/28/2023 at 1:37 AM, ab5g said:

    BTW how did you inject the older DSDT ? and do you have a copy of it 

     

     

    You need the full dsdt aml file (so, compiled file, use maciasl for example) saved in 

    EFI/OC/ACPI folder, and then you need to add it in the opencore config:

    config.plist -> ACPI -> Add

     

    You can find copies of my dsdts in the gitlab link above, but take into account that part of the dsdt is built based on the addresses you have in the xml.

     

    My issue was related to the passed through sata controller. The new qemu 8 adds names (S00, for example) in the dsdt for all the devices attached to pcie root ports, and for whatever reason my sata controller doesn't like it.

    Once understood the issue, my final fix was to hide the S00 for the specific sata controller in a ssdt, instead of injecting the whole old dsdt.

  7. 6 hours ago, LimeB said:

    I also have in Device Manager 2 SCSI Controllers showing without drivers

     

    You have actually 2 scsi controllers defined:

    6 hours ago, LimeB said:
        <controller type='scsi' index='0' model='lsilogic'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </controller>
        <controller type='scsi' index='1' model='lsilogic'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </controller>

     

    And your optical drive is attached to controller with index 0:

    6 hours ago, LimeB said:
        <hostdev mode='subsystem' type='scsi' managed='no'>
          <source>
            <adapter name='scsi_host1'/>
            <address bus='0' target='0' unit='0'/>
          </source>
          <readonly/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </hostdev>

     

    Settings are correct.

     

    Since you are passing the optical drive only and not the whole controller, the optical drive is attached to a virtio emulated scsi controller and you need drivers for it, drivers are not included in windows.

    So, open device manager and manually install drivers for the 2 controllers (option "I have a disk"). After mounting the virtio iso inside the vm, point the driver search to x:\vioscsi\w11\amd64\ directory.

    If you have issues with the 225 virtio release try the latest one:

    https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.229-1/virtio-win-0.1.229.iso

  8. Add this to your syslinux config (in the block of unRAID OS label): Main - Boot Device - Flash - Syslinux Configuration

     

    label unRAID OS
      menu default
      kernel /bzimage
      append intel_iommu=on iommu=pt vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot

     

    Reboot

    Then, obviously start unraid without gui

  9. 12 hours ago, shpitz461 said:

    Also try with and without vbios in the XML.

    Also try to set the card to not multifuction and each piece of it on another pci slot in the xml. Or vice-versa

    Please don't take it badly, I'm only trying to give proper info on this.

    You use vbios when it's needed, i.e. when the gpu that has to be passed is flagged as boot vga by the host; in all the other cases there's no need to pass a vbios; to check if it's flagged as "boot vga" one has to simply check for that string in the system log and check the corresponding address.

    This is because the video rom saved by the host it's not a 1:1 copy of the video rom of the gpu if it's flagged as boot vga; if it's not the boot vga the video rom is a 1:1 copy.

    As far as multifunction, one has to always set the gpu as a multifunction device: in bare metal hardware the gpu is a multifunction device so we emulate it as a multifunction device. Although the gpu can work if the gpu is not set as multifunction in the guest, in some cases, if it is not set as multifunction drivers can play badly.

    Moreover it's always strongly suggested to pass all the subdevices to the vm (video, audio, usb controller, etc.), for the same reason described above.

     

    +1 for checking cpu features.

×
×
  • Create New...