Jump to content
We're Hiring! Full Stack Developer ×

blaine07

Members
  • Posts

    754
  • Joined

  • Last visited

Posts posted by blaine07

  1. 22 hours ago, 1812 said:

    This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.

     

     

     

    <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev>

     

    <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0f' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev>

     

     

    W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down. 

     

    Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start. 

     

    Edit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that. 

     

    Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag <memballon model =‘ virtio’> Tag. You want to paste the hostdev info you copied above/ just before that. 

     

    Now, in the part you just pasted, look for the lines <address type =‘pci’....../> there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.

     

    you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos. 

     

     

    Well, what I pasted is the same as what was in VM already for right above MEMBALOON part:

     

            <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>

     

    Under VM Creation GPU is listed as 06:00:0 and Sound is listed as 06:00:1

     

    At any rate, still no changes; not doing anything/booting 😞

     

    EDIT: Once I pasted I took the "PCI" line out in entirely for both GPU/SOUND

  2. This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.
     
     
     
    

     
     

     
     
    W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down. 
     
    Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start. 
     
    InteEdit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that. 
     
    Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag Tag. You want to paste the hostdev info you copied above/ just before that. 
     
    Now, in the part you just pasted, look for the lines
    there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.
     
    you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos. 
     
     


    Interesting; will have to give this a try later today. Been swamped with home projects lately [emoji848][emoji2361]
  3. you can compare to my working xml, I don't have time at the moment to go line by line for you, but you may find differences (excluding drive locations and uuid, nvram file name, Mac address, etc...)  don't worry about the added Qemu arguments in mine, they are for pcie definitions, as it was added for a patch in an RC. This xml also has 2 network "cards" for the e1000 and vmxnet 3 that I used for testing of different speeds. This xml comes from one of my 2 Mojave vm's, and this one is running a 730. topology was removed to maximize performance.
     
     
    xml version='1.0' encoding='UTF-8'?> type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>Desk Mojave94j4a882-fbde-110e-131h-f4531884123e xmlns="unraid" name="Linux" icon="linux.png" os="linux"/> unit='KiB'>5242880 unit='KiB'>5242880 placement='static'>3 vcpu='0' cpuset='1'/> vcpu='1' cpuset='7'/> vcpu='2' cpuset='6'/> cpuset='0'/> arch='x86_64' machine='pc-q35-3.1'>hvm readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd/etc/libvirt/qemu/nvram/94j4a882-fbde-110e-131h-f4531884123e_VARS-pure-efi.fd dev='hd'/> mode='host-passthrough' check='none'/> offset='utc'> name='rtc' tickpolicy='catchup'/> name='pit' tickpolicy='delay'/> name='hpet' present='no'/>destroyrestartrestart/usr/local/sbin/qemu type='file' device='disk'> name='qemu' type='raw' cache='writeback'/> file='/mnt/cache/domains/Mojave2/vdisk.img'/> dev='hda' bus='sata'/> type='drive' controller='0' bus='0' target='0' unit='0'/> type='usb' index='0' model='ich9-ehci1'> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> type='usb' index='0' model='ich9-uhci1'> startport='0'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> type='usb' index='0' model='ich9-uhci2'> startport='2'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> type='usb' index='0' model='ich9-uhci3'> startport='4'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> type='sata' index='0'> type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> type='pci' index='0' model='pcie-root'/> type='pci' index='1' model='pcie-root-port'> name='pcie-root-port'/> chassis='1' port='0x10'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> type='pci' index='2' model='pcie-root-port'> name='pcie-root-port'/> chassis='2' port='0x11'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> type='pci' index='3' model='pcie-root-port'> name='pcie-root-port'/> chassis='3' port='0x12'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> type='pci' index='4' model='pcie-root-port'> name='pcie-root-port'/> chassis='4' port='0x13'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> type='pci' index='5' model='pcie-root-port'> name='pcie-root-port'/> chassis='5' port='0x8'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> type='pci' index='6' model='pcie-root-port'> name='pcie-root-port'/> chassis='6' port='0x9'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> type='pci' index='7' model='pcie-root-port'> name='pcie-root-port'/> chassis='7' port='0xa'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> type='pci' index='8' model='pcie-root-port'> name='pcie-root-port'/> chassis='8' port='0xb'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> type='pci' index='9' model='dmi-to-pci-bridge'> name='i82801b11-bridge'/> type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> type='pci' index='10' model='pci-bridge'> name='pci-bridge'/> chassisNr='10'/> type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> type='virtio-serial' index='0'> type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> type='bridge'> address='88:58:00:cd:3d:c1'/> bridge='br0'/> type='e1000-82545em'/> type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/> type='bridge'> address='53:24:00:8u:13:32'/> bridge='br0'/> type='vmxnet3'/> type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> type='pty'> type='isa-serial' port='0'> name='isa-serial'/> type='pty'> type='serial' port='0'/> type='unix'> type='virtio' name='org.qemu.guest_agent.0'/> type='virtio-serial' controller='0' bus='0' port='1'/> type='tablet' bus='usb'> type='usb' bus='0' port='1'/> type='mouse' bus='ps2'/> type='keyboard' bus='ps2'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/> type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x0f' slot='0x00' function='0x1'/> type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x1f' slot='0x00' function='0x0'/> type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> model='virtio'> type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> value='-global'/> value='pcie-root-port.speed=8'/> value='-global'/> value='pcie-root-port.width=16'/> value='-usb'/> value='-device'/> value='usb-mouse,bus=usb-bus.0'/> value='-device'/> value='usb-kbd,bus=usb-bus.0'/> value='-smbios'/> value='type=2'/> value='-cpu'/> value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,vmware-cpuid-freq=on,'/>

     


    Sir, do you know off hand what line(s) are/refer to graphics card?
  4. 18 minutes ago, 1812 said:

    are you removing the vnc bit from the xml?

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='31' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>High Sierra - UD</name>
      <uuid>f76f620f-b8da-6854-1d38-e8de86308de5</uuid>
      <description>High Sierra - Unassigned Device</description>
      <metadata>
        <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
      </metadata>
      <memory unit='KiB'>8388608</memory>
      <currentMemory unit='KiB'>8388608</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='1'/>
        <vcpupin vcpu='1' cpuset='5'/>
        <vcpupin vcpu='2' cpuset='3'/>
        <vcpupin vcpu='3' cpuset='7'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/f76f620f-b8da-6854-1d38-e8de86308de5_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='2' threads='2'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <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='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disks/WD1003FBYX-88_LEN_WD-WCAW36ZV79UV/HIGHSIERRAVM/vdisk3.img'/>
          <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='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' 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='0x10'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x11'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x12'/>
          <alias name='pci.3'/>
          <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'/>
          <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='0x8'/>
          <alias name='pci.5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='6' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='6' port='0x9'/>
          <alias name='pci.6'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='pci' index='7' model='pcie-to-pci-bridge'>
          <model name='pcie-pci-bridge'/>
          <alias name='pci.7'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:f4:56:e2'/>
          <source bridge='br0'/>
          <target dev='vnet1'/>
          <model type='vmxnet3'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x03' 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-31-High Sierra - UD/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <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>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x05' 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>
      <qemu:commandline>
        <qemu:arg value='-usb'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='isa-applesmc,oskXXXX'/>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=2'/>
        <qemu:arg value='-cpu'/>
        <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,vmware-cpuid-freq=on,'/>
      </qemu:commandline>
    </domain>

  5.  
    I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.

    Thanks for TIP on just copying IMG files and making duplicates to test with, if nothing more at moment that was VERY helpful thing to learn from you!! Moved my WIN10 to Unassigned drive too
  6.  
    I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.


    Guess this weekend I’ll try another from scratch. Because no matter where I have vdisk it won’t boot with GT730 attached to it; on card no output on DVI, VGA or HDMI
  7. I'm trying to setup Let's Encrypt along side Bitwarden... I have it to the point where I can go to my DDNS.Net domain/address and I get the Let's Encrypt "Welcome page". 
    I have my router setup.. I think.. it's an ASUS - external Port 443, internal port 1443 Tower IP.. and External Port 80, Internal 180 Tower IP.. I have tweaked the bitwarden.subdomain.conf file and I can't get it to through to the Bitwarden.  Any ideas?  I did setup the Proxynet network (followed spaceinvaders video).
     



    server {
    listen 443 ssl http2;

    server_name XX.ddns.net;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;
    # add_header X-Content-Type-Options nosniff;
    # add_header X-XSS-Protection "1; mode=block";
    # add_header Referrer-Policy same-origin;

    location / {
    # auth_basic "Restricted";
    # auth_basic_user_file /config/nginx/.htpasswd;
    include /config/nginx/proxy.conf;
    resolver 127.0.0.11 valid=30s;
    set $upstream_Bitwarden Bitwarden;
    proxy_pass http://INSERT-UNRAID-IP&&Change to port BITWARDEN IS ON:8343;
    # proxy_set_header X-Real-IP $remote_addr
    }
    }
  8. <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>Mojave - NA</name>
      <uuid>192c87b8-a9ae-61b2-45a7-2f6de1345d73</uuid>
      <description>Mojave - Unassigned Device</description>
      <metadata>
        <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
      </metadata>
      <memory unit='KiB'>8388608</memory>
      <currentMemory unit='KiB'>8388608</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='1'/>
        <vcpupin vcpu='1' cpuset='5'/>
        <vcpupin vcpu='2' cpuset='3'/>
        <vcpupin vcpu='3' cpuset='7'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/192c87b8-a9ae-61b2-45a7-2f6de1345d73_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='2' threads='2'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <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='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disks/WD1003FBYX-88_LEN_WD-WCAW36ZV79UV/vdisk3.img'/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <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>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <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='0x8'/>
          <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'/>
          <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'/>
          <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='0xb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0xc'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:04:3a:e3'/>
          <source bridge='br0'/>
          <model type='vmxnet3'/>
          <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='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
          </source>
          <rom file='/mnt/user/domains/Mojave/Asus.GT730.2048.140519_1.rom'/>
          <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='0x06' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'/>
      <qemu:commandline>
        <qemu:arg value='-usb'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='isa-applesmc,osk='/>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=2'/>
        <qemu:arg value='-cpu'/>
        <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,vmware-cpuid-freq=on,'/>
      </qemu:commandline>
    </domain>

     

    Here is latest XML with card in, and moved to a Unassigned Drive; it just flat out refuses to boot with GPU pointed to VM. Do you see anything awry I have done in this XML that you think might cause it to not boot?

  9. Just now, 1812 said:

    Time to start from scratch. Pro tip:  once you have a base img up and running with vnc, make a backup copy on the array. That way of you mess it up later it only takes a few minutes to copy over a known working good img vs starting over again (learned this the hard way a few times.)

    Is their anything, anything at ALL in Clover/efi that should be ON/OFF? Wondering if my meddling from trying to get iGPU working left something sour that's genuinely conflicting with 730... Scratches Head. Converted back to VNC and did get it to boot...finally so all hope is not lost

  10.  
    You may have misconfigured in the vm creation as well. But I can tell you that even if it's all 100% correct, running the img file in a parity protected array will never perform we'll.

    Just so weird no one has told me that. Just moved it; will try and load it from Unassigned in just a few. Took a bit to copy. And it’s even weirder Win10VM works stellar under same conditions. Will report back launching off UD in a few
  11. 8 minutes ago, 1812 said:

     

    This is your problem, plain and simple. you still need to do some tuning like isolating cpu's from unRaid, but you'll never get good performance  after tuning/optimizing as every change or file that needs to be made to the img file takes first one spin of the parity disk and then another spin of both the parity and data disk. This does not take into account any other data being used on the drive as a share, or the system as a whole.

     

    If you want get a little bump, and you have an extra spinning drive, then you can mount it via unassigned devices plugin, or as a cache drive and move the img file there, then change the xml to reflect the new destination. then at least you'll have somewhat improved write performance vs what you have now which is going to be abysmal.

     

    Otherwise your current xml and logs show no major errors after a little bit of looking. Trying to disable sound will not help you as it is in the same iommu group as the video output of the gpu, which will then prohibit the vm from starting.

    Well, I do have two Unassigned Device HDDs; a 1tb and a 500gb.

     

    It must just be taking so long too boot that well, its taking forever. I was able to VNC into Mojave ONE time but performance was horrible and unuseable. I don't know ANYTHING about isolating CPUs. I guess I need to look into how to change Mojave IMG to Unassigned Device HDD.

     

    Been waiting 7-9minutes this time and still can't even VNC or JUMP into it; it may actually not even be booting now :facepalm:

     

    Sad day though, pretty much wasted my time, or something, I think. Guess I need to pick up a SSD to be "cache" at some point. Really wanting to get a Mojave VM going, somehow. 😞

  12. 3 minutes ago, 1812 said:

    post full diagnostics file after failure to boot vm and the xml you are using (minus the apple key) This doesn't really tell me anything. Also just edit your post and remove this, as it has the apple key in it.

    APOLOGIES! Alright, so I LIED, a little. It DOES boot up. Just SOOOOO SLOW that it's nearly un useable. It IS identifying GT730 in Abou this Mac. Trying to let it boot again and will pull ZIP.

     

    Here is XML(With OSK Redacted facepalm):

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='5' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>Mojave</name>
      <uuid>f4833360-16d8-c14b-8759-4715079a97a5</uuid>
      <description>OSX Mojave VM</description>
      <metadata>
        <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
      </metadata>
      <memory unit='KiB'>8388608</memory>
      <currentMemory unit='KiB'>8388608</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='1'/>
        <vcpupin vcpu='1' cpuset='5'/>
        <vcpupin vcpu='2' cpuset='3'/>
        <vcpupin vcpu='3' cpuset='7'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/f4833360-16d8-c14b-8759-4715079a97a5_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='2' threads='2'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <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='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disk2/domains/Mojave/vdisk3.img'/>
          <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='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' 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='0x10'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x11'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x12'/>
          <alias name='pci.3'/>
          <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'/>
          <alias name='pci.4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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>
        <interface type='bridge'>
          <mac address='52:54:00:04:3a:e3'/>
          <source bridge='br0'/>
          <target dev='vnet1'/>
          <model type='vmxnet3'/>
          <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-5-Mojave/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <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>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x06' 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='0x06' slot='0x00' function='0x1'/>
          </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>
      <qemu:commandline>
        <qemu:arg value='-usb'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='isa-applesmc,osk=XXXXXX'/>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=2'/>
        <qemu:arg value='-cpu'/>
        <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,vmware-cpuid-freq=on,'/>
      </qemu:commandline>
    </domain>
     

  13. On 2/16/2019 at 8:26 AM, 1812 said:

    you may need a dummy plug to set a resolution. also, try team viewer or other similar screen sharing programs vs vnc.

    Alright, good news is got card installed and got Unraid booting with IGD.

     

    Trying to boot Mojave I get following error now, after adding the 730 video and sound, then adding CPU and Network card stuff back in:

     

    *****REDACTED APOLOGIES*****

×
×
  • Create New...