Date: Mon, 20 May 2019 15:46:00 +0200 From: Markus Graf <markusalbertgraf@gmail.com> To: Anthony Jenkins <Scoobi_doo@yahoo.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD X11 <freebsd-x11@freebsd.org> Subject: Re: Using loader.conf(5) 'exec' directive to set video mode Message-ID: <86blzxgrxj.fsf@yoga.markusgraf.net> In-Reply-To: <56e5e4a3-529c-bd41-c52c-2815e5374ca4@yahoo.com> References: <56e5e4a3-529c-bd41-c52c-2815e5374ca4@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Anthony, I know I am not technically answering your question. Just in case you don't really care about the resolution but want=20 bigger fonts. You can get nice big letters by setting: fontb32=3Dterminus-b32.fnt font8x16=3Dterminus-b32.fnt font8x8=3Dterminus-b32.fnt in rc.conf Best regards Markus Anthony Jenkins via freebsd-x11 <freebsd-x11@freebsd.org> writes: > I'm running (a somewhat dated) FreeBSD 13.0-CURRENT (git commit=20 > 68c8581f7, Tue. Feb 12 13:01:55 2019) on a UEFI laptop with an=20 > Intel UHD=20 > display, booting a ZFS root filesystem (gptzfsboot(8)). I'm=20 > trying to=20 > get the console into a lower resolution than the native UHD when=20 > the=20 > kernel is booted. I can manually do this by breaking into the=20 > loader=20 > prompt at boot and entering 'mode 1', then=20 > 'boot'. loader.conf(5) says I=20 > can run this command automatically with the 'exec' directive,=20 > but the=20 > video mode doesn't change. > > $ sudo cat /boot/loader.conf > Password: > autoboot_delay=3D"3" > #boot_single=3D"YES" > boot_verbose=3D"YES" > kern.timecounter.hardware=3D"HPET" > hw.psm.synaptics_support=3D"1" > kern.vty=3D"vt" > hw.vga.textmode=3D"1" > efi_max_resolution=3D"1920x1080" > exec=3D"mode 1" > > I've also tried using directive 'efi_max_resolution' - same=20 > result. Does=20 > 'exec' work on my configuration (UEFI boot, ZFS root), or am I=20 > not using=20 > it right? I've tried putting other loader commands in 'exec'=20 > with no=20 > effect. Same question for efi_max_resolution. > > A separate question (possibly for graphics@ or x11@) is when the=20 > i915(4)=20 > kernel module from the graphics/drm-current-kmod port is loaded=20 > by=20 > rc.conf(4)'s 'kld_list' variable. When I do manually set the=20 > console=20 > resolution using 'mode 1', it is reset to maximum resolution=20 > when=20 > i915(4) is loaded. > > Thanks in advance, > Anthony Jenkins > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to=20 > "freebsd-x11-unsubscribe@freebsd.org" --=20 Liebe Gr=C3=BC=C3=9Fe Markus Graf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86blzxgrxj.fsf>