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

Bug 928667

Summary: app-emulation/qemu: remove virtual/opengl dependency for USE=opengl
Product: Gentoo Linux Reporter: Nicu Borta <nicuborta123>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: UNCONFIRMED ---    
Severity: normal CC: dilfridge, nicuborta123
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nicu Borta 2024-04-06 07:16:27 UTC
qemu-system-x86_64 doesn't actually link against libGL.so when built with this flag, and virtual/opengl pulls in a lot of X11 packages which is not ideal on Wayland.

USE=opengl is actually needed on Wayland for the virgl renderer.

8.2.1 and 8.2.2 build successfully and are perfectly functional without virtual/opengl.

Thus, we could either:

1) replace the virtual/opengl dependency with media-libs/libglvnd
(Theoretically, this is not needed, as the qemu binaries are not directly linked to any libraries provided by libglvnd either)

2) remove the virtual/opengl dependency entirely