Commit f573579c authored by 127.0.0.1's avatar 127.0.0.1

No commit message

No commit message
parent 9748ba98
......@@ -52,3 +52,25 @@ for line in sys.stdin:
fd.write(struct.pack(\"@I\", int(line.rstrip(), 16)))
"
}}}
----
== Extracting video firmware on fermi and kepler. ==
There are 2 sets of firmware for video decoding, one for kernel and one for userspace. Only nvc0 series need the userspace firmware. Kepler, and also nvd9 do '''NOT''' have userspace firmware.
The kernel parts can be obtained by doing a mmiotrace of a program using vdpau for video decoding, for example mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau, somefile.mkv
XXXX: different from fifo extraction, document..
----
== Extracting userspace video firmware on nvc0 series (fermi) (NOT NVD9!!) ==
Requirements:
- libvdpau-dev, libpciaccess-dev, libx11-dev
- [[Valgrind-mmt|valgrind-mmt]]
- build a recent envytools.git, and go to envytools.git/vdpow directory
- /usr/local/bin/valgrind --tool=mmt --mmt-trace-file=/dev/nvidia0 --mmt-trace-file=/dev/dri/card0 --mmt-trace-nvidia-ioctls --mmt-trace-nouveau-ioctls ./mmt_ufw 2>&1 | ./dumpstruct -m 10
Copy the resulting vuc-* files to /lib/firmware/nouveau/
Markdown is supported
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