[Mesa-dev] [PATCH 4/6] gallium: Add a dumb drm/kms winsys backed swrast provider

Roland Scheidegger sroland at vmware.com
Fri Aug 1 20:16:38 PDT 2014


Am 01.08.2014 02:38, schrieb Emil Velikov:
> On 31/07/14 17:53, Jon TURNEY wrote:
>> On 24/07/2014 01:43, Emil Velikov wrote:
>>> From: Giovanni Campagna <gcampagna at src.gnome.org>
>>>
>>> Add a new winsys and target that can be used with a dri2 state tracker
>>> and loader instead of drisw. This allows to use gbm as a dri2/image
>>> loader and avoid the extra copy from the backbuffer to the shadow
>>> frontbuffer.
>>>
>>> The new driver is called "kms_swrast", and is loaded by gbm as a
>>> fallback, because it is only useful with the gbm platform (as no buffer
>>> sharing is possible)
>>>
>>> To force select the driver set the environment variable
>>> GBM_ALWAYS_SOFTWARE
>>>
>>> [Emil Velikov]
>>>   - Rebase on top of gallium megadriver.
>>>   - s/text/test/ in configure.ac (Spotted by Andreas Pokorny).
>>>   - Add scons support for winsys/sw/kms-dri and fix the build.
>>>   - Provide separate DriverAPI, due to different InitScreen hook.
>>
>> Unfortunately, this seems to break my build.
>>
>> I guess something like the attached is needed.
>>
>> [1] https://urldefense.proofpoint.com/v1/url?u=http://tinderbox.x.org/builds/2014-07-31-0006/logs/mesa-mesa/%23build&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=F4msKE2WxRzA%2BwN%2B25muztFm5TSPwE8HKJfWfR2NgfY%3D%0A&m=6ONfRDg55mS%2Fy%2FoEakFd4UIe8TqLjvuaRGWIu96gIYE%3D%0A&s=eeb235c54ca428b32c7396435ed7ccdd00031ddbc0d6f358bf028cf6fa407055
>>
>>
> Indeed it is. Thanks for the patch - reviewed and pushed to master.
> 

Unfortunately this in turn breaks MY build, so for me this cure is much
worse than the disease :-).
I'm using dri-swrast llvmpipe/softpipe built with scons.

All I get when trying to load the driver with this is "undefined symbol:
kms_swrast_create_screen"

Roland



More information about the mesa-dev mailing list