News for hackers. Stuff that matters.
Re:Announcing flicker-free boot for Fedora 29 by Waterluvian on Tuesday October 02, 2018 @04:28PM (#18125422)
I think this is basically what OSX has had forever. And I think this is one of those things that's _really_ easy to miss how big of a deal it is in making the experience feel solid.

My Ubuntu 16.04 machine does this weird thing where it shows my login in 1/4 of the screen then suddenly it stretches to fill. Really sets the tone for how janky the experience is going to be.

The startup experience sets the tone for the entire thing. I know some engineers who won't get why it's a big deal. It's a _big_ deal.

Re:Announcing flicker-free boot for Fedora 29 by twic on Tuesday October 02, 2018 @07:51PM (#18126640)
My favourite thing my Ubuntu machine does is that when you wake it from sleep, it shows you the desktop as it was when you put it to sleep for a fraction of a second, then flickers a few times while it puts up a lock screen, then shows two login dialogs stacked on top of each other, one larger than the other.
Re:Announcing flicker-free boot for Fedora 29 by wlll on Tuesday October 02, 2018 @10:02PM (#18127135)
My mac does that. I've not tested it on Mojave, but it did it every time without fail on High Sierra.
Re:Announcing flicker-free boot for Fedora 29 by wlll on Wednesday October 03, 2018 @11:36AM (#18131245)
Tested this, my mac still does this on Mojave.
Re:Announcing flicker-free boot for Fedora 29 by amiga-workbench on Wednesday October 03, 2018 @05:06AM (#18128666)
Thats probably because the lockscreen is just a fullscreen application under X11, Weyland actually understands the concept of a lockscreen and keeps things a tad more secure.

I get the same problem on Fedora, its irritating.

Re:Announcing flicker-free boot for Fedora 29 by chupasaurus on Wednesday October 03, 2018 @06:09AM (#18128900)
Not probably, lockscreen is the fullscreen app which handles all keyboard/mouse inputs itself.

And I hadn't that problem in KDE.

Re:Announcing flicker-free boot for Fedora 29 by dingaling on Wednesday October 03, 2018 @07:56AM (#18129335)
With KDE4 I often have to wait whilst the lockscreen is paged back out of swap.

Invariably I miss the fact that the disk-activity light is still lit, start typing my password and then become annoyed because it only caught the last few characters. So then I have to wait AGAIN whilst it proudly announces an authentication failure and punishes me with a further delay.

Re:Announcing flicker-free boot for Fedora 29 by chupasaurus on Wednesday October 03, 2018 @09:48AM (#18130114)
So your problem was a process going to swap (or not, Linux still has problems with disk i/o, especially going from hybernation, although bug #12309 is gone), rest are the consequences.
Re:Announcing flicker-free boot for Fedora 29 by meroje on Wednesday October 03, 2018 @08:41AM (#18129587)
macOS does that to me too
Re:Announcing flicker-free boot for Fedora 29 by CoolGuySteve on Wednesday October 03, 2018 @07:34AM (#18129245)
When I open my laptop, Ubuntu wakes up, shows the desktop and then immediately blacks the screen until I move the mouse.

I got so used to that jankiness that I didn’t notice it until I was showing someone my laptop who was interested in buying the same model.

Re:Announcing flicker-free boot for Fedora 29 by cies on Wednesday October 03, 2018 @08:37AM (#18129565)
Wayland will specifically fix this. Fixing it in X has proven to be hard if not impossible.

(there are other security fixes by adopting Wayland)

Re:Announcing flicker-free boot for Fedora 29 by bwat49 on Wednesday October 03, 2018 @11:37AM (#18131265)
what version of ubuntu are you running?

I've seen this behavior with the old 'gnome-screensaver' (which I think ubuntu hasn't used for quite a while), but with the current gnome-shell lock screen it behaves properly and doesn't black out the screen when I open my laptop.

Re:Announcing flicker-free boot for Fedora 29 by CoolGuySteve on Wednesday October 03, 2018 @04:06PM (#18134329)
16.04
Re:Announcing flicker-free boot for Fedora 29 by rrdharan on Tuesday October 02, 2018 @09:13PM (#18126946)
Yep, also obviously a security (information disclosure / privacy) flaw that is quite difficult to solve apparently.
Re:Announcing flicker-free boot for Fedora 29 by rhizome on Tuesday October 02, 2018 @10:30PM (#18127235)
Re:Announcing flicker-free boot for Fedora 29 by hendry on Wednesday October 03, 2018 @01:49AM (#18127902)
I've seen this on MacOS too.

Never seen it with Arch with https://wiki.archlinux.org/index.php/Slock mind

Re:Announcing flicker-free boot for Fedora 29 by kreetx on Wednesday October 03, 2018 @01:09AM (#18127758)
Same here on ubuntu with xfce. They should at least overlay something before going to sleep as a quick fix.
Re:Announcing flicker-free boot for Fedora 29 by pbhjpbhj on Wednesday October 03, 2018 @07:01AM (#18129114)
Like, the lockscreen, perhaps.
Re:Announcing flicker-free boot for Fedora 29 by k_bx on Wednesday October 03, 2018 @09:39AM (#18130044)
> when you wake it from sleep, it shows you

wow, a lucky person, Ubuntu on my Desktop never wakes up :)

// p.s.: still better than macOS/Windows for development, I just don't turn it off, that's all

Re:Announcing flicker-free boot for Fedora 29 by O_H_E on Wednesday October 03, 2018 @12:28PM (#18131871)
#DontStopWorking
Re:Announcing flicker-free boot for Fedora 29 by dguaraglia on Wednesday October 03, 2018 @02:02AM (#18127944)
At the risk of sounding like a fanboi: try Pop!_OS (I know, the spelling is ridiculous). It's essentially Ubuntu with a bunch of those things that make it feel janky ironed out. The biggest one for me is it does a great job of managing the discrete GPU on my laptop. I've been using it for a few weeks and couldn't be happier.
Re:Announcing flicker-free boot for Fedora 29 by abdullahkhalids on Wednesday October 03, 2018 @07:27PM (#18135666)
I am surprised because I had this bug on my Debian setup once, but it was solved several years ago.
Re:Announcing flicker-free boot for Fedora 29 by Someone on Wednesday October 03, 2018 @03:29AM (#18128239)
”it shows you the desktop as it was when you put it to sleep”

Bad idea, security-wise.

Re:Announcing flicker-free boot for Fedora 29 by kiriakasis on Wednesday October 03, 2018 @03:38AM (#18128271)
All my gnome setup always did this. I find it deeply broken
Re:Announcing flicker-free boot for Fedora 29 by audidude on Wednesday October 03, 2018 @05:38PM (#18135051)
My understanding when looking back at those bugs, is that they were driver bugs where the driver lied about having committed to the back-buffer. GNOME, at least, tries to blank things and submit the right commands to ensure it's cleared before releasing the suspend lock.

But if the GPU driver is broken about command committal, then there is only so much you can do short of fixing those .

Re:Announcing flicker-free boot for Fedora 29 by puzzlingcaptcha on Wednesday October 03, 2018 @03:58AM (#18128350)
reminds me of https://url.rw/?https%3A%2F%2Fwww.jwz.org%2Fblog%2F2014%2F04... (jwz's blog doesn't like HN as a referer)
Re:Announcing flicker-free boot for Fedora 29 by burfog on Tuesday October 02, 2018 @05:55PM (#18126037)
OSX couldn't do that on a random PC.

Every distinct piece of Apple's boot process (firmware, boot loader, kernel, desktop) can have the correct video driver, be aware of the desired final video resolution, and trust that any previous piece has left the video card in the proper state. It all ships together.

The PC BIOS doesn't know you want 2560x1600 for your desktop. It just picks a mode suitable for the BIOS. If anything, the BIOS is required to leave the screen in VGA text mode. The boot loader faces the same issue. At best, a Linux distribution might decide to use a VESA mode, but that can't cover the desired 2560x1600. (VESA doesn't go that high)

Re:Announcing flicker-free boot for Fedora 29 by mjg59 on Tuesday October 02, 2018 @06:41PM (#18126327)
OS X /could/ do that on a random PC - Windows 8 and later already do so if your firmware provides appropriate functionality, and Fedora is making use of this same functionality. The firmware exports information about its bootsplash in an ACPI table called BGRT, and this allows the bootloader and OS to draw stuff without overwriting the firmware's artwork. This is how recent versions of Windows draw the boot animation underneath the vendor firmware logo. Right now Fedora doesn't do that, but it wouldn't be super hard to teach Plymouth how to.

UEFI graphics drivers usually support much more fine grained modesetting than VESA, assuming you have a native UEFI graphics driver rather than one that's thunking down to a legacy BIOS option ROM. They're also (usually) capable of reading and parsing EDID and will set a native mode if possible. The number of people not running their desktop at their display's native mode is sufficiently low that it's not really worth worrying about.

Re:Announcing flicker-free boot for Fedora 29 by yipbub on Wednesday October 03, 2018 @01:56AM (#18127920)
What he's saying, in response to "OS X can already do that", is that OS X as it is currently can't do that.
Re:Announcing flicker-free boot for Fedora 29 by wmf on Tuesday October 02, 2018 @06:13PM (#18126132)
The PC BIOS doesn't know you want 2560x1600 for your desktop...

That's why we switched to UEFI around a decade ago; I'm pretty sure it doesn't have all those problems. So a modern PC can boot directly into the correct resolution.

Re:Announcing flicker-free boot for Fedora 29 by semi-extrinsic on Tuesday October 02, 2018 @06:23PM (#18126204)
UEFI stands for “Unified Extensible Firmware Interface”, where “Firmware” is an ancient African word meaning “Why do something right when you can do it so wrong that children will weep and brave adults will cower before you”, and “UEI” is Celtic for “We missed DOS so we burned it into your ROMs”.

–Matthew Garrett (he wrote a lot of the Linux kernel UEFI implementation)

Re:Announcing flicker-free boot for Fedora 29 by sometimesijust on Tuesday October 02, 2018 @08:03PM (#18126684)
Re:Announcing flicker-free boot for Fedora 29 by jaclaz on Thursday October 04, 2018 @11:28AM (#18140772)
Thank you for the Matthew Garret quote, very nice "alternate" definition of UEFI.
Re:Announcing flicker-free boot for Fedora 29 by chuckdries on Tuesday October 02, 2018 @06:33PM (#18126278)
My custom build shows the motherboard logo at the correct resolution immediately on POST and never has to mode switch even through grub. It flashes off and on to load the nvidia proprietary drivers, but never has to do so when I boot to windows.
Re:Announcing flicker-free boot for Fedora 29 by whywhywhywhy on Tuesday October 02, 2018 @07:21PM (#18126520)
What's your motherboard?

Mines an Asus Gene VIII and using a 1080Ti and I don't even get anything appearing at all until the Windows logon.

Re:Announcing flicker-free boot for Fedora 29 by lathiat on Wednesday October 03, 2018 @10:31AM (#18130537)
As a side note OS X totally fails to do this on high resolution external displays. You can’t unlock your disk with the FileVault password on those 35” wide displays for example
Re:Announcing flicker-free boot for Fedora 29 by hannasanarion on Tuesday October 02, 2018 @04:55PM (#18125625)
It's probably been such low priority in the Linux community because most of us are big nerds and we like seeing different technologies interact, it can be nice to be able to see the boot sequence bios>bootloader>OS>Desktop.

OSx does the same thing, but hides it all behind a single load screen, as if all of those elements from hardware to DE were a monolithic "mac".

It feels like lying to the user to me. Bios isn't in control anymore, why is the motherboard logo still on the screen? How do I know when the OS takes over from grub if both are hidden under the motherboard logo?

Re:Announcing flicker-free boot for Fedora 29 by stefan_ on Tuesday October 02, 2018 @09:10PM (#18126938)
It's not in there because it's generally a gigantic hack. For the 40 or 50 years that people have been developing device driver's the basic principles have largely not changed: you start with a clean slate ans do a reset to put the HW into a known good state. Every block of silicon ever devised comes with means to reset it's internal state.

What this is doing is telling the driver to ignore it's normal reset procedure because someone else, but specifically not you, has already done the super complex modesetting and you are to trust it implicitly.

So next year, when the sales people come up with the idea that they want to show an animation across all your DisplayPort chained monitors at boot, the guys at Apple buckle down for a month, hack that into the bootloader and then hack their kernel to recognize it, ships the same year. On Linux, for the first ten years, nobody cares because there are much larger fires to put out, then ten years are spent on a vendor and display technology agnostic VR ready boot up animation description format, ten more years pass for a critical mass of boot firmware and kernel graphics drivers to support it, then it ships with Ubuntu but every third boot has flicker or a weird rotation issue.

Re:Announcing flicker-free boot for Fedora 29 by ryandrake on Tuesday October 02, 2018 @07:44PM (#18126617)
I’m a big nerd but I don’t care when the bios hands off to the bootloader or when that hands off to the kernel ow when that hands off to the window manager. I just want those steps to go as quickly as possible without a bunch of manufacturers spamming their logos at me.

The only time I want to see these handoffs and a ugly text dump is when things are broken and I’m debugging it, which should never happen anyway.

Why do we expect such mediocrity out of our software?

Re:Announcing flicker-free boot for Fedora 29 by NeedMoreTea on Tuesday October 02, 2018 @10:33PM (#18127244)
I imagine most would simply like to turn it on and get a prompt right away, like used to happen with a C64.

A ridiculous amount of modern products have gained a boot sequence that should not need one, and didn't used to. Hiding it doesn't fix the real issue.

Re:Announcing flicker-free boot for Fedora 29 by bmn__ on Wednesday October 03, 2018 @10:08AM (#18130320)
Things are possible if one puts one's mind to it.

five seconds, year 2008: https://lwn.net/Articles/299483/

two seconds, year 2017: https://www.youtube.com/watch?v=IUUtZjd6UA4&t=17

Re:Announcing flicker-free boot for Fedora 29 by userbinator on Tuesday October 02, 2018 @10:55PM (#18127331)
which should never happen anyway.

"The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair." -Douglas Adams

Re:Announcing flicker-free boot for Fedora 29 by grumdan on Wednesday October 03, 2018 @06:11AM (#18128911)
I think it's a matter of taste. I find seeing boot messages about services starting up etc. more aesthetically pleasing than some logo. It reminds me of people who buy mechanical watches where the gears are visible. Seeing the underlying bits of a complex system exposed can certainly be appealing to some people.
Re:Announcing flicker-free boot for Fedora 29 by hannasanarion on Thursday October 04, 2018 @08:22PM (#18144738)
I am exactly the kind of person who buys watches where the gears are visible, and I even use gear-shaped watch faces on my smartwatches, so yeah maybe this whole thread is just me being me.

I do also turn off the splash screen in linux so that I can watch the service startups fly by.

Re:Announcing flicker-free boot for Fedora 29 by ape4 on Wednesday October 03, 2018 @06:36AM (#18129015)
Me too. I would like the logo and the boot messages in a window.
Re:Announcing flicker-free boot for Fedora 29 by jlawer on Tuesday October 02, 2018 @10:28PM (#18127230)
> Why do we expect such mediocrity out of our software?

Experience

Re:Announcing flicker-free boot for Fedora 29 by LordDragonfang on Tuesday October 02, 2018 @06:48PM (#18126361)
>It feels like lying to the user to me

I think it's fair to say that in general, users want to be lied to. That's why UX patterns like screenshots of suspended apps being displayed while the app actually loads became standard. The appearance of speed is effectively as valuable as actual speed, just like the appearance of polish is valuable regardless of the cruft that lies beneath it.

Re:Announcing flicker-free boot for Fedora 29 by FullyFunctional on Tuesday October 02, 2018 @07:39PM (#18126594)
Lying has nothing to do with it. Users don't _care_ about the details of what the system is doing and it's just cognitive noise, distracting from the task at hand.

The suspended app screenshot is way more that appearance. We all need a moment to remember to context of what we were doing. Showing us a screenshot of the suspended state enables us to use the loading time productively so that we are immediately ready to interact once it's up.

Re:Announcing flicker-free boot for Fedora 29 by Dylan16807 on Tuesday October 02, 2018 @08:21PM (#18126771)
The task at hand is waiting. People love to be distracted from waiting without any evidence of progress. Isn't that why they put speakers into so many dial-up modems?
Re:Announcing flicker-free boot for Fedora 29 by ansible on Friday October 12, 2018 @07:37PM (#18205453)
Speaking as a user of dial up modems in the past, no.

The speaker was vital to inform the user as to what was happening. If the phone line was in user, if there was a dialing problem, if you called the wrong number, etc. And it also gave you an indication of the connection speed and line quality.

Re:Announcing flicker-free boot for Fedora 29 by FullyFunctional on Tuesday October 02, 2018 @09:05PM (#18126923)
I'd assume they the speaker was for diagnosis, eg. if you could hear an "Ahoy?" then you should probably start over.
Re:Announcing flicker-free boot for Fedora 29 by pythonaut_16 on Wednesday October 03, 2018 @08:25AM (#18129482)
All (graphical) user interfaces are a lie. The only real question is whether they're lying to benefit the user or not.
Re:Announcing flicker-free boot for Fedora 29 by fipple on Tuesday October 02, 2018 @07:08PM (#18126463)
Why not a single logo on the boot screen, and if you hold down Shift you can get the full dump of everything that's going on.
Re:Announcing flicker-free boot for Fedora 29 by audidude on Tuesday October 02, 2018 @08:08PM (#18126710)
To change the initial splash (from power-on), you'd need to get that pixmap embedded into your EFI. However, with the recent changes, any of these systems after initial EFI can alter the framebuffer and have that persisted up until wayland/xorg/etc.

Pressing a key to get the "full dump" is in fact how plymouth works, which many Linux distributions use from the kernel up until gdm/display-manager.

Re:Announcing flicker-free boot for Fedora 29 by audidude on Tuesday October 02, 2018 @08:05PM (#18126697)
> Bios isn't in control anymore, why is the motherboard logo still on the screen?

There is nothing stopping any of these components from changing the display framebuffer. The "news" here, so to speak, is that finally we'll have things working where you can avoid any buffer changes and simply start drawing on the old background.

If you want, you could have grub2/etc change the framebuffer and now that could persist up to the gdm hand-off.

Re:Announcing flicker-free boot for Fedora 29 by another-cuppa on Tuesday October 02, 2018 @05:11PM (#18125742)
True that. I want to see the output of OpenRC when I boot to make sure it all looks familiar (I only reboot after a kernel upgrade really). Then I login and type startx.

I understand I'm completely out of touch with how normal people use computers. I don't care.

Re:Announcing flicker-free boot for Fedora 29 by derefr on Tuesday October 02, 2018 @06:37PM (#18126303)
You can still see the output of your kernel and init system... on the serial console.

Personally, I wish serial-over-USB (and serial-over-Lightning) cables were more common. (I don't mean that they're expensive—they're dirt cheap. It's just that nobody has any idea they exist.)

They used to be a kind of arcane thing—why would you need serial access over USB when the PC already has a serial port? And why are you debugging a PC on another PC—(taking up a quite lot of space on your desk, eh?)—when you could instead debug the PC on the PC itself?

But these days, almost nothing has a serial port, and we have perfect "secondary PCs" to serve as the recipient of the serial input: our phones and tablets. (Heck, they probably have space reserved for them on your desk already!)

Imagine: sit an iPad or some cheapo Android tablet below your monitor. Plug the "send" end of the serial-over-USB cable into the USB hub built into your monitor. Plug the "receive" end of the cable into your tablet. Open a terminal-emulator app on your phone/tablet. Bam: console logs, flowing along below your PC, as needed.

Best of all, it's not unidirectional; your phone/tablet is now a VT100, and you can log into your computer over it, even if the display server or login manager or desktop environment is wedged.

If owning these little cables was common, I'd honestly suggest just turning off the Linux text-console virtual framebuffers entirely for the Desktop versions of distributions. You want to see what's going on underneath the gloss? Tap in.

Re:Announcing flicker-free boot for Fedora 29 by Dylan16807 on Tuesday October 02, 2018 @08:27PM (#18126791)
I'm not really impressed by that idea. Pretend I copied your whole post, except it's about wanting to run a web browser. It's so convenient to grab an entire different device to tether into your computer to browse on, why would you want to use the built-in screen for browsing?
Re:Announcing flicker-free boot for Fedora 29 by apetresc on Tuesday October 02, 2018 @10:17PM (#18127186)
Huh? Because you want to see/interact with what's on the screen approximately 100% of the time when browsing, but a tiny percentage of the time (only when something's broken) when booting.
Re:Announcing flicker-free boot for Fedora 29 by Dylan16807 on Wednesday October 03, 2018 @12:02PM (#18131581)
"Best of all, it's not unidirectional; your phone/tablet is now a VT100, and you can log into your computer over it, even if the display server or login manager or desktop environment is wedged."

And wanting to interact is the least of the reasons to not want to hook up an external screen for something that could easily be on your main screen.

Re:Announcing flicker-free boot for Fedora 29 by derefr on Wednesday October 03, 2018 @02:05PM (#18132942)
Maybe you don’t have a “main screen.” A lot of devices don’t. For example, servers, NASes, or smart speakers. Or maybe your main screen is just not made for display of text at the level of detail required—like a smartwatch, or an IoT device like a thermostat, or even a jumbotron/billboard computer that’s too big to see up close.

In a lot of these cases, it should be pretty obvious that there are also no permanent input peripherals attached to the target device, and perhaps not enough ports to conveniently plug them in.

So, tell me what’s more convenient: lugging a secondary display, mouse and keyboard around to plug into your devices to debug them? Or just plugging your laptop into the server and opening a terminal emulator?

The advantages of serial access are exactly the same as the advantages of SSH access, except that serial access doesn’t require an active network stack and daemon running to facilitate it, and so is usable even in a post-crash single-user mode, or in an unable-to-begin bootstrap stage.

Plus, with serial, the solution is universal—anything that supports serial output can be attached to anything that supports serial input. Whereas those peripherals aren’t guaranteed to do anything much if you plug them into a crashed PC.

Oh, and one more advantage: if you’ve ever tried writing your own kernel driver or unikernel (or game on a game console), you’ll have experienced the fact that a kernel crash that happens while the display is in graphical mode is very hard to get displayed on the screen, since you can’t know what subsystems (like the framebuffer, or the scheduler) are still in a valid state. Spewing lines onto the serial console, on the other hand, works perfectly. (And for this sort of development you can usually go even further, producing a debug build of your kernel or game that will crash into a debugger breakpoint accessible via the serial console, expecting something like gdb to be running on the other end of the serial connection. The main difference between a game console and its development kit is basically the presence of serial debugging.)

Re:Announcing flicker-free boot for Fedora 29 by Dylan16807 on Wednesday October 03, 2018 @11:30PM (#18136935)
> Maybe you don’t have a “main screen.” A lot of devices don’t. For example, servers, NASes, or smart speakers. Or maybe your main screen is just not made for display of text at the level of detail required—like a smartwatch, or an IoT device like a thermostat, or even a jumbotron/billboard computer that’s too big to see up close.

>In a lot of these cases, it should be pretty obvious that there are also no permanent input peripherals attached to the target device, and perhaps not enough ports to conveniently plug them in.

You are now describing almost the opposite of your original scenario, which was plugging ancillary devices into a PC to see the kernel messages of the PC.

>So, tell me what’s more convenient: lugging a secondary display, mouse and keyboard around to plug into your devices to debug them? Or just plugging your laptop into the server and opening a terminal emulator?

That's a weird response when I was the one arguing for having one screen instead of two.

> Oh, and one more advantage: if you’ve ever tried writing your own kernel driver or unikernel

Oh of course but that's <1% of the time.

Re:Announcing flicker-free boot for Fedora 29 by rayiner on Tuesday October 02, 2018 @06:12PM (#18126123)
> True that. I want to see the output of OpenRC when I boot to make sure it all looks familiar (I only reboot after a kernel upgrade really). Then I login and type startx.

What's wrong with dmesg?

Re:Announcing flicker-free boot for Fedora 29 by fyfy18 on Tuesday October 02, 2018 @06:54PM (#18126394)
What I’d really love is Linux to be able to unlock a fully encrypted root partition similar to macOS. On macOS the user is prompted to login at a very early stage of the boot process, and after this the disk is decrypted and the OS is booted. The user is then logged in automatically, so they only need to enter their password once to decrypt the disk and authenticate their account.
Re:Announcing flicker-free boot for Fedora 29 by coder543 on Tuesday October 02, 2018 @07:03PM (#18126443)
It's definitely possible to configure this... it's just not a default on any distro I'm aware of. Linux Full Disk Encryption definitely stops very early and asks for the FDE password before being able to continue booting. After that, you would just have to have your user set to "automatically log in" for it to just go all the way in.

In fact, I think you could choose to set it up this way from the Ubuntu installer directly. By default, it just encourages you to sign in manually in addition to setting up FDE.

Re:Announcing flicker-free boot for Fedora 29 by seodisparate on Tuesday October 02, 2018 @09:53PM (#18127099)
Actually I have my desktop configured with an encrypted root. Turns out GRUB can actually decrypt the partition holding /boot before loading the grub.cfg. Though I have this set up on ArchLinux and had to refer to the Arch wiki a lot to get this set up properly. Definitely not that user friendly, but I can say it is a possible setup after having used it for years on my desktop now.

EDIT: To clarify, my setup requires inputting passwords twice: once for decrypting the root partition, and once to login after everything has booted. During the boot process the system needs to remount everything, so I had the encrypted partition(s) also be decrypted with a key file (typically `dd if=/dev/urandom of=keyfile bs=1M count=4`; LUKS encryption can have multiple keyfiles/passwords to decrypt) and had the key file(s) put in the initramfs so after GRUB has decrypted root and loaded /boot/grub.cfg, the booted system could decrypt and mount everything needed with the key file(s).

Re:Announcing flicker-free boot for Fedora 29 by lgunsch on Wednesday October 03, 2018 @12:03AM (#18127543)
I have a similar setup for my Arch install. I also put my swap into the encrypted LVM partition. Nothing is on the disk unencrypted. I also had to refer to the Arch wiki a lot, and it took me 2 attempts to get it right.
Re:Announcing flicker-free boot for Fedora 29 by ekianjo on Tuesday October 02, 2018 @08:03PM (#18126689)
Linux does that too. It asks for the encryption password very early in the boot sequence and that is it.
Re:Announcing flicker-free boot for Fedora 29 by riquito on Tuesday October 02, 2018 @07:56PM (#18126659)
That's my setup since some years. It's one of the options during Fedora's installation, I think that Ubuntu allows that too (and likely others).
Re:Announcing flicker-free boot for Fedora 29 by Nition on Tuesday October 02, 2018 @08:22PM (#18126773)
My Windows 10 machine, if I start it up before I turn the screen on (DisplayPort connection), shows the login screen with the background picture in what looks like a stretched super low JPEG-artifacted resolution. If I turn the screen on first, or if I use the login screen again later, it's fine. The background image is a local, high-resolution image file on my computer.

It didn't happen in early versions on Windows 10. It started with one of the major updates. My guess is if you don't have a screen on when the login page first shows, it down-samples your background image to some low resolution, and then just stretches it out to fit to your actual screen res when you do turn your screen on.

Re:Announcing flicker-free boot for Fedora 29 by pbarnes_1 on Tuesday October 02, 2018 @08:07PM (#18126700)
On my external 5k display connected to a 2013 Mac Pro, the File Vault protected login screen is displayed in the middle of the screen using maybe 30% of the screen real estate.

Once logged in you get the full 5k. So it's still not 100% over in Mac land. :D

Re:Announcing flicker-free boot for Fedora 29 by thatsaguy on Wednesday October 03, 2018 @06:54AM (#18129085)
Well, tear-free video on intel gfx would be a _big_ deal (you remember, stuff we had in the 80-90ies?).

Flicker-free boot is nice to have, but it's not a _big_ deal.

I can live just fine if the boot flickers twice. But somehow doing animation with tearing for the rest of the work-day is quite a bit more annoying.

Re:Announcing flicker-free boot for Fedora 29 by BoorishBears on Wednesday October 03, 2018 @08:05AM (#18129372)
It's not a big deal for you, it's a big deal for UX.

UX isn't about what you as a user feel, it's about what users feel, and OP is probably talking about UX for all users, not just those comfortable with Linux and it's tendency to have a janky UI.

Re:Announcing flicker-free boot for Fedora 29 by eudora on Wednesday October 03, 2018 @01:23AM (#18127806)
It is a big deal, for experience, and you're right about it being the kind of thing certain engineers don't see as a big deal.

But- I'd rather they fix a bunch of other things first.

I'd put "things that don't work" in the first todo bucket, then move on to "things that are painful to endure", followed by "things that make it feel janky"

I wanted to use Fedora recently and it totally failed to handle my perfectly common laptop graphics card. Ubuntu did it fine.

Re:Announcing flicker-free boot for Fedora 29 by bluedino on Tuesday October 02, 2018 @06:20PM (#18126185)
What about the random pixel pattern that pops up when my MacBook Pro first comes out of sleep?
Re:Announcing flicker-free boot for Fedora 29 by atombender on Tuesday October 02, 2018 @08:11PM (#18126728)
Bug in certain older models, or older OS version. I had it on my 2015 model (discrete GPU).
Re:Announcing flicker-free boot for Fedora 29 by rsynnott on Tuesday October 02, 2018 @09:42PM (#18127065)
I’ve used various MacBook Pro models from 2007 to 2018; they’ve all done this at least occasionally. The iBook I had previously didn’t, though. Apple’s PPC stuff always felt just that little bit saner.
Re:Announcing flicker-free boot for Fedora 29 by NullPrefix on Tuesday October 02, 2018 @07:02PM (#18126439)
But is it the same resolution as your desktop?
Re:Announcing flicker-free boot for Fedora 29 by kelnos on Wednesday October 03, 2018 @04:50AM (#18128597)
To start: yes, I'm an engineer.

I don't think it's a big deal at all. Or rather, I think it's important, but it's the last bit of polish that you put on things after the rest of your house is in order. It's a nice-to-have.

Meanwhile, I installed Debian buster on a 2016 MacBook Pro -- a two year old laptop -- and sound and suspend-to-RAM don't work (hell, the keyboard and trackpad didn't even work at all without installing an out-of-tree driver post-OS-install; I had to do the install using a USB keyboard). Yes, I get that this probably isn't super common hardware, and it's also a bit exotic, but... c'mon. I just don't care if my screen jumps between text and graphics mode or changes resolution a couple times before I get to the login screen. It just isn't on my radar at all.

The Xorg touchpad drivers are a mess: libevent is one-size-fits-none, synaptics is buggy and unmaintained, and the fork of mtrack that's still maintained might be able to come close to something decent, but I'm not sure because I've already spent a couple hours tweaking its settings, and I still can't get it to not randomly send scroll and button events while I'm typing.

So no, I don't care at all about something useless like "flicker free boot". I want my laptop to be actually polished in ways that are functional first.

And I get it: it's not up to me to tell people what to work on during their free time. Everyone has their own itch to scratch, and that's a very personal thing. But to then (as you have) arbitrarily decide that visual polish during a functionally-irrelevant period of the machine's operation is more important than day-to-day functional polish while I'm actually interacting with the machine? Nope... not buying it.

Re:Announcing flicker-free boot for Fedora 29 by alpaca128 on Wednesday October 03, 2018 @05:27AM (#18128742)
This is just a matter of target audience. I think if you want ordinary people to use your OS a flickering boot will get noticed and not make a great first impression. The users who don't care at all about it are probably already using Linux.

And I agree with you that the basics need to run well first, but in my experience many common distros got that covered. Debian is one of the exceptions, it's pretty much the only Linux distro where not everything runs fine out of the box on my laptop.

Re:Announcing flicker-free boot for Fedora 29 by Dunedan on Wednesday October 03, 2018 @09:13AM (#18129832)
> And I get it: it's not up to me to tell people what to work on during their free time.

So it's up to me now to tell you: If you want to run Linux on Apple hardware, help getting it to work! Otherwise please just use hardware with Linux supported by its vendor instead of complaining here.

One great thing about open source is that everybody can work on what he needs or what he enjoys. So if people enjoy working on flicker free boot, that's great. Other people enjoy reverse engineering Thunderbolt adapters to get them to work with Linux or dig into the depths of the state machine required for touch pads to properly work. In the end we all benefit from such work, as each little piece gets us closer to the completed puzzle where everything works smoothly.

Re:Announcing flicker-free boot for Fedora 29 by cameronhowe on Wednesday October 03, 2018 @05:25AM (#18128738)
I believe some of your trouble would go away if you bought a laptop from a GNU Linux vendor.

It seems unfair to compare your mac experience on a mac to your GNU Linux experience on a mac.

Re:Announcing flicker-free boot for Fedora 29 by pbhjpbhj on Wednesday October 03, 2018 @07:06AM (#18129135)
>So no, I don't care at all about something useless like "flicker free boot".

See that "I", that IMO shows you missed the point.

Re:Announcing flicker-free boot for Fedora 29 by walrus01 on Tuesday October 02, 2018 @07:23PM (#18126526)
I specifically search out the kernel option to pass in grub2 to see the dmesg scroll past in text during boot, so I think I am the opposite of people who care about flickers and visual disturbances during boot.

More than once having the kernel boot visible has helped diagnose hardware failure or other OSI layer 1 issues with the system.

Re:Announcing flicker-free boot for Fedora 29 by sjwright on Tuesday October 02, 2018 @11:53PM (#18127518)
Flicker-free boot can help you too—it's not a synonym for concealing the boot process. Wouldn't it be nice to watch the text logs progress tidily as the graphics drivers load? "Flickers and visual disturbances" can disrupt your ability to read potentially important boot text.

The level of disruption can vary greatly depending on your particular hardware; some external monitors take multiple seconds to show an image after the display mode is changed.

Re:Announcing flicker-free boot for Fedora 29 by mediocrejoker on Tuesday October 02, 2018 @11:52PM (#18127513)
I agree with another comment that said they want the pretty picture when it works and the text dump only when something has gone wrong. The best of both worlds.
Re:Announcing flicker-free boot for Fedora 29 by Insanity on Tuesday October 02, 2018 @08:09PM (#18126712)
It never actually bothered me (as a tech person) but I can see how a non-tech person might think something is wrong.

Then again, dependint on the distro, they don't really cater to the average user.

Re:Announcing flicker-free boot for Fedora 29 by taeric on Tuesday October 02, 2018 @08:18PM (#18126764)
I think this is also one of those things that is easy to overstate. OSX has often annoyed me by how obviously unready it was for me, even though the login screen was there.

For the most part, though, I just don't notice it. One way or the other.

Re:Announcing flicker-free boot for Fedora 29 by agumonkey on Tuesday October 02, 2018 @05:52PM (#18126022)
I wouldn't mind a non sophisticated boot display. A TUI can be superb if it conveys something interesting in a cute way (a bit like language design).

But mumbled sheared terminal output is none of that.

Re:Announcing flicker-free boot for Fedora 29 by n4s33r on Tuesday October 02, 2018 @08:54PM (#18126887)
It definitely is a big deal and it is also _lot_ of work, it probably sounds like it's something easy to do, just by the sound of it, but nope ...
[dead]
Re:Announcing flicker-free boot for Fedora 29 by dang on Tuesday October 02, 2018 @10:17PM (#18127187)
Would you please stop posting uncivil comments and rants to HN? It's against the site guidelines, and you've done a lot of it.

https://news.ycombinator.com/newsguidelines.html

Re:Announcing flicker-free boot for Fedora 29 by def_ConGame on Tuesday October 02, 2018 @10:24PM (#18127213)
Wow, dang. Wow.
Re:Announcing flicker-free boot for Fedora 29 by linksnapzz on Tuesday October 02, 2018 @06:27PM (#18126236)
Show us where the evil sysadmin touched you....
Re:Announcing flicker-free boot for Fedora 29 by def_ConGame on Tuesday October 02, 2018 @07:14PM (#18126483)
It was dark, but I remember finger and touch commands being invoked inside my chroot jail... when I tried to use who, it just said nobody.
Re:Announcing flicker-free boot for Fedora 29 by tambourine_man on Tuesday October 02, 2018 @10:35PM (#18127252)
>I think this is basically what OSX has had forever.

And classic Mac. First time I saw Windows 3.1.1 boot my jaw dropped. What an ugly hack. That’s what’s conquering the world? The monitor wouldn’t even turn itself on. Never mind having to manually eject a floppy after you just told the computer to do it for you.