Subject: use a Windows 10 VM under Proxmox to play a streamed game - in my case Skyrim and Baldur's gate 3
we will cover:
- DL380G8p installation
- DL380G8p upgrade
- Using a Nvidia RTX3060ti graphic card in a DL380G8
- Streaming
-
BIOS Configuration
Acces to BIOS : BIOS Setup/RBSU (press F9).
Config Serveur HP (P/N 653200-B21)
System option : Intel VT System option : Hyper Threading : enable System option : Processor Core Disable : 6 System option : Intel turbo boot : enable System option : smart memory enable System option : Intel VT-d :enable System option : SATA :embedded SATA config : Enable AHCI System option : SATA :Drvie write cache : Enable PCI devices=>Embedded SATA=>Disable PCI devices=>FlexiLOM1 : ethernet 1G 4 port 331FLR =>Disable PCI devices=> NP NC364T : enable Advanced Options=>SRV_IOV:enable Advanced Options=>Video Options=>(3rd option) Embedded Video Primary, Optional Video Secondary Advanced Options=>Advanced Performance =>133MH support : Disable (memoire en 1333MHz) Advanced Options=>Advanced Performance =>ACPI split :enable
Notes: silencing
https://www.reddit.com/r/homelab/comments/ba56lf/silencing_a_hp_dl380_gen8/Ilo4
Install Proxmox 8.1
We do a simple install from USB key or ISO via iLo Card
https://pve.proxmox.com/wiki/Prepare_Installation_Media
Upgrade Firmware
as root :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|
|
|
||
|
|
||
|
|
|
|
|
|
||
|
|
|
|
|
|
||
|
|
|
|
|
|||
|
|
|
|
|
|
||
|
|
|
Upgrade CPU Intel 26xxv2
https://downloads.hpe.com/pub/softlib2/software1/cd/p355461430/v96920/hp-ivb_update-1.80-2.iso
2- fisrt boot is long on particular on step 114 (30% boot)
Helper
from : Proxmox Helper
remove nag screen : past this in terminal
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
add Intell drivers:
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/microcode.sh)"
Replace HP ACU to configure Array from OS
Add sources:
echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp stretch/current non-free" > /etc/apt/sources.list.d/hp-mcp.list
wget -q -O - http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add -
wget -q -O - http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
wget -q -O - http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
wget -q -O - http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
apt update
Install :
apt install ssacli
Exemple :https://gist.github.com/mrpeardotnet/a9ce41da99936c0175600f484fa20d03
ssacli ctrl all show
Smart Array P420i in Slot 0 (Embedded) (sn: 00143xxxxxx)
ssacli ctrl all show status
Smart Array P420i in Slot 0 (Embedded)
Controller Status: OK
Cache Status: Permanently Disabled
Battery/Capacitor Status: Failed (Replace Batteries/Capacitors)
Desactivation cache from card:
Smart Array P420i in Slot 0 (Embedded)
Controller Status: OK
Cache Status: Not Configured
Battery/Capacitor Status: Recharging
root@pve:~# ssacli "ctrl slot=0 show" |grep Cache
Cache Serial Number: PBKUA0BRH3XCEB
Wait for Cache Room: Disabled
Cache Board Present: True
Cache Status: Not Configured
Drive Write Cache: Enabled
Total Cache Size: 0.5
Total Cache Memory Available: 0.3
Battery Backed Cache Size: 0.3
No-Battery Write Cache: Disabled
Cache Backup Power Source: Capacitors
Cache Module Temperature (C): 36
Cache Activation
ctrl slot=0 ld all show detail
Smart Array P420i in Slot 0 (Embedded)
Array A
Logical Drive: 1
Size: 256.00 GB
Fault Tolerance: 5
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 512 KB
Full Stripe Size: 3584 KB
Status: OK
Unrecoverable Media Errors: None
Caching: Disabled
Parity Initialization Status: Queued
Unique Identifier: 600508xxxxxx
Disk Name: /dev/sda
Mount Points: None
Logical Drive Label: A504B2Cxxxxxxxx
Drive Type: Data
LD Acceleration Method: All disabled
ctrl slot=0 ld all modify arrayaccelerator=enable
=> ctrl slot=0 ld all show detail
Smart Array P420i in Slot 0 (Embedded)
Array A
Logical Drive: 1
Size: 256.00 GB
Fault Tolerance: 5
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 512 KB
Full Stripe Size: 3584 KB
Status: OK
Unrecoverable Media Errors: None
Caching: Enabled
Parity Initialization Status: Queued
Unique Identifier: 600508B1001C77A8E9390A307E6D3DA7
Disk Name: /dev/sda
Mount Points: None
Logical Drive Label: A504B2CA001438025BB5A000A6F
Drive Type: Data
LD Acceleration Method: Controller Cache
Convert from RAID 0 to To RAID1
1 disk assigned to Logical drive 1 and unused :
root@pve:~# ssacli ctrl slot=0 pd all show
Smart Array P420i in Slot 0 (Embedded)
Array B
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SAS HDD, 6 TB, OK)
Unassigned
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SAS HDD, 6 TB, OK)
Change rebuild priority and add a disk in Logical drive.
ssacli ctrl slot=0 modify rebuildpriority=high
ssacli ctrl slot=0 ld 2 add drives=allunassigned
ssacli ctrl slot=0 pd all show
Smart Array P420i in Slot 0 (Embedded)
Array B
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SAS HDD, 6 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SAS HDD, 6 TB, OK)
root@pve:~# ssacli ctrl slot=0 ld 2 show
Smart Array P420i in Slot 0 (Embedded)
Array B
Logical Drive: 2
Size: 5.46 TB
Fault Tolerance: 0
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 256 KB
Full Stripe Size: 512 KB
Status: Transforming, 0.05% complete
Caching: Enabled
Unique Identifier: 600508xxxxxxxxxxxxxxxxxxxx
Disk Name: /dev/sdb
Mount Points: None
Drive Type: Data
LD Acceleration Method: Controller Cache
Change RAID structure from Raid0 à RAID1, becasue half space used
ssacli ctrl slot=0 ld 2 modify raid=1
Proxmox : PCI Passthrough
change: /etc/default/grub
The Iommu is to activate passThru, the 2nd to split PCIe Canals
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream,multifunction"
and
update-grub
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
Check graphic card :
lspci -n -s 04:00
04:00.0 0300: 10de:1d01 (rev a1)
04:00.1 0403: 10de:0fb8 (rev a1)
We have the video part and the audio part, we pass everything
echo "options vfio-pci ids=10de:1d01,10de:0fb8" > /etc/modprobe.d/vfio.conf
Proxmox PCI passthrough an RMRR issue
With PVE kernel before 6.5.10-1 we have to use a relaxable RMRR kernel.
https://github.com/Aterfax/relax-intel-rmrr/releases
PCI Passthroug with non RTX card
We have to extract the ROM from graphic card ad copy it to /usr/share/kvm/
add add it to the VM
hostpci0: 01:00,pcie=1,romfile=<GTX1030>.rom