Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2021 15:55:35 -0500 (CDT)
From:      Karl Dunn <kldunn@hiwaay.net>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>,  Aryeh Friedman <aryeh.friedman@gmail.com>
Subject:   Re: How to get UEFI console resolution on a non-UEFI boot device
Message-ID:  <ebabfcb-82bb-a58e-59be-c2a3796fabd4@backus.kad-hg.org>
In-Reply-To: <CAGBxaX=bM5kZO_eudtcJ_U-nVZkA7xE%2B-EN2rig64bF27WZ8SA@mail.gmail.com>
References:  <CAGBxaXmiQTTA%2BhaadFbUoai9QBFX=UN661fXjy3FDR7UgSZLhQ@mail.gmail.com> <c9d3ce9e-2e8a-56bb-9a3f-a5fd41635456@naur.kad-hg.org> <CAGBxaX=bM5kZO_eudtcJ_U-nVZkA7xE%2B-EN2rig64bF27WZ8SA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Mar 2021, Aryeh Friedman wrote:

> 
> 
> On Sun, Mar 21, 2021 at 12:14 PM Karl Dunn <kldunn@hiwaay.net> wrote:
>       On Sun, 21 Mar 2021, Aryeh Friedman wrote:
>
>       > I really like the resolution settings on the UEFI console but my machine
>       > doesn't support UEFI.  How can I get the same resolution on this machine?
>       >
>       > Some things I have already tried/other notes:
>       >
>       > * I have a nVidia card using x11/nvidia-driver-390 (card not supported on
>       > newer drivers)
>       > * There is no on board video on the MB
>       > * I have played with the settings suggested in vt(4), sc(4) and
>       > vidcontrol(1)
>       >
>       > Here is my current /boot/loader.conf:
>       >
>       > kern.vt.fb.modes="3840x2160"
>       > kern.vty=vt
>       > nvidia-modeset_load="YES"
>       > linux_load="YES"
>       > fuse_load="YES"
>       >
>       > --
>       > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>
>       Can you post output from dmesg and pciconf -lv?

Sorry for this "middle post".  This is kinda long already.  Here is a 
really wild guess:

How about this in loader.conf:

kern.vt.fb.default_mode="3840x2160"

in place of the fb.modes spec you have.  I think kern.vt.fb.modes has to 
name a specific device, e.g. kern.vt.fb.modes.VGA-1=""3840x2160".

Thanks for posting the stuff below.  I gave it a good hard look, but came 
up empty for ideas.  Maybe somebody else?

  --
Karl L. Dunn
kldunn@hiwaay.net

> 
> 
> Copyright (c) 1992-2020 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 12.2-RELEASE-p3 r369222 GENERIC amd64
> FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git
> llvmorg-10.0.1-0-gef32c611aa2)
> VT(vga): resolution 640x480
> CPU: AMD Ryzen 5 2600 Six-Core Processor             (3400.09-MHz K8-class CPU)
>   Origin="AuthenticAMD"  Id=0x800f82  Family=0x17  Model=0x8  Stepping=2
>  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE
> 36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>  Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,X
> SAVE,OSXSAVE,AVX,F16C,RDRAND>
>   AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
>   AMDFeatures2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,
> Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
>   Structured Extended
> Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
>   XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
>   AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
>   SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
>   TSC: P-state invariant, performance statistics
> real memory  = 25769803776 (24576 MB)
> avail memory = 24932970496 (23777 MB)
> Event timer "LAPIC" quality 600
> ACPI APIC Table: <ALASKA A M I >
> FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
> FreeBSD/SMP: 1 package(s) x 2 cache groups x 3 core(s) x 2 hardware threads
> random: unblocking device.
> ioapic0 <Version 2.1> irqs 0-23 on motherboard
> ioapic1 <Version 2.1> irqs 24-55 on motherboard
> Launching APs: 10 4 5 1 2 6 3 9 7 11 8
> Timecounter "TSC-low" frequency 1700042925 Hz quality 1000
> random: entropy device external interface
> kbd1 at kbdmux0
> 000.000023 [4336] netmap_init               netmap: loaded module
> [ath_hal] loaded
> module_register_init: MOD_LOAD (vesa, 0xffffffff81114e40, 0) error 19
> random: registering fast source Intel Secure Key RNG
> random: fast provider: "Intel Secure Key RNG"
> nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  390.141  Mon
> Dec 28 16:15:27 UTC 2020
> nexus0
> vtvga0: <VT VGA driver> on motherboard
> cryptosoft0: <software crypto> on motherboard
> acpi0: <ALASKA A M I > on motherboard
> 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 on acpi0
> atrtc0: registered as a time-of-day clock, resolution 1.000000s
> Event timer "RTC" frequency 32768 Hz quality 0
> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
> Timecounter "HPET" frequency 14318180 Hz quality 950
> Event timer "HPET" frequency 14318180 Hz quality 350
> Event timer "HPET1" frequency 14318180 Hz quality 350
> Event timer "HPET2" frequency 14318180 Hz quality 350
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
> pcib1: <ACPI PCI-PCI bridge> at device 1.3 on pci0
> pci1: <ACPI PCI bus> on pcib1
> xhci0: <XHCI (generic) USB 3.0 controller> mem 0xf73a0000-0xf73a7fff irq 32 at device 0.0
> on pci1
> xhci0: 32 bytes context size, 64-bit DMA
> xhci0: Unable to map MSI-X table
> usbus0 on xhci0
> usbus0: 5.0Gbps Super Speed USB v3.0
> ahci0: <AHCI SATA controller> mem 0xf7380000-0xf739ffff irq 33 at device 0.1 on pci1
> ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ahcich4: <AHCI channel> at channel 4 on ahci0
> ahcich5: <AHCI channel> at channel 5 on ahci0
> pcib2: <ACPI PCI-PCI bridge> irq 34 at device 0.2 on pci1
> pci2: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> irq 32 at device 0.0 on pci2
> pci3: <ACPI PCI bus> on pcib3
> pcib4: <ACPI PCI-PCI bridge> irq 33 at device 1.0 on pci2
> pci4: <ACPI PCI bus> on pcib4
> re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xf000-0xf0ff mem
> 0xf7204000-0xf7204fff,0xf7200000-0xf7203fff irq 33 at device 0.0 on pci4
> re0: Using 1 MSI-X message
> re0: Chip rev. 0x54000000
> re0: MAC rev. 0x00100000
> miibus0: <MII bus> on re0
> rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 1 on miibus0
> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX,
> 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
> 1000baseT-FDX-flow-master, auto, auto-flow
> re0: Using defaults for TSO: 65518/35/2048
> re0: Ethernet address: 00:d8:61:78:d4:9c
> re0: netmap queues/slots: TX 1/256, RX 1/256
> pcib5: <ACPI PCI-PCI bridge> irq 32 at device 4.0 on pci2
> pci5: <ACPI PCI bus> on pcib5
> vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem
> 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 32 at device 0.0 on
> pci5
> nvidia0: <GeForce GT 1030> on vgapci0
> vgapci0: child nvidia0 requested pci_enable_io
> vgapci0: child nvidia0 requested pci_enable_io
> vgapci0: Boot video device
> hdac0: <NVIDIA (0x0fb8) HDA Controller> mem 0xf7080000-0xf7083fff irq 33 at device 0.1 on
> pci5
> pcib6: <ACPI PCI-PCI bridge> at device 7.1 on pci0
> pci6: <ACPI PCI bus> on pcib6
> pci6: <unknown> at device 0.0 (no driver attached)
> pci6: <encrypt/decrypt> at device 0.2 (no driver attached)
> xhci1: <XHCI (generic) USB 3.0 controller> mem 0xf7500000-0xf75fffff irq 37 at device 0.3
> on pci6
> xhci1: 64 bytes context size, 64-bit DMA
> xhci1: Unable to map MSI-X table
> usbus1 on xhci1
> usbus1: 5.0Gbps Super Speed USB v3.0
> pcib7: <ACPI PCI-PCI bridge> at device 8.1 on pci0
> pci7: <ACPI PCI bus> on pcib7
> pci7: <unknown> at device 0.0 (no driver attached)
> ahci1: <AMD KERNCZ AHCI SATA controller> mem 0xf7808000-0xf7808fff irq 42 at device 0.2 on
> pci7
> ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
> ahcich8: <AHCI channel> at channel 0 on ahci1
> hdac1: <AMD X370 HDA Controller> mem 0xf7800000-0xf7807fff irq 43 at device 0.3 on pci7
> isab0: <PCI-ISA bridge> at device 20.3 on pci0
> isa0: <ISA bus> on isab0
> acpi_button0: <Power Button> on acpi0
> uart2: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3
> on acpi0
> uart3: <16x50 with 256 byte FIFO> iomem 0xfedca000-0xfedcafff,0xfedc8000-0xfedc8fff irq 4
> on acpi0
> uart4: <16x50 with 256 byte FIFO> iomem 0xfedce000-0xfedcefff,0xfedcc000-0xfedccfff irq 3
> on acpi0
> uart5: <16x50 with 256 byte FIFO> iomem 0xfedcf000-0xfedcffff,0xfedcd000-0xfedcdfff irq 4
> on acpi0
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12.
> hwpstate0: <Cool`n'Quiet 2.0> on cpu0
> Timecounters tick every 1.000 msec
> hdacc0: <NVIDIA (0x0081) HDA CODEC> at cad 0 on hdac0
> hdaa0: <NVIDIA (0x0081) Audio Function Group> at nid 1 on hdacc0
> pcm0: <NVIDIA (0x0081) (HDMI/DP 8ch)> at nid 4 on hdaa0
> pcm1: <NVIDIA (0x0081) (HDMI/DP 8ch)> at nid 5 on hdaa0
> hdacc1: <Realtek ALC892 HDA CODEC> at cad 0 on hdac1
> hdaa1: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc1
> pcm2: <Realtek ALC892 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa1
> pcm3: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1
> ugen1.1: <0x1022 XHCI root HUB> at usbus1
> Trying to mount root from ufs:/dev/ada1s1a [rw]...
> ugen0.1: <0x1022 XHCI root HUB> at usbus0
> Root mount waiting for: usbus0 CAM usbus1
> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> ada0: <SATA SSD SBFM61.3> ACS-4 ATA SATA 3.x device
> ada0: Serial Number 20070110240883
> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> ada0: Command Queueing enabled
> ada0: 976762MB (2000409264 512 byte sectors)
> uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
> uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
> ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
> ada1: <SATA SSD SBFM61.3> ACS-4 ATA SATA 3.x device
> ada1: Serial Number 19070910240135
> ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> ada1: Command Queueing enabled
> ada1: 976762MB (2000409264 512 byte sectors)
> uhub0: 8 ports with 8 removable, self powered
> uhub1: 22 ports with 22 removable, self powered
> Root mount waiting for: usbus0
> ugen0.2: <vendor 0x0409 product 0x005a> at usbus0
> uhub2 on uhub1
> uhub2: <vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> uhub2: 4 ports with 4 removable, self powered
> Root mount waiting for: usbus0
> ugen0.3: <Logitech USB Keyboard> at usbus0
> ukbd0 on uhub2
> ukbd0: <USB Keyboard> on usbus0
> kbd2 at ukbd0
> Root mount waiting for: usbus0
> ugen0.4: <Logitech USB Optical Mouse> at usbus0
> mountroot: waiting for device /dev/ada1s1a...
> intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
> smbus0: <System Management Bus> on intsmb0
> lo0: link state changed to UP
> re0: link state changed to DOWN
> uhid0 on uhub2
> uhid0: <USB Keyboard> on usbus0
> ums0 on uhub2
> ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 3> on usbus0
> ums0: 3 buttons and [XYZ] coordinates ID=0
> re0: link state changed to UP
> AMD-Vi: IVRS Info VAsize = 64 PAsize = 48 GVAsize = 2 flags:0
> driver bug: Unable to set devclass (class: ppc devname: (unknown))
> ivhd0: <AMD-Vi/IOMMU ivhd with EFR> on acpi0
> ivhd0: Flag:b0<IotlbSup,Coherent>
> ivhd0: Features(type:0x11) MsiNumPPR = 0 PNBanks= 2 PNCounters= 0
> ivhd0: Extended features[31:0]:22294ada<PPRSup,NXSup,GTSup,IASup> HATS = 0x2 GATS = 0x0
> GLXSup = 0x1 SmiFSup = 0x1 SmiFRC = 0x2 GAMSup = 0x1 DualPortLogSup = 0x2 DualEventLogSup
> = 0x2
> ivhd0: Extended features[62:32]:f77ef<USSup> Max PASID: 0x2f DevTblSegSup = 0x3 MarcSup =
> 0x1
> ivhd0: supported paging level:7, will use only: 4
> ivhd0: device range: 0x0 - 0xffff
> ivhd0: PCI cap 0x190b640f@0x40 feature:19<IOTLB,EFR,CapExt>
> bridge0: Ethernet address: 02:06:fa:65:3d:00
> re0: promiscuous mode enabled
> bridge0: link state changed to UP
> ================ CUT HERE ===========
> hostb0@pci0:0:0:0: class=0x060000 card=0x7c021462 chip=0x14501022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Root Complex'
>     class      = bridge
>     subclass   = HOST-PCI
> none0@pci0:0:0:2: class=0x080600 card=0x7c021462 chip=0x14511022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) I/O Memory Management Unit'
>     class      = base peripheral
>     subclass   = IOMMU
> hostb1@pci0:0:1:0: class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> pcib1@pci0:0:1:3: class=0x060400 card=0x7c021462 chip=0x14531022 rev=0x00 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) PCIe GPP Bridge'
>     class      = bridge
>     subclass   = PCI-PCI
> hostb2@pci0:0:2:0: class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb3@pci0:0:3:0: class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb4@pci0:0:4:0: class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb5@pci0:0:7:0: class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> pcib6@pci0:0:7:1: class=0x060400 card=0x14627c02 chip=0x14541022 rev=0x00 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B'
>     class      = bridge
>     subclass   = PCI-PCI
> hostb6@pci0:0:8:0: class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> pcib7@pci0:0:8:1: class=0x060400 card=0x14627c02 chip=0x14541022 rev=0x00 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B'
>     class      = bridge
>     subclass   = PCI-PCI
> intsmb0@pci0:0:20:0: class=0x0c0500 card=0x7c021462 chip=0x790b1022 rev=0x59 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'FCH SMBus Controller'
>     class      = serial bus
>     subclass   = SMBus
> isab0@pci0:0:20:3: class=0x060100 card=0x7c021462 chip=0x790e1022 rev=0x51 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'FCH LPC Bridge'
>     class      = bridge
>     subclass   = PCI-ISA
> hostb7@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x14601022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb8@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x14611022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb9@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x14621022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb10@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x14631022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb11@pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x14641022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb12@pci0:0:24:5: class=0x060000 card=0x00000000 chip=0x14651022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb13@pci0:0:24:6: class=0x060000 card=0x00000000 chip=0x14661022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb14@pci0:0:24:7: class=0x060000 card=0x00000000 chip=0x14671022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7'
>     class      = bridge
>     subclass   = HOST-PCI
> xhci0@pci0:3:0:0: class=0x0c0330 card=0x11421b21 chip=0x43d51022 rev=0x01 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = '400 Series Chipset USB 3.1 XHCI Controller'
>     class      = serial bus
>     subclass   = USB
> ahci0@pci0:3:0:1: class=0x010601 card=0x10621b21 chip=0x43c81022 rev=0x01 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = '400 Series Chipset SATA Controller'
>     class      = mass storage
>     subclass   = SATA
> pcib2@pci0:3:0:2: class=0x060400 card=0x02011b21 chip=0x43c61022 rev=0x01 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = '400 Series Chipset PCIe Bridge'
>     class      = bridge
>     subclass   = PCI-PCI
> pcib3@pci0:32:0:0: class=0x060400 card=0x33061b21 chip=0x43c71022 rev=0x01 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = '400 Series Chipset PCIe Port'
>     class      = bridge
>     subclass   = PCI-PCI
> pcib4@pci0:32:1:0: class=0x060400 card=0x33061b21 chip=0x43c71022 rev=0x01 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = '400 Series Chipset PCIe Port'
>     class      = bridge
>     subclass   = PCI-PCI
> pcib5@pci0:32:4:0: class=0x060400 card=0x33061b21 chip=0x43c71022 rev=0x01 hdr=0x01
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = '400 Series Chipset PCIe Port'
>     class      = bridge
>     subclass   = PCI-PCI
> re0@pci0:34:0:0: class=0x020000 card=0x7c021462 chip=0x816810ec rev=0x15 hdr=0x00
>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>     device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
>     class      = network
>     subclass   = ethernet
> vgapci0@pci0:37:0:0: class=0x030000 card=0x85f51043 chip=0x1d0110de rev=0xa1 hdr=0x00
>     vendor     = 'NVIDIA Corporation'
>     device     = 'GP108 [GeForce GT 1030]'
>     class      = display
>     subclass   = VGA
> hdac0@pci0:37:0:1: class=0x040300 card=0x85f51043 chip=0x0fb810de rev=0xa1 hdr=0x00
>     vendor     = 'NVIDIA Corporation'
>     device     = 'GP108 High Definition Audio Controller'
>     class      = multimedia
>     subclass   = HDA
> none1@pci0:38:0:0: class=0x130000 card=0x7c021462 chip=0x145a1022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Zeppelin/Raven/Raven2 PCIe Dummy Function'
>     class      = non-essential instrumentation
> none2@pci0:38:0:2: class=0x108000 card=0x7c021462 chip=0x14561022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) Platform Security Processor'
>     class      = encrypt/decrypt
> xhci1@pci0:38:0:3: class=0x0c0330 card=0x7c021462 chip=0x145f1022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Zeppelin USB 3.0 Host controller'
>     class      = serial bus
>     subclass   = USB
> none3@pci0:39:0:0: class=0x130000 card=0x7c021462 chip=0x14551022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Zeppelin/Renoir PCIe Dummy Function'
>     class      = non-essential instrumentation
> ahci1@pci0:39:0:2: class=0x010601 card=0x7c021462 chip=0x79011022 rev=0x51 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'FCH SATA Controller [AHCI mode]'
>     class      = mass storage
>     subclass   = SATA
> hdac1@pci0:39:0:3: class=0x040300 card=0xec021462 chip=0x14571022 rev=0x00 hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 00h-0fh) HD Audio Controller'
>     class      = multimedia
>     subclass   = HDA
>  
>
>       What model of Nvidia card?  (dmesg/pciconf may not show that)
> 
> 
> GT1030
> 
>
>       Not sure the above will help, but it >might<.
>
>       WRT "resolution": X, and/or the text font/size on the login console?
>
>         --
>       Karl L. Dunn
>       kldunn@hiwaay.net
> 
> 
> 
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
> 
>
From owner-freebsd-questions@freebsd.org  Sun Mar 21 21:06:14 2021
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@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 95BE85AD560
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Sun, 21 Mar 2021 21:06:14 +0000 (UTC)
 (envelope-from aryeh.friedman@gmail.com)
Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com
 [IPv6:2607:f8b0:4864:20::b36])
 (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 4F3VY16Gf1z4SNl
 for <freebsd-questions@freebsd.org>; Sun, 21 Mar 2021 21:06:13 +0000 (UTC)
 (envelope-from aryeh.friedman@gmail.com)
Received: by mail-yb1-xb36.google.com with SMTP id z1so4448322ybf.6
 for <freebsd-questions@freebsd.org>; Sun, 21 Mar 2021 14:06:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=WR9KFWNz/ga4HITow6z2KzFPVbLhBir2jzu2Qi6WwP0=;
 b=C0JlK2JeGGUzQWh7DihJ+j2M850fs4B+PGtCqCff60+zC1wJQtt1ADdtyHfzvbddf3
 ufp/JC7EcdBqu7MtN+Why+DcXX0Z0lGVz3kI70ecthgUHJqGLhznsp4u0zXWr6A1RZxm
 cZEa/qg80D0OqxK8ojZqrnzOVIorzFlQkwqVuUJ1eFQC/M++w5L6JOmU35wOtFZXTIbe
 ZAGPUntMEjdFtxnYioge26X0YYZ3c0QSi+YUotx805uwHAABVd99OSmjYPX/9bFqy3K9
 RG0txktDIDtI3oMicvbw0yCJ3XG7yTovW4w1lWdmvbPGCH2dpnDc8a8TP+OD0GSpNppb
 XuUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=WR9KFWNz/ga4HITow6z2KzFPVbLhBir2jzu2Qi6WwP0=;
 b=kLBLZN/SQ34eJkCOst1ozWY+LdpuvAJtX3d6hrHn77zEKLEIuVpajovgw8L+4epoFm
 gg+pDoa1CHCNyxfv8KSAWL1CxVlvwuIexO0C9kYyUo5+LeY2xuZ8XSyP5lRHVr9FJEzc
 oVQKFfVKdUyQjTydon9xD9azbwAYlX+gMXSvMMaaFyAbFoKRjpoxQoBSoS9QtBZ4rXEH
 r8viEVXzB/D7eO3eg8Y74AHM2Ld47EYy/DaafAEBk1B8C3+L+B2zwhCNa7yechZg3IZh
 Jdo2KFz2xA9vSuV3a8IfqgqnJVD6ZCGix2hPm2019tmUjCSyBgp7MdDP8lXA109QhQwO
 kJPQ==
X-Gm-Message-State: AOAM531k/iA2LfxsOPWE/lo65PNAmhEvou9BMnK51K1PPQ/pRfvdR1C4
 zw1eWQSOIofNBu00BemJ8vG0FWFb69B7ozgpH3T9v/jyX1Yhrw==
X-Google-Smtp-Source: ABdhPJyYJVhUiSgOao1g6UbORc7/u1TMHT0+Ktv7w3FzMMXynjtetOvLoyRNmD+/HldFVxsPBz3ZAaTAhz5j9GxFMv4=
X-Received: by 2002:a25:e4c4:: with SMTP id b187mr20978327ybh.92.1616360772914; 
 Sun, 21 Mar 2021 14:06:12 -0700 (PDT)
MIME-Version: 1.0
References: <20210320132339.00004d9a@seibercom.net>
 <38EDD406-3EC4-4F71-B990-DDD1E753D091@kreme.com>
 <20210321113403.00004056@seibercom.net>
 <CAGBxaXmV8Z7G=NCw3AX+rhn3QNjMvNAqKPVNOYEnTFMZEq9Pgg@mail.gmail.com>
 <20210321120633.00004136@seibercom.net>
 <CAGBxaXm8VEGQH=QABJe1o83wDe_NP_U6KgprxgzcyXZdHqYm4g@mail.gmail.com>
 <20210321142553.000046d6@seibercom.net>
 <CAGBxaX=BrmUBbD1QK5ifZj=wV-26=jhZt1us_jSOPnGK_6tL0g@mail.gmail.com>
 <20210321154931.00007b79@seibercom.net>
In-Reply-To: <20210321154931.00007b79@seibercom.net>
From: Aryeh Friedman <aryeh.friedman@gmail.com>
Date: Sun, 21 Mar 2021 17:06:01 -0400
Message-ID: <CAGBxaXniv7x5quHdpfpx39c9tDQDsS7U5uzaVT+nFdfJD70wBQ@mail.gmail.com>
Subject: Re: OS to replace FreeBSD
To: FreeBSD Mailing List <freebsd-questions@freebsd.org>
X-Rspamd-Queue-Id: 4F3VY16Gf1z4SNl
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmail.com header.s=20161025 header.b=C0JlK2Je;
 dmarc=pass (policy=none) header.from=gmail.com;
 spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates
 2607:f8b0:4864:20::b36 as permitted sender)
 smtp.mailfrom=aryehfriedman@gmail.com
X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com];
 R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36];
 TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+];
 DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
 NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+,1:+,2:~];
 RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::b36:from];
 FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
 ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000];
 R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1];
 SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::b36:from:127.0.2.255];
 RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b36:from];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MAILMAN_DEST(0.00)[freebsd-questions]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2021 21:06:14 -0000

On Sun, Mar 21, 2021 at 3:50 PM Jerry <jerry@seibercom.net> wrote:

> On Sun, 21 Mar 2021 15:04:16 -0400, Aryeh Friedman stated:
> >On Sun, Mar 21, 2021 at 2:26 PM Jerry <jerry@seibercom.net> wrote:
> >
> >> You are a complete asshole. The simple fact the the controller in
> >> question, and here I am assuming it is the controller, does not
> >> function correctly under FreeBSD, versions >= 11.x, but apparently
> >> does function under other OSs, is prima facie proof that it is not
> >> supported.
> >
> >As has been pointed out *MANY* times already in the thread just because
> >other OS's make something work by being lazy about how a standard is
> >implemented does not mean there is nothing non-standard with any given
> >hardware.   It only means that if anything the other OS's are being
> >less strict then they should be about how they interpret the standard
> >thus when a OS that actually does care about that strictness and doing
> >things "right" has a problem with the non-standard hardware it is the
> >fault of the OS?!?!?!   That is as insane as the NRA saying bullets
> >from guns don't kill people.
>
> Again, and without proof, you are placing the blame on something other
> than FreeBSD. For the record, you are claiming that EVERY OTHER
> OPERATING SYSTEM IS BEING LAZY ABOUT HOW STANDARDS, (I love standards,
> there are so many to choose from) ARE IMPLEMENTED. Is that correct?
>

Similar issues have been reported with the same control in other OS's
(Linux *AND* Windows) and they are still actively being worked on.  Here is
a random sampling of said reports:

https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1878020
https://www.reddit.com/r/VFIO/comments/iaxqal/userfriendly_workaround_for_amd_reset_bug_windows/
https://bugzilla.kernel.org/show_bug.cgi?id=202541

So stop your gaslighting about how it is only FreeBSD that has a problem
with this obviously non-standard piece of hardware.   The bottom line is
11.X likely was too lax on stuff and after making it be more strict about
standards did such a non-standard piece of hardware get exposed as being
non-standard.


-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ebabfcb-82bb-a58e-59be-c2a3796fabd4>