At
The graphics/drm-legacy-kmod pkg says this:
Description:Legacy DRM driver that used to be in FreeBSD base before the removal in FreeBSD 13. For newer Intel and AMD hardware, please use graphics/drm-kmod which will pick an appropriate driver for your system.
Installing the meta port drm-kmod brought in drm-fbsd12.0-kmod which states this:
On my desktop there are no users in the video group. So I manually added myself per the install instructions.
However, I am uncertain of what the hardware references mean. I could guess but I would rather not spend several days trying to figure out why my guess was wrong. This is the hardware reported in dmesg.
And I infer from this that I have an INTEL video card on the motherboard. So my questions are:
1. Is it necessary to add a
2. Do I add
3. What are the consequences of rebooting the system with the wrong entry in /etc/rc.conf?
Code:
System Events
=-=-=-=-=-=-=
Jan 30 09:21:34 <daemon.warn> vhost04 console-kit-daemon[1902]: WARNING: Error
waiting for native console 1 activation: Inappropriate ioctl for device
Jan 30 09:21:35 <kern.crit> vhost04 kernel: info: [drm] Initialized drm 1.1.0
20060810
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0:
=======================================================
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0: This code is obsolete
abandonware. Install the graphics/drm-legacy-kmod pkg
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0:
=======================================================
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0: Deprecated code (to be
removed in FreeBSD 13): drm2 drivers
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0:
=======================================================
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0: This code is obsolete
abandonware. Install the graphics/drm-legacy-kmod pkg
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0:
=======================================================
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0: Deprecated code (to be
removed in FreeBSD 13): drm2 drivers
Jan 30 09:21:35 <kern.crit> vhost04 kernel: drmn0: <Intel G45/G43> on vgapci0
Jan 30 09:21:35 <kern.crit> vhost04 kernel: info: [drm] MTRR allocation failed.
Graphics performance may suffer.
The graphics/drm-legacy-kmod pkg says this:
Description:Legacy DRM driver that used to be in FreeBSD base before the removal in FreeBSD 13. For newer Intel and AMD hardware, please use graphics/drm-kmod which will pick an appropriate driver for your system.
Installing the meta port drm-kmod brought in drm-fbsd12.0-kmod which states this:
Code:
The drm-fbsd12.0-kmod port can be enabled for amdgpu (for AMD GPUs starting
with the HD7000 series / Tahiti) or i915kms (for Intel APUs starting with
HD3000 / Sandy Bridge) through kld_list in /etc/rc.conf. radeonkms for older
AMD GPUs can be loaded and there are some positive reports if EFI boot is NOT
enabled (similar to amdgpu).
For amdgpu: kld_list="amdgpu"
For Intel: kld_list="/boot/modules/i915kms.ko"
For radeonkms: kld_list="/boot/modules/radeonkms.ko"
Please ensure that all users requiring graphics are members of the
"video" group.
On my desktop there are no users in the video group. So I manually added myself per the install instructions.
However, I am uncertain of what the hardware references mean. I could guess but I would rather not spend several days trying to figure out why my guess was wrong. This is the hardware reported in dmesg.
Code:
CPU: Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz (2666.42-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x1067a Family=0x6 Model=0x17 Stepping=10
vtvga0: <VT VGA driver> on motherboard
vgapci0: <VGA-compatible display> port 0xf1a0-0xf1a7 mem 0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
agp0: <Intel G45 SVGA controller> on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory
vgapci0: Boot video device
vgapci1: <VGA-compatible display> mem 0xd0400000-0xd04fffff at device 2.1 on pci
And I infer from this that I have an INTEL video card on the motherboard. So my questions are:
1. Is it necessary to add a
kld_list
entry in /etc/rc.conf2. Do I add
kld_list="/boot/modules/i915kms.ko"
to /etc/rc.conf or is there some other entry that I should make?3. What are the consequences of rebooting the system with the wrong entry in /etc/rc.conf?