Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #219347 > unrolled thread
| Started by | Alex Yuriev <alex@yuriev.com> |
|---|---|
| First post | 2020-02-22 22:20 +0100 |
| Last post | 2020-03-02 00:00 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.user
High DPI (4K), laptop screen, mode settings, fonts and initramfs-tools Alex Yuriev <alex@yuriev.com> - 2020-02-22 22:20 +0100
Re: High DPI (4K), laptop screen, mode settings, fonts and initramfs-tools Felix Miata <mrmazda@earthlink.net> - 2020-02-22 23:30 +0100
Re: High DPI (4K), laptop screen, mode settings, fonts and initramfs-tools deloptes <deloptes@gmail.com> - 2020-03-02 00:00 +0100
| From | Alex Yuriev <alex@yuriev.com> |
|---|---|
| Date | 2020-02-22 22:20 +0100 |
| Subject | High DPI (4K), laptop screen, mode settings, fonts and initramfs-tools |
| Message-ID | <zCKlP-5Ak-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi, I have a 4K laptop in a 12" package with Intel HD520. I have been running Debian 7 and Debian 8 on it for a while and now I have updated to Debian 10. I'm sure that you already have an idea of the issue - the console fonts on 4k are tiny, barely usable even at 32px ( does anyone know why setfont is limited to 32 pixels in high or width )? The biggest problem is that if KMS is on which it has to be for X to accelerated graphics then the initrd uses default tiny font as described by in #859458 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859458 which makes say answering entering a passphrase for FDE extremely difficult. Now the solution/workaround is that while building the initrd we should blacklist i915 while allowing it to be loaded after the root is mounted. In that flow the KMS would not activate at initrd stage as i915 would be blacklisted but would activate in the late stage. I have tested this approach and it works perfectly. Which brings me to a question: Is there an "official" way to accomplish this via hooks in initramfs-tool? Are there user/system hooks that would be preserved across initramfs-tool updates and a correct/conventional way of implementing them? This is initramfs-tools 0.13deb10u1 Thanks, Alex
[toc] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2020-02-22 23:30 +0100 |
| Subject | Re: High DPI (4K), laptop screen, mode settings, fonts and initramfs-tools |
| Message-ID | <zCLrA-6bK-5@gated-at.bofh.it> |
| In reply to | #219347 |
Alex Yuriev composed on 2020-02-22 15:57 (UTC-0500): > I have a 4K laptop in a 12" package with Intel HD520. I have been running > Debian 7 and Debian 8 on it for a while and now I have updated to Debian 10. > I'm sure that you already have an idea of the issue - the console fonts on > 4k are tiny, barely usable even at 32px Do you need your consoles to be running in native resolution? My kernel cmdlines usually include this: video=1440x900@60 or video=1600x900@60 To make fonts nice size. I really have no need for more than 180x56 on consoles, and my eyes like the big text. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2020-03-02 00:00 +0100 |
| Message-ID | <zFFJ0-2xZ-3@gated-at.bofh.it> |
| In reply to | #219347 |
Darac Marjal wrote: >> Is there an "official" way to accomplish this via hooks in >> initramfs-tool? Are there user/system hooks that would be preserved >> across initramfs-tool updates and a correct/conventional way of >> implementing them? >> >> This is initramfs-tools 0.13deb10u1 I don't have 4k display, but I would try setting MODULES=list and provide the modules that are required to boot. As you say everything else should load when passing the stage.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web