Summary: | media-libs/mesa: add a use flag to disable swrast | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | om3i <bajew68482> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | bajew68482, grabbend, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=920692 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
add VIDEO_CARDS=swrast
add VIDEO_CARDS=swrast |
Description
om3i
2023-12-27 02:21:40 UTC
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 swrast flag has been split into llvmpipe,softpipe https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27607 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bbd5edc24add9a072fe13714bb68e299fa29e4 commit a8bbd5edc24add9a072fe13714bb68e299fa29e4 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-07-24 19:40:26 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-07-24 19:42:12 +0000 media-libs/mesa: Update to build only softpipe or llvmpipe Bug: https://bugs.gentoo.org/920752 Closes: https://bugs.gentoo.org/936580 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) |