testers needed: loader: use display pixel density for font autoselection

Johan Hendriks joh.hendriks at gmail.com
Tue Feb 23 15:28:58 UTC 2021


On 23/02/2021 12:27, Toomas Soome via freebsd-current wrote:
> hi!
>
> I have done some work to make font pickup a bit smarter (hopefully better;), but my own ability to test is limited to one bugged supermicro and one MBP with retina display…
>
> The phab link is https://reviews.freebsd.org/D28849 <https://reviews.freebsd.org/D28849>
>
> I have built loader binaries as well (bios and uefi):
> loader_lua <http://148-52-235-80.sta.estpak.ee/loader_lua>
> loader_lua.efi <http://148-52-235-80.sta.estpak.ee/loader_lua.efi>
>
> To test, you should remove screen.font= line from loader.conf and test with different resolutions.
>
> thanks,
> toomas
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

On my Intel core2 it looks fine, it has smaller fonts than before, but 
this looks more like a 1280 x 1024 screen that i use.
I use vbe_max_resolution="1280x1024" in /boot/loader.conf to use the new 
boot screens.
This is 13.0-BETA3 with the latest patches of today.

This is my dmesg output.

---<<BOOT>>---
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
     The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-BETA3 #52 releng/13.0-n244538-d7296b893969-dirty: Tue Feb 
23 15:58:29 CET 2021
     root at srv-01.thuis.local:/usr/obj/usr/src/amd64.amd64/sys/KRNL amd64
FreeBSD clang version 11.0.1 (git at github.com:llvm/llvm-project.git 
llvmorg-11.0.1-0-g43ff75f2c3fe)
VT(vbefb): resolution 1280x1024
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.55-MHz 
K8-class CPU)
   Origin="GenuineIntel"  Id=0x6fb  Family=0x6  Model=0xf Stepping=11
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   AMD Features2=0x1<LAHF>
   VT-x: (disabled in BIOS) HLT,PAUSE
   TSC: P-state invariant, performance statistics
real memory  = 5372903424 (5124 MB)
avail memory = 5054898176 (4820 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <COMPAQ BEARLAKE>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: unblocking device.
ioapic0: MADT APIC ID 1 != hw id 0
ioapic0 <Version 2.0> irqs 0-23
Launching APs: 1
Timecounter "TSC-low" frequency 1163773173 Hz quality 1000
KTLS: Initialized 2 threads
random: entropy device external interface
[ath_hal] loaded
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 
13.0.
kbd1 at kbdmux0
000.000054 [4350] netmap_init               netmap: loaded module
WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 
13.0.
mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020)
nexus0
cryptosoft0: <software crypto>
aesni0: No AES or SHA support.
acpi0: <HPQOEM SLIC-BPC>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet1: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: hpet0 attach returned 12
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Firmware Error (ACPI): \134_SB.PCI0._OSC: Excess arguments - ASL 
declared 5, ACPI requires 4 (20201113/nsarguments-311)
Firmware Error (ACPI): Failure creating named object 
[\134_SB.PCI0._OSC.CAPD], AE_ALREADY_EXISTS (20201113/dsfield-352)
ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure 
(20201113/dswload2-639)
ACPI Error: Aborting method \134_SB.PCI0._OSC due to previous error 
(AE_ALREADY_EXISTS) (20201113/psparse-689)
pcib0: _OSC failed: AE_ALREADY_EXISTS
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1230-0x1237 mem 
0xf0100000-0xf017ffff,0xe0000000-0xefffffff,0xf0000000-0xf00fffff irq 16 
at device 2.0 on pci0
agp0: <Intel Q35 SVGA controller> on vgapci0
WARNING: Device "agp" is Giant locked and may be deleted before FreeBSD 
13.0.
agp0: aperture size is 256M, detected 6140k stolen memory
vgapci0: Boot video device
pci0: <simple comms> at device 3.0 (no driver attached)
atapci0: <Intel ATA controller> port 
0x1238-0x123f,0x1270-0x1273,0x1240-0x1247,0x1274-0x1277,0x11e0-0x11ef 
irq 18 at device 3.2 on pci0
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
pci0: <simple comms, UART> at device 3.3 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection> port 0x1100-0x111f mem 
0xf0180000-0xf019ffff,0xf01a5000-0xf01a5fff irq 19 at device 25.0 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: 00:22:64:19:cf:e6
em0: netmap queues/slots: TX 1/1024, RX 1/1024
uhci0: <Intel 82801I (ICH9) USB controller> port 0x1120-0x113f irq 20 at 
device 26.0 on pci0
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x1140-0x115f irq 21 at 
device 26.1 on pci0
usbus1 on uhci1
usbus1: 12Mbps Full Speed USB v1.0
uhci2: <Intel 82801I (ICH9) USB controller> port 0x1160-0x117f irq 22 at 
device 26.2 on pci0
usbus2 on uhci2
usbus2: 12Mbps Full Speed USB v1.0
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 
0xf01a6000-0xf01a63ff irq 22 at device 26.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
usbus3: 480Mbps High Speed USB v2.0
hdac0: <Intel 82801I HDA Controller> mem 0xf01a0000-0xf01a3fff irq 21 at 
device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
Firmware Error (ACPI): \134_SB.PCI0._OSC: Excess arguments - ASL 
declared 5, ACPI requires 4 (20201113/nsarguments-311)
Firmware Error (ACPI): Failure creating named object 
[\134_SB.PCI0._OSC.CAPD], AE_ALREADY_EXISTS (20201113/dsfield-352)
ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure 
(20201113/dswload2-639)
ACPI Error: Aborting method \134_SB.PCI0._OSC due to previous error 
(AE_ALREADY_EXISTS) (20201113/psparse-689)
pcib0: _OSC failed: AE_ALREADY_EXISTS
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0
Firmware Error (ACPI): \134_SB.PCI0._OSC: Excess arguments - ASL 
declared 5, ACPI requires 4 (20201113/nsarguments-311)
Firmware Error (ACPI): Failure creating named object 
[\134_SB.PCI0._OSC.CAPD], AE_ALREADY_EXISTS (20201113/dsfield-352)
ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure 
(20201113/dswload2-639)
ACPI Error: Aborting method \134_SB.PCI0._OSC due to previous error 
(AE_ALREADY_EXISTS) (20201113/psparse-689)
pcib0: _OSC failed: AE_ALREADY_EXISTS
pci2: <ACPI PCI bus> on pcib2
uhci3: <Intel 82801I (ICH9) USB controller> port 0x1180-0x119f irq 20 at 
device 29.0 on pci0
usbus4 on uhci3
usbus4: 12Mbps Full Speed USB v1.0
uhci4: <Intel 82801I (ICH9) USB controller> port 0x11a0-0x11bf irq 21 at 
device 29.1 on pci0
usbus5 on uhci4
usbus5: 12Mbps Full Speed USB v1.0
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 
0xf01a6400-0xf01a67ff irq 20 at device 29.7 on pci0
usbus6: EHCI version 1.0
usbus6 on ehci1
usbus6: 480Mbps High Speed USB v2.0
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH9 SATA300 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x11f0-0x11ff,0x1200-0x120f irq 18 
at device 31.2 on pci0
ata0: <ATA channel> at channel 0 on atapci1
ata1: <ATA channel> at channel 1 on atapci1
atapci2: <Intel ICH9 SATA300 controller> port 
0x1260-0x1267,0x1280-0x1283,0x1268-0x126f,0x1284-0x1287,0x1210-0x121f,0x1220-0x122f 
irq 18 at device 31.5 on pci0
ata4: <ATA channel> at channel 0 on atapci2
ata5: <ATA channel> at channel 1 on atapci2
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77d irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/13 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
Timecounters tick every 1.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ugen0.1: <Intel UHCI root HUB> at usbus0
ugen5.1: <Intel UHCI root HUB> at usbus5
uhub0 on usbus0
hdacc0: <Analog Devices AD1884 HDA CODEC> at cad 0 on hdac0
hdaa0: <Analog Devices AD1884 Audio Function Group> at nid 1 on hdacc0
pcm0: <Analog Devices AD1884 (Rear Analog)> at nid 18 and 21 on hdaa0
pcm1: <Analog Devices AD1884 (Front Analog)> at nid 17 and 20 on hdaa0
uhub1 on usbus5
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen3.1: <Intel EHCI root HUB> at usbus3
ugen2.1: <Intel UHCI root HUB> at usbus2
uhub2 on usbus3
uhub3 on usbus2
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen4.1: <Intel UHCI root HUB> at usbus4
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
uhub4 on usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen1.1: <Intel UHCI root HUB> at usbus1
uhub5 on usbus1
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen6.1: <Intel EHCI root HUB> at usbus6
uhub6 on usbus6
uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
Trying to mount root from zfs:zroot/ROOT/default []...
Root mount waiting for: CAM usbus0 usbus1 usbus2 usbus3 usbus4 usbus5 usbus6
uhub1: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
Root mount waiting for: CAM usbus3 usbus6
uhub6: 4 ports with 4 removable, self powered
fdc0: cmd 08 failed at in byte 1 of 1
fdc0: sense intr err reading stat reg 0
fdc0: cmd 08 failed at in byte 1 of 1
fdc0: sense intr err reading stat reg 0
Root mount waiting for: CAM usbus3 usbus6
uhub2: 6 ports with 6 removable, self powered
fdc0: cmd 08 failed at in byte 1 of 1
fdc0: sense intr err reading stat reg 0
Root mount waiting for: CAM
fdc0: cmd 08 failed at in byte 1 of 1
fdc0: sense intr err reading stat reg 0
ugen5.2: <PixArt HP USB Optical Mouse> at usbus5
Root mount waiting for: CAM
ugen5.3: <HID Keyboard HID Keyboard> at usbus5
ukbd0 on uhub1
ukbd0: <HID Keyboard> on usbus5
kbd2 at ukbd0
ukbd1 on uhub1
ukbd1: <HID Keyboard> on usbus5
kbd3 at ukbd1
Root mount waiting for: CAM
ada0 at ata0 bus 0 scbus2 target 0 lun 0
ada0: <Samsung SSD 840 EVO 120GB EXT0BB0Q> ACS-2 ATA SATA 3.x device
ada0: Serial Number S1D5NSBDA29837E
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada0: 114473MB (234441648 512 byte sectors)
ada0: quirks=0x3<4K,NCQ_TRIM_BROKEN>
ada1 at ata4 bus 0 scbus4 target 0 lun 0
ada1: <INTEL SSDSC2BW120A4 DC32> ACS-2 ATA SATA 3.x device
ada1: Serial Number CVDA433402LU1207GN
ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada1: 114473MB (234441648 512 byte sectors)
ada1: quirks=0x1<4K>
cd0 at ata1 bus 0 scbus3 target 0 lun 0
cd0: <TSSTcorp CDDVDW TS-H653Q HC01> Removable CD-ROM SCSI device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present 
- tray closed
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: hpet0 attach returned 12
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \134_SB.WMID.WQZZ: 1 arguments were passed to a non-method ACPI 
object (Buffer) (20201113/nsarguments-361)
bridge0: Ethernet address: 58:9c:fc:10:ff:fb
lo0: link state changed to UP
ums0 on uhub1
ums0: <PixArt HP USB Optical Mouse, class 0/0, rev 2.00/1.00, addr 2> on 
usbus5
ums0: 3 buttons and [XYZ] coordinates ID=0
em0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)

regards
Johan



More information about the freebsd-current mailing list