Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920692

Summary: media-libs/mesa: add a use flag to disable opengl
Product: Gentoo Linux Reporter: om3i <r9ku1q>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: enhancement CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=920752
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add opengl USE flag

Description om3i 2023-12-25 13:38:29 UTC
Enabling vulkan may be sufficient. Supposedly, zink is able to run display servers for both X and wayland, and may even be faster.

Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2023-12-26 17:05:43 UTC
Feel free to write a patch and do all the reverse dependency testing...
Comment 2 om3i 2023-12-27 15:05:29 UTC
Created attachment 880727 [details, diff]
Add opengl USE flag
Comment 3 Matt Turner gentoo-dev 2024-01-11 18:26:54 UTC
I'm planning to add this with mesa-24.

Can you even build zink with opengl support disabled?
Comment 4 om3i 2024-01-12 22:40:47 UTC
> Can you even build zink with opengl support disabled?

No, although in that case, other gallium drivers can be disabled.

If just vulkan is required, opengl, including zink, can be completely disabled.
Comment 5 Larry the Git Cow gentoo-dev 2024-02-01 19:49:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78da2493dd11ce279d74d8ed1f790ff03bfc2090

commit 78da2493dd11ce279d74d8ed1f790ff03bfc2090
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-02-01 19:36:53 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-02-01 19:49:41 +0000

    media-libs/mesa: Add USE=opengl
    
    Closes: https://bugs.gentoo.org/920692
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/mesa-9999.ebuild | 30 ++++++++++++++++++++++++------
 profiles/base/package.use.force  |  4 ++++
 2 files changed, 28 insertions(+), 6 deletions(-)