-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xorg.xorgserver: 1.20.14 → 21.1.7 #206805
Conversation
76dfbab
to
56a3884
Compare
#170856 doesn't sound resolved. The upstream bug remained without comments. |
@ofborg eval |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/gui-not-starting-after-upgrade-to-22-05/19534/16 |
I am concerned with the lack of activity regarding that specific issue ticket/entry; it seems like either the circumstances were very specific (a very specific combination of configs, versions of other libraries, etc) or misconfiguration of screen indexes. (See the example to the associated proposed fix/patch: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/869#note_1283960 )
I think it is likely that a workaround for most users could be adjusting the screen indexes regardless and some more recent issues have emerged due staying on 1.20.z series: #206663 |
Rebuilding with 56a3884084df5b4dfbcfac17e1fd0f521412c32a causes X to segfault on my system, with the same backtrace as #170856.
I'm happy to test out any workarounds, what do I need to do? |
Hi, thanks for helping out, could you share the resulting I'm interested in how your config is being rendered in the following
|
Sure, I've attached them. Looks like the bad configuration is missing importing some modules that looks like driver config? Maybe it's an issue in nixpkgs? 1,19d0
< Section "Files"
<
< FontPath "/nix/store/4hlwha4gl6n5h9mw3h6xvvqn5f4y53sj-unifont-15.0.01/share/fonts"
< FontPath "/nix/store/nk1ja8pbmaibxvavbbgflgn0884cqd0i-font-cursor-misc-1.0.3/lib/X11/fonts/misc"
< FontPath "/nix/store/n8ylawwf9pg38v8sgdn8wd3i8dsnx2nh-font-misc-misc-1.1.2/lib/X11/fonts/misc"
< FontPath "/nix/store/2izw3bigm5g0vsx0rq3mmrbii389p84i-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi"
< FontPath "/nix/store/0mpcys11x9a5ayahv6idh2mqxxhz5652-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi"
< ModulePath "/nix/store/52b3q5ysi4gn116fch9if766rl2b392f-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers"
< ModulePath "/nix/store/p1dp105wddz3zsw3d2zdvi64pbfvv833-xf86-video-ati-5eba006e4129e8015b822f9e1d2f1e613e252cda/lib/xorg/modules/drivers"
< ModulePath "/nix/store/vrhl14i29c36b23hqshkg1gg5ivc0gbp-xf86-video-nouveau-3ee7cbca8f9144a3bb5be7f71ce70558f548d268/lib/xorg/modules/drivers"
< ModulePath "/nix/store/7hli12a0wl78ifxsb6gpplwz8q7k7hif-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers"
< ModulePath "/nix/store/0xm0zaa6sa8b2k4sbcy6kzwk2a31yf9h-xorg-server-1.20.14/lib/xorg/modules"
< ModulePath "/nix/store/0xm0zaa6sa8b2k4sbcy6kzwk2a31yf9h-xorg-server-1.20.14/lib/xorg/modules/drivers"
< ModulePath "/nix/store/0xm0zaa6sa8b2k4sbcy6kzwk2a31yf9h-xorg-server-1.20.14/lib/xorg/modules/extensions"
< ModulePath "/nix/store/kai7zafpiyyx20lip01s8517kvmj851c-xf86-input-evdev-2.10.6/lib/xorg/modules/input"
< ModulePath "/nix/store/s6zg7cyynhjm3agv63jkp3wf634yr34l-xf86-input-libinput-1.2.0/lib/xorg/modules/input"
<
< EndSection
<
219d199
<
|
Also, I just finished compiling with the patch you mentioned and X still segfaults with the same backtrace. |
Thanks for providing the examples; though now I am slightly more confused about what is going on. :S
Could you try setting the following options to include your modules / fonts of the good config?
Though, what weirds me out is that I don't understand how the |
This comment was marked as duplicate.
This comment was marked as duplicate.
@jyooru how exactly did you obtain the |
@jyooru I have a suspicion that maybe for the new config you just looked at the |
I'm sorry, I didn't realise they would be different. I got the bad configuration file by evaluating This time, no missing modules. 8,16c8,17
< ModulePath "/nix/store/52b3q5ysi4gn116fch9if766rl2b392f-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers"
< ModulePath "/nix/store/p1dp105wddz3zsw3d2zdvi64pbfvv833-xf86-video-ati-5eba006e4129e8015b822f9e1d2f1e613e252cda/lib/xorg/modules/drivers"
< ModulePath "/nix/store/vrhl14i29c36b23hqshkg1gg5ivc0gbp-xf86-video-nouveau-3ee7cbca8f9144a3bb5be7f71ce70558f548d268/lib/xorg/modules/drivers"
< ModulePath "/nix/store/7hli12a0wl78ifxsb6gpplwz8q7k7hif-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers"
< ModulePath "/nix/store/0xm0zaa6sa8b2k4sbcy6kzwk2a31yf9h-xorg-server-1.20.14/lib/xorg/modules"
< ModulePath "/nix/store/0xm0zaa6sa8b2k4sbcy6kzwk2a31yf9h-xorg-server-1.20.14/lib/xorg/modules/drivers"
< ModulePath "/nix/store/0xm0zaa6sa8b2k4sbcy6kzwk2a31yf9h-xorg-server-1.20.14/lib/xorg/modules/extensions"
< ModulePath "/nix/store/kai7zafpiyyx20lip01s8517kvmj851c-xf86-input-evdev-2.10.6/lib/xorg/modules/input"
< ModulePath "/nix/store/s6zg7cyynhjm3agv63jkp3wf634yr34l-xf86-input-libinput-1.2.0/lib/xorg/modules/input"
---
> ModulePath "/nix/store/aacfasgbnz6dij3h5ifza52vcgw6xn99-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers"
> ModulePath "/nix/store/y823j138xv2lm4ikq6yczxavvyd7lbry-xf86-video-ati-5eba006e4129e8015b822f9e1d2f1e613e252cda/lib/xorg/modules/drivers"
> ModulePath "/nix/store/w0qs3l92bzhs62dr2x7rabdvh3g9zbid-xf86-video-nouveau-3ee7cbca8f9144a3bb5be7f71ce70558f548d268/lib/xorg/modules/drivers"
> ModulePath "/nix/store/ha28fhy72qn7jc9qmfn4xgzwn6wajjcg-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers"
> ModulePath "/nix/store/cpycrl4bi71cnmzkg14nzifff0xr44af-xorg-server-21.1.5/lib/xorg/modules"
> ModulePath "/nix/store/cpycrl4bi71cnmzkg14nzifff0xr44af-xorg-server-21.1.5/lib/xorg/modules/drivers"
> ModulePath "/nix/store/cpycrl4bi71cnmzkg14nzifff0xr44af-xorg-server-21.1.5/lib/xorg/modules/input"
> ModulePath "/nix/store/cpycrl4bi71cnmzkg14nzifff0xr44af-xorg-server-21.1.5/lib/xorg/modules/extensions"
> ModulePath "/nix/store/07qkfryfbfj612m7aln4vsbaam682h5f-xf86-input-evdev-2.10.6/lib/xorg/modules/input"
> ModulePath "/nix/store/41xhkggwpizl95y3x1g0a42kicz53inw-xf86-input-libinput-1.2.0/lib/xorg/modules/input" |
How many users are affected by this and how (or when) do we decide to move on regardless? We're now more than a year behind the latest release. |
Sorry for closing, fat finger 😑 |
@andresilva Affected by what exactly? The update to Xorg itself would affect all desktop users. The 500-1000 packages you see are pretty much all desktop packages. |
Btw, with <1000 rebuilds, this can probably go to master rather than staging. (Mind the potentially required rebase!) |
Affected by X failing to start up, surely. See backtraces and references above. |
I should have been more explicit in my wording. I meant affected by the issue that's preventing us from going forward with this update (see #170856 #206663). The reason I'm raising this is because I'm not seeing any progress upstream on this matter, and in the meantime we need to keep using an outdated version and backporting important fixes. |
Yeah but also there are people with issues with the currently available 1.20 that are fixed on the 1.21 releases: #206663 So now it becomes a question of "Should I Stay or Should I Go" |
The Nouveau crash is very likely in the DDX. I think we should move forward with this combined with #218437. |
92751ca
to
6e102bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM, works fine on my end (amdgpu) for basic things. I think it's time to just send it and see what happens, we can't sit on an ancient version forever.
Should we retarget to master and merge? |
Diff: https://github.com/freedesktop/xorg-xserver/compare/xorg-server-1.20.14...xorg-server-21.1.7 This reverts the revert on NixOS#174140
@K900, rebased to merge-base origin/staging origin/master and retargetted to main branch |
Broke the xorg-xserver build on aarch64-darwin. It requires https://hydra.nixos.org/build/211444524 But I do wonder who even consume xorg-xserver on aarch64-darwin. If the answer is noone, why not disable it in the first place? |
Darwin has XQuartz but I don't think our package still works. |
It seems quite a coincidence that it just succeeded once on Hydra just before the update: |
So simply this? #219852 |
Description of changes
Diff:
https://github.com/freedesktop/xorg-xserver/compare/xorg-server-1.20.14...xorg-server-21.1.7
This reverts the revert on #174140
Things done
Built and booted into NixOS unstable on a gcc-12 branch on top of current staging-next. (nvidia proprietary drivers on gnome/mutter, no segfault)
#170856
#206663
However, would appreciate some runtime testing from other users, specially those for known issues.
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes