[Mesa-dev] Fwd: [Mesa-users] Issues with removal of classic OSMesa

Dave Airlie airlied at gmail.com
Mon Feb 8 04:14:43 UTC 2021


On Wed, 3 Feb 2021 at 02:58, Michel Dänzer <michel at daenzer.net> wrote:
>
> On 2021-02-02 5:55 p.m., Michel Dänzer wrote:
> > On 2021-02-02 6:44 a.m., Dave Airlie wrote:
> >> On Mon, 1 Feb 2021 at 16:50, Dave Airlie <airlied at gmail.com> wrote:
> >>>
> >>> On Thu, 7 Jan 2021 at 21:11, Andreas Fänger <a.faenger at e-sign.com>
> >>> wrote:
> >>>>
> >>>>>> don’t know why the current softpipe/swrast implementation
> >>>>>> shouldn’t be conformant.
> >>>>
> >>>>> Interesting I hadn't known we had a correct impl in mesa, the
> >>>>> features.txt has said "softpipe and llvmpipe advertise 16x
> >>>>> anisotropy but simply ignore the setting"
> >>>>> so I never dug any deeper. I'll consider a port of this to llvmpipe
> >>>>> at some point, making it efficient might be tricky.
> >>>>
> >>>> It seems that features.txt hasn't been updated regarding this
> >>>> functionality; softpipe has "real" anisotropy since 2011.
> >>>>
> >>>>> I'll consider a port of this to llvmpipe at some point, making it
> >>>>> efficient might be tricky.
> >>>> That would be great. As anisotropic filtering is often an option
> >>>> which can be set by a user, I guess most people turn it off to get
> >>>> higher framerates. But in our use case, high quality renderings are
> >>>> required, so we accept the longer render times to get the best
> >>>> quality; hopefully a llvmpipe port would be faster than the old
> >>>> swrast implementation (we are only using the fixed rendering
> >>>> pipeline/no shaders in conjunction with the OpenMP patch for
> >>>> speeding up GL_POLYGON_SMOOTH_HINT)
> >>>>
> >>>> Andreas
> >>>
> >>> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8804
> >>>
> >>> Is my first pass at writing the code for this I've no idea if this is
> >>> anyway correct, but I'm just letting everyone know I've started
> >>> working on it, and mipmap_tunnel doesn't look immediately wrong.
> >>
> >> Olay the code in the MR above seems to work in most cases now and
> >> seems to operate like softpipe.
> >>
> >> However I'm seeing a trace failure
> >> https://tracie.freedesktop.org/dashboard/imagediff/mesa/mesa/7033860/humus/Portals.trace/
> >>
> >
> > The floor at the bottom left of the Actual image definitely looks odd,
> > there's a hard line between the rock patterns.
>
> Not to mention the wall tiles having different sizes, with a hard line
> as well.
>
> Definitely looks like a bug to me, which wouldn't be noticeable with
> special test textures made up of different solid colours per mip level.

I've fixed all the issues in that area, and I believe llvmpipe and
softpipe mostly produce the same or very similiar results.

I'm not overly impressed though by the texture quality at least the
furmark trace shows as very blurry.

Also the Vulkan CTS expects linear aniso to operate differently to how
this has done it.

Andreas, can you comment on this trace?
https://tracie.freedesktop.org/dashboard/imagediff/mesa/mesa/7150044/gputest/furmark.trace/

I'm pretty sure softpipe looks the same locally for the same trace,
and it just seems overly blurry.

Dave.


More information about the mesa-dev mailing list