Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927293 - x11-base/xwayland-9999 - Drop the EGLStream backend and more
Summary: x11-base/xwayland-9999 - Drop the EGLStream backend and more
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-19 13:15 UTC by jospezial
Modified: 2024-03-22 12:23 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2024-03-19 13:15:47 UTC
https://gitlab.freedesktop.org/xorg/xserver/-/commit/701284f057b41bba0b0cc4b3f851958af95ac978

meson.build:1:0: ERROR: Unknown options: "xwayland_eglstream"

Upstream removed/dropped some more things.
Comment 1 useless 2024-03-19 20:56:42 UTC
the ebuild for x11-base/xwayland-9999 needs to be updated to remove     (meson_use video_cards_nvidia xwayland_eglstream)

builds without it.
Comment 2 useless 2024-03-19 21:09:09 UTC
i guess theres more to it than that...

 Xwayland 
Unrecognized option: -eglstream
use: X [:<display>] [option]
.
.
(EE) 
Fatal server error:
(EE) Unrecognized option: -eglstream
(EE)
Comment 3 Ionen Wolkens gentoo-dev 2024-03-20 03:43:24 UTC
(In reply to useless from comment #2)
> i guess theres more to it than that...
> 
>  Xwayland 
> Unrecognized option: -eglstream
What DE?

It's possible e.g. x11-wm/mutter[video_cards_nvidia] aka Gnome is trying to pass that (just a guess). Afaik Gnome with EGLStream been pretty dead + semi-broken either way, it defaults to GBM last I know of unless using nvidia-drivers-470 (but that was so broken by now that I removed USE=wayland on the latest nvidia-drivers-470 anyway, so kepler users are forever on Xorg until they get new hardware). In theory mutter should work with nvidia without that USE nowadays but I haven't tried.

kde-plasma/kwin:5 had EGLStream support regardless of USE for the longest time (there may be an option to disable it but haven't checked), not sure for :6 nor if it favors GBM or EGLStream nor which works better.
Comment 4 Ionen Wolkens gentoo-dev 2024-03-20 03:58:26 UTC
(as for wlroots-based compositor, they never had EGLStream support excluding a fork so it sound doubtful they'd try to pass -eglstream for xwayland)
Comment 5 Ionen Wolkens gentoo-dev 2024-03-20 10:20:35 UTC
(In reply to Ionen Wolkens from comment #3)
> (In reply to useless from comment #2)
> > i guess theres more to it than that...
> > 
> >  Xwayland 
> > Unrecognized option: -eglstream
> What DE?
> 
> ...
Then again at a glance I don't see how neither kwin nor mutter would be passing this, but it could be coming from some other component given I didn't really look how they start xwayland.
Comment 6 useless 2024-03-20 11:45:38 UTC
this is on wayfire/wlroots with nividia-driver


i had modified the .ebuild myself to remove the mention of eglstream....guess i just dont know what i'm doing and i'll leave that to you!



bonus: today a new nvidia-driver dropped, which fixes glx!
Comment 7 useless 2024-03-21 16:11:31 UTC
..so whats going on?
Comment 8 Ionen Wolkens gentoo-dev 2024-03-21 16:22:42 UTC
(In reply to useless from comment #7)
> ..so whats going on?
What do you mean? About fixing the live ebuild? Nothing until maintainer feels like looking at it.

Fixing 9999 ebuilds is never really considered a priority, if you don't want issues use a keyworded release version.
Comment 9 Larry the Git Cow gentoo-dev 2024-03-22 01:42:31 UTC
The bug has been closed via the following commit(s):

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

commit eaf48549238f0f1ae9e5d0c9a2d297605740584a
Author:     Brett Alcox <brettalcox@gmail.com>
AuthorDate: 2024-03-22 00:09:30 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-03-22 01:41:25 +0000

    x11-base/xwayland: Remove VIDEO_CARDS=nvidia
    
    Closes: https://bugs.gentoo.org/927293
    Closes: https://github.com/gentoo/gentoo/pull/35859
    Signed-off-by: Brett Alcox <brettalcox@gmail.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xwayland/xwayland-9999.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)