All of lore.kernel.org
 help / color / mirror / Atom feed
From: poma <pomidorabelisima@gmail.com>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: For testing and quality assurance of Fedora releases 
	<test@lists.fedoraproject.org>,
	systemd Mailing List <systemd-devel@lists.freedesktop.org>,
	Mailing-List fedora-kernel <kernel@lists.fedoraproject.org>
Subject: console font
Date: Mon, 30 Jun 2014 21:48:38 +0200	[thread overview]
Message-ID: <53B1BF16.5010208@gmail.com> (raw)
In-Reply-To: <53AB19A2.3090709@gmail.com>

On 25.06.2014 20:49, poma wrote:
> On 25.06.2014 20:10, Felix Miata wrote:
>> On 2014-06-25 10:05 (GMT-0700) Adam Williamson composed:
>>
>>> So...these are three different machines?
>>
>> 3 out of 14 on which Rawhide is currently installed (test machines total 20+)
>> here, among which are represented various flavors of MGA (400 & 550), SiS
>> (Z7/Z9 XG20 core), Intel (810, 815, 845, 865, 915, 945, 965, 3100, 4100), ATI
>> (rv200, rv250, rv370, rv380, rv516) & NVidia for video.
>>
>>> I'm curious: why are you passing video= parameters on each one? Do
>>> any/all of them work if you don't pass that parameter?
>>
>> Most of my test machines get used most of the time with a '21"' CRT with
>> preferred mode 1600x1200 reported as preferred mode 1280x1024 used at
>> approximately 175% of normal viewing distance. Avoiding eyestrain requires
>> 1152x864 or lower on the vttys unless I want to monkey with terminal font
>> reconfiguration from default.
>>
>> My second most used test machine display is a 19" LCD TV with native mode
>> 1440x900 that reports preferred 1280x1024 but supports 4:3 modes up to
>> 1792x1344. It is used at similar distance, so also needs 1024x768 on the
>> vttys for the same reason as the CRT.
>>
>> I also have 2 15" 1024x768, 17" & 19" 1280x1024 and 20" 1600x1200 LCD puter
>> displays, 2 31.5" TVs, and an abundance of other CRTs to use as test
>> conditions require, in addition to the LCDs used for my 24/7 systems that can
>> be briefly pressed into test service when necessary.
>>
>
> # yum install terminus-fonts-console
>
> - permanent system wide
> /etc/vconsole.conf
> FONT=<Big mama font>
>
> e.g. 'latarcyrheb-sun32' or 'ter-v32b'
>
> - runtime local
> $ setfont latarcyrheb-sun32
> $ setfont ter-v32b


systemd-214-5.fc21.x86_64
kernel-3.16.0-0.rc3.git0.1.fc21.x86_64

It seems this kernel? bug is still present[2].

"rd.vconsole.font=ter-v32b" also fails to subsist due to
"fb: switching to nouveaufb from VESA VGA".

- journal systemd-vconsole-setup
systemd[1]: Starting Setup Virtual Console...
systemd-vconsole-setup[347]: putfont: KDFONTOP: Invalid argument
systemd-vconsole-setup[347]: /usr/bin/setfont failed with error code 71.
systemd[1]: Started Setup Virtual Console.

I've found so far that this can only be overcome with these two almost identical solutions;
When I thought of 'actual-vconsole-setup-start' I did not know that Yegor already done it.
Saṃsāra.


Yegor's solution[1]:
  # cp /usr/lib/systemd/system/systemd-vconsole-setup.service /etc/systemd/system/
  # diff /etc/systemd/system/systemd-vconsole-setup.service \
  > /usr/lib/systemd/system/systemd-vconsole-setup.service
  13,14c13,14
  < After=sysinit.target
  < Before=shutdown.target
  ---
  > After=systemd-readahead-collect.service systemd-readahead-replay.service
  > Before=sysinit.target shutdown.target

or even simpler - leave 'systemd-vconsole-setup.service' as is,
and make this one
/etc/systemd/system/actual-vconsole-setup-start.service:
# Actual Virtual Console Setup Start

[Unit]
Description=Actual Virtual Console Setup Start

[Service]
Type=forking
ExecStart=/usr/lib/systemd/systemd-vconsole-setup

[Install]
WantedBy=rescue.target multi-user.target

# systemctl enable actual-vconsole-setup-start.service

and now you have appropriate font size for 1920x1080,
no need to lower resolution via "video=<xres>x<yres>".
Perhaps '32' is too large, so choose <= '28', e.g. ter-v28b or ter-v24b.
/usr/share/doc/terminus-fonts-console/README[.fedora]


poma


[1] systemd-vconsole-setup: /usr/bin/setfont failed with error code 71
     http://lists.freedesktop.org/archives/systemd-devel/2011-June/002562.html

[2] Can not change console font via /etc/vconsole.conf
     https://bugzilla.redhat.com/show_bug.cgi?id=1074113

     The keyboard layout for the virtual console cannot be changed using
     “localectl set-keymap <map>; dracut -f; reboot;”
     https://bugzilla.redhat.com/show_bug.cgi?id=1033250

     font settings are lost when kernel fb drivers are changed
     https://bugzilla.redhat.com/show_bug.cgi?id=892340

     Kernel drivers lose console font settings
     https://bugzilla.redhat.com/show_bug.cgi?id=1074624


           reply	other threads:[~2014-06-30 19:48 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <53AB19A2.3090709@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53B1BF16.5010208@gmail.com \
    --to=pomidorabelisima@gmail.com \
    --cc=kernel@lists.fedoraproject.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=systemd-devel@lists.freedesktop.org \
    --cc=test@lists.fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.