Тёмный

Proxmox Gaming with 2x GPUs - windows and hackintosh Sequoia simultaneously in an old Lenovo Server 

MadLab Nexus
Подписаться 1,5 тыс.
Просмотров 44 тыс.
50% 1

UPDATE - Ago/26
I will release a full tutorial VIDEO soon. Tell what you want to see
*I would be honored to receive your like and subscribe
**added #configuration files below for PROXMOX
#gaming with #proxmox #gpu #passthru and #windows / #macOS #hackintosh #sequoia beta
DISCLAIMER:
I´m using a BETA VERSION of macOS to BE TESTED in a VM so don’t need to mess with my apple hardware
I will not provide information on how to run release versions of macOS. Please search the web for these tutorials. About windows please use the original. But can help with the VM configuration and also on proxmox, so the VM will run smooth and fast.
Below a small guide for INTEL CPU and PROXMOX FILES for passing thru GPU and alowing MAXIMUM performance
note: using ( ) for the commands or args. We cannot use brackets in youtube. so consider what is inside ( )
1- ADD this to boot (GRUB or /etc/kernel/cmdline) after all the previous arguments
(intel_iommu=on iommu=pt initcall_blacklist=sysfb_init pcie_acs_override=downstream,multifunction)
if you use in a LAB and want more speed you can disable mitigations, BUT THIS IS A SECURITY BREACH! add the argument below to the end of the line above
(mitigations=off)
2- Create a file (/etc/modprobe.d/kvm.conf) and add the line below
(options kvm ignore_msrs=Y report_ignored_msrs=0)
3- Create or change a file for do not alowing proxmox to use the hardware you going to be passingthru (/etc/modprobe.d/pve-blacklist.conf) and add this to blacklist GPUs, sound cards etc:
(
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist radeon
blacklist amdgpu
)
4- execute (lspci -nnk) command and search for the hardware you want to passthru like your NVIDIA or ATI AMD gpus or USB or PCIe NVME card.... and take note of the ID. It should be something in HEX with this format: [8086:6f8a] - SOMENTHING LIKE THAT for each card.
then create a file (/etc/modprobe.d/vfio-pci.conf) and add this line with YOURS IDs, separated by comma and finishing it with the parameter (disable_vga=1 disable_idle_d3=1)
LIKE BELOW example:
(options vfio-pci ids=10de:2786,1002:73ff,8086:8d31,8086:8d2d,8086:8d26,413c:2514,17ef:60a9,0bda:4014,0bda:8153,0b0e:245d disable_vga=1 disable_idle_d3=1)
5- edit the file (/etc/modules) and add this
(
vfio
vfio_iommu_type1
vfio_pci
)
6- do a GRUB update or initram update and reboot. in my case since I use initram...
the commands are:
(
proxmox-boot-tool refresh
update-initramfs -u -k all
reboot
)
you should be good to go.
________________________________________________
WINDOWS or LINUX MACHINE CONF
you need to simulate a gaming motherboard, use UEFI bios and change CPU parameters... you need to add there args (/etc/pve/qemu-server/YOUR-VM-ID.conf)
example:
(nano /etc/pve/qemu-server/100.conf)
add this or change:
(
args: -cpu host,-hypervisor,kvm=off, -smbios type=0,vendor="American Megatrends Inc.",version=3302,date="02/21/2024"
bios: ovmf
balloon: 0
cpu: host,hidden=1,flags=-md-clear;-pcid;-spec-ctrl;-ssbd;-ibpb;-virt-ssbd;-amd-ssbd;-amd-no-ssb;+pdpe1gb;+hv-tlbflush;+hv-evmcs;+aes
machine: q35
numa: 0
)
then before saving it, search for the line like this:
(smbios1: uuid=6a2295e4-8dd7-46da-b457-d536550ff4a7)
and by the end of the line add:
(,manufacturer=QVNVUw==,product=WjY5MC1JIEdBTUlORyBXSUZJ,family=WjY5MA==,base64=1)
so at the and your line should look like this (BUT THE UUID should be YOURS)
(smbios1: uuid=6a2295e4-8dd7-46da-b457-d536550ff4a7,manufacturer=QVNVUw==,product=WjY5MC1JIEdBTUlORyBXSUZJ,family=WjY5MA==,base64=1)
save the config file and your good to GO with windows.
________________________________________________
macOS MACHINE CONF
you need a VM SMBIOS type 2 that is avaliable in WEB to allow macos BETA to be TESTED as a virtual machine so add there args to (/etc/pve/qemu-server/YOUR-VM-ID.conf)
example:
(nano /etc/pve/qemu-server/101.conf)
add or change this:
(
args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device qemu-xhci -device usb-kbd -device usb-tablet -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Cascadelake-Server,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc
bios: ovmf
balloon: 0
cpu: host,hidden=1,flags=-md-clear;-pcid;-spec-ctrl;-ssbd;-ibpb;-virt-ssbd;-amd-ssbd;-amd-no-ssb;+pdpe1gb;+hv-tlbflush;+hv-evmcs;+aes
machine: q35
numa: 0
)
save the config file and your good to GO with macOS BETA
Finally you need to passthru the PCI GPUs or other cards using proxmox web gui interface.
on web console:
go to your virtual machine ID (macos or windows or linux...)
go to hardware tab
click add
search for PCI Device
flag Raw Device
search for your GPU or other cards in the list
flag All Functions
now for windows: flag Primary GPU and PCI-Express
for macos NO NOT flag Primary GPU and PCI-Express
ENJOY!

Опубликовано:

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 258   
Далее
The ULTIMATE Budget Workstation.
14:57
Просмотров 341 тыс.
This homelab setup is my favorite one yet.
21:30
Просмотров 245 тыс.
macOS: A Linux User's Opinion
36:50
Просмотров 84 тыс.
A quick look at my homelab.
4:56
Просмотров 688 тыс.
Can Windows XP Run Minecraft 1 21?
44:40
Просмотров 482 тыс.
We built the Biggest iPhone in the World.
23:30
Просмотров 3,4 млн
The ultimate gaming virtual machine on proxmox
17:19
Просмотров 25 тыс.
Getting Dial Up Internet in 2023!
16:50
Просмотров 998 тыс.