Bug 45473

Summary: vdpau-r300 requires softpipe
Product: Mesa Reporter: Alec Ari <neotheuser>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.