Hello to everyone.
I'm a new net-bsd user. I'm learning and trying this OS. The first step is to correctly configure the resolution of my screen. On my PC I have 3 graphic cards :
1) 000:02:0: Intel UHD Graphics 630 (VGA display, revision 0x02)
2) 001:00:0: NVIDIA product 1e04 (VGA display, revision 0xa1) : (NVIDIA RTX 2080ti)
3) 002:00:0: NVIDIA GeForce GTX 1060 3GB (VGA display, revision 0xa1)
On the BIOS I have configured the Intel UHD Graphics 630 as the primary GPU device and my screen is attached to the HDMI port of that GPU. The problem that
I have is that I'm not able to use the intel driver,instead of the nouveau.
Below u can see all the hardware specs of my PC :
netbsd-marietto# pcictl pci0 list
000:00:0: Intel Xeon E (S, Desktop) Host Bridge, DRAM (host bridge, revision 0x0d)
000:01:0: Intel Core 6G PCIe x16 (PCI bridge, revision 0x0d)
000:01:1: Intel Core 6G PCIe x8 (PCI bridge, revision 0x0d)
000:02:0: Intel UHD Graphics 630 (VGA display, revision 0x02)
000:18:0: Intel 300 Series Thermal (miscellaneous DASP, revision 0x10)
000:20:0: Intel 300 Series USB 3.1 xHCI (USB serial bus, xHCI, revision 0x10)
000:20:2: Intel 300 Series Shared SRAM (RAM memory, revision 0x10)
000:22:0: Intel 300 Series MEI (miscellaneous communications, revision 0x10)
000:23:0: Intel 300 Series SATA (AHCI) desktop (SATA mass storage, AHCI 1.0, revision 0x10)
000:27:0: Intel 300 Series PCIe (PCI bridge, revision 0xf0)
000:28:0: Intel 300 Series PCIe (PCI bridge, revision 0xf0)
000:28:5: Intel 300 Series PCIe (PCI bridge, revision 0xf0)
000:29:0: Intel 300 Series PCIe (PCI bridge, revision 0xf0)
000:31:0: Intel Z390 LPC (ISA bridge, revision 0x10)
000:31:3: Intel 300 Series cAVS (mixed mode multimedia, revision 0x10)
000:31:4: Intel 300 Series SMBus (SMBus serial bus, revision 0x10)
000:31:5: Intel 300 Series SPI (FLASH) (miscellaneous serial bus, revision 0x10)
000:31:6: Intel I219-V Ethernet Connection (ethernet network, revision 0x10)
001:00:0: NVIDIA product 1e04 (VGA display, revision 0xa1)
001:00:1: NVIDIA product 10f7 (mixed mode multimedia, revision 0xa1)
001:00:2: NVIDIA product 1ad6 (USB serial bus, xHCI, revision 0xa1)
001:00:3: NVIDIA product 1ad7 (miscellaneous serial bus, revision 0xa1)
002:00:0: NVIDIA GeForce GTX 1060 3GB (VGA display, revision 0xa1)
002:00:1: NVIDIA product 10f1 (mixed mode multimedia, revision 0xa1)
003:00:0: Micron/Crucial Technology product 5403 (Flash mass storage, NVMe, revision 0x03)
005:00:0: Renesas Technologies uPD720201 USB 3.0 Host Controller (USB serial bus, xHCI, revision 0x03)
netbsd-marietto# dmesg
[ 15.871239] wsdisplay0: screen 1 added (default, vt100 emulation)
[ 15.871239] wsdisplay0: screen 2 added (default, vt100 emulation)
[ 15.871239] wsdisplay0: screen 3 added (default, vt100 emulation)
[ 15.871239] wsdisplay0: screen 4 added (default, vt100 emulation)
Uninstalled modular-xorg
and xf86-video-intel
--Just use what's in the base install.
Re-created the DRM devices. As root:
cd /dev
sh ./MAKEDEV drm0 drm1 drm2
Edited /boot.cfg
and disabled the nouveau
drivers by adding this line:
userconf=disable nouveau*
Rebooted.
Below you can see my config. files :
nano /boot.cfg
menu=Boot normally:rndseed /var/db/entropy-file;gop 4;boot
menu=Boot single user:rndseed /var/db/entropy-file;boot -s
menu=Drop to boot prompt:prompt
userconf=disable nouveau*
default=1
timeout=5
clear=1
Below u can see the most relevant packages (among others,for the graphic part) that I have installed :
netbsd-marietto# pkgin list
intel-microcode-netbsd-20210608 Firmware updates for Intel x86 processors
intel-vaapi-driver-2.4.0 VA-API user mode driver for Intel GEN Graphics family
modular-xorg-fonts-1.1 Modular Xorg font meta-package
wayland-1.18.0nb3 Display server protocol - development libraries
wayland-protocols-1.20 Additional wayland functionality
x11-links-1.34 Shadow tree of links to native X11 headers and libraries
and I've created the file wsfb.conf that I have placed it into the folder /etc/X11/
Section "Device"
Identifier "Card0"
Driver "intel"
EndSection
When I reboot the PC I do :
netbsd-marietto# dmesg | grep intel
netbsd-marietto#
It seems that it ignores the file wsfb.conf located in /etc/X11 and since I haven't any xorg.conf in /etc/X11/, xorg starts because it gets the default values. I've also tried to create a xorg.conf file like this :