Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865247 - media-libs/mesa - Performance loss when built with glvnd
Summary: media-libs/mesa - Performance loss when built with glvnd
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL: https://gitlab.freedesktop.org/glvnd/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-15 13:46 UTC by orbea
Modified: 2022-08-16 14:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2022-08-15 13:46:22 UTC
According to upstream there is a ~12% performance loss when mesa is built with glvnd.

https://gitlab.freedesktop.org/glvnd/libglvnd/-/issues/222

My understanding that the glvnd is only strictly needed the the proprietary Nvidia driver, but at least its not a hard requirement for AMD which I use.

Can the glvnd USE flag please be returned?
Comment 1 Ionen Wolkens gentoo-dev 2022-08-15 16:54:08 UTC
Note that this is about CPU rather than GPU, so it means virtually no difference for games that aren't stuck using 1 cpu thread at 100% to render (like glxgears).

At this point the whole Gentoo ecosystem is kinda tied to the glvnd layout and it'd be rather messy to try to change it back.
Comment 2 orbea 2022-08-15 17:13:44 UTC
> Note that this is about CPU rather than GPU, so it means virtually no difference for games that aren't stuck using 1 cpu thread at 100% to render

This is common with emulators.
Comment 3 Matt Turner gentoo-dev 2022-08-16 14:05:23 UTC
No, I'm not going to add IUSE=glvnd. It's far too much hassle to maintain all the machinery to allow USE=glvnd.
Comment 4 orbea 2022-08-16 14:07:44 UTC
@Matt

That is extremely unfortuante, a ~12% performance loss is not trivial.