linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* console font
       [not found]                             ` <53AB19A2.3090709@gmail.com>
@ 2014-06-30 19:48                               ` poma
  0 siblings, 0 replies; only message in thread
From: poma @ 2014-06-30 19:48 UTC (permalink / raw)
  To: Linux Kernel list
  Cc: For testing and quality assurance of Fedora releases,
	systemd Mailing List, Mailing-List fedora-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-30 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <53A640A2.5080502@gmail.com>
     [not found] ` <53A798F5.90801@gmail.com>
     [not found]   ` <1403497703.2887.0.camel@adam.happyassassin.net>
     [not found]     ` <53A86040.2020703@gmail.com>
     [not found]       ` <20140623173643.GB24507@wolff.to>
     [not found]         ` <1403548493.2814.4.camel@adam.happyassassin.net>
     [not found]           ` <53A896FC.5050306@earthlink.net>
     [not found]             ` <1403648029.953.1.camel@adam.happyassassin.net>
     [not found]               ` <53AA4813.9010502@earthlink.net>
     [not found]                 ` <1403678098.2703.4.camel@adam.happyassassin.net>
     [not found]                   ` <53AAC944.5080904@earthlink.net>
     [not found]                     ` <1403709133.2701.0.camel@adam.happyassassin.net>
     [not found]                       ` <53AAF2A8.5070201@earthlink.net>
     [not found]                         ` <1403715952.4687.15.camel@adam.happyassassin.net>
     [not found]                           ` <53AB109E.40900@earthlink.net>
     [not found]                             ` <53AB19A2.3090709@gmail.com>
2014-06-30 19:48                               ` console font poma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).