Another LibreElec help thread

Chokehold

New Member
Mar 15, 2022
1
0
1
37
Hello,

I am looking for help in setting up LibreElec on my desktop server and passing through iGPU and HDMI output to use as a HTPC while other VM's do other things headless.
Using Proxmox 7.1-10 for this.

I am fairly new to virtualization, as opposed to just installing an OS on a machine and using that, but I am very much hoping to learn from this.
What I have found so far in my quest to achieve the above goal, is a tutorial on how to passthrough iGPU. This resulted in a very quick filling up of the local partition since all important logs immediately got filled with messages such as resource or device busy, or that it can't access the resource, while referencing the PCI address.

So barring that, for now, I decided to at least try and get LibreElec up and running, one step at a time. I managed to convert the "official" LibreElec generic nightly build as instructed in another thread on their own forum, after the stable release apparently did not have proper support for the Linux kernel used.
After a bunch of back and forth, I managed to extract the vmdk file and convert it to qcow2 and load it as a disk in a VM, and install LibreElec to another VM disk. So far so good.
But now that I am booting from the install disk, I am getting reboot loops and I am not sure where I can even begin to start looking for what is actually causing them.
I saw some other person having the same issue, but gave up. Hope the below pastes are of any help.

# qm config 100 boot: order=sata1;net0 cores: 2 machine: q35 memory: 8192 meta: creation-qemu=6.1.0,ctime=1646732073 name: Srv01-KODI net0: e1000=F2:C9:ED:04:AB:B1,bridge=vmbr0 numa: 0 ostype: l26 sata1: local-lvm:vm-100-disk-1,size=65540M smbios1: uuid=854bb47b-6251-4ada-8652-27be366c3ab0 sockets: 1 unused0: local-lvm:vm-100-disk-0 vga: virtio,memory=512 vmgenid: fb15420b-f450-494e-970a-838f4e5dbf0d

# lspci -nnk | grep "VGA\|Audio" 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:4c8a] (rev 04) 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:43c8] (rev 11)

# dmesg | grep -e DMAR -e IOMMU [51762.205114] DMAR: DRHD: handling fault status reg 3 [51762.210952] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 809a2000 [fault reason 05] PTE Write access is not set [51762.409083] DMAR: DRHD: handling fault status reg 3 [51762.414923] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 809a2000 [fault reason 05] PTE Write access is not set [51762.613049] DMAR: DRHD: handling fault status reg 3 [51762.618696] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 809a2000 [fault reason 05] PTE Write access is not set [51762.817072] DMAR: DRHD: handling fault status reg 3 [51767.305062] DMAR: DRHD: handling fault status reg 3 [51767.311197] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 809a3000 [fault reason 05] PTE Write access is not set [51767.508991] DMAR: DRHD: handling fault status reg 3 [51767.514402] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 809a2000 [fault reason 05] PTE Write access is not set [51767.713103] DMAR: DRHD: handling fault status reg 3 [51767.718877] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 809a2000 [fault reason 05] PTE Write access is not set

# dmesg | grep -e DMAR -e IOMMU [ 0.015325] ACPI: DMAR 0x00000000796AE000 000088 (v02 INTEL EDK2 00000002 01000013) [ 0.015363] ACPI: Reserving DMAR table memory at [mem 0x796ae000-0x796ae087] [ 0.057077] DMAR: IOMMU enabled [ 0.139883] DMAR: Host address width 39 [ 0.139884] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.139889] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e [ 0.139892] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.139896] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da [ 0.139898] DMAR: RMRR base: 0x00000080000000 end: 0x000000907fffff [ 0.139900] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 [ 0.139901] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.139903] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping. [ 0.141436] DMAR-IR: Enabled IRQ remapping in x2apic mode [ 0.364813] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics [ 0.437130] DMAR: No ATSR found [ 0.437131] DMAR: No SATC found [ 0.437132] DMAR: IOMMU feature fl1gp_support inconsistent [ 0.437133] DMAR: IOMMU feature pgsel_inv inconsistent [ 0.437134] DMAR: IOMMU feature nwfs inconsistent [ 0.437135] DMAR: IOMMU feature dit inconsistent [ 0.437135] DMAR: IOMMU feature sc_support inconsistent [ 0.437136] DMAR: IOMMU feature dev_iotlb_support inconsistent [ 0.437137] DMAR: dmar0: Using Queued invalidation [ 0.437140] DMAR: dmar1: Using Queued invalidation [ 0.439884] DMAR: Intel(R) Virtualization Technology for Directed I/O

The iGPU is a Intel UHD 750 on a Core i7 11th gen, if that helps or makes a difference.

Can you guys point me in the right direction of what I should look to do differently?
Very much appreciate all help I can get here! Many thanks!
 
Last edited:
it seems recent intel igpu are having difficulty to passthrough.

my previous rig using 8400 have it igpu passthrough perfectly.
but my latest rig 12400 although had it passthrough to ubuntu and install driver, but i am suffering at 1fps, complete useless.

i am afraid 11th gen may have similar problem.
i am searching for help too for guideline how to passthrough 12th gen igpu.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!