[Nouveau] Is binary firmware still necessary for GTX660 card (NVE0 family) in order to use DRM and/or VDPAU video acceleration?

Ilia Mirkin imirkin at alum.mit.edu
Thu Dec 12 04:18:48 PST 2013


On Thu, Dec 12, 2013 at 2:32 AM, Matthias Nagel
<matthias.h.nagel at gmail.com> wrote:
> Hello,
>
> I run the Gentoo Linux distribution and use a self-compiled Linux 3.10.17
> kernel. According to
>
> [1] http://nouveau.freedesktop.org/wiki/InstallDRM/
> [2] http://nouveau.freedesktop.org/wiki/VideoAcceleration/
>
> I need the original firmware from the binary driver in order to sucessully
> use DRM and to use VDPAU video acceleration. I used the python script from
> [2] and I had a look at the ebuild from
>
> [3] https://bugs.gentoo.org/show_bug.cgi?id=480832
>
> to extract the firmware and to place it at /lib/firmware/nouveau. But I do
> not see any dmesg output about loading the firmware. I do not see any dmesg
> output about nouveau failing to do so either. I neither do no see any
> "nouveau <pci id>: firmware: requesting nouveau/" in my kernel output.

Try booting with

nouveau.debug=PVP=debug,PBSP=debug,PPPP=debug

Note the new-found kernel output.

>
> Anyway VDPAU seems to work. If I call mplayer with "-vo vdpau -vc
> ffmpeg12vdpau,...", I don't get any error message and my CPU load drops from
> 30% to 7% for a recent mpeg transport stream 1080p video.
>
> In conclusion, do I still need the firmware? Do the information given at
> [1], [2] still apply or are they outdated?

You definitely need firmware to do vdpau (just try removing it and
reboot, and see what happens) on all NV84+ cards. AFAIK there is no
active work being done to replace the firmware on VP5 cards (nvd0+),
although that is the one that is probably the most feasible since the
actual video decoding is done with firmware that's on the card (or
with dedicated hardware, who knows) so all that's left is providing
the little "os" running on the connected falcon processors.

Unless you're booting with nouveau.NvGrUseFW=1, you don't need the
pgraph firmware. It generally tends to work for nve0 cards nowadays,
although some people have issues with hangs (e.g.
https://bugs.freedesktop.org/show_bug.cgi?id=70354,
https://bugs.freedesktop.org/show_bug.cgi?id=72180). I believe there
were a bunch of fixes to the fuc ucode in 3.11, which is probably why
Martin suggested you use a more recent kernel. But if it's working
fine for you, no need to worry about it.

  -ilia


More information about the Nouveau mailing list