LibreELEC/OpenELEC Krypton templates?


exist2resist

90 posts in this topic Last Reply

Recommended Posts

Are the Krypton KVM templates available yet?

I'm on version 6.2.4 and was wondering if the new templates are available in the Unraid v6.3 versions.

 

Update:

LivingLegend has compiled a version of a headless Krypton or LibreELEC 8 image that works without a GPU.

You have to update the 

<channel type='unix'>

and

<video>

tags as reflected in his post. 

 

Instructions below.

 

Edited by exist2resist
Update
Link to post
  • Replies 89
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Shameless bump.... Anyone got Krypton update working on their VM? Or a new template?   The Krypton LibreELEC version is out. I have on all my htpc's but not on my VM one.    

Here's the rundown:   I found tweaks that were made on a nightly build that's actually already running Kodi 18.0.  These tweaks allowed LibreELEC to run in the manner we're looking, no dedic

Uploaded to dropbox.  Unzip and give it a go.   https://www.dropbox.com/s/ohxe2zhq8mkgl6d/LibreELEC-Generic.x86_64-8.0-devel-20170330140555-r25524-gba275c4-unRAID-Krypton.img.gz?dl=0

Posted Images

You can use this method to install whatever version of OE or LE you like:  https://lime-technology.com/forum/index.php?topic=44683.0

 

BTW, if you don't care about using and official build AND want built-in retro gaming (EmulationStation as a frontend), I highly recommend this build:  https://forum.libreelec.tv/thread-302.html

 

Escalade is very active and will answer all questions.

 

John

Link to post
  • 2 weeks later...
On 2/17/2017 at 0:16 PM, johnodon said:

You can use this method to install whatever version of OE or LE you like:  https://lime-technology.com/forum/index.php?topic=44683.0

 

BTW, if you don't care about using and official build AND want built-in retro gaming (EmulationStation as a frontend), I highly recommend this build:  https://forum.libreelec.tv/thread-302.html

 

Escalade is very active and will answer all questions.

 

John

 

John, I did try that method I could not get it to work.

Link to post
  • 2 weeks later...

Krypton LibreELEC is out now.... I have tried to upgrade by copying the kernel files into the /update folder. After rebooting the LibreELEC VM, it is still the older Jarvis version.

 

For some reason I cannot SSH into the VM either. I was going to try to upgrade using CLI, but basically its the same as what I did above.

 

An upgrade would be awesome... hopefully not a new install as I have a lot of addons to configure.

 

Thanks,

 

H.

Link to post
5 hours ago, johnodon said:

 Still works fine.

 

Oh I get it as far as installing and booting, but it fails on boot. 

Also I'm talking about the official Generic build/the instructions you postet, not the community build. 

I have no interest in Retro gaming at all. 

I will try again next week when I'm done my course and have my new TV.

Edited by exist2resist
Link to post

I like the Unraid VM template because I don't need to use my GPU. I look forward to you guys being able to fix it :) 

 

 

As for the other method, it worked just fine for me and I was running Krypton for a while but then the VM started locking up Unraid to the point that it was unresponsive and needed to be hard reset. According to my GoogleFu skills...this is happening because I am using an AMD card and the PCI device is not being properly released when the VM goes down so it locks up on reboot.

Link to post

I just installed LE v8 Official in a VM using the method I posted above and it worked as inspected (not just the install).

 

As for the other method, it worked just fine for me and I was running Krypton for a while but then the VM started locking up Unraid to the point that it was unresponsive and needed to be hard reset. According to my GoogleFu skills...this is happening because I am using an AMD card and the PCI device is not being properly released when the VM goes down so it locks up on reboot.

 

This is the reason I have moved to all Nvidia cards.

 

John

Link to post
On 2017-03-08 at 3:00 PM, hernandito said:

Shameless bump.... Anyone got Krypton update working on their VM? Or a new template?

 

The Krypton LibreELEC version is out. I have on all my htpc's but not on my VM one.

 

 

The only thing that is holding me back from upgrading to Krypton is my uR VM, which I use as a headless for updating my DB.

 

When LimeTech chose to supports these VM templates it's probably a good idea to stay on top and update them as well.

Link to post
3 hours ago, exist2resist said:

When LimeTech chose to supports these VM templates it's probably a good idea to stay on top and update them as well.

Because of how VM templates are handled in the system, updated templates can only come with OS updates.  In this case, LibreElec was released Feb 22 and unRaid 6.3.2 was released Feb 17.

 

Not how I like it, but it is what it is.

 

You should be able to run any version of LibreElec / OpenElec by following the directions in this thread 

 

Link to post
16 hours ago, Squid said:

You should be able to run any version of LibreElec / OpenElec by following the directions in this thread 

 

 

Mr. Squid.... I have tried but I am on latest unRAID 6.3.2 When I click "Custom" on the VM page, I only get a big box for XML code:

 

qIZLIei.png

I do not see any place where I can enter all the settings, per your link above... Can it be as simple as someone pasting a specific XML code? If I click on LibreELEC, it hard codes to the Jarvis version. I even tried renaming the new image with the old name (it would not boot to the installer).

 

I too use the LE VM to do the background updating of my library.

 

Thanks,

 

H.

 

 

Link to post

Been forever since I did it, but you can probably just select Linux and follow the thread.

5 minutes ago, hernandito said:

I too use the LE VM to do the background updating of my library.

Full blown VM might not work then, as IIRC it requires a passed through video card whereas LT's templates work with noVNC

Link to post
3 hours ago, Stripe said:

I run LibreElec VM created on standard Linux template. Works like a charm...

 

Hi Stripe, any chance you could post a screen shot of the VM's setup page?

 

I still have not been able to succesfully do this.

 

Thanks!

 

H.

Link to post

 

When you create VM you must add a vDisk and point the first one to location where you store libreelec img file and second to the default location of your VM. After installation is complete you can delete the first vdisk. If you have any problems with booting, check the boot priority of vdisk in your xml file. Do not use "Os install ISO".

VM.png

Edited by Stripe
Link to post
15 hours ago, Squid said:

Been forever since I did it, but you can probably just select Linux and follow the thread.

Full blown VM might not work then, as IIRC it requires a passed through video card whereas LT's templates work with noVNC

 

The template VM works perfect without a GPU pass through. It's been running stable for a long time for me.

I'm using the LibreELEC template.

 

What I want to know is, who created it, and how did they manage to get it working with VNC.

Edited by exist2resist
Link to post
8 hours ago, hernandito said:

 

Hi Stripe, any chance you could post a screen shot of the VM's setup page?

 

I still have not been able to succesfully do this.

 

Thanks!

 

H.

If you have a GPU that you're going to pass through, this XML template will work.

After you install the OS add your GPU to the XML.

 

Myself I can install the OS, etc. But it fails at starting Xorg Server. I don't have a GPU I am using with LibreELEC.

 

<domain type='kvm' id='19'>
  <name>LibreELEC8</name>
  <uuid>6c40fd67-230c-81cd-0610-37ae556400c1</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="LibreELEC" icon="libreelec.png" os="libreelec"/>
  </metadata>
  <memory unit='KiB'>1048576</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>1</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='5'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.7'>hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='1' threads='1'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/cache/appdata/LibreELEC_8/LibreELEC8/vdisk1.img'/>
      <backingStore/>
      <target dev='hda' bus='sata'/>
      <boot order='2'/>
      <alias name='sata0-0-0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/system/data/iso/LibreELEC-Generic.x86_64-8.0.0.img'/>
      <backingStore/>
      <target dev='hdb' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <model name='i82801b11-bridge'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='2'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:d7:e5:b0'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='e1000'/>
      <alias name='net0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-19-LibreELEC8/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='65536' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
</domain>

 

Link to post
  • 2 weeks later...
On 3/16/2017 at 4:00 PM, exist2resist said:

If you have a GPU that you're going to pass through, this XML template will work.

After you install the OS add your GPU to the XML.

 

Myself I can install the OS, etc. But it fails at starting Xorg Server. I don't have a GPU I am using with LibreELEC.

 

Hi,

 

Thanks exist2resit.

 

I am finally back at my desktop and attempting this again. I used your xml and like you, I was able to install LibreELEC. But it will NOT start Xorg once installed. I also do NOT have a graphic card to pass through. I want to use VNC and use this as a Kodi library update VM.

 

This is what I get when it tries to boot:

 

gHPKAbQ.png

 

I tried using all 3 VNC Video drives, Cirrus, QXL and vmvga but none worked.

 

Anyone able to solve this?

 

Thanks,

 

H.

 

Edited by hernandito
Link to post

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.