What on Earth is going on? I never asked for wayland, and I haven't
received any news items about it in the last few weeks. I know little
about this X substitute, but one thing's vitually certain; that
installing it as emerge intended would lead to a lot of breakage.
Hello, Gentoo.
I got a nasty shock earlier on this evening when I was updating my
(still newish) system. Around (perhaps) 70 packages to be updated or reloaded, several of them big packages. What's going on?
There were lots of qt and kde packages being sucked in. But what stood
out prominently was the wayland USE flag, which appeared to have been
enabled in most of these packages.
What on Earth is going on? I never asked for wayland, and I haven't
received any news items about it in the last few weeks. I know little
about this X substitute, but one thing's vitually certain; that
installing it as emerge intended would lead to a lot of breakage.
On 9/23/24 4:14 PM, Alan Mackenzie wrote:
Hello, Gentoo.
I got a nasty shock earlier on this evening when I was updating my
(still newish) system. Around (perhaps) 70 packages to be updated or reloaded, several of them big packages. What's going on?
There were lots of qt and kde packages being sucked in. But what stood
out prominently was the wayland USE flag, which appeared to have been enabled in most of these packages.
What on Earth is going on? I never asked for wayland, and I haven't received any news items about it in the last few weeks. I know little about this X substitute, but one thing's vitually certain; that
installing it as emerge intended would lead to a lot of breakage.
Intriguing that you feel it is "vitally certain" it will lead to
breakage. Where do you derive that conclusion from?
To be sure, installing it as emerge intended would lead to a lot of recompiling and packages that you aren't using.
That's the description of bloat, not the description of breakage.
To be perfectly clear: both X and Wayland support can be and frequently
are compiled into the same program and/or the same toolkit. It kind of
needs to, because binary distros such as Arch, Debian, Fedora etc only provide one build, and that has to work for people using X, and it has
to work for people using Wayland.
The resulting packages pull in support libraries that implement both technologies. This is (usually, absent dlopen tricks) a fundamental requirement of "ld.so", the runtime loader: if you compile support for
it, you have to have it installed.
But no code is *run*, because it is all conditional on a check that
looks like such:
#if defined(COMPILED_WITH_WAYLAND_SUPPORT)
if get_current_display_server_type() == 'wayland':
run_wayland_specific_code()
#elif defined(COMPILED_WITH_X_SUPPORT)
if get_current_display_server_type() == 'xorg':
run_xorg_specific_code()
#endif
Please note that no matter what display server you run, get_current_display_server_type() is the same function either way, so
you're not actually running any "wayland code" even if you check to see whether you are running wayland.
But you do need to install the wayland libraries, since the body of the
if statement runs "wayland code". Unless you compile the package with USE="-wayland", which means that neither
get_current_display_server_type() nor run_wayland_specific_code() are compiled at all.
In short, installing wayland will NOT break your X11 system and it is
rank paranoia to assume so or claim so.
But it will make you compile a bunch of stuff you don't want or need.
Surely, that is reason enough for you to make an informed choice about disabling USE flags that you do not need, rather than worrying about how Gentoo is broken all of a sudden?
Do you have that little faith in the Gentoo Developers, that you think
we'd make a USE flag change that made everyone's systems suddenly break?
:(
So I disabled the wayland USE flag in my make.conf, and the number of packages to merge went down to 29. I merged them.
I'm hoping my machine is still stable. It would have been nice to have
got a news item about this change. :-(
Your machine was, is, and will continue to be stable. Please, relax. :)
News items are a better fit for scenarios where users are required to
take action. No one is required to take action here, though you may take action if you wish. There are lots of other things that don't require
action, but you may choose to take action over. Any system update can
update a package that you like, to a new upstream version that removes
your favorite features. Does there need to be a news item every time a package is updated?
I assure you you'd get quite sick and tired of the constant news items
if that actually happened.
P.S. Yes, I disabled the wayland USE as well. I'm not trying to push
wayland on you, don't worry.
--
Eli Schwartz
Hello, Gentoo.
I got a nasty shock earlier on this evening when I was updating my
(still newish) system. Around (perhaps) 70 packages to be updated or reloaded, several of them big packages. What's going on?
There were lots of qt and kde packages being sucked in. But what stood
out prominently was the wayland USE flag, which appeared to have been
enabled in most of these packages.
What on Earth is going on? I never asked for wayland, and I haven't
received any news items about it in the last few weeks. I know little
about this X substitute, but one thing's vitually certain; that
installing it as emerge intended would lead to a lot of breakage.
So I disabled the wayland USE flag in my make.conf, and the number of packages to merge went down to 29. I merged them.
I'm hoping my machine is still stable. It would have been nice to have
got a news item about this change. :-(
Do you have that little faith in the Gentoo Developers, that you think
we'd make a USE flag change that made everyone's systems suddenly break?
It happens, from time to time, by accident. For example, emerge
--depclean on my system wants to unmerge openrc. Not a deliberate move
by the developers, just some accident. But it's the reason I don't do
emerge --depclean, ever.
X comes in two halves, the front end (or server, they use the words the...
other way round to normal),
The resulting packages pull in support libraries that implement both technologies. This is (usually, absent dlopen tricks) a fundamental requirement of "ld.so", the runtime loader: if you compile support for
it, you have to have it installed.
So put pretty simply, Wayland is fast becoming - if it isn't already - a
hard dependency of X11. But if you want to run X11 as your sole
windowing system, that's no problem, just run it over Wayland.
I run a four-monitor system using NVIDIA's closed-source drivers. Last
I heard, Wayland did not work with such a combination. Has that
changed?
I run a lean X system for desktop workflows, with USE="-wayland".
Every unconditional dev-libs/wayland dependency I've encountered has
used dlopen. These were proprietary binary applications like Zoom and
Slack. On an X system, they work completely fine without
dev-libs/wayland, though. If I remember correctly, the word was,
"Upstream says it's a dependency, so it's a dependency.".
The moral of that story is, an unconditional dependency on Wayland
*does not mean* that it isn't fully functional without
dev-libs/wayland.
It's just the pc hoard that thinks a server is some machine handling databases, mail, files, printers or what
On 24/9/24 10:52, Mitchell Dorrell wrote:...
I run a four-monitor system using NVIDIA's closed-source drivers. Last
I heard, Wayland did not work with such a combination. Has that
changed?
I run several 3-monitor NVIDIA setups on Wayland with no issue.
Give it a try, you may be pleasantly surprised by what you discover.
I did say "usually" for a reason.
slack does indeed have only one dependency on dev-libs/wayland that I
can find -- it comes from https://swiftshader.googlesource.com/SwiftShader/+/a88d056919f1a84777c8b33531f40acc74a19d1e%5E%21/
Previously, slack was modified to have an unconditional RDEPEND on
wayland via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0328dbab456f04c57b286cf93235f7323c7c5a0f
The commit message indicates exactly why it was added and it was not "upstream says it's a dependency, so it's a dependency". :) Please open
a bug report for it. Thanks.
Overall I think that these phantom wayland dependencies are an artifact
of Electron's constant churn and the fact that every application using electron basically bundles its own inconsistent copy of it.
--
Eli Schwartz
On 23/09/2024 23:53, karl@aspodata.se wrote:(that should be horde, not hoard even though it sounds funny...)
It's just the pc hoard that thinks a server is some machine handling
databases, mail, files, printers or what
In other words, X uses the words the other way round than most people -
what I said.
Doesn't mean the majority are right! As far as I'm aware X got there
first, but is now swimming against the tide.
Do you have that little faith in the Gentoo Developers, that you
think we'd make a USE flag change that made everyone's systems
suddenly break?
:(
So should computer words be defined by non-professionals or thoose
who knows ?
One effect of letting non-professionals define words is the case when
the poeple handling the collection of television licences had the
opinion the a computer is a television set and hence people with a
computer should pay for the right to view television.
Do you specifically use the closed-source drivers, though?
On Mon, Sep 23, 2024 at 05:11:14PM -0400, Eli Schwartz wrote
Do you have that little faith in the Gentoo Developers, that you
think we'd make a USE flag change that made everyone's systems
suddenly break?
:(
I was around way back when "ipv6" became the default. I was using
Firefox back then. Type in a URL; Firefox spins its wheels for 60
seconds in IPV6; it finally gives up and drops down to IPV4. This
happened with every URL.
After that I ran with USE="-* yada yada yada" for quite some time. Currently, I'm less extreme, merely disabling a bunch of USE flags...upower -wayland"
USE="X apng ffmpeg introspection jpeg opengl openmp png truetype x264 x265 xorg threads vala -acl -caps -clang -context -elogind -filecaps -graphite -gstreamer -haptic -iptables -ipv6 -libav -llvm -manpager -pam -sendmail -spirv -tofu -su -udisks -
The "szip" and "xinerama" USE flags seem to have disappeared.
And who can forget the move from /dev/hda hdb hdc etc., to /dev/sda
sdb sdc etc.? Machine literally unbootable on the newly compiled
kernel. Fortunately, I always have "Production" and "Experimental"
kernels. The newly compiled kernel is always "Experimental". If things
go badly, I drop back to the "Production" kernel and try to figure out
what went wrong. Only after a long while do I execute my "promote"
script that copies "Experimental" over top of "Production".
If you actually want to disable ipv6, instead of insanely rebuilding
binaries to use untested broken segfaulting code, use the sysctl
knob to tell the kernel "when asked to give some application a bit
of internet traffic, don't use ipv6".
net.ipv6.conf.all.disable_ipv6
That's quite the bloated collection of enabled USE flags you have
there -- lots of stuff that are much more bloated than ipv6, in
fact. :)
On Tue, Sep 24, 2024 at 09:42:23PM -0400, Eli Schwartz wrote
If you actually want to disable ipv6, instead of insanely rebuilding
binaries to use untested broken segfaulting code, use the sysctl
knob to tell the kernel "when asked to give some application a bit
of internet traffic, don't use ipv6".
net.ipv6.conf.all.disable_ipv6
My system is actually very stable. In the shitstorm that erupted on
this list at "ipv6" enabling I did not see any mention of sysctl. In my /etc/default/grub file I have...
GRUB_CMDLINE_LINUX_DEFAULT="noexec=on net.ifnames=0 ipv6.disable=1"
With this setting is it guaranteed that a program compiled with "ipv6"
flag will not try IPV6 first and timeout before dropping down to IPV4?
How OS-specific is this?
I "asked Mr. Google" and the NordVPN web page recommended for Redhat
based distros...
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.tun0.disable_ipv6=1
For Debian-based distros...
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
Other answers for disabling IPV6 include stuff like...
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
BTW, I did *NOT* have IPV6 enabled when the USE flag changed...
[x8940][root][~] grep IPV6 /usr/src/linux/.config
# CONFIG_IPV6 is not set
--That's quite the bloated collection of enabled USE flags you have
there -- lots of stuff that are much more bloated than ipv6, in
fact. :)
Stuff that I don't use is left disabled. I occasionally look at my package.use file. If a flag is enabled for multiple apps there, I run
USE="flag" emerge -pv --changed-use --deep --pdate @world
If there isn't much new stuff pulled in I'll...
* enable the flag in make.conf
* delete the enabling entries in package.use
* disable, in package.use, the flag for new stuff that tha flag pulls in
This minimizes the size of my package.use file. Note: this is optimal
for the collection of apps *THAT I USE*. YMMV.
My system is actually very stable. In the shitstorm that erupted on
this list at "ipv6" enabling I did not see any mention of sysctl. In my /etc/default/grub file I have...
GRUB_CMDLINE_LINUX_DEFAULT="noexec=on net.ifnames=0 ipv6.disable=1"
With this setting is it guaranteed that a program compiled with "ipv6"
flag will not try IPV6 first and timeout before dropping down to IPV4?
How OS-specific is this? I "asked Mr. Google" and the NordVPN web
page recommended for Redhat based distros...
I suspect your Firefox anecdote happened due to misconfiguration
(I think network.http.fast-fallback-to-IPv4 dictates the use of this algorithm in Firefox).
As a point of reference, I do nothing to disable IPv6 support, and my
ISP does not provide IPv6 support, yet I have no added latency due to
IPv6 support being enabled. I just get the benefits of better LANs and internal networks.
There is no reason to disable IPv6 support, as Eli said (especially if
yo do not know _what_ you're trying to disable, and are just trying to blanket-disable a vague concept of IPv6).
When syncing portage today I saw what the delay is: apparently it
tries ipv6 twice, fails, then resorts to ipv4 which works fine.
Most of my systems now have ipv6 support removed, and viola! no
more delays.
There is no reason to disable IPv6 support, as Eli said (especially if
yo do not know _what_ you're trying to disable, and are just trying to
blanket-disable a vague concept of IPv6).
This is *NOT* about a "vague concept". This is about solving a bug
that makes browsing unbearable.
I'm not the only one. See archive https://public-inbox.gentoo.org/gentoo-user/14d2d8af-e7b9-d5e6-06c1-a7f3ad01ac23@gmail.com/
When syncing portage today I saw what the delay is: apparently it
tries ipv6 twice, fails, then resorts to ipv4 which works fine.
Most of my systems now have ipv6 support removed, and viola! no
more delays.
In his case, the delay was only 10 seconds, but a delay nonetheless.
This raises another point, it was not just Firefox that ran into
problems, but rather anything that talked to the internet.
Please do not disable the USE=ipv6, as that is *utterly* insane. It also
does approximately nothing. In packages which support this USE flag,
which is rare, it causes the code to use old, untested APIs which only support ipv4, rather than new, tested APIs that support ipv4 and ipv6
equally well while having the benefit of being stable, reliable and efficient.
I think the two of you are talking past each other. What did Arsen mean
by "the vague concept of IPv6"? I suspect he meant:
You are trying to solve a concrete user issue with your browsing.
Your idea of how to solve the user issue is to blame IPv6, then get all
meta about how to solve it and decide that the vague concept of IPv6
must be eradicated and purged from the public consciousness
-- rather than disabling the specific issue that is causing problems.
"WD" == Walter Dnes <waltdnes@waltdnes.org> writes:
This is *NOT* about a "vague concept". This is about solving a bug
that makes browsing unbearable. I'm not the only one. See archive https://public-inbox.gentoo.org/gentoo-user/14d2d8af-e7b9-d5e6-06c1-a7f3ad01ac23@gmail.com/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 169:18:11 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,551 |