cman9090 Posted April 15, 2017 Share Posted April 15, 2017 (edited) Hello, I've got a unRAID osx VM running 10.12.4 with the second latest nvidia web driver 376 on a gtx950. Now everything seems to be working but it's slightly laggy. It's not as responsive as I was hoping it would be. It's a lot slower than my Macbook Air. When I drag windows around it lags and on the air its smooth. I cannot watch youtube videos, it basically takes 4 seconds to play 1 second and the sound is all glitchy. I've tried assigning 4 cpu cores, 8, 10 i've tried 2gb memory up to 30gb of memory. I don't understand why it's like this. My windows VM and Ubuntu VM is fine. I also tried my GTX 1080 with the latest beta driver and it works but still have the same issues. I'd really love to get this working, I keep hitting the 8GB memory on the Macbook Air, but at least it runs smoothly. In clover i've got the HDMIAudio.kext but i've also ran the HDMIAudio install.sh script on the VM. Perhaps the audio problems are causing the VM as a whole to lag? It lags all the time, whether audio is playing or not. 2 x e5-2670 64gb ram GTX 950 & 1080 PCI-E SSD SSD's <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>OSX BEAST</name> <uuid>78404722-02d4-cca3-397f-efa6cb4f940b</uuid> <metadata> <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/> </metadata> <memory unit='KiB'>10485760</memory> <currentMemory unit='KiB'>10485760</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='6'/> <vcpupin vcpu='1' cpuset='7'/> <vcpupin vcpu='2' cpuset='8'/> <vcpupin vcpu='3' cpuset='9'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-2.5'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/78404722-02d4-cca3-397f-efa6cb4f940b_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' 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/disk1/OSX BEAST/sierra.vmwarevm/sierra.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='dmi-to-pci-bridge'> <model name='i82801b11-bridge'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:51:66:48'/> <source bridge='br0'/> <model type='e1000-82545em'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </interface> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046b'/> <product id='0xff10'/> </source> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x07' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='none' model='none'/> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd'/> <qemu:arg value='-device'/> <qemu:arg value='usb-mouse'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,vendor=GenuineIntel'/> </qemu:commandline> </domain> Edited April 17, 2017 by cman9090 Quote Link to comment
cman9090 Posted April 15, 2017 Author Share Posted April 15, 2017 It must be something to do with either the graphics cards or unraid because the VM runs super fast in VMWare and unRaid is supposed to perform way better than that... Quote Link to comment
1812 Posted April 15, 2017 Share Posted April 15, 2017 step 1: remove your vm image off your array and onto your cache or an independent drive mounted via unassigned devices step 2: send beer money. also, you can tweak your xml a little here: <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='6'/> <vcpupin vcpu='1' cpuset='7'/> <vcpupin vcpu='2' cpuset='8'/> <vcpupin vcpu='3' cpuset='9'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-2.5'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/78404722-02d4-cca3-397f-efa6cb4f940b_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='1'/> </cpu> you had static set as 8 but only 4 threads assigned. Additionally, your topology shows os x a hyper threaded processor. Don't do that because it will throttle the HT pair and you'll lose a little performance. Quote Link to comment
cman9090 Posted April 15, 2017 Author Share Posted April 15, 2017 Nice, i'll give it a shot, got any guides on how to unassign a hd from the array? I'm not using cacheing. I have a NVME drive I have the VM on, I'd like to move that to unassigned and give that a shot. Quote Link to comment
1812 Posted April 15, 2017 Share Posted April 15, 2017 Just now, cman9090 said: Nice, i'll give it a shot, got any guides on how to unassign a hd from the array? I'm not using cacheing. I have a NVME drive I have the VM on, I'd like to move that to unassigned and give that a shot. depends on if there is data you want on the drive or not.... https://lime-technology.com/wiki/index.php/Shrink_array Quote Link to comment
cman9090 Posted April 15, 2017 Author Share Posted April 15, 2017 (edited) still the same https://ufile.io/0uxxb <-- video of the issues. I've unassigned the drive but hasn't changed anything. wait i just watched the video, i have no idea what is going on, it seems super fast in the video but on the actual VM everything is really slow. like taking 3 seconds to play 1 second, and moving the windows around is clunky and slow. Edited April 15, 2017 by cman9090 Quote Link to comment
1812 Posted April 15, 2017 Share Posted April 15, 2017 consider trying to isolate the cpus you are using for the vm from unRaid by modifying your syslinux.cfg to the following: append isolcpus=6,7,8,9 initrd=/bzroot then reboot, and see how that goes. Quote Link to comment
cman9090 Posted April 16, 2017 Author Share Posted April 16, 2017 (edited) Yeah sorry about the video, I was hoping to capture what was going on but on a normal computer it plays super fast. I had previously done this: append isolcpus=2,3,4,5,6,7,8,9,10,11,12,13,14,15 initrd=/bzroot,/bzroot-gui I've got my cpus currently like this: <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='6'/> <vcpupin vcpu='1' cpuset='7'/> <vcpupin vcpu='3' cpuset='8'/> <vcpupin vcpu='4' cpuset='9'/> <vcpupin vcpu='5' cpuset='10'/> <vcpupin vcpu='6' cpuset='11'/> <vcpupin vcpu='7' cpuset='12'/> <vcpupin vcpu='8' cpuset='13'/> </cputune> <cpu mode='host-passthrough'> <topology sockets='1' cores='8' threads='1'/> </cpu> Edited April 16, 2017 by cman9090 Quote Link to comment
cman9090 Posted April 16, 2017 Author Share Posted April 16, 2017 http://www.filedropper.com/video2017-04-1611-30-09 I recorded it with my mobile so you can see what is happening. Notice the sound is super glitched, playback is about 3 seconds for 1 second, it's like the entire system is in slow motion? Quote Link to comment
cman9090 Posted April 16, 2017 Author Share Posted April 16, 2017 (edited) in "top", when im playing the video that process for the VM is using over 200% CPU. I've currently got 6 cores assigned. Does that help anything? When im not moving the mouse or playing video, it'll sit at like 20% cpu or less, but soon as i move around, the CPU jumps up to oer 200%. Thats running "top" on unraid. Mind you windows is at like 800%cpu and it doesn't lag. So frustrating Edited April 16, 2017 by cman9090 Quote Link to comment
1812 Posted April 16, 2017 Share Posted April 16, 2017 what guide did you follow for making the vm? What clover did you use? Quote Link to comment
cman9090 Posted April 16, 2017 Author Share Posted April 16, 2017 10 hours ago, 1812 said: what guide did you follow for making the vm? What clover did you use? Using the latest clover and used the Spaceinvader tutorial on youtube. I had 10.12.4 from the get-go so I also followed his other video on upgrading to 10.12.4 and installed the FakeSMC and graphics drivers in the VMWare VM before transferring to a Unraid HDD and converting to an IMG file. It's odd, when it comes to processing tasks, like setting up an IDE and caching all the files, or installing software, it's really fast but the UI, videos and the time displayed up in the top right task bar is in slow motion. I almost missed my bedtime because it was saying it was 8:45 when it was actually 8:59 and I had only just updated the time 15 minutes before that so it seems the 3 seconds to 1 second of real time seems to be happening in lots of places. The VM performed worse on the cache or unassigned drive so I put it back in the array and it performed the same as the video example I had post. Quote Link to comment
1812 Posted April 16, 2017 Share Posted April 16, 2017 if you're not using the patched clover provided by gridrunner, that is your problem. Quote Link to comment
cman9090 Posted April 16, 2017 Author Share Posted April 16, 2017 Could you link me? I think I tried the clover that was posted in the video tutorial but couldn't get it working? I'll duplicate the VM and use the clover you recommend, thanks for your help man, I really appreciate it. Quote Link to comment
1812 Posted April 16, 2017 Share Posted April 16, 2017 You can try the one from that vid again: https://www.dropbox.com/s/s8hfoct1pdi... or backdate to the previous one: https://www.dropbox.com/s/8hy5647zqnk... Worst case scenario, consider following the vid below, then update clover later if you want, though not needed. Quote Link to comment
cman9090 Posted April 17, 2017 Author Share Posted April 17, 2017 Are you running 10.12.4 with the latest nvidia driver? Quote Link to comment
cman9090 Posted April 17, 2017 Author Share Posted April 17, 2017 Can confirm the clover supplied in the tutorial is now working and the system is running beautifully! Yes!, thanks heaps Quote Link to comment
1812 Posted April 17, 2017 Share Posted April 17, 2017 8 minutes ago, cman9090 said: Are you running 10.12.4 with the latest nvidia driver? one is on 10.12.4 with a gt 730 and latest driver. another is also on 10.12.4 but the driver isn't playing well with my gtx 760, so it runs on os driver. both use the same base install image, created using the above video, then clover updated, then os update. Quote Link to comment
cman9090 Posted April 17, 2017 Author Share Posted April 17, 2017 How is your sound? Quote Link to comment
1812 Posted April 17, 2017 Share Posted April 17, 2017 Just now, cman9090 said: How is your sound? gtx 760 uses HDMI sound with no issues, and a usb DAC. gt 730 uses HDMI and a usb dongle w/out issue. Both have a usb3 card passed through to the vm. Quote Link to comment
cman9090 Posted April 17, 2017 Author Share Posted April 17, 2017 (edited) Yep got it working after using this.https://www.dropbox.com/s/1f39m1bew9uhyio/HDMIAudio-1.1.dmg?dl=0 Awesome. Thanks again :). Happy days, i'll update again if the GTX 1080 works, currently working with a GTX 950 Edited April 17, 2017 by cman9090 2 Quote Link to comment
cman9090 Posted April 20, 2017 Author Share Posted April 20, 2017 (edited) The latest NVIDIA driver F02 is now allowing me to use the GTX 1080 without having to unplug HDMI on boot. Everything is working flawlessly :). https://images.nvidia.com/mac/pkg/378/WebDriver-378.05.05.05f02.pkg Edited April 20, 2017 by cman9090 Quote Link to comment
xlucero1 Posted February 9, 2019 Share Posted February 9, 2019 On 4/16/2017 at 5:07 PM, 1812 said: You can try the one from that vid again: https://www.dropbox.com/s/s8hfoct1pdi... or backdate to the previous one: https://www.dropbox.com/s/8hy5647zqnk... Worst case scenario, consider following the vid below, then update clover later if you want, though not needed. In this case, did he trash the newer version of Clover and install this later version and walk through the rest of the install followed in the video you posted? When I try to open the Clover app after moving it to applications folder, it says that the 'old website' is not valid and wants to direct me to the clover site. What do I do in this case? And might there be another fix for this laggyness? Thank you very much for your help! [Attached is the link I am getting after clicking on the Clover after moving it in the applications folder. Also note, the screens are white and only appear after moving mouse over or am active in the window, makes it very hard to navigate in the window and hard to do anything.] Quote Link to comment
Recommended Posts
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.