All of lore.kernel.org
 help / color / mirror / Atom feed
* mesa no longer supports swrast starting with version 21
@ 2021-04-13 13:57 Carlos Rafael Giani
  2021-04-13 14:44 ` [meta-freescale] " Tom Hochstein
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Rafael Giani @ 2021-04-13 13:57 UTC (permalink / raw)
  To: meta-freescale

Beginning with version 21, swrast is no more: 
https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Kills-SWRAST

As a consequence, trying to build mesa with the meta-freescale bbappends 
and openembedded-core (both latest master) produces this error:

     ../mesa-21.0.1/meson.build:21:0: ERROR: Options "swrast" are not in 
allowed choices: "auto, i915, i965, r100, r200, nouveau"

Did anybody already look into this? According to the article, swrast was 
replaced with llvmpipe. It is not clear to me why swrast was ever used, 
however:

     # For parts with GPU and DRM, use osmesa, dri, and swrast
     PACKAGECONFIG_REMOVE_NXPBSP_imxgpu_imxdrm = "gallium"
     PACKAGECONFIG_APPEND_NXPBSP_imxgpu_imxdrm = "osmesa"
     DRIDRIVERS_NXPBSP_imxgpu_imxdrm           = "swrast"

Why did this need swrast for using DRM?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-freescale] mesa no longer supports swrast starting with version 21
  2021-04-13 13:57 mesa no longer supports swrast starting with version 21 Carlos Rafael Giani
@ 2021-04-13 14:44 ` Tom Hochstein
  2021-04-13 14:59   ` Carlos Rafael Giani
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Hochstein @ 2021-04-13 14:44 UTC (permalink / raw)
  To: crg7475, meta-freescale


> -----Original Message-----
> From: meta-freescale@lists.yoctoproject.org <meta-freescale@lists.yoctoproject.org> On Behalf Of Carlos Rafael Giani via lists.yoctoproject.org
> 
> Did anybody already look into this? According to the article, swrast was replaced
> with llvmpipe. It is not clear to me why swrast was ever used,
> however:
> 
>      # For parts with GPU and DRM, use osmesa, dri, and swrast
>      PACKAGECONFIG_REMOVE_NXPBSP_imxgpu_imxdrm = "gallium"
>      PACKAGECONFIG_APPEND_NXPBSP_imxgpu_imxdrm = "osmesa"
>      DRIDRIVERS_NXPBSP_imxgpu_imxdrm           = "swrast"
> 
> Why did this need swrast for using DRM?

It seems these changes originated here [1] to fix a build issue. See [2].

[1] https://github.com/Freescale/meta-freescale/commit/3b0fc734634f8f0db1f48fc13c64cacd3d99dd92
[2] https://github.com/Freescale/meta-freescale/issues/699

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-freescale] mesa no longer supports swrast starting with version 21
  2021-04-13 14:44 ` [meta-freescale] " Tom Hochstein
@ 2021-04-13 14:59   ` Carlos Rafael Giani
  0 siblings, 0 replies; 3+ messages in thread
From: Carlos Rafael Giani @ 2021-04-13 14:59 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

Ah, right. I'm still not that used to going to Github for meta-freescale 
issues :)

On 13.04.21 16:44, Tom Hochstein wrote:
>> -----Original Message-----
>> From: meta-freescale@lists.yoctoproject.org <meta-freescale@lists.yoctoproject.org> On Behalf Of Carlos Rafael Giani via lists.yoctoproject.org
>>
>> Did anybody already look into this? According to the article, swrast was replaced
>> with llvmpipe. It is not clear to me why swrast was ever used,
>> however:
>>
>>       # For parts with GPU and DRM, use osmesa, dri, and swrast
>>       PACKAGECONFIG_REMOVE_NXPBSP_imxgpu_imxdrm = "gallium"
>>       PACKAGECONFIG_APPEND_NXPBSP_imxgpu_imxdrm = "osmesa"
>>       DRIDRIVERS_NXPBSP_imxgpu_imxdrm           = "swrast"
>>
>> Why did this need swrast for using DRM?
> It seems these changes originated here [1] to fix a build issue. See [2].
>
> [1] https://github.com/Freescale/meta-freescale/commit/3b0fc734634f8f0db1f48fc13c64cacd3d99dd92
> [2] https://github.com/Freescale/meta-freescale/issues/699
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2094 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-13 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 13:57 mesa no longer supports swrast starting with version 21 Carlos Rafael Giani
2021-04-13 14:44 ` [meta-freescale] " Tom Hochstein
2021-04-13 14:59   ` Carlos Rafael Giani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.