Install the required build tools first.
equo install autoconf
1) Get the source. Get the driver source code from the git repository.
git clone git://git.linuxtv.org/jarod/crystalhd.git
2) Fix the source. You can apply it by going into the main crystalhd source directory and doing
Download the patch from
https://drive.google.com/file/d/0ByyLo2VHCtYpOC1rT0d0NFZ1VHc/edit?usp=sharing
patch -p0 < devinitFix.patch
3) Compile driver, install libraries, and load driver.
Use make command to compile driver. If you have multiple core processor then use the "-j2" or "-j4" option (2 or 4 is the number of cores). This will speed up the make process.
cd crystalhd/driver/linux
autoconf
./configure
make -j2
sudo make install
Install the libraries.
cd ../../linux_lib/libcrystalhd/
make -j2
sudo make install
4) Load the driver.
sudo modprobe crystalhd
5) Make it autoload at startup
nano /etc/modules-load.d/crystalhd.conf
and add
# Load crystalhd.ko at boot
crystalhd
lsmod
dmesg | grep crystalhd
7) Although the latest flash (11.1.102.55-1) supports crystalhd out of the box it won't be enabled until you edit /etc/adobe/mms.cfg so that it has:
EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true
No comments:
Post a Comment