Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit (/showthread.php?tid=217848) |
Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - wrxtasy - 2015-02-09 Here's a bit of a blast from the past but still pretty capable for those that want to dust off old hardware. A Kodi 14.1 stable with Crystal Hardware acceleration reverted back in. Also the latest PVR addons included, special mention to the modified pvh.tvh one for setting Autorecordings. Code: wget https://dl.dropboxusercontent.com/u/27641650/Kodi.14.1.final.ubuntu.12.04.tar.gz RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - alicks - 2015-03-11 Hi, thanks. Exactly waht i need! Gonna check soon. Please, dont stop on 14.1 A lot of regrets that kodi stoped CHD support.. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - alicks - 2015-03-14 Actully I've lost in dependencies.. That was my way: 1. Setup ubuntu 12.04.5LTS server 2. xorg than tries to untar yours kodi, but a lot of dependicies lost.. 4. installed kodi form official ppa (to have dependencies) 5. untar yours kodi again So now i'm able to run (xinit) official in /usr/lib/xbmc/kodi.bin And yours in /usr/xbmc/lib/kodi.bin Here i have 100%CPU while running kodi in main screen (without any video). OpenGL ver: VMware Seems like you did it on VM. And main - shoud i see in Settings/Video/Accelaration "CrystalHD" I dont see it.. Is there any mistakes? Thanks in advnce. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - wrxtasy - 2015-03-14 Hi, yes I just put this compile out there if anyone needed it. It was compiled and quickly tested on a Ubuntu 12.04 LTS - Virtual Box, but of course no CHD card was present. I'm aware of the dependencies issue, as I had the same problem going from Gotham to Kodi on an Ubuntu ATV1. Install Kodi dependencies: Code: sudo apt-get install software-properties-common Just confirming you have the Crystal HD installed on your server ? Code: lspci | grep -i crystal 02:00.0 Multimedia controller: Broadcom Corporation BCM70015 Video Decoder [Crystal HD] To install the drivers: Code: sudo apt-get install crystalhd-dkms firmware-crystalhd or have a look here: https://github.com/yeradis/crystalhd Crystal HD does pop up in the Acceleration menu on my ATV1 / Ubuntu / Kodi / CHD box. To start Kodi: Code: sudo /usr/xbmc/bin/kodi --standalone RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - alicks - 2015-03-19 Hi, wrxtasy. Tried it again from the clear ubuntu on CHD installed device: 1. ubuntu 12.04.05LTS kernel 3.13.0-32-generic 2. lspci Code: lspci | grep -i crystal Code: sudo apt-get install software-properties-common Code: deb http://ppa.launchpad.net/team-xbmc/xbmc-ppa-build-depends/ubuntu precise main Code: sudo apt-get update Code: sudo apt-get install crystalhd-dkms firmware-crystalhd 7, Tried from: https://github.com/yeradis/crystalhd - no luck (make failed): Code: kodi@xbmc:~/crystalhd/driver/linux$ make -j2 CONFIG_DEBUG_SECTION_MISMATCH=y Code: sudo /usr/xbmc/bin/kodi-standalone I am giving up... I'm not a C++ addicted Or there is a kernel issues (not a kernel, but age of these drivers) And thank you much! RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - wsnipex - 2015-03-20 thats the reason chd supprt was removed. The chd kernel driver is completely unmaintained for years now and doesn't work on even remotely recent kernels. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - fritsch - 2015-03-20 Not to speak of kodi's "back patched in" code. mpeg-2 and vc-1 was just disabled ... h264 is left, but it was never adjusted to the buffering render also ... but if users are happy ... RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - alicks - 2015-03-20 Does it mean that if i could able to find and change kernel that can suite CHD driver - could kodi work well? Or it is gonna be another subject to discuss? Does anybody know what is the last CHD suported kernel? Thanks. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - Soli - 2015-03-20 You have to compile chd driver as a module from git, the kernel driver has always been useless. (And since nobody used the kernel driver anyways, imho it's kind of a moot point blaming this as one of the reasons chd was removed from Kodi. Then again I could be entirely wrong) RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - fritsch - 2015-03-21 chd was removed cause: a) No maintainer that actually knows what was needed b) No adjustments to buffering render have been done - it just runs very bad (e.g. see the start of a video) c) ffmpeg transition no one did -> ffmpeg has a hwaccel for it, that can replace all this custom code - with working mpeg-2 / vc1 d) A whole lot of support needed cause of _no_ working out of the box kernel driver on any distribution (*) e) Original maintainer, that has written this code, said: it's in bad shape - its time has come - remove it. The version that now came back is just a revert of parts of the old code and non working functions just patched out (mpeg-2, vc1, most likely also live tv in h264). *) Someone that shipped crystalhd systems for many years promissed to fix a) to e) and get it back upstream ... did not yet happen. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - wrxtasy - 2015-03-21 Yes understandable. I've taken mpeg2 and vc1 out of various Kodi + CHD compiles I have done. mpeg2 and Live TV were not happy companions on the ATV1. But its lowly 1Ghz Pentium now has enough spare CPU capacity to decode mpeg2 and do basic Bob deinterlacing. Optimisations in the XBMC code and ffmpeg that started with Gotham allowed this. Deinterlacing quality using the CHD card turned out lousy anyway. vc1 has always been broken. @alicks there are further compile instructions for CrystalHD drivers with Ubuntu here if that helps: https://code.google.com/p/indicator-crystalhd/wiki/CrystalHDHowTo RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - Soli - 2015-03-21 Thanks for setting the record straight, Fritsch =) my experiences with the x12 card was that it was never stable, dropping frames, and a lot of times the picture would dissappear when FWD/RWD. Maybe because of immaturity of the driver and various bits of code in xbmc/elsewhere. But the X15 card has always worked perfect. The code might have been in bad shape from a software engineering view, however it did work more than fine with the x15 with h264 at very high bitrates. Maybe less so with VC1 or MPEG2 but I don't have any experiences with these types. I'm not arguing, just sharing my experience Hope that someone could implement the code to let FFMPEG handle CHD. As you pointed out, it supports hardware MPEG2 and VC1 (progressive and interlaced) with the X15 card. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - alicks - 2015-04-10 (2015-03-21, 17:25)wrxtasy Wrote: @alicks there are further compile instructions for CrystalHD drivers with Ubuntu here if that helps: Code: root@ubuntu:~/crystalhd/driver/linux# No luck from the beginning: Code: root@ubuntu:~/crystalhd/driver/linux# make But that seems like helps: http://strzelecki.info/tag/crystalhd/ Code: wget http://m25.mooo.com/devinitFix.patch So finally: Code: root@ubuntu:~# lsmod | grep crystalhd Code: root@ubuntu:~# dmesg | grep crys But kodi don't start Code: root@ubuntu:~# /usr/xbmc/bin/kodi-standalone RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - alicks - 2015-05-10 Hi! Finally i got success! 1. Installed GUIed Linux - LinuxMint17.1 Rebecca (Ubuntu trusty 14.04.2) With: 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux 2. CHD Drivers - https://code.google.com/p/indicator-crystalhd/wiki/CrystalHDHowTo with some tips from http://strzelecki.info/tag/crystalhd/ Code: wget http://strzelecki.info/_important/devinitFix.patch Code: sudo apt-get install software-properties-common 5. Missed old libs (libmicrohttpd.so.5 ; libyajl.so.1 ; libGLEW.so.1.6 ; libudev.so.0 - seems like due to your ubuntu 12.04). Just copy their distrs to /usr/ Kodi starts (/usr/xbmc/bin/kodi-standalone) and, finally works with CHD (BTW, there is CHD choice in Acceleration tab under Video!). Bugs: 1. Some error in kodi.log: Code: xbmc@MediaCenter ~/.kodi/temp $ more kodi.log |grep ERR Code: xbmc@MediaCenter ~ $ sudo /usr/xbmc/bin/kodi-standalone @wrxtasy Is it possible if you can describe how to switch "on" CHD support in Kodi sources? I will try to compile Kodi myself in more fresh ubuntu distro and more fresh Kodi then. And.. many many Thanks to you and all poster here. RE: Kodi 14.1 + Crystal HD hardware acceleration + Ubuntu/Linux 32bit - elpraga - 2017-01-04 @wrxtasy is the source code of your Kodi 14.1 available? I was running a small server with NextCloud and Kodi on my Ubuntu 12.04 atom notebook, but time came to upgrade. I was able to compile crystalhd without a glitch on Ubuntu 16.04 using https://github.com/dbason/crystalhd repository. It works perfectly with VLC. Nevertheless, I decided to switch to amd64 architecture, and I'm unable to make your Kodi 14.1 run. I end up with Kodi needing opengl acceleration to work. Nonetheless the Kodi from Lubuntu 16.04 repositories works fine. Could you make the sources available? Or give me a hint how to make it work? Or even compile it for amd64 :-D ? The crystalhd works really nice with VLC and having it available with Kodi might be a major win with little effort. Having crystalhd working on a recent distribution could be a good solution for another 4 years. Do you think it could be doable? Could you help me? Thanks and happy new year! elpraga |