View previous topic :: View next topic |
Author |
Message |
Gladdle Guru


Joined: 27 Jul 2008 Posts: 321 Location: Cleebronn, Germany
|
Posted: Fri Apr 18, 2025 2:34 pm Post subject: Resolution on ttyX is way to small |
|
|
I bought a new Notebook. A Lenovo Thinkpad E16. I installed Gentoo on a LUKS encrypted Harddrive, without systemd and with genkernel and grub2. GRUB2 use 2560x1600 (like it should be), then linux starts. The first text is in 2560x1600: Code: | >Gentoo GNU/Linux wird gebootet
Linux 6.12.16-gentoo-x86_64 wird geladen...
Initiale Ramdisk wird geladen... |
And then he switched to a smaller resolution: Code: | >> Using the following decryption command: cryptsetup luksOpen /dev/nvme0n1p2 r
oot
Enter passphrase for /dev/nvme0n1p2: |
My /etc/default/grub contains: Code: | GRUB_CMDLINE_LINUX="crypt_root=/dev/nvme0n1p2 real_root=/dev/VG-Encrypted-Gentoo/LVroot rootfstype=ext4 dolvm quiet splash"
GRUB_GFXMODE=2560x1600
GRUB_GFXPAYLOAD_LINUX=keep |
I'll think my kernel is compiled with the right framebuffer options, i used https://wiki.gentoo.org/wiki/Framebuffer - so here is my "dmesg | grep -i fb": Code: | [ 2.077105] fbcon: amdgpudrmfb (fb0) is primary device
[ 2.077111] fbcon: Deferring console take-over
[ 2.077116] amdgpu 0000:04:00.0: [drm] fb0: amdgpudrmfb frame buffer device |
and "dmesg | grep -i fram": Code: | [ 0.249047] signal: max sigframe size: 3376
[ 2.077116] amdgpu 0000:04:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 2.785320] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 4.147931] Console: switching to colour frame buffer device 160x50 |
Can someone tell me what i did wrong? |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5634 Location: Bavaria
|
|
Back to top |
|
 |
Gladdle Guru


Joined: 27 Jul 2008 Posts: 321 Location: Cleebronn, Germany
|
Posted: Tue Apr 22, 2025 5:14 pm Post subject: |
|
|
I've edit my /etc/default/grub to: Code: | GRUB_CMDLINE_LINUX="crypt_root=/dev/nvme0n1p2 real_root=/dev/VG-Encrypted-Gentoo/LVroot fbcon=font:TER16x32 rootfstype=ext4 dolvm quiet splash" |
and did a "grub-mkconfig -o /boot/grub/grub.cfg". "xdpyinfo" and "xrandr" doesnt work on tty$, i've tried the tool fbset but the error when i start that is Code: | open /dev/fb0: No such file or directory |
dmesg WtF? |
|
Back to top |
|
 |
Spanik Veteran

Joined: 12 Dec 2003 Posts: 1062 Location: Belgium
|
Posted: Tue Apr 22, 2025 6:46 pm Post subject: |
|
|
Just to make sure because from the initial question and the replies I have the idea that the OP is meaning something different:
1: the OP expects the display to have 2560x1600 but he ends up with 1920x1080 (or an other resolution with less pixels)
2: he has his demanded 2560x1600 and the text is too small to read
I understand it is issue 1. _________________ Expert in non-working solutions |
|
Back to top |
|
 |
Gladdle Guru


Joined: 27 Jul 2008 Posts: 321 Location: Cleebronn, Germany
|
Posted: Tue Apr 22, 2025 7:39 pm Post subject: |
|
|
It looks like it's a different resolution, but it also could be a bigger font size.
Currently i am confused about the /dev/fb0 error, because dmesg told me the amdgpu fb is loaded but /dev/fb does not exist... |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5634 Location: Bavaria
|
|
Back to top |
|
 |
Gladdle Guru


Joined: 27 Jul 2008 Posts: 321 Location: Cleebronn, Germany
|
Posted: Fri Apr 25, 2025 2:56 pm Post subject: |
|
|
Code: | cat /usr/src/linux/.config | grep CONFIG_FB |
Code: | # CONFIG_FBNIC is not set
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=y
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SM501 is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SSD1307 is not set
# CONFIG_FB_SM712 is not set
CONFIG_FB_CORE=y
CONFIG_FB_NOTIFY=y
# CONFIG_FB_DEVICE is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYSMEM_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_IOMEM_FOPS=y
CONFIG_FB_IOMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_SM750 is not set |
It is  |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23363
|
Posted: Fri Apr 25, 2025 3:30 pm Post subject: |
|
|
Gladdle wrote: | Code: | cat /usr/src/linux/.config | grep CONFIG_FB |
| This is a Useless Use of Cat. pietinger wrote: | Have you enabled CONFIG_FB_DEVICE in your kernel .config? |
Gladdle wrote: | Code: | # CONFIG_FB_DEVICE is not set |
It is  | No, it is not. The question is whether it is enabled, meaning that it should be =y or in some cases =m. Your output shows it is not enabled. |
|
Back to top |
|
 |
|