Friday, 2025-02-14

shermanmI wanted to ask the purpose of having `nofb nomodeset "gfxpayload=text"` as the defaults for `DIB_BOOTLOADER_DEFAULT_CMDLINE`16:28
shermanmhttps://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/bootloader/environment.d/10-bootloader-default-cmdline#L116:28
shermanmWe've noticed that having `nomodeset` can cause instances to become  unbootable when AMD's ROCM drivers are installed16:28
shermanmand I can't seem to find `nofb` documented for recent kernels16:35
clarkbshermanm: have you checked the git log?16:42
shermanmthey sort of appear there 8 years ago, and 5 years ago only gfxpayload was touched16:42
clarkbvga=normal is depreciated, use gfxpayload=text instead16:43
clarkb"defaulting to the existing 'nofb nomodeset vga=normal', that will allow to modify these boot params."16:43
clarkbso config was added to make it configurable and that config defaulted to the defaults at the time16:44
clarkbfrom 11275c212b3f2b8c936f07e7938dd81b2908faac16:44
clarkband then those were updated to drop a deprecated option16:44
clarkbits interesting that nomodeset causes problems since that is basically "use generic mode". Ubuntu sets nomodeset when booting safe mode16:45
clarkbI would've expected it to not matter outside of graphical environments16:45
clarkblooking at ubuntu, debian, centos, etc defaults for modern grub configuration for linux command line may be a good idea16:46
clarkbthen determine from there if we should make any edits16:46
shermanmI know that ironic has removed nomodeset as a default due to other issues it was causing16:46
shermanmhttps://github.com/openstack/ironic/commit/f2605e928136f88032ef9b4977a076d5c535987b16:46
shermanmgood pointer on the distro defaults16:47
clarkbin general though the list chosen by dib is one that I would expect to use as basic as possible a "graphical" setup16:47
clarkbno framebuffer, no gpu driver specific configuration (nomodeset) and text output16:48
clarkbwhich seems like a good idea for a server focused tool16:48
shermanmI did want to note that `nofb` isn't listed here https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt, but i'm still hunting down when it was last documented16:53
TheJuliashermanm: My "gut" feeling is this perception on use of serial consoles for machines, but in reality if your booting it on physical hardware you *want* a framebuffer to reduce the overall interrupt count call to the GPU for anything which goes to the console16:56
TheJuliasame is also semi-true for VMs, it entirely depends on how much gets written to the console16:57
TheJulianofb... I *think* is a grub parameter actually16:57
TheJuliaor it was in like linux 2.216:57
shermanmthats kind of what I was seeing, no real mentions in past 20 years16:57
TheJuliayeah, nomodeset is also amongst the things which sorts of helps with some graphics cases, but not entirely16:58
TheJuliaAt RH, we've had a ton of issues over the past two years with hardware that starts to burn interrupt for graphics or serial console mesages16:58
TheJuliawhich is bad if your trying to run real time or near real time packet handling payloads16:58
TheJulias/payloads/workloads/16:59
TheJulialike, stupidly bad16:59
TheJuliaAnyhow, I wanted to highlight some diskimage-builder changes could use reviews16:59

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!