Jump to content

fabiosun

Supervisor
  • Posts

    10,608
  • Joined

  • Days Won

    442

Everything posted by fabiosun

  1. ce la dovrei aver fatta..se e' confermato..po aggiorno tutti gli interessati 🙂
  2. @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
  3. adesso che ho fatto esperienza..seguo la guida e reinstallo da zero 😂
  4. 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 🙂 🙂
  5. 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:
  6. In this thread we can talk about any subject related to AMD 3970x Proxmox VE guide published here:
  7. mettere insieme i pezzi ed avrete Catalina 10.15.4 su AMD 3970x 😛
  8. si, soprattutto ho audio Hdmi/DP e doppio monitor funzionante con i driver patchati
  9. Audio DP anche qui.....grazie a @Gengik84 stesso ssdt per audio..funzionante in higjìh sierra e mojave 🙂
  10. siamo 'na squadra fortisssssimi 🙂
  11. 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
  12. 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.
  13. 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
  14. 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!
  15. 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.
  16. 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!
  17. ah la mia e' supportata 😛 misà che la suite adobe funziona meglio qui che su Ryzentosh originale 🙂
  18. mce=off e' stata una salvata 🙂 aggiunto nell'ordine dei ringraziamenti.. Non e' corretto? 😛
  19. Preface: Inspired by the lack of patches for this new ThreadRipper CPU series , I have started to find a way to have "the fast Amd hack ever". Hard task was to setup a pretty bare machine inside an OSX linux vm. Many solutions were evaluated to reach this important goal. Ubuntu, CentOS, UnRaid and so on Tested many VM and found many interesting stuff on the net. Kholia's or foxlet's GitHub guide for example or nicksherlock's guide more Proxmox like. With these guide is possible to start our job and to have a working OSX..but I need more! 😉 I want to use my single Nvidia Gpu on it and for it I need a different approach. Single GPU usually is a pain because when we passthrough* it to the guest PC..we will loose it. So, we have to use another PC to connect in it or a simple Android or iOS tablet (now I am use my iPhone for this task 🙂 ) So, after some days of brainstorming with @tomnic we choose to start with Proxmox VE. It seemed the most flexible linux distro to reach my goal. macOS High Sierra and Nvidia web driver installed with no compromise. Proxmox Ve allows to build a bare metal system with Gpu passthrough, and, most important thing it has a web interface to control guest PC * Passthrough is a technique to "pass" hardware to a virtual machine loosing only a minimal part of hardware performance More difficult and critical task is passthrough our hardware to VM in a way which will allow me to have a pretty similar performance as a real hack and overall to have GPU at its best in this system. Prequisites: A minimal linux experience (I have had no idea before about linux and this was the main difficulty for me) To know what to search usefull for my need! A OSX, linux or windows system to collect some files (I have used used linux and OSX, with latest one preferred. System configured is in my signature, summarized here: MSI Trx40 10G Pro AMD 3970x Threadripper 32 cores / 64 threads (this guide is also useful for 3960x and maybe for 3990x (capping cores not supported by OSX kernel) 1Tb Nvme Sabrent and so on... Let's start! Mandatory Elements: 0) Proxmox VE (Proxmox Ve's wiki link) 1) a working OSX. Linux, Windows ( in this guide we use OSX High Sierra 10.13.6 2) download Vm_assistant's script, an exclusive script by macOS86.it and @Gengik84 VM assistant From this link a simple guide: Promox VE installation procedure: In this guide I will not do a detailed guide to install this linux release, you can find useful information on: link to Proxmox link to iso installer Use your favorite Iso installer to produce a bootable USB pen drive (8gb or more is fine) In this guide I have used Balena Etcher: link Balena Etcher Warning for initial installation part! * Due a problem with new TRX40 motherboard , ProxMox 6.1 and lower will hang on early booting stage. To avoid this you have to modify grub.cfg file in this way: find this line: linux /boot/vmlinuz-5.3.10-1-pve root=/dev/mapper/pve-root ro quiet with this linux /boot/vmlinuz-5.3.10-1-pve root=/dev/mapper/pve-root ro quiet mce=off adding mce=off allows us to start this exciting journey.... Alternatively you can modify this line directly on boot menu selection before selecting your choice (press E and add mce=off as shown before) thanks @KTC for pointing me in the right direction * this problem could be resolved with a future Proxmox update SOLVED in Proxmox 6.1-3 and greater step 1: boot from your ProxMox Ve USB pen drive, you will have: select Install Proxmox VE and then follow indication you can see below. Note Fill your network data with your (setup should do it for you except for Domain and your email) Installation is done! 😛 Reboot and choose your usb pen drive and boot from it. In a few second you will see: Now pay attention..if you have not modified grub.cfg...you MUST do it now pressing E on keyboard and adding manually mce=off as previously shown. You have also to remember to do it permanently when we start in Proxmox VE first time. At login user is root password (your previous choice during Proxmox installation) now it is possible to be a bit worried..if you are (as I was) not confident with linux command)..but I will try to stay more simple I can. Start to find googling how to read or to modify some files in linux (text configuration file I mean). I have used nano command..you can also use vim or similar command. Now, take note of link you can see in this picture: https://192.16.1.92:8006 (yours could be different) and the magic starts : )
  20. Grazie @Gengik84 abbiamo anche audio perfetto in DP 🙂 lo avremmo avuto già da qualche giorno..ma ho dovuto lavorare lato linux... evviva..ora manca solo la scheda interna e poi e un hack vero ....e...Fast AMD hack ever Ringrazio tutti voi per l'aiuto..in particolare in ordine alfabetico 🙂 @carlo_67 @Ciro82 @Gengik84 @iCanaro @KTC @lore3333 @netgear @tomnic e anche grazie a Teresa..che mi ha fatto rosicare e stimolato a studiare il come fare 🙂
  21. si @netgear poi onestamente pensavo andasse pero' ora sto a buon punto ed ho studiacchiato un po' di linux e VM..argomento per me sconosciuto o quasi sino ad ora
  22. grazie a @Gengik84altro importante passo fatto.. audio via output casse ottenuto
×
×
  • 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.