I Managed to get run Linux to run in Proxmox 6.1 on my Odroid H2 ( Intel J4105 Gemini Lake )
HDMI and Sound is fully working.
PCI Passtrough Gemini Lake Proxmox 6.1
HDMI and Sound is fully working.
PCI Passtrough Gemini Lake Proxmox 6.1
1. Grub
nano /etc/default/grub
change
to
then save and quit
run:
update-grub
2. Blacklist module
nano /etc/modprobe.d/pve-blacklist.conf
add:
save and quit
3. VFIO
nano /etc/modules
add:
save and quit
4. VGA and Sonud Adapter (HDMI):
run:
lspci
Output:
Video and Audio Devices:
run for Video:
lspci -n -s 00:02.0
get:
run for Sound:
lspci -n -s 00:0e.0
get:
edit:
nano /etc/modprobe.d/vfio.conf
for Video:
add:
for Audio:
save and quit
5. update initramfs
run:
update-initramfs -u
then do reboot
6. create new VM
Edit Hardware:
add USB Device for Mouse and Keyboard
Video:
add PCI Device 0000 00:02.0 -> select advanced + select PCI
Sound (HDMI):
add PCI Device 0000 00:0e.0 -> select advanced + select PCI
Configuration for my VM:
nano /etc/pve/qemu-server/100.conf
everything seems to work.
nano /etc/default/grub
change
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifbff"
then save and quit
run:
update-grub
2. Blacklist module
nano /etc/modprobe.d/pve-blacklist.conf
add:
blacklist snd_hda_intel
blacklist i915
blacklist sof_pci_dev
save and quit
3. VFIO
nano /etc/modules
add:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
save and quit
4. VGA and Sonud Adapter (HDMI):
run:
lspci
Output:
00:00.0 Host bridge: Intel Corporation Device 31f0 (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Device 3185 (rev 03)
00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
00:12.0 SATA controller: Intel Corporation Device 31e3 (rev 03)
00:13.0 PCI bridge: Intel Corporation Device 31d8 (rev f3)
00:14.0 PCI bridge: Intel Corporation Device 31d6 (rev f3)
00:14.1 PCI bridge: Intel Corporation Device 31d7 (rev f3)
00:15.0 USB controller: Intel Corporation Device 31a8 (rev 03)
00:17.0 Signal processing controller: Intel Corporation Device 31b4 (rev 03)
00:17.1 Signal processing controller: Intel Corporation Device 31b6 (rev 03)
00:17.2 Signal processing controller: Intel Corporation Device 31b8 (rev 03)
00:17.3 Signal processing controller: Intel Corporation Device 31ba (rev 03)
00:1f.0 ISA bridge: Intel Corporation Device 31e8 (rev 03)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
01:00.0 Non-Volatile memory controller: Kingston Technologies Device 5008 (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Video and Audio Devices:
Vga adapter: 00:02.0 VGA compatible controller: Intel Corporation Device 3185 (rev 03)
Audio (HDMI): 00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
run for Video:
lspci -n -s 00:02.0
get:
00:02.0 0300: 8086:3185 (rev 03)
run for Sound:
lspci -n -s 00:0e.0
get:
00:0e.0 0403: 8086:3198 (rev 03)
edit:
nano /etc/modprobe.d/vfio.conf
for Video:
add:
options vfio-pci ids=8086:3185
for Audio:
options vfio-pci ids=8086:3198
save and quit
5. update initramfs
run:
update-initramfs -u
then do reboot
6. create new VM
-dont start-Machine: i440fx
-Display none
-Media Zorin OS
Edit Hardware:
add USB Device for Mouse and Keyboard
Video:
add PCI Device 0000 00:02.0 -> select advanced + select PCI
Sound (HDMI):
add PCI Device 0000 00:0e.0 -> select advanced + select PCI
Configuration for my VM:
nano /etc/pve/qemu-server/100.conf
agent: 1
balloon: 0
bootdisk: virtio0
cores: 4
cpu: host
hostpci0: 00:02.0,rombar=0
hostpci1: 00:0e.0,rombar=0
ide2: none,media=cdrom
memory: 10240
name: Desktop1
net0: virtio=56:C2:43:32:9E:6B,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
smbios1: uuid=b151f254-7fbe-4035-9b85-97b8d80baa23
sockets: 1
usb0: host=1-1
usb1: host=1-4
vga: none
virtio0: local-lvm:vm-100-disk-0,cache=unsafe,size=32G
vmgenid: 78b35d30-c4ba-4440-9e24-72b03d8f2a26
everything seems to work.
Last edited: