Jump to content

fabiosun

Supervisor
  • Posts

    10,612
  • Joined

  • Days Won

    442

Everything posted by fabiosun

  1. Welcome @Imanol if you have any doubts ask in guide thread. we are trying to improve it as we can and add on it a tons of usefull informations 😊
  2. leggi che anche in virtuale abbiamo gli stessi bug di un mac vero πŸ™‚
  3. si.. ma ad ora con clover abbiamo un funzionamento, anche negli sbagli, tipo ad una macchina intel /hackintosh il concetto di passare una periferica tra un sistema e l'altro..lo devo capire meglio..ora grafica passata perfettamente, attivo il dp audio come farei su hack normale (web piΓΉ' ssdt di @Gengik84) passando la Aquantia, viene vista attraverso il kext originale apple..insomma prime grandi soddisfazioni OC appena mi stabilizzo lo provo
  4. al momento sto cercando di padroneggiare la mia ignoranza su linux.. qui la chiamano Q35 di seguito un estratto della VM per High sierra senza passthrough grafico: agent: 1 bios: ovmf boot: cdn bootdisk: ide2 cores: 8 cpu: Penryn efidisk0: local-lvm:vm-100-disk-1,size=128K ide0: local:iso/hs.iso,cache=unsafe,size=11G ide2: local:iso/clover1.iso,cache=unsafe,size=256M machine: q35 memory: 8192 name: sierra net0: vmxnet3=66:02:2D:DA:B8:98,bridge=vmbr0,firewall=1 numa: 0 ostype: other sata0: local-lvm:vm-100-disk-0,cache=unsafe,size=32G scsihw: virtio-scsi-pci smbios1: uuid=43051c32-3e2e-4f80-b7cc-d50def662b0b sockets: 1 vga: vmware vmgenid: 284011f9-380c-4bdf-b57f-08eda8f03bb9 OC ho provato velocemente ma al momento non va.. Sto cercando di capire quali siano i drivers EFI essenziali
  5. ce la dovrei aver fatta..se e' confermato..po aggiorno tutti gli interessati πŸ™‚
  6. @KTC quando lancio: systemctl restart pveproxy.service non ritorna il cursore per lanciare altri comandi, sembra che rimanga all'infinito poi rientrando nella web interface c'e' il popup della sottoscrizione non valida Cmq poco grave Invece volevo chiederti Ho clonato tutto il disco proxmox che ho usato per le prove 500gb su un disco nome da 1 tb al momento ho ingrandito la partizione che contiene LVM al massimo..non riesco pero' a sfruttarne tutto lo spazio. Mi spiego con immagini πŸ™‚ il primo e' il disco nome clonato qui LVM Io vorrei ingrandire al massimo questo che contiene i dischi VM . Sai se c'e' modo? con Gparted ho ingrandito la partizione LVM (che era da 465 Gb ) al massimo.. pero'Γ¬ non riesco a fare il resto Grazie
  7. adesso che ho fatto esperienza..seguo la guida e reinstallo da zero πŸ˜‚
  8. un link dallo staff di macOS86.it Il pc in questione e' quello in firma... notate che ottimo cable management e che ordine sulla scrivania πŸ™‚ πŸ™‚
  9. Benchmark VM: Windows: Benchmark Windows (NO VM): Benchmark VM: OSX macOSHigh Sierra 10.13.6 (17G12034) Benchmark (NO VM): OSX macOSHigh Sierra 10.13.6 (17G12034) NOT AVAILABLE see here:
  10. In this thread we can talk about any subject related to AMD 3970x Proxmox VE guide published here:
  11. mettere insieme i pezzi ed avrete Catalina 10.15.4 su AMD 3970x πŸ˜›
  12. si, soprattutto ho audio Hdmi/DP e doppio monitor funzionante con i driver patchati
  13. Audio DP anche qui.....grazie a @Gengik84 stesso ssdt per audio..funzionante in higjΓ¬h sierra e mojave πŸ™‚
  14. siamo 'na squadra fortisssssimi πŸ™‚
  15. Installato scaricando il base system apple dmg e Clover r5107 tramite il nuovo e scintillante script VM assistant by @Gengik84
    This script is very handly to use. with few clicks you can download from Apple recovery dmg you need to install any Osx release available. Script convert in automatic way dmg in iso as needed for VM setup in Proxmox VE. Also it downloads a recent clover release with all you need to boot your VM. Another great product by macOS86.it Added 27-04-2020 Now with VM Assistant is possible to download a full iso installer (very useful just in the case of lower internet download speed) It is also possible download with it a fully working OpenCore 057 EFI folder to boot and to have a fantastic experience with your Proxmox VE OSX rig
  16. Optimizing our VM in Proxmox VE (Proxmox wiki reference): Add an existing physical disk to OSX's VM Open Web interface and open a shell window. If you do not have lshw terminal command type: apt-get install lshw to install it, then type: lshw -class disk -class storage to see disks attacched to our Threadripper PC You will see a list of useful data for your disk: *-disk:1 description: ATA Disk product: ST10000VX0004-1Z physical id: 1 bus info: scsi@5:0.0.0 logical name: /dev/sdd version: AV01 serial: ZA26YT4A size: 9314GiB (10TB) capabilities: gpt-1.00 partitioned partitioned:gpt configuration: ansiversion=5 guid=52a25657-f7d6-45a2-b0b4-07337d277d16 logicalsectorsize=512 sectorsize=4096 I would like to attach this disk, it is a windows disk formatted in exfat. type this command using serial number you see above: ls -l /dev/disk/by-id | grep ZA26YT4A output in my case is: root@pve:~# ls -l /dev/disk/by-id | grep ZA26YT4A lrwxrwxrwx 1 root root 9 Apr 5 14:58 ata-ST10000VX0004-1ZE101_ZA26YT4A -> ../../sdd lrwxrwxrwx 1 root root 10 Apr 5 14:58 ata-ST10000VX0004-1ZE101_ZA26YT4A-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 Apr 5 14:58 ata-ST10000VX0004-1ZE101_ZA26YT4A-part2 -> ../../sdd2 now we can add it to our vm in this way, my VMid is 100, change the command for your id and disk: qm set 100 -scsi2 /dev/disk/by-id/ata-ST10000VX0004-1ZE101_Z852YT4A if all went as it have to be output will be: update VM 100: -scsi2 /dev/disk/by-id/ata-ST10000VX0004-1ZE101_Z852YT4A open from shell your VMID.conf, in my case 100.conf and you should see two pending operation (I renamed scsi2 to sata x. Shutdown VM (no restart) and then start it again In disk utility you have now your new attached disk.
  17. Useful link. Proxmox wiki In this site you can find a tons of useful informations. So read it to clear doubts you can have. Now some useful informations to start thinking to PCI Passthrough. from Proxmod wiki site: Modify grub for your cpu: first step enable the IOMMU. to do this open a shell from Your Proxmox's web interface: type nano /etc/default/grub insert in it "amd_iommu=on" without quote as you see here: ctrl x then Y to save then do not launch upgrade-grub but pve-efiboot-tool refresh then reboot, to verify all is fine, open shell again and type: dmesg | grep -e DMAR -e IOMMU you have a pretty similar output if all is fine..otherwise repeat step above: you can add also iommu=pt to improve some performances in PCI device not in use by your VM. Now another very important part. We need some modules to load, by default they are not loaded: type: nano /etc/modules and add these modules: "Verify also IOMMU isolation (follow Proxmox wiki just in case) (follow my situation which may differ from your)" "To have separate IOMMU groups, your processor needs to have support for a feature called ACS (Access Control Services)." now the tricky thing: Determinate your GPU address: in shell type: lspci and check for your graphic card address: this is my GFX address, then type: lspci -n -s 21:00 you will see: root@pve:~# lspci -n -s 21:00 21:00.0 0300: 10de:1b02 (rev a1) 21:00.1 0403: 10de:10ef (rev a1) root@pve:~# Create a file in etc/modprobe.d/ named vfio.conf: echo "options vfio-pci ids=10de:1b02,10de:10ef" > /etc/modprobe.d/vfio.conf and add on it: options vfio-pci ids=10de:1b02,10de:10ef disable_vga=1 (ctrl x then y) then you have to blacklist the drivers.. PAY ATTENTION and save it , when you reboot after this step it could be possible to have to operate exclusively from Web Pc interface: so type: echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf reboot your pc Note.. remember..we have set our VM bios in this way: bios: ovmf GFX need to be UEFI supported visit this link to understand other important stuff just in case: http://vfio.blogspot.fr/2014/08/does-my-graphics-card-rom-support-efi.html then to avoid some crashes add this line in kvm.conf: echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf also useful to avoid warning messages in your system log this: echo "options kvm ignore_msrs=1 report_ignored_msrs=0" > /etc/modprobe.d/kvm.conf as advice check always that command went fine in this way ie: for now this is an important step, now we have to access to our previously vm created and add "The passthrough" add PCI Device and choose your GFX: in my case it adds this: and this is enough πŸ˜‰ to summarize..before rebooting check this files: grub.cfg blacklist.conf kvm.conf vfio.conf and see if all stuff is there. After reboot in your Threadripper you will see initial Proxmox VE Boot menu (blue one page) and the only two lines (loading stuff) If not check again all steps above. Remember some Mandatory parameter: 1) mce=off in grub 2) all conf files set properly for your system/GPU and so on πŸ˜› If you see only those two lines..launch your vm in your Web interface or via terminal command : qm start 100 and see the log: this is good πŸ™‚ (warning message disappear if you do no t use +pcid in VM conf boot args) this no πŸ˜› Any different case could be possible... remember to check Proxmox wiki if some different problems appear! For now is enough..I will check this guide and if you find some incongruence fill free to declare. added 24-04-2020 The above GPU configuration is perfectly calibrate for my system and my Nvidia TitanXp GPU I have asked @Imanol to describe procedure for a different GPU (AMD 5700XT). He had success following this guide and now he is helping me to show you how he did with his Navi card. this is working in his system, maybe you have to adapt it for your system. ------- I'll share some tips to get the 5700XT GPU passthrough working. This can be helpful for other people using AMD GPUS. I had to do some extra things: The default GPU BIOS doesn't have UEFI enabled. Instead of updating the firmware, which is risky (or non existent tools) , you can download a ROM with UEFI support and let proxmox load/expose it when starting the VM. In my case I downloaded this rom (https://www.techpowerup.com/vgabios/212439/gigabyte-rx5700xt-8192-190616). You have to copy it to: /usr/share/kvm/5700xtcustom.rom and specify the ROM file in the GPU pcie passthrough line vm conf: hostpci1: 03:00,pcie=1,x-vga=1,romfile=5700xtref.rom Additionally, I had to enable some extra flags in clover or it didn't boot correctly. Make sure that you pass the agpmod=pikera boot argument. In graphics settings enable RadeonDeinit. Make sure that InjectATI is correctly disabled. If you are using clover configurator press the checkbox twice, otherwise it's enabled by default. I forgot to mention that to make my 5700XT passthrough work I needed to unbind some system drivers and framebuffers before launching the GPU. Just blacklisting the GPU drivers, enabling nomodeset in Grub or setting GRUB_GFXMODE_LINUX=text in grub didn't work for me. Those unbinds need to be done each time you restart the computer, before launching the VM. I automated it using the linux crontab utility. First open crontab config using this command in a proxmox terminal: crontab -e Add this line into the document and save it: @reboot /root/unbind.sh Create a script in the specified path: nano /root/unbind.sh Add those unbind command (Change 03:00 with the PCI address of your GPU): #!/bin/bash echo "0000:03:00.0" > /sys/bus/pci/drivers/vfio-pci/unbind echo 0 > /sys/class/vtconsole/vtcon0/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind Don't forget to set the correct permissions for the script after saving: chmod 755 /root/unbind.sh Now, each time you restart the computer proxmox will run this script and the guest mac VM will launch without any conflict. ------- Important stuff: macOS86.it is a free site and people here are helpful if tone remain in a calm way..Any different approach will not be tolerate . Now some kudos: to algrey and @Shaneee for their work to understand if there is a way to have this new chip booting in a real hack (for now not possible at all) best people here @Gengik84 to host this and solving many problem for us @Ciro82, @carlo_67 @iCanarofor their invaluable passion and help @tomnic who is corresponsible of this "success"..we can define this hack..."The first AMD Hack fast then ever" Have a nice life
  18. We have to modify manually some part of our VM configuration files and this is stored in /etc/pve/qemu-server/<VM id>.conf file. We have to add as boot arg OSK key and other cpu features not present in old Penryn CPU. So, open a shell: I repeat myself, node name for me is pve, VM id is 103..for your system could be different. you wΓ¬ll have: now insert this: (Nicholas Sherlock's site) args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check -device usb-kbd,bus=ehci.0,port=2 then for a base system reinstall installation: ide0: local:iso/hs.iso,cache=unsafe ide2: local:iso/clover1.iso,cache=unsafe,size=256M or to a full dowloaded iso installer (with the help of VM_Assistant: ide0: local:iso/MacOS_Installer.iso,media=cdrom,size=9G ide2: local:iso/clover1.iso,cache=unsafe,size=256M to have: or: to save press ctrl x / y return now you can select your vm and select Start. Now we have to do some basic stuff to have the chance to start an OSX VM. Follow instructions here to do it simply (Nicholas Sherlock's site): link to OVMF patch ** ** In my system is possible to boot in the same way with clover or OpenCore, without patching this deb file reverting to a not patched file seems to solve also my problem of maintaininga correct boot order in bios settings I leave this step on this guide but you have to verify by yourself if you need or less of this patch (think no...but..it is up to you!) *NOTE* there is a bug , it produces on cold boot weird video result . Proxmox dev have solved this in a new commit! https://forum.proxmox.com/threads/ovmf-screen-resolution-bug.55418/ after that, you can press start on Proxmox web interface to launch the OSX setup process. In this part pay attention to screen resolution (we learn how to modify it if you have scrambling multiple resolution on your display ) You have to match config.plist resolution with OVMF bios resolution pressing F2 to key when you see Proxmox Ve logo on screen* Added on April 9, 2020: In opencore bootloader scrambling graphics is not present at all..so maybe it is a clover bootloader problem press F2 here then click on Device manager and choose: Then verify if Preferred resolution at Next Boot and changed Preferred match. If they do not match open selection and choose the same resolution: Then press F10 (save settings) and commit changes. Reset, now you should see clover boot menu If you see scrambled test or resolution restart computer (clover button) and enter again the procedure above (Opencore solves this problem) If all went fine you can start to install OSX. choose usual bootmacOS install icon and...Gooooooo... Note: if you want to see verbose mode press O and insert -v option also pressing spacebar you can choose -v flag your choice πŸ˜‰ Ok after few minutes you should see: used here reinstall method.. with latest VM assistant script you can convert your previously downloaded install macOS app and use a full installer to do installation (more faster and useful if you have a no fast internet connection)* To download a full installer you can use this app: runme (a script based on Greg Neagle job) *now it is possible to use new version of VM Assistant for this task So select DiskUtility and format VM disk in usual way: then close Disk Utility and start to instal/re-instal as usual Here it is mandatory to have a working ethernet connection if you use reinstall option (base system.dmg based) After some time system reboot and second steps of installation start. After some reboot (the same steps you have in a real hack) you should see login initial option configuration phase. next..some important part for the main goal of this guide.. GPU passthrough!
  19. and now....Virtual machine creation. Create button, start to fill all data in the same way I did. Put a flag on Advanced, name your VM in my case macOS86 and go on choose local in Storage tab, clover.iso in ISO image and Other in Guest OS type, next. Now important page (system) . We come back here to the last part of this guide to configure GPU passthrough , for now in Graphic card us VMware compatible, in BIOS OVMF (UEFI) in Machine Q35 in storage local-lvm, then next Hard disk section. Here I have configured in a simple way, pretty similar to other guide, but it is possible to apply many solutions based on your skill to configure this beast... Bus/device SATA cache write back Unsafe, Storage local-lvm, size 32 (as you want), flag on SSD emulation. press next to go to CPU part. In a VM cores and thread are the same (not sure but..hey..I am not an expert πŸ˜› ) so fill as following image, Sockets 1, Cores 64, Type Penryn, flag on enable NUMA, leave default all other parts. You can also try others CPU type but no different results. In a windows VM you can use Host as Processor type. In OSX no! (not really true..we discover it later) next to the memory part. Here you define memory passed to th VM. It is not possible to pass all memory to VM, in my case I can pass about 125 Gb*, in this VM I will use 64 GB (65536 Mb) *less is better, now I am using 118 Gb Next network part. This is very important because it will be mandatory to complete Osx installation (if you use BaseSystem.dmg ReinstallOS method) I use for now VMware vmxnet3 and leave the rest as is. next step review all your selections in confirm tab and If all is ok finish it. Now we have to modify some stuff in a terminal shell so click on node and to shell as shown in this following pictures: now we have to passthrough our keyboard and mouse (I have it connected via USB port) In hardware tab select add and see following pictures: do the same for usb mouse. Important note: disable USB 3 flag otherwise usb are not working for this now..the linux part of VM creation.
  20. Now, with our Threadripper PC on we have to use another pc or tablet (also phone) connected in the same network, cable or wi-fi is fine Open your browser and digit the address noted above and you will see Proxmox web interface login mask: For the VM configuration part we will spend some time here Login with user name root and password your previously inserted password and you will see: Proxmox has a main subscription way to have a more business support, you can click simply on ok to go on. This is the main page. You can see I have configured 3 VMs and now we start to configure new one. you should have this page empty only pve node and local and local-lvm voices See on the storage 'local' pn node "pve" the upload button. This is the place where we upload things useful like OSX installer or clover iso to use in installation process. We need of new shining script made by @Gengik84 for macOs86.it users to simplify some process, you can reach similar result using other script but this is very simple to use. So download VM assistant from and execute it: choose system you want to install (you need an internet connection for all this process and also for the installation) In my case HighSierra. choose 0 VM Assistant terminal options: ------------------------------------------------------------- Usage: Show this help page: /Users/fabio/Desktop/VM_Assistant-2 -h ------------------------------------------------------------- Download latest clover for VM: /Users/fabio/Desktop/VM_Assistant-2 -dc or /Users/fabio/Desktop/VM_Assistant-2 --downloadclover ------------------------------------------------------------- Convert Installer.app to ISO: /Users/fabio/Desktop/VM_Assistant-2 -cti or /Users/fabio/Desktop/VM_Assistant-2 --apptoiso ------------------------------------------------------------- Download Catalina full Installer: /Users/fabio/Desktop/VM_Assistant-2 -dcata or /Users/fabio/Desktop/VM_Assistant-2 --downloadcatalina ------------------------------------------------------------- Download Mojave full Installer: /Users/fabio/Desktop/VM_Assistant-2 -dmoja or /Users/fabio/Desktop/VM_Assistant-2 --downloadmojave ------------------------------------------------------------- Download HighSierra full Installer: /Users/fabio/Desktop/VM_Assistant-2 -dhs or /Users/fabio/Desktop/VM_Assistant-2 --downloadhighsierra ------------------------------------------------------------- when all is done you can find on your desktop a new folder named Apple_DMG with inside: 10_13 folder, hs.iso and clover1.iso files (their name could be different). You can now upload them via web interface pressing upload button. In this place you have to upload all iso useful to create a VM (also windows.iso or other linux iso if your goal is to instal others system) Osx needs of clover1.iso and hs.iso (boot loader and Osx installer), nothing else!
  21. ah la mia e' supportata πŸ˜› misΓ  che la suite adobe funziona meglio qui che su Ryzentosh originale πŸ™‚
  22. mce=off e' stata una salvata πŸ™‚ aggiunto nell'ordine dei ringraziamenti.. Non e' corretto? πŸ˜›
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.