Libreelec not booting on Passthrough


jas0r

Recommended Posts

Hi

 

I have an unraid system with 2 Libreelec VMs that use 2 graphics cards to passthrough to TVs in my house. Its run great for years but as of 6.10.X its stopped. If I stay on 6.9.2 it runs fine so thats what I am doing so far.

 

The passthrough works as the tv's come up and show the libreelec splash screen but the boot fails with:

[FAILED] Failed to start Xorg Server
[DEPEND] Dependency failed for Fluxbox Window Manager

 

Reading up on this it seems although the card is working and passing through some key driver info isnt coming through so Libreelec thinks it doesn't have a suitable card.

 

I have followed all the steps found in the forums and Redit:

PCIe ACS Override

Binding the video and audio

Using vfio-pci.ids= in the boot to islolate the cards

Using isolcpus= in the boot to isloate the CPUs used by the VM

Adding the below lines into /boot/config/go 

echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

 and finally editing the VM XML as per below

 <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x82' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/user/Storage/Apps/VBIOS/gpu GT710 vbios.rom'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x82' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

 

Can anyone help? 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.