Enabling Hardware Accelerated Playback for Fedora* 16
Enabling Hardware Accelerated Video Decode on Intel
®
Atom™ Processor D2000 and N2000 Series under Fedora 16
October 2012 AN
Order Number: 509577-003US 11
Intel
®
Atom™ D2000/N2000
17.Edit /etc/default/grub as follows:
a. If your display is not LVDS, in the kernel line, add:
video=LVDS-1:d
This is a workaround to an issue that causes the driver to believe that an LVDS
display is connected.
b. To enable video media playback to work correctly, in the kernel line, add
vmalloc=256MB
c. Enter the following command:
grub2-mkconfig -o /boot/grub2/grub.cfg
18.Unpack and install cedarview-libwsbm binary tarball relative to your root file
system. Assume patch tarball was extracted in
/home/jim:
cd /
tar xvf /home/jim/cdv-gfx-drivers-1.0.3_bee/bin/cedarview-libwsbm-
1.1.0.tar
19.Install libva and dependencies from your package manager:
yum -y install libva
20.Unpack and install the appropriate user space (Xorg, 2D, 3D) Cedarview drivers
relative to your root file system. While the PowerVR driver is a Mesa replacement
for EGL and GL ES,
mesa-libGL of the stated version is required for OpenGL
operation. Note that development headers are installed as well.
tar xvf /home/jim/cdv-gfx-drivers-1.0.3_bee/bin/cedarview-userspace-
v1.0.3_bee.tar
21.Unpack the PVR VA-API driver for Cedartrail-accelerated H.264, MPEG-2, and VC-1
streams:
tar xvf /home/jim/cdv-gfx-drivers-1.0.3_bee/bin cedarview-vaapi-
v1.0.3_bee.tar
22.Reboot and make sure you select the correct new image when grub displays the list
of choices. You can now use the following command to set the default:
grub2-set-default <title or number>
4.4 Build Kernel on Target and Install
Follow these steps only if you intend to natively build the kernel to be installed on the
Cedar Trail target board itself. The build time is approximately 3 hours. Now we have a
hard disk with Fedora 16 Xfce installed for the target based on the steps described in
Section 4.2.
1. Go to the website:
http://www.kernel.org/pub/linux/kernel/v3.x/
2. Look for the following file and download it:
linux-3.1.tar.gz
3. Download the patch tarball from downloadcenter.intel.com
(
cdv-gfx-drivers-1.0.3_bee.tar.bz2)
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21938
4. Extract the contents of the patch in home directory:
tar xjvf cdv-gfx-drivers-1.0.3_bee.tar.bz2
5. Untar the kernel in home directory:
tar xzf linux-3.1.tar.gz
This command creates a directory named
linux-3.1 and untars all the files into
this directory.