A fresh 13.0-RELEASE-p6 installation with graphics/drm-kmod added as a package:
What is it with the shown error messages:
The missing DMC firmware indeed can not be found in
So where is the module
And last but not least:
Is it still recommended to build graphics/drm-kmod from ports instead of using the package, as it is mentioned in chapter 5.4.5. Video Cards of the handbook (though why is there a package then after all)?
And if using the package, will it break again (as it happened in the past) with the upgrade from 13.0-RELEASE to 13.1-RELEASE?
Code:
# dmesg | grep drm
drmn0: <drmn> on vgapci0
[drm] i915.alpha_support is deprecated, use i915.force_probe=9a49 instead
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
[drm] Got stolen memory base 0x0, size 0x0
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
drmn0: could not load firmware image 'i915/tgl_dmc_ver2_04.bin'
drmn0: Failed to load DMC firmware i915/tgl_dmc_ver2_04.bin. Disabling runtime power management.
drmn0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915<6>
[drm] Connector eDP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.eDP-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-1: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-1
[drm] - kern.vt.fb.default_mode
[drm] Initialized i915 1.6.0 20190822 for drmn0 on minor 0
name=drmn0 flags=0x0 stride=7680 bpp=32
drmn0: fb0: i915drmfb frame buffer device
# dmesg | grep -i mtrr
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>
Failed to add WC MTRR for [0x4000000000-0x4007ffffff]: -22; performance may suffer
What is it with the shown error messages:
- i915.alpha_support is deprecated, use i915.force_probe=9a49 instead
- Unable to create a private tmpfs mount, hugepage support will be disabled
- Failed to load DMC firmware i915/tgl_dmc_ver2_04.bin. Disabling runtime power management.
- Failed to add WC MTRR for [0x4000000000-0x4007ffffff]: -22; performance may suffer
i915.force_probe="9a49"
and tmpfs_load="YES"
to loader.conf(5), but that did not change anything.The missing DMC firmware indeed can not be found in
/boot/modules
although graphics/gpu-firmware-kmod has been installed as a dependency and freebsd / drm-kmod-firmware on Github lets assume that it should have been included:
Code:
# ll /boot/modules | grep i915
-r-xr-xr-x 1 root wheel 20952 Nov 4 16:42 i915_bxt_dmc_ver1_07_bin.ko*
-r-xr-xr-x 1 root wheel 153480 Nov 4 16:42 i915_bxt_guc_ver8_7_bin.ko*
-r-xr-xr-x 1 root wheel 167016 Nov 4 16:42 i915_bxt_huc_ver01_07_bin.ko*
-r-xr-xr-x 1 root wheel 23792 Nov 4 16:42 i915_cnl_dmc_ver1_06_bin.ko*
-r-xr-xr-x 1 root wheel 21368 Nov 4 16:42 i915_glk_dmc_ver1_04_bin.ko*
-r-xr-xr-x 1 root wheel 21184 Nov 4 16:42 i915_kbl_dmc_ver1_01_bin.ko*
-r-xr-xr-x 1 root wheel 21408 Nov 4 16:42 i915_kbl_dmc_ver1_04_bin.ko*
-r-xr-xr-x 1 root wheel 155224 Nov 4 16:42 i915_kbl_guc_ver9_14_bin.ko*
-r-xr-xr-x 1 root wheel 231272 Nov 4 16:42 i915_kbl_huc_ver02_00_bin.ko*
-r-xr-xr-x 1 root wheel 21496 Nov 4 16:42 i915_skl_dmc_ver1_26_bin.ko*
-r-xr-xr-x 1 root wheel 21496 Nov 4 16:42 i915_skl_dmc_ver1_27_bin.ko*
-r-xr-xr-x 1 root wheel 141576 Nov 4 16:42 i915_skl_guc_ver6_1_bin.ko*
-r-xr-xr-x 1 root wheel 160088 Nov 4 16:42 i915_skl_guc_ver9_33_bin.ko*
-r-xr-xr-x 1 root wheel 153576 Nov 4 16:42 i915_skl_huc_ver01_07_bin.ko*
-r-xr-xr-x 1 root wheel 2380640 Nov 4 19:02 i915kms.ko*
So where is the module
i915_tgl_dmc_ver2_04.bin.ko
supposed to come from?And last but not least:
Is it still recommended to build graphics/drm-kmod from ports instead of using the package, as it is mentioned in chapter 5.4.5. Video Cards of the handbook (though why is there a package then after all)?
And if using the package, will it break again (as it happened in the past) with the upgrade from 13.0-RELEASE to 13.1-RELEASE?