Commit 5a55dab7 authored by imirkin's avatar imirkin Committed by nouveau
Browse files

add link to gentoo ebuild bug, a few random edits

parent 1812d9c4
......@@ -8,7 +8,7 @@ Unfortunately the different video decoding acceleration engines don't map very n
## Which card has what engine
All ranges are inclusive. See [[CodeNames]] for the full marketing name list.
All ranges are inclusive. See [[CodeNames]] for the full marketing name list. Note that NV50 below doesn't refer to the family but rather the exact chip.
* VPE1: NV17, NV18, NV1F, NV30, NV35 (GeForce4 MX, FX 5800, FX 5900, FX 5950)
* VPE2: NV31, NV34, NV36, NV40-NV96, NVA0 (GeForce 5, 6, 7, 8, 9 series)
......@@ -38,17 +38,22 @@ VP5 | N/A<sup>1</sup> | [[!color background=palegreen text=DONE ]] | [[!color ba
1 - While XvMC support may be technically possible, these engines have full-stream acceleration (while XvMC only supports IDCT-level acceleration), and using it would be counter-productive.
2 - H.264 interlaced streams are not supported, which apparently make up some fraction of DVB-T content.
2 - Some H.264 interlaced streams are not supported (should be rare, let #nouveau know if you have real-life examples).
3 - Works on NV40+, fails on NV31/34/36.
## Firmware
VPE1/2 do not require any firmware to run. However, VP1/2/3/4/5 all require firmware to operate that is presently extracted from the NVIDIA binary driver. We cannot redistribute the firmware directly in linux-firmware because NVIDIA's license forbids redistribution of parts of their driver. However, there is a script that can be run locally that will do it automatically, [[`extract_firmware.py`|https://github.com/imirkin/re-vp2/blob/master/extract_firmware.py]]. Move all the files/symlinks that it generates into `/lib/firmware/nouveau`. You may alternatively generate these yourself by tracing the blob, you can find instructions at [[NVC0_Firmware]]. An effort is underway to create open-source firmware to provide out-of-the-box video decoding, please join us to re-implement them!
VPE1/2 do not require any firmware to run. However, VP1/2/3/4/5 all require firmware to operate that is presently extracted from the NVIDIA binary driver. We cannot redistribute the firmware directly in linux-firmware because NVIDIA's license forbids redistribution of parts of their driver. However, there is a script that can be run locally that will do it automatically, [[`extract_firmware.py`|https://github.com/imirkin/re-vp2/blob/master/extract_firmware.py]]. Move all the files/symlinks that it generates into `/lib/firmware/nouveau`.
You may alternatively generate these yourself by tracing the blob, you can find instructions at [[NVC0_Firmware]]. Note that you may find some small differences between what the script extracts and what is produced in the mmiotrace for the vp3+ bsp firmware, this is expected.
An effort is underway to fully reverse the underlying engines and create open-source firmware to provide out-of-the-box video decoding, please join us in #nouveau on freenode if you're interested in helping.
If you are lucky, your distribution may already have a package for installing the firmwares. Here is a list of the supported distribution:
* [Archlinux](https://aur.archlinux.org/packages/nouveau-fw)
* [Gentoo](https://bugs.gentoo.org/show_bug.cgi?id=480832)
* More to come
If your distribution isn't in the list, you can run the following commands to install the firmwares:
......@@ -96,7 +101,7 @@ to your `/etc/mplayer/mplayer.conf`. Then when you use `mplayer -vo vdpau`, it w
## Using XvMC
Note: There was a problem with Mesa 9.1 (and perhaps 9.0) libXvMCnouveau.so in that it couldn't load. You can use [[this patch|http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bc8e3c3e45a0086d7a8077bebf2fc50819ff54d]] to fix it up. Mesa 9.2 should be fine again.
Note: There was a problem with Mesa 9.1 (and 9.0) `libXvMCnouveau.so` in that it couldn't load. You can use [[this patch|http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bc8e3c3e45a0086d7a8077bebf2fc50819ff54d]] to fix it up. Mesa 9.2 should be fine again.
You need to point your `/etc/X11/XvMCConfig` at the `libXvMCnouveau.so` library (single line with the full path). Then you should be able to just do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment