How to get UEFI console resolution on a non-UEFI boot device

199 views
Skip to first unread message

Aryeh Friedman

unread,
Mar 21, 2021, 11:37:43 AM3/21/21
to FreeBSD Mailing List
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
_______________________________________________
freebsd-...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Aryeh Friedman

unread,
Mar 21, 2021, 1:29:29 PM3/21/21
to Karl Dunn, FreeBSD Mailing List
On Sun, Mar 21, 2021 at 12:14 PM Karl Dunn <kld...@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?
>

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 (g...@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,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>

Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD
Features2=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
> kld...@hiwaay.net

Jerry

unread,
Mar 21, 2021, 2:34:54 PM3/21/21
to freebsd-...@freebsd.org
On Sun, 21 Mar 2021 11:37:22 -0400, Aryeh Friedman stated:
>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?


I am shocked, absolutely shocked. What are you a lazy cocksucker?

Either:

1) Rewrite the code

2) Buy better equipment

3) STFU

Your choice :)

--
Jerry

Aryeh Friedman

unread,
Mar 21, 2021, 2:50:32 PM3/21/21
to FreeBSD Mailing List
And you call me a troll ;-).... if you read the question it is not a bug
just a question about how to do something (if it turns out that there is
some way to improve the support for something like this I will likely do
item 1) also unlike you I actually did some homework before complaining and
actually tried to correct the issue before asking about it.... where is you
complain endless about the same topic/issue and refuse to lift a finger to
do anything to help the situation except make a huge stink

Jerry

unread,
Mar 21, 2021, 3:30:30 PM3/21/21
to freebsd-...@freebsd.org
On Sun, 21 Mar 2021 14:50:11 -0400, Aryeh Friedman stated:
>On Sun, Mar 21, 2021 at 2:34 PM Jerry <je...@seibercom.net> wrote:
>
>> On Sun, 21 Mar 2021 11:37:22 -0400, Aryeh Friedman stated:
>> >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?
>>
>>
>> I am shocked, absolutely shocked. What are you a lazy cocksucker?
>>
>> Either:
>>
>> 1) Rewrite the code
>>
>> 2) Buy better equipment
>>
>> 3) STFU
>>
>
>And you call me a troll ;-).... if you read the question it is not a
>bug just a question about how to do something (if it turns out that
>there is some way to improve the support for something like this I
>will likely do item 1) also unlike you I actually did some homework
>before complaining and actually tried to correct the issue before
>asking about it.... where is you complain endless about the same
>topic/issue and refuse to lift a finger to do anything to help the
>situation except make a huge stink

I need to amend my previous assessment of you. Not only are you an
asshole, but you are also a hypocrite.

--
Jerry

Aryeh Friedman

unread,
Mar 21, 2021, 3:38:12 PM3/21/21
to FreeBSD Mailing List
On Sun, Mar 21, 2021 at 3:30 PM Jerry <je...@seibercom.net> wrote:

> I need to amend my previous assessment of you. Not only are you an
> asshole, but you are also a hypocrite.
>

Well if that is/was true I am great company since you are doing the very
thing you (falsely for reasons explained before) accuse me of doing. As
with most such people you are very free to say it about other people (even
when it is not true) but refuse to see it in yourself.

Ralf Mardorf

unread,
Mar 21, 2021, 4:18:58 PM3/21/21
to freebsd-...@freebsd.org
Take a rest, join some popcorn
https://www.youtube.com/watch?v=NjxNnqTcHhg .

Since the next one was recorded at the border of the introduction of
MIDI, even the Prophet 5 shown in the video originally came without
MIDI, laugh about the vision people had before the computer
revolution and listen to https://www.youtube.com/watch?v=QgbgUrp1a70 .

Nowadays, we could do way better, but nowadays even electric guitars
could easily be used to play synth without latency. My MIDIfied guitars
https://i.imgur.com/6TDYQHm.jpg are seldom used as MIDI controllers.
Once the vision becomes reality, it also becomes uninteresting almost
all of the times.

My Atari 520 ST with 4096 KiB very slow PC RAM and a 80286 hardware
emulator, https://i.imgur.com/lx5pucp.jpg .

Indeed, I missed the subject, but IIUC the latest threads on this
list are related to self-expression and entertainment + to ignore the
subjects completely.

I hope I could contribute to this.

Aryeh Friedman

unread,
Mar 21, 2021, 4:34:36 PM3/21/21
to Ralf Mardorf, FreeBSD Mailing List
You should of read the actual initial post since it asked a real question
before it got hijacked

On Sun, Mar 21, 2021 at 4:18 PM Ralf Mardorf <ralf-m...@riseup.net>
wrote:
--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org

Jacques Foucry

unread,
Mar 21, 2021, 4:35:29 PM3/21/21
to Ralf Mardorf, freebsd-...@freebsd.org
Le dimanche 21 mars 2021 à 21:18:46 (+0100), Ralf Mardorf à écrit:
> Take a rest, join some popcorn
> https://www.youtube.com/watch?v=NjxNnqTcHhg .


I do prefer this version:

https://www.youtube.com/watch?v=AvDvTnTGjgQ

--
Jacques Foucry

Karl Dunn

unread,
Mar 21, 2021, 4:55:51 PM3/21/21
to FreeBSD Mailing List, Aryeh Friedman
On Sun, 21 Mar 2021, Aryeh Friedman wrote:

>
>
> On Sun, Mar 21, 2021 at 12:14 PM Karl Dunn <kld...@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
kld...@hiwaay.net

>
>

Aryeh Friedman

unread,
Mar 21, 2021, 6:28:04 PM3/21/21
to Karl Dunn, FreeBSD Mailing List
No go I tried all the obvious devices listed in /dev and all resolutions
between 640x480 and the one listed above and no change in resolution with
any of the combos

Karl L. Dunn

unread,
Mar 23, 2021, 6:03:22 PM3/23/21
to Aryeh Friedman, FreeBSD Mailing List
... <snip> ...

I think the name part of the loader tunable is supposed to be the
"connector" name, not a name from /dev. I could not figure out what to
use, so that's why I thought kern.vt.fb.default_mode would work.

I thrashed around with this problem for a while on my own machine:

CPU: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz (1800.55-MHz
K8-class CPU)
Origin="GenuineIntel" Id=0x6f2 Family=0x6 Model=0xf Stepping=2

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=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant, performance statistics

vgapci0@pci0:1:0:0: class=0x030000 card=0x13113842 chip=0x0a6510de
rev=0xa2 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'GT218 [GeForce 210]'
class = display
subclass = VGA

for which I had to use the -340 NVIDIA driver.

To make Xorg work right, I had to create this:

/usr/local/etc/X11/xorg.conf.d/20-nvidia.conf:
Section "Device"
Identifier "GTX-nnnn"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX nnnn"
EndSection

No matter what I do, I am in the same place you are. Supposedly the
functions that are in the -390 module nvidia-modeset.ko are in -340's
nvidia.ko, but none of the stuff about modesetting in vt(4) works.

The -340 driver apparently does not create or have the functions of
nvidia-modeset.ko. So the loader tunable

kern.vt.fb.default_mode="<X>x<Y>"

will not (again: apparently) do anything on my machine.

The vt(4) man pages have a discouraging note about modesetting not being
supported unless you have a KMS video driver. AFAIK only Intel, AMD,
and Radeon are in that category. I think vt(4) means xxxkms.ko and
drm.ko, not some other driver that has its own mode setting scheme. I
might be wrong about that. I'm wrong about a lot of things -- just ask
my wife of 53 years: she's a physics PhD, so she ought to know.

It looks as if the 460.56 driver:

https://www.nvidia.com/Download/driverResults.aspx/170806/en-us

will support your card. You might be able to force the nvidia-driver
port to make and install that one. I don't have much hope for it fixing
your problem, though.

- - - -

There is a lot more hope for Intel cards/embedded GPUs. I have three
other machines that have flavors of Intel GPUs "built-in", and they work
fine, both with console resolution control and Xorg. The kms module
will pull in drm module(s), and it is apparently crucial that they load
from rc.conf, not loader.conf!! I built the drm package needed (to get
the kms and drm for all three kinds) from the port in
/usr/ports/graphics rather than do a pkg add, per FreeBSD
recommendation: the pre-built package often won't fit the kernel,
causing a crash at boot time, even though it's made for the right major
release.

So if you have a card that has some kind of AMD or Radeon or Intel GPU
you might be good. I don't have one; if I did I would outright give it
to you to see what happens! Maybe you can borrow one to test.

I apologize for such a long story.
--
Karl L. Dunn
kld...@hiwaay.net

Reply all
Reply to author
Forward
0 new messages