The installer used to put in every detected group, comfort included. Codecs, Steam, Wine, Proton, MangoHud and the VR stack are several gigabytes, and they were downloaded during an unattended %post by people who had never asked for them. On a slow connection that is the difference between an install that ends and one that seems stuck. A new --unattended mode draws the line. It is the installer's mode: it runs with nobody in front of the screen, so it installs only what the machine does not work without, which is drivers, sound, Wi-Fi, Bluetooth, brightness, printing, containers and VM guest tools. The three on-demand groups, codecs, gaming and vr, stay out of it. They are not dropped, they are offered. "Pilotes et matériel" opens at first boot and its simple install calls --all, which takes them. Same detection, same script, same groups: the mode decides, so there is no second list to keep in sync. The window's own wording now says plainly that this means several gigabytes and a while depending on the connection. The hardware-done marker follows the same rule. It is no longer written when on-demand groups are still pending, because that marker is exactly what stops the window from opening. Writing it would have installed the essentials and then silently swallowed the offer. Printing is now detected rather than assumed. It used to be enabled on any machine with a desktop, which put several hundred megabytes of foomatic and gutenprint on every laptop that has no printer. Three real signals are read instead: a USB interface of class 07, a parallel port, or an existing CUPS queue. A printer plugged in later is not lost, since the group stays offered unticked in the advanced install, which can be reopened at any time. Note that the parallel port is read from /sys/class/parport and not /dev/lp*: devtmpfs creates lp0 through lp3 unconditionally, so the old path would have claimed a printer on absolutely every machine. Two checks were added where a success was being reported that did not exist. pacman can exit 0 while a DKMS module was never built: the dkms hook runs after unpacking, and a compile failure does not necessarily invalidate the transaction. That is precisely the "NVIDIA driver installed but missing" scenario, where nvidia-utils is present and the kernel module is not. dkms status is now read and each unbuilt module is named. A loaded module proves nothing about rendering either. The Vulkan loader still has to find an ICD and manage to open it, and llvmpipe alone means software rendering: it works, on the CPU, with a desktop that crawls and no playable game and not one error message anywhere. That case is now called out. The test is skipped rather than failed when it cannot conclude, which is when no module is loaded or /dev/dri is absent, as in the installer chroot. OpenGL is only reported on success, glxinfo requiring an open display it does not have under pkexec or in a %post. Signed-off-by: nocode <suzuku295@gmail.com>
15 lines
666 B
Desktop File
15 lines
666 B
Desktop File
[Desktop Entry]
|
|
Type=Application
|
|
Name=Pilotes et matériel (FWS)
|
|
Comment=Terminer la mise en route du matériel au premier démarrage
|
|
# --autostart : ne s'affiche que si le marqueur /var/lib/fws/hardware-done est
|
|
# absent et que l'utilisateur ne l'a pas refusée. Deux cas le laissent absent :
|
|
# une installation sans réseau (rien n'a pu être installé), et — sur un bureau —
|
|
# les groupes À LA DEMANDE (codecs, jeux, VR) que l'installateur ne pose jamais
|
|
# de lui-même. C'est ICI que l'utilisateur choisit de les prendre, ou non.
|
|
Exec=fws-drivers --autostart
|
|
Icon=preferences-desktop-display
|
|
Terminal=false
|
|
Categories=System;
|
|
X-GNOME-Autostart-enabled=true
|