GNOME debugging thread

GNOME debugging thread
105 Replies
j0rge
j0rgeOP2w ago
yo
Jordan Petridis
Aug 22 05:07:20 bluefin org.gnome.Shell.desktop[1686]: (EE) could not connect to wayland server I think this is the culprit
tulip
tulip2w ago
rootful xwayland definitely works btw
tulip
tulip2w ago
seems that the shell is failing to start rootless xwalyand on-login
Jordan Petridis
wait no, this is from 50m before the other one
James
James2w ago
love the not gnome tag
Jordan Petridis
Aug 22 05:57:18 localhost /usr/libexec/gdm-wayland-session[1638]: dbus-daemon[1638]: [session uid=42 pid=1638] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=42 pid=1639 comm="/usr/libexec/gnome-session-binary --autostart /usr" label="system_u:system_r:xdm_t:s0-s0:c0.c1023")
Aug 22 05:57:18 localhost /usr/libexec/gdm-wayland-session[1638]: dbus-daemon[1638]: [session uid=42 pid=1638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 22 05:57:18 localhost gnome-session[1639]: gnome-session-binary[1639]: WARNING: Could not check if unit gnome-session-wayland@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
Aug 22 05:57:18 localhost gnome-session-binary[1639]: WARNING: Could not check if unit gnome-session-wayland@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
Aug 22 05:57:18 localhost /usr/libexec/gdm-wayland-session[1638]: dbus-daemon[1638]: [session uid=42 pid=1638] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=42 pid=1639 comm="/usr/libexec/gnome-session-binary --autostart /usr" label="system_u:system_r:xdm_t:s0-s0:c0.c1023")
Aug 22 05:57:18 localhost /usr/libexec/gdm-wayland-session[1638]: dbus-daemon[1638]: [session uid=42 pid=1638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 22 05:57:18 localhost gnome-session[1639]: gnome-session-binary[1639]: WARNING: Could not check if unit gnome-session-wayland@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
Aug 22 05:57:18 localhost gnome-session-binary[1639]: WARNING: Could not check if unit gnome-session-wayland@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
these also match do you have a delta of things that changed when this first started
James
James2w ago
I think systemd bumped
Jordan Petridis
oh
James
James2w ago
let me do an ostree diff one sec I actually need to downgrade again to a working image
Jordan Petridis
no worries get the details of what changed and when/how it started happening and we can bisect the compoments from there
James
James2w ago
systemd 257-12.el10 -> 257-11.el10
systemd-container 257-12.el10 -> 257-11.el10
systemd-libs 257-12.el10 -> 257-11.el10
systemd-oomd 257-12.el10 -> 257-11.el10
systemd-pam 257-12.el10 -> 257-11.el10
systemd-resolved 257-12.el10 -> 257-11.el10
systemd-udev 257-12.el10 -> 257-11.el10
gnome-session 48.0-9.el10 -> 48.0-2.el10
gnome-session-wayland-session 48.0-9.el10 -> 48.0-2.el10
gnome-shell 48.3-6.el10 -> 48.3-2.el10
gnome-shell-common 48.3-6.el10 -> 48.3-2.el10
systemd 257-12.el10 -> 257-11.el10
systemd-container 257-12.el10 -> 257-11.el10
systemd-libs 257-12.el10 -> 257-11.el10
systemd-oomd 257-12.el10 -> 257-11.el10
systemd-pam 257-12.el10 -> 257-11.el10
systemd-resolved 257-12.el10 -> 257-11.el10
systemd-udev 257-12.el10 -> 257-11.el10
gnome-session 48.0-9.el10 -> 48.0-2.el10
gnome-session-wayland-session 48.0-9.el10 -> 48.0-2.el10
gnome-shell 48.3-6.el10 -> 48.3-2.el10
gnome-shell-common 48.3-6.el10 -> 48.3-2.el10
Jordan Petridis
gnome-session got downgraded? no wait I am reading it the other way around I guess they patch gnome-session a bunch
James
James2w ago
this is all a downgrade to the working image
Jordan Petridis
is this centos?
James
James2w ago
all the gnome revs are mine
Jordan Petridis
ah
James
James2w ago
I got a COPR
James
James2w ago
GitHub
GNOME first run crashing on first run · Issue #625 · ublue-os/blu...
After a fresh install of the bib ISOs, gets stuck here: Hey did we bring the first run thing back with G48?
James
James2w ago
Adrian helped me with 2 patches for 49
Jordan Petridis
could you link me the sources of the copr also, you could probably build 49.beta of session and gdm, though need to check if we need shell too
Jordan Petridis
I think we need at least 49.alpha.0 of shell
James
James2w ago
yeah problem is centos bundles moxzjs and gjs and fedora doesn't i've been building everything out of the feora distgit but I cant build gjs due to the bundling so I can't bump gjs right now
j0rge
j0rgeOP2w ago
oh also jordan, we'll be doing backports on the LTS from now on, so it doesn't need to be perfect, it just needs to be reliable enough to last until 49 gets backported. the gnome backports will be rolling it's not a "normal" LTS
James
James2w ago
yeah 49 will be better we just have to fake it until then
Jordan Petridis
yea I am more curious on what part of the stack makes it fail more or less
tulip
tulip2w ago
it doesnt!!!! you can just bump mozjs to 128 just fine :clueless:
James
James2w ago
because RH kinda force x11 off even though it wasn'
Jordan Petridis
cause I know 49.alpha nad 49.beta worked, but we never tested 48 of shell plus some patch from 49 session
James
James2w ago
then why was 48.4 still failing?
Jordan Petridis
actually RH didn't disable x11 they only removed the xorg-server binary everything still builds against x11 libs (which is how we are still finding bugs)
tulip
tulip2w ago
they dont have mozjs128 on their repos yet
James
James2w ago
soo I should remove all my disable x11's
Jordan Petridis
yeap it will make things just work and once you can update everything to 49 in one go it will also work
James
James2w ago
on who's repos? it was in the copr
tulip
tulip2w ago
i put it on the copr but the build fails cuz of a check
James
James2w ago
hmm it does seem like something else shifted beneath us in CentOS. but maybe just my patches broke xwayland. I'll go back to gnome crash on first boot mode. then I'll make another copr to test build gnome with x11 on
j0rge
j0rgeOP2w ago
wait, what patches?
Jordan Petridis
if you disable x11 on the gnome-48 builds, things break and there are some patches from 49 that are needed
j0rge
j0rgeOP2w ago
are we disabling it on purpose?
James
James2w ago
i copied what was already there, but we can try undisabling across the board and see what happens. tulip was in the middle of that trying to fix xwayland
j0rge
j0rgeOP2w ago
actually let me reframe the question, are we using default flags for everything?
James
James2w ago
no Michel hard coded x11 disabled ... I suspect Neal and wayland supremacy
j0rge
j0rgeOP2w ago
lol can't we just roll with the default upstream flags?
Jordan Petridis
they jumped the gun cause they wanted to steal my thunder
j0rge
j0rgeOP2w ago
then lets just ship your thunder
Jordan Petridis
even though it was actually broken on 48
James
James2w ago
yeah I can roll back then changes
j0rge
j0rgeOP2w ago
let's just go with the safest thing on G48 asap since we need the baking period for LTS
James
James2w ago
right the thunder is in 49
j0rge
j0rgeOP2w ago
and now with jordan and james and jorge and tulip ... we shall ensure that GNOME destroys all competition on centos.
Jordan Petridis
yeap, for 48 we still have x11=enabled across the board on 49 we switched it
j0rge
j0rgeOP2w ago
all we need to do is listen to the people who write thing. And then we can make a kickass vanilla gnome experience, since once we have LTS out the door we have a good platform to build on. actually that's a flex for the feature list "Though we ship an opinionated GNOME desktop our build pipeline purposely follows upstream recommendations" or something For Bluefin I mean
Jordan Petridis
hah yeap
j0rge
j0rgeOP2w ago
no toggling shit before you say it's done it's ridiculous that this isn't the default way to ship to people, that's why I'm glad we're doing it but since we can have branches we can also run the crack daily per-commit stuff if you wanted to.
Jordan Petridis
gnomeos we rebuild it twice a day tracking main of all the projects
James
James2w ago
do you think there should be any more testing on top of that? Like I know gnome os is production ready, but also it seems a little wild to build from main everyday, sounds like arch or rawhide
Jordan Petridis
the sooner the better cause one day you wake up, you boot and its a blank screen the diff is like 10 commits in 5 projects so much easier to track down
James
James2w ago
like ideally there'd be some tier one on main and tier 2 lagging one week behind on a known-good image
Jordan Petridis
I mean, we call it gnomeos nightly
James
James2w ago
this is very helpful if you are a dev. not so much if you are a grandma. i'm looking for gnome os granny edition
Jordan Petridis
soon ™ eventually we will have gnome os 49, 50 and so on but for now we can only do development cause things are in flux
j0rge
j0rgeOP2w ago
we're just shifting left baby! just means we add more test suites upstream
Jordan Petridis
we are also doing that yeap @James btw do u have a link to the sources and the commit that disabled x11 on 48 I need the ammo to yell at people
James
James2w ago
Lol it was a hack fork
Jordan Petridis
ah okay I thought they did in centos itself
James
James2w ago
https://src.fedoraproject.org/fork/jreilly1821/rpms/mutter/blob/rawhide-el10+-no-x11/f/mutter.spec I just copied someone else's work who was likely operating under wrong information
j0rge
j0rgeOP2w ago
ok so all we have to do is jordan-align and we should be good. 😄
James
James2w ago
I'll need Jordan help if/when GNOME wants newer deps. GNOME 49 already needs new gjs and Wayland. GNOME 48 needed new glibc. Still have to get around to gjs But I'm not touching what we got as long as it works for a few months
j0rge
j0rgeOP2w ago
right future us problem and I bet at some point we just update in -hwe and let vanilla go for as long as it can
Jordan Petridis
iirc nto even fedora has updated to mozjs140 yet in general that the issue with the backborts, eventually you rebuild half the stack
Jordan Petridis
GNOME Discourse
GNOME 49 to depend on SpiderMonkey 140
This is a notice that GJS 1.85.2, scheduled to be included in GNOME 49.beta, will depend on SpiderMonkey 140 (corresponding with Firefox’s extended support release, ESR140). Mozilla has not worked out an automatic release process for SpiderMonkey tarballs yet. The official recommendation is to use the Firefox ESR140 source tarball. More infor...
Jordan Petridis
in gnomeos we pulled it without any issues, but its stuck somewhere in fedora land
James
James2w ago
I'm already needing to fork a couple things since CentOS dropped the x11 binary. I will have to make a bundled mozjs+gjs too, to match centos
j0rge
j0rgeOP2w ago
for what we're doing now or for the future?
Jordan Petridis
bundled as in how exactly things should mostly work in centos even without the xorg-server, what did you need to fork btw any idea where they keep the mutter spec file for EL10
j0rge
j0rgeOP2w ago
yeah if we need to fork a bunch of things we need to have another think through
James
James2w ago
Put the mozjs and gjs in one spec, since I guess mozjs is only used in gjs on centos
Jordan Petridis
oh they are still stuck on 47 huh
James
James2w ago
Yeah for 3 years
Jordan Petridis
or rather released
James
James2w ago
Hence the backport
j0rge
j0rgeOP2w ago
yeah and it's either G48 or we don't ship so if it's not going to happen or if it means forking the work please let me know @James I thought we were just backporting RPMs not forking things
James
James2w ago
No 48 is working
j0rge
j0rgeOP2w ago
I was under the impression that we wouldn't be maintaining a bunch of things, just doing 48 and moving on
James
James2w ago
I'm forking the rpm specs. Not gnome
j0rge
j0rgeOP2w ago
oh ok yeah, because we want this to be the default bluefin, it should be as zero maintenance as you can make it
James
James2w ago
Yeah me too
Jordan Petridis
do you plan on updating to 49 afterwards? cause long term its gonna be a lot of work to keep backporting
j0rge
j0rgeOP2w ago
we want to just at least do 48 after that don't care we just want this out and as a stable platform so we can work on wolfi
Jordan Petridis
cool cool
j0rge
j0rgeOP2w ago
the problem bluefin has is the fedora ones work and we don't want to be there but neither LTS or wolfi are ready so we're stuck in fedora land and don't want to be
Jordan Petridis
sidenote, going back to x11 I figured what happened, the x11 disable is upstream kinda but only on fedora it seems https://src.fedoraproject.org/rpms/mutter/c/8c9497b9eeb54724b8e59512a3b9beab397bf4d3?branch=rawhide
Jordan Petridis
the first working release with x11=disabled that I know off is 49.alpha.0 I remember when Neal jumped the gun and broke all of rawhide
James
James2w ago
Yeah Adrian told me
Jordan Petridis
so until 49 just enable x11 build option, it won't be used at runtime anywhere centos10 only missed the xorg-server binary iirc we only need to rm the desktop file for gnome on xorg
j0rge
j0rgeOP2w ago
@James ok so all the crashers are gone with Xwayland in the latest snapshot! I'm going to respin ISOs to check for the first login crasher if we can't do gnome-user-share then let's not do it, it's better to cut scope than to try to get it to work
Jordan Petridis
what's the issue with user-share
j0rge
j0rgeOP2w ago
we have to port a bunch of things to epel I don't think it's worth the effort
Jordan Petridis
user-share and I am guessing nautilus, you can do after the release as well probably oh wait nvm, its the shell that depends on it among other things
j0rge
j0rgeOP7d ago
OK! new image, new ISO, no crashers!

Did you find this page helpful?