-
Notifications
You must be signed in to change notification settings - Fork 94
Noble installer is an empty white window #2391
Comments
I see this too, on a VMware guest with https://cdimage.ubuntu.com/daily-live/current/noble-desktop-amd64.iso as of 2023-11-20. It looks like there is an issue with the core22 snap's
I also see a similar error on an arm64 qemu instance:
|
It's interesting that As to how to fix this, I would guess libelf.so.1 might be shipped in the core22 snap? But that would probably have to be reported in whatever bug tracker the core snaps use... |
The snapped installer must indeed not load any shared objects from the root filesystem. Maybe some more packages need to be staged into the ubuntu-desktop-installer snap? I thought snapcraft would complain about this but are objects being loaded by dlopen perhaps? |
Yes it must be |
The snap is classic which makes it a bit more complicated. It seems the issue there is because the dri drivers are included using 'no-patchelf' (details of why that's needed in https://forum.snapcraft.io/t/caveats-for-no-patchelf-in-a-classic-snap). A consequence is that the .so files in the dri directory don't get a rpath set on to point them to the core version of the librairies
It seems it does end up loading the core22 libc6 though (probably because it's already loaded earlier in the process and the installer binary has the correct rpath) but then the libelf1 from the system... |
If so then simply staging libelf1 will fix it. |
Right, it does and we should probably do that for now but it would be better to use the libelf already provided by core22 rather than duplicating in the installer. Adding /snap/core22/current/usr/lib/x86_64-linux-gnu to LD_LIBRARY_PATH is making the process crash though for some reason... |
I submitted a PR to stage libelf now, #2397 |
Yes, that is something I also noticed: core22 does contain a libelf.so.1, so why isn't the installer snap using that? Is the rpath in the dri drivers the actual problem? (That said, I guess it is expected that Xorg will try to dlopen the dri drivers.) |
The issue is that without setting a rpath (which snapcraft is doing without the no-patchelf hack needed for dri drivers) the default paths resolution is being used, which means it tries to load the system version... |
The fix landed in stable now |
Confirmed fixed in https://cdimage.ubuntu.com/daily-live/20231122/ The installer now gets halfway through before crashing, but compared to this bug it's a big step forward. |
Yep, here too. The installer starts up fine now, at least. It indeed crashes right after filling in a username. :) |
The issue is different from this report, let's use https://bugs.launchpad.net/subiquity/+bug/2044252
|
link to the launchpad isn't working for me (page doesn't exist error) |
The bug is private but we will use https://bugs.launchpad.net/subiquity/+bug/2044239 instead which is public. And yes, the issue has to do with the process which is doing the installation in the background and not with the username step |
What happened?
Noble installer (20231119) is an empty white window:
Confirmed on two laptops and in a VM.
What was expected?
That I can see the installer window.
Steps to reproduce
Boot https://cdimage.ubuntu.com/daily-live/20231119/noble-desktop-amd64.iso
The text was updated successfully, but these errors were encountered: