Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920692 - media-libs/mesa: add a use flag to disable opengl
Summary: media-libs/mesa: add a use flag to disable opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-25 13:38 UTC by om3i
Modified: 2024-02-01 19:50 UTC (History)
1 user (show)

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


Attachments
Add opengl USE flag (mesa-23.3.1_USE=-opengl.patch,1.75 KB, patch)
2023-12-27 15:05 UTC, om3i
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)