Artix Linux Forum

General Category => Forum => Topic started by: rocketeer on 08 May 2021, 08:26:49

Title: [SOLVED] /etc/issue wrap-around on boot
Post by: rocketeer on 08 May 2021, 08:26:49
I have a minor issue where I'm trying to display ascii art in /etc/issue at agetty.
After I log in and log out, the contents are displayed correctly, but on boot there's a weird wrap-around thing going on where it seems as if agetty isn't using the full width (or length) of the screen.

I had this issue on systemD and OpenRC, so I assume it has something to do with the screen resolution not being fully initialized before agetty is called.
Is there any way to easily fix this so that on boot, the  text can go on for longer before word-wrapping?


On boot agetty:
https://forum.artixlinux.org/index.php?action=dlattach;topic=2554.0;attach=1185;image

After logging in and out agetty:
https://forum.artixlinux.org/index.php?action=dlattach;topic=2554.0;attach=1187;image
Title: Re: /etc/issue wrap-around on boot
Post by: nous on 08 May 2021, 14:16:00
What if you delay agetty service startup? Like editing /etc/init.d/agetty and add "after consolefont"?
If that doesn't do the trick, change 'consolefont' to 'local'.
Title: Re: /etc/issue wrap-around on boot
Post by: ####### on 08 May 2021, 14:40:42
https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Visual_configuration (https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Visual_configuration)
Would Grub gfxpayload and related setup help?
Title: Re: /etc/issue wrap-around on boot
Post by: Dudemanguy on 08 May 2021, 16:16:58
In my experience, modesetting is usually done after udev finishes settling.
Title: Re: /etc/issue wrap-around on boot
Post by: rocketeer on 08 May 2021, 17:55:52
Thanks so much guys. Changing my config to

Code: [Select]
GRUB_GFXPAYLOAD_LINUX=text

in /etc/default/grub did the trick!