From owner-freebsd-current@freebsd.org Tue Feb 23 15:28:58 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6A5B547B18 for ; Tue, 23 Feb 2021 15:28:58 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlNHt5WDtz3Qxv for ; Tue, 23 Feb 2021 15:28:58 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-ej1-x62d.google.com with SMTP id r17so8795946ejy.13 for ; Tue, 23 Feb 2021 07:28:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=P4dyZmqrJyscO0gDL65RgYtfnbiM+8g/tZcwd+4hat0=; b=QVW2HbnZ6TJiHPouNTXx6wpxIS6o9jfn8t2gHyuSGabe5IbF0IRU3Bl1WTlaye1ZQ7 u/vZ2tqaYAIlu1w3WvRAoXErBYKq5m/K5EKjJ4ujy0TUxf9zqqdbIFaZ4comUH6cQ8U6 fUdc93she94o3fZI5BpskQfmZd7YrlYXxIYg5BDosBlQ2TvWCd09F1G64i8Cgf4JQMhB dKsjDcHFFYOSIiRIK0dcJWU74tfXsYVMdVv/JEe/ElUCVC2kbQcqqeZ0Zq70kcPp4KYg 5EZutJ3ZvD5Dbt6nAcm16uvlUNilTHgQpE+Hmq7bJ3ETWKkDHTngL4z7tu5YVbmU4JCq G/QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=P4dyZmqrJyscO0gDL65RgYtfnbiM+8g/tZcwd+4hat0=; b=UpqtFKUJ3zVWO5iYkgzoAVUtgTI8dLZDbBGxJ96E5f80EwMsbqHxBxiOGwtKPZsVUi JvcNn/4PEEIKhadZFv4TdIW0DJORdDep9e0EF8ydk//lK+BMHDVqEz3n5FrLXjWbs8QW c9lKdGWAdjzIUNWH9AZKPKV4mr2j0NTSm1RiJXI8NYJncVSVpjUitUEBNVL6PDXi6ftL T0tSOoT8N5HyjjtM3Bzs9r2FsFA2Vk4Js5M1HweohMoJncEVGXmFnp537+WBH0QEV0tE LsbRJnBfjzlTg3wQorSyA1y3Mp+oMuDNrNtt4hmfglCEb9dduI6jxI5h//MVYsVJUB0T eQsg== X-Gm-Message-State: AOAM5312RqP2IcSzoRKYsdGtmQ0lLxdKVFx73UMUzSxvSuXB/wxBuH+0 rdEZLVFaxXttBhTH6eBMY0X8EJQLJkgLcw== X-Google-Smtp-Source: ABdhPJyKMFxzlD0aDz8GXkdbcxWiTmZ0yxWh/AmdSmhPr5wKxp4kWxjfdTTdtVR/ZA7i3McMGEzOrg== X-Received: by 2002:a17:906:4b12:: with SMTP id y18mr26784916eju.216.1614094135954; Tue, 23 Feb 2021 07:28:55 -0800 (PST) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id hr3sm12187022ejc.41.2021.02.23.07.28.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 07:28:55 -0800 (PST) Subject: Re: testers needed: loader: use display pixel density for font autoselection To: Toomas Soome , FreeBSD Current References: From: Johan Hendriks Message-ID: <912da037-14e8-a4b5-d00a-999746213a41@gmail.com> Date: Tue, 23 Feb 2021 16:28:55 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4DlNHt5WDtz3Qxv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 15:28:58 -0000 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 > > I have built loader binaries as well (bios and uefi): > loader_lua > loader_lua.efi > > To test, you should remove screen.font= line from loader.conf and test with different resolutions. > > thanks, > toomas > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@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. ---<>--- 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@srv-01.thuis.local:/usr/obj/usr/src/amd64.amd64/sys/KRNL amd64 FreeBSD clang version 11.0.1 (git@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 Features2=0xe3fd   AMD Features=0x20100800   AMD Features2=0x1   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: 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 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: aesni0: No AES or SHA support. acpi0: acpi0: Power Button (fixed) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: 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: 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: 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: 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: on pcib0 vgapci0: port 0x1230-0x1237 mem 0xf0100000-0xf017ffff,0xe0000000-0xefffffff,0xf0000000-0xf00fffff irq 16 at device 2.0 on pci0 agp0: 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: at device 3.0 (no driver attached) atapci0: port 0x1238-0x123f,0x1270-0x1273,0x1240-0x1247,0x1274-0x1277,0x11e0-0x11ef irq 18 at device 3.2 on pci0 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 pci0: at device 3.3 (no driver attached) em0: 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: port 0x1120-0x113f irq 20 at device 26.0 on pci0 usbus0 on uhci0 usbus0: 12Mbps Full Speed USB v1.0 uhci1: port 0x1140-0x115f irq 21 at device 26.1 on pci0 usbus1 on uhci1 usbus1: 12Mbps Full Speed USB v1.0 uhci2: port 0x1160-0x117f irq 22 at device 26.2 on pci0 usbus2 on uhci2 usbus2: 12Mbps Full Speed USB v1.0 ehci0: 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: mem 0xf01a0000-0xf01a3fff irq 21 at device 27.0 on pci0 pcib1: 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: on pcib1 pcib2: 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: on pcib2 uhci3: port 0x1180-0x119f irq 20 at device 29.0 on pci0 usbus4 on uhci3 usbus4: 12Mbps Full Speed USB v1.0 uhci4: port 0x11a0-0x11bf irq 21 at device 29.1 on pci0 usbus5 on uhci4 usbus5: 12Mbps Full Speed USB v1.0 ehci1: 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: at device 30.0 on pci0 pci3: on pcib3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x11f0-0x11ff,0x1200-0x120f irq 18 at device 31.2 on pci0 ata0: at channel 0 on atapci1 ata1: at channel 1 on atapci1 atapci2: port 0x1260-0x1267,0x1280-0x1283,0x1268-0x126f,0x1284-0x1287,0x1210-0x121f,0x1220-0x122f irq 18 at device 31.5 on pci0 ata4: at channel 0 on atapci2 ata5: at channel 1 on atapci2 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: 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: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 est0: on cpu0 Timecounters tick every 1.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ugen0.1: at usbus0 ugen5.1: at usbus5 uhub0 on usbus0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 18 and 21 on hdaa0 pcm1: at nid 17 and 20 on hdaa0 uhub1 on usbus5 uhub1: on usbus5 ugen3.1: at usbus3 ugen2.1: at usbus2 uhub2 on usbus3 uhub3 on usbus2 uhub3: on usbus2 ugen4.1: at usbus4 uhub2: on usbus3 uhub4 on usbus4 uhub4: on usbus4 ugen1.1: at usbus1 uhub5 on usbus1 uhub5: on usbus1 uhub0: on usbus0 ugen6.1: at usbus6 uhub6 on usbus6 uhub6: 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: at usbus5 Root mount waiting for: CAM ugen5.3: at usbus5 ukbd0 on uhub1 ukbd0: on usbus5 kbd2 at ukbd0 ukbd1 on uhub1 ukbd1: on usbus5 kbd3 at ukbd1 Root mount waiting for: CAM ada0 at ata0 bus 0 scbus2 target 0 lun 0 ada0: 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: 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: 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: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: hpet0 attach returned 12 acpi_wmi0: 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: 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