OpenELEC presentation for PLEX?

Hey Plex Ninja,

Good work on the OpenELEC build. Can I ask a couple of questions

 - which OpenELEC "project" is this built from? (Generic, Intel, etc.)

 - do you have a github or something that lists the changes to make to the build environment so users could build their own? If built from the Generic project I'd like to build an Intel image to take advantage of the HD Graphics drivers for audio bitstreaming.

Thanks again!

Tested it out tonight, some issues:

  • 92_setup-xbmc init script assumes the .plexht/userdata directory exists
  • 93_plexht is trying to launch PHT from /usr/lib/plexhometheater instead of /usr/bin
  • plex requires the shared library libSDL-mixer but it isn’t in the image.


    Hope this helps!

Tested it out tonight, some issues:
- 92_setup-xbmc init script assumes the .plexht/userdata directory exists
- 93_plexht is trying to launch PHT from /usr/lib/plexhometheater instead of /usr/bin
- plex requires the shared library libSDL-mixer but it isn't in the image.

Hope this helps!


This helps alot. Will change this as soon as I get back to my build box.


- Mark

No problems, happy to help.

Would also be happy to perform builds in the interim (and push fixes where I can) if you had a fork of OpenELEC in GH for this :)

No problems, happy to help.

Would also be happy to perform builds in the interim (and push fixes where I can) if you had a fork of OpenELEC in GH for this :)


So I changed those 3 things and rebuilt, package here: http://plexrpms.markwalker.dk/OpenELEC/V3.2-test/OpenELEC-Plex.x86_64-V3.2-test2.tar.gz
Also pushed things to the OE repo. I am working on this branch: https://github.com/ziggimon/OpenELEC.tv/tree/plexelec-3.2-test

Feel free to do pull req's as my time is a little constraint so help is ofc welcome.



- Mark

I try to run it on my test machine. But after the install and reboot i get a black screen.

I try to run it on my test machine. But after the install and reboot i get a black screen.


Have you tried booting it in debug mode? There is a guide on the OpenELEC page on how to do that. My suspicion is it's got something to do with the Xorg startup not going right. Seen that on the old builds on VM's. I hope I have my i5 test rig up during the weekend. Need to get this working soon.


- Mark

I cant find the guide. Do you have a link?

There's still a couple of issues with the image Ziggimon.

 - libGL.so is missing (PHT needs this), a fresh build I performed didn't have this problem but later builds did. I didn't "make clean" between builds so this could be a cause.

 - 93_plexht script still has incorrect path, it has "/usr/bin/plexhometheater/plexhometheater" instead of /usr/bin/plexhometheater

Also you have the "vmware" graphics driver listed but that needs CONFIG_DRM_VMWGFX=m in the kernel configuration. I'm going to build an Intel/nVidia image and a separate Virtual image with those drivers and kernel module for testing, as I don't have a spare Core-i box around :(

Once I got PHT running I have some display issues (controls not showing up, complete transparency behind text), not sure if it is X or the skin - this happened on my i5 as well so it's not a virtualisation issue. I tried the latest mediastream skin, no change.

 - libGL.so is missing (PHT needs this), a fresh build I performed didn't have this problem but later builds did. I didn't "make clean" between builds so this could be a cause.

On closer inspection this is meant to be symlinked correctly during xorg start. It might have been due to a missing kernel vmwgfx module preventing X from starting.

There's still a couple of issues with the image Ziggimon.

- libGL.so is missing (PHT needs this), a fresh build I performed didn't have this problem but later builds did. I didn't "make clean" between builds so this could be a cause.
- 93_plexht script still has incorrect path, it has "/usr/bin/plexhometheater/plexhometheater" instead of /usr/bin/plexhometheater

Also you have the "vmware" graphics driver listed but that needs CONFIG_DRM_VMWGFX=m in the kernel configuration. I'm going to build an Intel/nVidia image and a separate Virtual image with those drivers and kernel module for testing, as I don't have a spare Core-i box around :(

Once I got PHT running I have some display issues (controls not showing up, complete transparency behind text), not sure if it is X or the skin - this happened on my i5 as well so it's not a virtualisation issue. I tried the latest mediastream skin, no change.


On closer inspection this is meant to be symlinked correctly during xorg start. It might have been due to a missing kernel vmwgfx module preventing X from starting.


Thanks for the feedback. I'll do an updated build with debug enabled from the start. Also the libgl stuff I recall from older versions, so that must have gotten lost in the 2.95.xx to 3.2 upgrade process due to a bad guy merge. I'll add the kernel option to my build and see if that doesn't fix that. The screenshots you showed me seem to indicate that the Textures.xbt is missing from the skin.mediastream/Media dir, so for sure a skin related issue.

My aim is a generic build that hits VM's, Intel and ION, the VM's being less important, might just do a seperate build for that. And I need to verify the kernel options to make sure I'm not missing something for ION.

Again thanks for debugging on this.


- Mark

Thanks for the feedback. I'll do an updated build with debug enabled from the start. Also the libgl stuff I recall from older versions, so that must have gotten lost in the 2.95.xx to 3.2 upgrade process due to a bad guy merge. I'll add the kernel option to my build and see if that doesn't fix that. The screenshots you showed me seem to indicate that the Textures.xbt is missing from the skin.mediastream/Media dir, so for sure a skin related issue.

My aim is a generic build that hits VM's, Intel and ION, the VM's being less important, might just do a seperate build for that. And I need to verify the kernel options to make sure I'm not missing something for ION.

Again thanks for debugging on this.


- Mark

Yep, Textures.xbt it is. I copied it from PMC on my Windows PC to the .plexht/addons/skin.mediastream/Media folder (I downloaded the latest skin from GH) and the default skin is working correctly now.

In the default OpenELEC this is created in the xbmc-theme-Confluence package, the build step runs TexturePacker and the install step installs the xbt file to the skins folder.

I try to run it on my test machine. But after the install and reboot i get a black screen.

Please try this image:

https://www.dropbox.com/s/zhftzwnsfefo1nn/OpenELEC-Plex.x86_64-devel-20131019193138-r15783.zip

It's ZiGGiMoN's image with a few minor changes to fix the black screen issue and missing textures.

ZiGGiMoN - I've pushed the commits to my fork and have created a pull request so you can merge them, if you're happy with the changes I've made (not too sure the Textures fix is the right way, but it works for now).

I think they are the right direction to take. I noticed the split out of the VM driver and agree that might make more sense to do two builds. The Textures.xbt fix is an outright hack, and not the correct approach. I hope to get something else setup for doing Plex Home Theater texture compression that doing it the way it currently is.

Again thanks for the changes and the pull req. hope to get it pulled tomorrow.

  • Mark

The Textures.xbt fix is an outright hack, and not the correct approach. I hope to get something else setup for doing Plex Home Theater texture compression that doing it the way it currently is.

Oh I agree completely :)

I tried to call TexturePacker from the build section but bash throws a "no such file or directory" error when trying to run it. My build env. is Ubuntu 12.04 x86_64 and TexturePacker is a 64-bit ELF so I don't think it's a 64-bit/32-bit issue. I looked at it for 30 min or so but couldn't work out why it wouldn't execute so put in a nasty hack to get the Mediastream skin appearing correctly so the image overall could be tested :)

Please try this image:

https://www.dropbox.com/s/zhftzwnsfefo1nn/OpenELEC-Plex.x86_64-devel-20131019193138-r15783.zip

It's ZiGGiMoN's image with a few minor changes to fix the black screen issue and missing textures.

ZiGGiMoN - I've pushed the commits to my fork and have created a pull request so you can merge them, if you're happy with the changes I've made (not too sure the Textures fix is the right way, but it works for now).

It works!!!!!

Its there an possibility to create an wifi connection. So you can use an old netbook or laptop as HTPC

It works!!!!!
 
Its there an possibility to create an wifi connection. So you can use an old netbook or laptop as HTPC


There should be once things are on track there should be access to the OpenELEC configuration setup. But I'll look at that later. I pulled the changes that speedst3r did and have done two builds. One where I just did with his latest additions, and one where I merged the ION kernel configuration to the build test4. Test4 however seems to have broken Intel NUC support, so I'll have to dig further into this. It will end up with either a working combo build for ION/Intel, or separate builds or a hybrid build. Havn't figured that out yet. Also test3 on NUC seems to dim and lock keyboard and mouse functionality. Need to address that too.

So yeah, progress and still obstacles that need to be overcome.

- Mark

i just tested it on my netbook. Sometimes i get a vibration screen for 2 seconds. And on my htpc i get no audio. Its connected trought display port to HDMI cable. Also the audio jack get no result. Maybe a driver or something. I tested live whiteout installation. I will install it on my netbook to look of the vibration screen is "live" problem. 

i just tested it on my netbook. Sometimes i get a vibration screen for 2 seconds. And on my htpc i get no audio. Its connected trought display port to HDMI cable. Also the audio jack get no result. Maybe a driver or something. I tested live whiteout installation. I will install it on my netbook to look of the vibration screen is "live" problem.


HDMI might be an asound.conf setting that needs to be set. But havn't gotten that far yet. Small steps :D Just want a stable build running first.

- Mark

Keep up the good work. When there is an new version i will test it.