Solved screen resolution

When freebsd boots it shows screen 640x480. When I start mate DE it only shows 720 x 400. There are no options in display manager. I have installed ubumtu and Arco liniux in the past on this 386 PC and it has the screen resolution 1920 x 1080. How can I set this up. The video card is HIS SP3-41H-C 1gB HDMI video card. It runs on an nvidia driver. When I run xandr -q it says it does not recognise the monitor.
What can I do.
 
Which version of FreeBSD do you have installed? Did you install the NVidea driver x11/nvidia-driver?

You can set the screen resolution of the console via sysctl(8) knobs of the vt(4) kernel module. Most sysctl(8) settings can be added to sysctl.conf(5) to make them persistent across reboots, but some can only be set at boot time. The latter can be added to loader.conf(5) instead, and then the values shall be inside quotation marks, like this: kern.vt.fb.modes.LVDS="1920x1080" (in sysctl.conf(5) the quotes are not mandatory).

Please read the FreeBSD manual. Either install it (see below) or read online. Please be patient, FreeBSD is harsh to newbies but cozy to wizzards; it is not a pre-configured system to offer a graphical desktop system out of the box. Instead you'll have to do all the necessary configuration yourself. But if you're willing to learn, it gives you an excellent system with full control on every aspect of hard- and software.

Standard disclaimer:
  • install the docs: pkg install {de,en}-freebsd-doc, replace de with your native tongue, and point your favorite browser to /usr/local/share/doc/freebsd.
  • You can add to the ALIAS section of /usr/local/etc/pkg.conf message: "query '[%C/%n] %M'",, read through all pkg message|less and apply the requested settings.
  • Instead of less(1), you may find sysutils/most more user-friendly. Beginners will prefer edit(1) (ee(1)), editors/aee or editors/nano instead of vi(1).
  • The utilities sysutils/psearch or sysutils/portfind will help you to find available software in the ports(7) tree.
  • ports-mgmt/octopkg is a user-friendly graphical frontend to the pkg-ng package manager. It is based on the Qt toolkit and runs on every DE. AFAIK there is no Gtk-based counterpart.
  • Use sysrc(8) to safely edit system rc(8) files instead of editing rc.conf(5). It does some checks to prevent typos, and allows for advanced tricks like sudo sysrc moused_flags+=" -l 2" (note the space).
 
The video card is HIS SP3-41H-C 1gB HDMI video card. It runs on an nvidia driver.
Are you sure it runs on an NVIDIA driver? Web searching "HIS SP3-41H-C" returns Radeon:
Please post the output of the following command: pciconf -lv | grep -B3 display
 
Are you sure it runs on an NVIDIA driver? Web searching "HIS SP3-41H-C" returns Radeon:
Please post the output of the following command: pciconf -lv | grep -B3 display
Vgapci@pci0:1:0:0
class = 0x0 30000 card
0x30001787
chip 0x68e11002
rev = 0x00
hdr=0x00
vendor advanced micro devices AMD/ATI
device Park[mobility RadeonHD
class = display5430
 
Which version of FreeBSD do you have installed? Did you install the NVidea driver x11/nvidia-driver?

You can set the screen resolution of the console via sysctl(8) knobs of the vt(4) kernel module. Most sysctl(8) settings can be added to sysctl.conf(5) to make them persistent across reboots, but some can only be set at boot time. The latter can be added to loader.conf(5) instead, and then the values shall be inside quotation marks, like this: kern.vt.fb.modes.LVDS="1920x1080" (in sysctl.conf(5) the quotes are not mandatory).

Please read the FreeBSD manual. Either install it (see below) or read online. Please be patient, FreeBSD is harsh to newbies but cozy to wizzards; it is not a pre-configured system to offer a graphical desktop system out of the box. Instead you'll have to do all the necessary configuration yourself. But if you're willing to learn, it gives you an excellent system with full control on every aspect of hard- and software.

Standard disclaimer:
  • install the docs: pkg install {de,en}-freebsd-doc, replace de with your native tongue, and point your favorite browser to /usr/local/share/doc/freebsd.
  • You can add to the ALIAS section of /usr/local/etc/pkg.conf message: "query '[%C/%n] %M'",, read through all pkg message|less and apply the requested settings.
  • Instead of less(1), you may find sysutils/most more user-friendly. Beginners will prefer edit(1) (ee(1)), editors/aee or editors/nano instead of vi(1).
  • The utilities sysutils/psearch or sysutils/portfind will help you to find available software in the ports(7) tree.
  • ports-mgmt/octopkg is a user-friendly graphical frontend to the pkg-ng package manager. It is based on the Qt toolkit and runs on every DE. AFAIK there is no Gtk-based counterpart.
  • Use sysrc(8) to safely edit system rc(8) files instead of editing rc.conf(5). It does some checks to prevent typos, and allows for advanced tricks like sudo sysrc moused_flags+=" -l 2" (note the space).
freebsd V 12.2 i386
 
pkg search radeon will show you the list of precompiled ports(7) related to the term radeon (rocr & roct are not for graphics, and very likely you don't need clover). IIRC the modern KMS graphics drivers are not available for i386. But you can enable VESA in loader.conf(5) and use the x11-drivers/xf86-video-vesa driver, if Xorg(1)'s default driver does not detect high resolutions.
In my .csh.alias (included via .cshrc) I have
Code:
alias lsmod     kldstat
alias insmod    kldload
alias rmmod     kldunload
 
pkg search radeon will show you the list of precompiled ports(7) related to the term radeon (rocr & roct are not for graphics, and very likely you don't need clover). IIRC the modern KMS graphics drivers are not available for i386. But you can enable VESA in loader.conf(5) and use the x11-drivers/xf86-video-vesa driver, if Xorg(1)'s default driver does not detect high resolutions.
In my .csh.alias (included via .cshrc) I have
Code:
alias lsmod     kldstat
alias insmod    kldload
alias rmmod     kldunload
Thankyou
Just one question ? How do I access the loader.conf file. Is /boot/loader.conf if so the file was empty?
 
Please install graphics/drm-kmod: pkg install drm-kmod, then try to load the kernel module: kldload /boot/modules/radeonkms.ko. If that module loads (verify: kldstat -m radeonkms), ONLY IF that module loads (verify: kldstat -m radeonkms), THEN you can add that to rc.conf(5): sysrc kld_list+=" /boot/modules/radeonkms.ko" (note the space), ELSE do not do that sysrc kld_list+=" /boot/mod...". Other kernel modules you might want to add this way are dpms(4), acpi_video(4), and the ACPI module specific to your machine vendor; apropos -s 4 acpi shows a list of candidates. For standard kernel modules (not in /boot/modules), you can omit the full path & the .ko ending.
EDITED 02:31 UTC
 
Last edited:
Hello
I have tried the kldload but it does not load. The drm-kmod is installed and updated. I will try adding sysrc to rc.conf file next. Leigh
 
Back
Top