Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493216 - media-libs/mesa - notify on install about getting firmware when USE="nouveau (vdpau|xvmc)"
Summary: media-libs/mesa - notify on install about getting firmware when USE="nouveau ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-03 12:45 UTC by Ilia Mirkin
Modified: 2019-04-26 09:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilia Mirkin 2013-12-03 12:45:50 UTC
Starting with Mesa-9.1, there has been some support for nouveau to do hardware-accelerated video decoding using xvmc and vdpau. In mesa-9.1, the vdpau component needs firmware for the newer cards (VP4.2+), and starting with mesa-9.2, there is additional xvmc support for some cards (VP2) that also need firmware to work.

I was thinking something like the following in pkg_postinst:

        if use video_cards_nouveau && ( use vdpau || use xvmc ); then
                elog "Note that you may need to install firmware to make use of"
                elog "nouveau's hardware video acceleration functionality."
                elog "See http://nouveau.freedesktop.org/wiki/VideoAcceleration/"
                elog "for more details."
        fi

Note that there's also bug 480832 to add an ebuild that would procure this firmware, but I'm not holding out much hope for that going through. This seems much less controversial.
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2014-08-17 16:05:25 UTC
sys-firmware/nvidia-firmware has been added to the tree so the new text could be:

        if use video_cards_nouveau && ( use vdpau || use xvmc ); then
                elog "Note that you may need to install sys-firmware/nvidia-firmware to make use of"
                elog "nouveau's hardware video acceleration functionality."
                elog "See http://nouveau.freedesktop.org/wiki/VideoAcceleration/"
                elog "for more details."
        fi

@X11: Any objections?