hw_accelerated_video_playback
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hw_accelerated_video_playback [2012/10/20 23:12] – [OpenGLESv2] fly-away | hw_accelerated_video_playback [2014/11/24 10:33] (current) – [ubuntu 12.04] stuw | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Nvidia Driver for ubuntu 12.04 and 12.10. ===== | + | ===== Nvidia Driver for ubuntu 12.04, 12.10, 13.xx ===== |
| < | < | ||
| + | <span style=" | ||
| + | < | ||
| + | <br/> | ||
| + | </ | ||
| <span style=" | <span style=" | ||
| You should definitly know what are you doing <br/> | You should definitly know what are you doing <br/> | ||
| (especially at "Fix kernel cmdline" | (especially at "Fix kernel cmdline" | ||
| you may get unbootable or broken system!< | you may get unbootable or broken system!< | ||
| + | </ | ||
| + | <span style=" | ||
| + | Notes: <br/> | ||
| + | 1) 12.10 should have fixed nvidia-tegra driver package. So it is not needed to remove it. <br/> | ||
| + | 2) some links are outdated. <br/> | ||
| + | - codecs archive: <a href=" | ||
| + | <br/> | ||
| </ | </ | ||
| </ | </ | ||
| - | ==== Fix kernel cmdline for 3.1.10 kernel | + | ==== ubuntu 12.04 ==== |
| + | |||
| + | === Fix kernel cmdline for 3.1.10 kernel === | ||
| **Important!** For ubuntu 12.04 you should add **console=tty1** to **cmdline** parameters in **/ | **Important!** For ubuntu 12.04 you should add **console=tty1** to **cmdline** parameters in **/ | ||
| This line need to be changed to this state (just example, not a working config): | This line need to be changed to this state (just example, not a working config): | ||
| < | < | ||
| - | cmdline = mem=512M@0M | + | cmdline = mem=512M@0M |
| + | </ | ||
| + | Open **/ | ||
| + | <code bash> | ||
| + | sudo apt-get purge nvidia-tegra | ||
| + | sudo update-alternatives --remove arm-linux-gnueabi_egl_conf / | ||
| + | sudo update-alternatives --remove-all nvidia_drv | ||
| </ | </ | ||
| - | Open **/ | ||
| - | |||
| - | ==== Install latest r16 kernel image by marvin24 and nvidia-tegra drivers==== | ||
| - | First, remove previous | + | === Kernel and driver |
| + | Remove previous nvidia-tegra installation | ||
| <code bash> | <code bash> | ||
| sudo apt-get purge nvidia-tegra | sudo apt-get purge nvidia-tegra | ||
| Line 28: | Line 45: | ||
| </ | </ | ||
| - | Then download | + | Download |
| <code bash> | <code bash> | ||
| - | wget http://flie.no-ip.org: | + | wget http://launchpadlibrarian.net/118260107/ |
| wget http:// | wget http:// | ||
| - | sudo dpkg -i linux-image-3.1.10-4-ac100_3.1.10-4.5_armhf.deb nvidia-tegra_16.1.0-0ubuntu3~fly2_armhf.deb | + | sudo dpkg -i linux-image-3.1.10-6-ac100_3.1.10-6.9_armhf.deb nvidia-tegra_16.1.0-0ubuntu3~fly2_armhf.deb |
| </ | </ | ||
| - | If you prefer you own kernel, inspect that you have CONFIG_TEGRA_AVP_KERNEL_ON_MMU=y and " | + | ==== ubuntu 12.10 ==== |
| + | |||
| + | First, check you kernel version. It should be 3.1.10-6.9 or later. | ||
| + | <code bash> | ||
| + | dpkg -l | grep linux-image-3.1.10 | ||
| + | </ | ||
| + | Update it if necessary | ||
| + | <code bash> | ||
| + | sudo apt-get install linux-image-ac100 | ||
| + | </ | ||
| + | |||
| + | === Install nvidia-tegra drivers=== | ||
| + | |||
| + | Remove previous nvidia-tegra installation | ||
| + | <code bash> | ||
| + | sudo apt-get purge nvidia-tegra | ||
| + | sudo update-alternatives --remove arm-linux-gnueabi_egl_conf / | ||
| + | sudo update-alternatives --remove-all nvidia_drv | ||
| + | </ | ||
| + | |||
| + | Download and install new codecs and driver packages. | ||
| + | <code bash> | ||
| + | wget http:// | ||
| + | wget https:// | ||
| + | sudo dpkg -i nvidia-tegra_16.2.0-0ubuntu3_armhf.deb nvidia-tegra-ventana-codecs_16.0.0-0ubuntu1_armhf.deb | ||
| + | </ | ||
| + | |||
| + | //If you prefer you own kernel, inspect that you have CONFIG_TEGRA_AVP_KERNEL_ON_MMU=y and " | ||
| + | |||
| + | ==== ubuntu 13.xx ==== | ||
| + | Driver package is ok in 13.xx. Install it. | ||
| + | <code bash> | ||
| + | sudo apt-get install nvidia-tegra | ||
| + | </ | ||
| + | |||
| + | Download and install codecs packages. | ||
| + | TODO: provide link to actual codecs package | ||
| ==== Gstreamer tuninig ==== | ==== Gstreamer tuninig ==== | ||
| - | **gstreamer-properties** | + | **gstreamer-properties** |
| Run | Run | ||
| Line 60: | Line 113: | ||
| [[http:// | [[http:// | ||
| Should play smoothly in totem, and you can compare it with mplayer -vo x11. | Should play smoothly in totem, and you can compare it with mplayer -vo x11. | ||
| + | |||
| + | **Advice**: install **gstreamer0.10-plugins-bad** to ac3-encoded audiotracks playback. | ||
| === Totem keyboard shortcuts: === | === Totem keyboard shortcuts: === | ||
| Line 84: | Line 139: | ||
| </ | </ | ||
| - | Also, there is some other ways to play video inside | + | Also, there is some other ways to play video in window |
| < | < | ||
| nvgstplayer -i file:/// | nvgstplayer -i file:/// | ||
| Line 104: | Line 159: | ||
| </ | </ | ||
| There is some [[games|]] [[http:// | There is some [[games|]] [[http:// | ||
| - | Also check WebGL [[http:// | + | Also check WebGL on [[http:// |
| < | < | ||
| - | |||
hw_accelerated_video_playback.1350767528.txt.gz · Last modified: by fly-away
