LINUX.ORG.RU

Отключить фреймбуфер для консоли, не задевая работу Xorg

 


0

3

Debian 12, ThinkPad T440p

Что хочу:

Использовать аппаратный знакогенератор (VGA text mode / EFI Simple Text Output Protocol) вместо фреймбуфера для консоли.

Что пока пробовал:

а)

Добавить строку FRAMEBUFFER=n в /etc/initramfs-tools/initramfs.conf и сделать update-initramfs -u

Эффекта после перезагрузки нет - для консоли продолжает использоваться фреймбуфер.

б)

Передавать ядру параметр nomodeset при загрузке.

Даёт желаемый эффект, но нарушает работу Xorg.

Перемещено hobbit из general

★★★★★

Последнее исправление: eugrus (всего исправлений: 1)

Внезапно https://wiki.archlinux.org/title/Linux_console

Text mode

Since Linux originally began as a kernel for PC hardware, the console was developed using standard IBM CGA/EGA/VGA graphics, which all PCs supported at the time. The graphics operated in VGA text mode, which provides a simple 80x25 character display with 16 colours. This legacy mode is similar to the capabilities of dedicated text terminals, such as the DEC VT100 series. It is still possible to boot in text mode (with vga=0 nomodeset) if the system hardware supports it, but almost all modern distributions (including Arch Linux) use the framebuffer console instead. Framebuffer console

As Linux was ported to other non-PC architectures, a better solution was required, since other architectures do not use VGA-compatible graphics adapters, and may not support text modes at all. The framebuffer console was implemented to provide a standard console across all platforms, and so presents the same VGA-style interface regardless of the underlying graphics hardware.

anonymous
()

в граб video=efifb:vga

после старта иксов: cat /proc/fb | grep "0 EFI" && echo efi-framebuffer.0 > /sys/bus/platform/devices/efi-framebuffer.0/driver/unbind

я так делаю, для вфио, мож по аналогии что придумаешь для себя

baja
()
Последнее исправление: baja (всего исправлений: 1)
Ответ на: комментарий от baja

Опция video=efifb:vga ничего не изменила: после первых нескольких сообщений при загрузке консоль переключается в видеорежим.

Я хочу, чтобы всё оставалось в таком же шрифте, как вывод «биоса».

eugrus ★★★★★
() автор топика