Giter Club home page Giter Club logo

crystalhd's Introduction

Crystal HD Hardware Decoder Driver on Ubuntu 13.04 Linux kernel 3.8.0-25

Broadcom BCM70012 & BCM70015

After a lot a retries to get the rigth experience with the Crystal HD on Ubuntu,

1. Install required files

sudo apt-get install checkinstall git-core autoconf build-essential subversion dpkg-dev fakeroot pbuilder build-essential dh-make debhelper devscripts patchutils quilt git-buildpackage pristine-tar git yasm zlib1g-dev zlib-bin libzip-dev libx11-dev libx11-dev libxv-dev vstream-client-dev libgtk2.0-dev libpulse-dev libxxf86dga-dev x11proto-xf86dga-dev git libgstreamermm-0.10-dev libgstreamer0.10-dev automake libtool python-appindicator 

2. Ge the source

Get the driver source code from the git repository.

git clone https://github.com/dbason/crystalhd.git

The original repo source is available at git://git.linuxtv.org/jarod/crystalhd.git

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

4. Install the libraries.

cd ../../linux_lib/libcrystalhd/
make -j2
sudo make install 

5. Load the driver.

sudo modprobe crystalhd

6. Reboot your system , then check if 'crystalhd' is listed in the output of the following commands.

lsmod
dmesg | grep crystalhd

Then you should see something like this:

[    4.349765] Loading crystalhd v3.10.0
[    4.349823] crystalhd 0000:02:00.0: Starting Device:0x1615
[    4.351848] crystalhd 0000:02:00.0: irq 43 for MSI/MSI-X
[  108.512135] crystalhd 0000:02:00.0: Opening new user[0] handle
[  258.976583] crystalhd 0000:02:00.0: Closing user[0] handle via ioctl with mode 10200

Now is time to enjoy our FullHD content.

I'm using XMBC , VLC (2.1.0), Mplayer2, GStreamer because they are using (they should) the Crystal HD decoder libraries.

For example , lets try VLC :

vlc --codec=crystalhd ourgreatfullhdmedia.mkv

Now runs smoothly rigth ?

After kernel update

Reinstall the driver.

cd crystalhd/driver/linux
sudo make install

Btw this instructions referred to http://knowledge.evot.biz/documentation/how-to-compile-and-install-the-broadcom-crystal-hd-hardware-decoder-bcm70012-70015-driver-on-ubuntu and fixed some issues appeared using a patch from M25 user at https://bbs.archlinux.org/viewtopic.php?pid=1253622#p1253622

So, the sources on this repository are updated with the fixes and patches in order to make your life easier.

History

See HISTORY.md for a rough history of the various versions of this driver floating around the web.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.