Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Resolution on ttyX is way to small

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

Resolution on ttyX is way to small

  • Quote

Post by Gladdle » Fri Apr 18, 2025 2:34 pm

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: Select all

>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: Select all

>> Using the following decryption command: cryptsetup  luksOpen /dev/nvme0n1p2 r
oot
Enter passphrase for /dev/nvme0n1p2:
My /etc/default/grub contains:

Code: Select all

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: Select all

[    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: Select all

[    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?
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Apr 18, 2025 2:41 pm

What happens if you add this to the kernel command line parameter?

Code: Select all

fbcon=font:TER16x32
(Taken from: https://docs.kernel.org/fb/fbcon.html )
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Tue Apr 22, 2025 5:14 pm

pietinger wrote:What happens if you add this to the kernel command line parameter?

Code: Select all

fbcon=font:TER16x32
(Taken from: https://docs.kernel.org/fb/fbcon.html )
I've edit my /etc/default/grub to:

Code: Select all

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: Select all

open /dev/fb0: No such file or directory
dmesg WtF?
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Tue Apr 22, 2025 6:46 pm

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
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Tue Apr 22, 2025 7:39 pm

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...
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Apr 23, 2025 12:05 am

Have you enabled CONFIG_FB_DEVICE in your kernel .config?
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Gladdle
Guru
Guru
User avatar
Posts: 348
Joined: Sun Jul 27, 2008 12:44 am
Location: Cleebronn, Germany
Contact:
Contact Gladdle
Website

  • Quote

Post by Gladdle » Fri Apr 25, 2025 2:56 pm

Code: Select all

cat /usr/src/linux/.config | grep CONFIG_FB

Code: Select all

# 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 :)
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Apr 25, 2025 3:30 pm

Gladdle wrote:

Code: Select all

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: Select all

# 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.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic