Almost no one uses it, but it unconditionally increases build time and disk usage. Reproducible: Always
Can you quantify any of that?
All major pc gpu vendors have drivers available. To see if the hardware driver is being used instead of swrast, rename /usr/lib*/dri/*swrast_dri.so before starting display server, or examine the results of grep _dri /proc/'pidof Xorg'/maps.
Created attachment 881025 [details, diff] add VIDEO_CARDS=swrast
I'm planning to add this with mesa-24.
Created attachment 882298 [details, diff] add VIDEO_CARDS=swrast Fix osmesa
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b2f0ab301a02e8763e461140b317e6dcd707bc commit 46b2f0ab301a02e8763e461140b317e6dcd707bc Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-02-01 19:29:17 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-02-01 19:49:41 +0000 media-libs/mesa: Add VIDEO_CARDS=swrast Replaces VIDEO_CARDS=lavapipe; controls building the swrast/llvmpipe driver for OpenGL as well as the lavapipe driver for Vulkan. Closes: https://bugs.gentoo.org/920752 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484465188dd6d6b35a2b4aa69d25e0e9a6b1b6bd commit 484465188dd6d6b35a2b4aa69d25e0e9a6b1b6bd Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-02-01 19:29:25 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-02-01 19:49:40 +0000 profiles: Add VIDEO_CARDS=swrast description Bug: https://bugs.gentoo.org/920752 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/desc/video_cards.desc | 1 + 1 file changed, 1 insertion(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3473afeac9dbe9e820f658c783c46416ee30d8c commit e3473afeac9dbe9e820f658c783c46416ee30d8c Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-02-01 23:40:16 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-02-01 23:42:57 +0000 media-libs/mesa: Revert "Add VIDEO_CARDS=swrast" This reverts commit 46b2f0ab301a02e8763e461140b317e6dcd707bc. Users of the proprietary NVIDIA driver will likely have media-libs/mesa installed with no VIDEO_CARDS set, and without a driver present the configuration step fails. Bug: https://bugs.gentoo.org/920752 Closes: https://bugs.gentoo.org/923494 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-24.0.0.ebuild | 9 ++++----- media-libs/mesa/mesa-9999.ebuild | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-)
reopening since the commits were reverted