Bug 45473 - vdpau-r300 requires softpipe
Summary: vdpau-r300 requires softpipe
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 17:36 UTC by Alec Ari
Modified: 2013-01-11 09:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alec Ari 2012-01-31 17:36:51 UTC
When compiling vdpau-r300 (libvdpau_r300.so) I get a compiling error:

No rule to make target `../../../../src/gallium/drivers/softpipe/libsoftpipe.a', needed by `../../../../lib/gallium/libvdpau_r300.so'.  Stop.

The solution:

Instead of ./autogen.sh --with-dri-drivers="" --with-gallium-drivers=r300 --enable-vdpau

add swrast to gallium driver

./autogen.sh --with-dri-drivers="" --with-gallium-drivers=r300,swrast --enable-vdpau

Compiles fine now and without error.

Should gallium targets for real hardware use softpipe code / is it necessary? If so, maybe move the necessary code from softpipe into a common directory which other gallium targets can easily find, without having to build a whole new gallium driver such as softpipe to satisfy dependencies.

Reported by Alec Ari <neotheuser@ymail.com>
Comment 1 Andreas Boll 2013-01-11 09:45:18 UTC
./autogen.sh --with-dri-drivers="" --with-gallium-drivers=r300 --enable-vdpau
Compiles fine now and without error.

Tested with d98716233e3cc7ed18323a75ac274f70453ed442


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.