[drm-kmod] Help completing the compatibility matrix "Intel GPUs vs FreeBSD versions"

Updated the table again.
The approach trying to collect information in the forums didn't really work out, as too few people use brand-new Intel stuff.

Better is probably letting the installer send the success/failure data of all combos marked with ? to a server, so the people using the installer can effortlessly help collecting good data, quantity- and quality-wise, if they want, while keeping traffic to a minimum.

Will send Mjölnir the table generator script, so he can use and optimize the thing for the Wiki. Thank you very much, Mjölnir!

And many thanks to all posters!
Your help was essential to prove these old statements wrong that drm-kmod soon will only work with Haswell and higher.
 
hi....i am using a haswell i7 cpu.....2013 model....it comes with a Haswell-ULT Integrated Graphics Controller n a nvidia GF117M. my kld_list=i915kms. freebsd 12.2 works. i could run 3k video clips with mpv by installing libva-intel-driver n libva-intel-hybrid-driver running hardware rendering. without those 2 libva drivers, 3k runs on software rendering. the same thing also works on freebsd 13 RELEASE, but not on freebsd 13 STABLE. on 13 STABLE, I could not load i915kms module. i even tried installing xf86-video-intel but still didn't work. i tried both drivers from binary n ports...
 
hi....i am using a haswell i7 cpu.....2013 model....it comes with a Haswell-ULT Integrated Graphics Controller n a nvidia GF117M. my kld_list=i915kms. freebsd 12.2 works. i could run 3k video clips with mpv by installing libva-intel-driver n libva-intel-hybrid-driver running hardware rendering. without those 2 libva drivers, 3k runs on software rendering. the same thing also works on freebsd 13 RELEASE, but not on freebsd 13 STABLE. on 13 STABLE, I could not load i915kms module. i even tried installing xf86-video-intel but still didn't work. i tried both drivers from binary n ports...
Hello,

you need to build graphics/drm-kmod from ports if you are using 13 STABLE because there could be a kernel mismatch by using the official binary version because they are built for 13-RELEASE.

To cleanup drm-kmod correctly do

pkg remove drm-kmod && pkg autoremove.

If you move from packages to ports on this port.
 
Hello,

you need to build graphics/drm-kmod from ports if you are using 13 STABLE because there could be a kernel mismatch by using the official binary version because they are built for 13-RELEASE.

To cleanup drm-kmod correctly do

pkg remove drm-kmod && pkg autoremove.

If you move from packages to ports on this port.
i did those...... i tried both drivers from binary n ports...dint u read it
 
is this the one.....
Oh ok, then do you can provide a log of /var/log/messages after trying to load the kernel module?
Code:
[504] drmn0: <drmn> on vgapci0
kernel: [504] vgapci0: child drmn0 requested pci_enable_io
kernel: [504] <5>[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
kernel: [504] Successfully added WC MTRR for [0xd0000000-0xdfffffff]: 0; 
kernel: [504] <6>[drm] Got stolen memory base 0xcda00000, size 0x2000000
kernel: [504] <6>[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kernel: [504] <6>[drm] Driver supports precise vblank timestamp query.
kernel: [504] <6>[drm] Connector eDP-1: get mode from tunables:
kernel: [504] <6>[drm]   - kern.vt.fb.modes.eDP-1
kernel: [504] <6>[drm]   - kern.vt.fb.default_mode
kernel: [504] <6>[drm] Connector HDMI-A-1: get mode from tunables:
kernel: [504] <6>[drm]   - kern.vt.fb.modes.HDMI-A-1
kernel: [504] <6>[drm]   - kern.vt.fb.default_mode
kernel: [504] <6>[drm] Connector DP-1: get mode from tunables:
kernel: [504] <6>[drm]   - kern.vt.fb.modes.DP-1
kernel: [504] <6>[drm]   - kern.vt.fb.default_mode
kernel: [504] <6>[drm] Connector HDMI-A-2: get mode from tunables:
kernel: [504] <6>[drm]   - kern.vt.fb.modes.HDMI-A-2
kernel: [504] <6>[drm]   - kern.vt.fb.default_mode
kernel: [504] sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
kernel: [504] <6>[drm] Initialized i915 1.6.0 20190822 for drmn0 on minor 0
kernel: [504] WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.
kernel: [504] VT: Replacing driver "efifb" with new "fb".
kernel: [506] start FB_INFO:
kernel: [506] type=11 height=768 width=1366 depth=32
kernel: [506] cmsize=16 size=8294400
kernel: [506] pbase=0xd0419000 vbase=0xfffff800d0419000
kernel: [506] name=drmn0 flags=0x0 stride=7680 bpp=32
kernel: [506] cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000
kernel: [506] end FB_INFO
kernel: [506] drmn0: fb0: i915drmfb frame buffer device
 
According to the previous conversation among the members of the group does my current installed version of freeBSD 13 (xfce4)

automatic detects the Intel HD Graphics 4400 GPU on my machine?

Im attaching the GPU details of my system

thank you

P.S im asking because my knowledge about hardware and freeBSD has confused me




specs-pc.png
 
According to the previous conversation among the members of the group does my current installed version of freeBSD 13 (xfce4) automatic detects the Intel HD Graphics 4400 GPU on my machine?
Just look at /var/log/Xorg.0.log and check it yourself.
 
check exactly what?
This is how it looks for my Nvidia Quadro 1000M. You're looking for Intel or something related to a GPU:
/var/log/xorg.0.log
Code:
*snip*
[2266933.737] (II) LoadModule: "glx"
[2266933.788] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[2266934.160] (II) Module glx: vendor="NVIDIA Corporation"
[2266934.160]     compiled for 4.0.2, module version = 1.0.0
[2266934.160]     Module class: X.Org Server Extension
[2266934.161] (II) NVIDIA GLX Module  340.108  Wed Dec 11 14:27:50 PST 2019
[2266934.161] (II) LoadModule: "nvidia"
[2266934.161] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[2266934.269] (II) Module nvidia: vendor="NVIDIA Corporation"
[2266934.269]     compiled for 4.0.2, module version = 1.0.0
[2266934.269]     Module class: X.Org Video Driver
[2266934.291] (II) NVIDIA dlloader X Driver  340.108  Wed Dec 11 14:09:07 PST 2019
[2266934.291] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[2266934.292] (--) Using syscons driver with X support (version 2.0)
[2266934.292] (--) using VT number 9

[2266934.388] (II) Loading sub module "fb"
[2266934.388] (II) LoadModule: "fb"
[2266934.388] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[2266934.428] (II) Module fb: vendor="X.Org Foundation"
[2266934.428]     compiled for 1.20.11, module version = 1.0.0
[2266934.428]     ABI class: X.Org ANSI C Emulation, version 0.4
[2266934.428] (WW) Unresolved symbol: fbGetGCPrivateKey
[2266934.428] (II) Loading sub module "wfb"
[2266934.428] (II) LoadModule: "wfb"
[2266934.491] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[2266934.521] (II) Module wfb: vendor="X.Org Foundation"
[2266934.521]     compiled for 1.20.11, module version = 1.0.0
[2266934.521]     ABI class: X.Org ANSI C Emulation, version 0.4
[2266934.521] (II) Loading sub module "ramdac"
[2266934.521] (II) LoadModule: "ramdac"
[2266934.522] (II) Module "ramdac" already built-in
[2266934.611] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[2266934.612] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[2266934.612] (==) NVIDIA(0): RGB weight 888
[2266934.612] (==) NVIDIA(0): Default visual is TrueColor
[2266934.612] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[2266934.639] (**) NVIDIA(0): Enabling 2D acceleration
[2266935.223] (II) NVIDIA(0): NVIDIA GPU Quadro 1000M (GF108GL) at PCI:1:0:0 (GPU-0)
[2266935.223] (--) NVIDIA(0): Memory: 2097152 kBytes
[2266935.223] (--) NVIDIA(0): VideoBIOS: 70.08.55.00.0c
[2266935.223] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[2266935.252] (--) NVIDIA(0): Valid display device(s) on Quadro 1000M at PCI:1:0:0
[2266935.252] (--) NVIDIA(0):     CRT-0
[2266935.252] (--) NVIDIA(0):     Lenovo Group Limited (DFP-0) (boot, connected)
[2266935.252] (--) NVIDIA(0):     DFP-1
[2266935.252] (--) NVIDIA(0):     DFP-2
[2266935.252] (--) NVIDIA(0):     DFP-3
[2266935.252] (--) NVIDIA(0):     DFP-4
[2266935.252] (--) NVIDIA(0):     DFP-5
[2266935.252] (--) NVIDIA(0):     DFP-6
[2266935.252] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): Lenovo Group Limited (DFP-0): Internal LVDS
[2266935.252] (--) NVIDIA(GPU-0): Lenovo Group Limited (DFP-0): 330.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): DFP-1: Internal TMDS
[2266935.252] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): DFP-2: Internal TMDS
[2266935.252] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): DFP-3: Internal TMDS
[2266935.252] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): DFP-4: Internal DisplayPort
[2266935.252] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): DFP-5: Internal DisplayPort
[2266935.252] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[2266935.252] (--) NVIDIA(0): DFP-6: Internal DisplayPort
[2266935.252] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[2266935.252] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[2266935.252] (**) NVIDIA(0):     device Lenovo Group Limited (DFP-0) (Using EDID
[2266935.252] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[2266935.252] (==) NVIDIA(0): 
[2266935.253] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[2266935.253] (==) NVIDIA(0):     will be used as the requested mode.
[2266935.253] (==) NVIDIA(0): 
[2266935.253] (II) NVIDIA(0): Validated MetaModes:
[2266935.253] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[2266935.253] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 900
[2266936.316] (--) NVIDIA(0): DPI set to (119, 120); computed from "UseEdidDpi" X config
[2266936.316] (--) NVIDIA(0):     option
[2266936.316] (II) NVIDIA: Reserving 3072.00 MB of virtual memory for indirect memory
[2266936.316] (II) NVIDIA:     access.
[2266936.324] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[2266936.824] (==) NVIDIA(0): Disabling shared memory pixmaps
[2266936.824] (==) NVIDIA(0): Backing store enabled
[2266936.824] (==) NVIDIA(0): Silken mouse enabled
[2266936.851] (**) NVIDIA(0): DPMS enabled
[2266936.858] (II) Loading sub module "dri2"
[2266936.858] (II) LoadModule: "dri2"
[2266936.858] (II) Module "dri2" already built-in
[2266936.864] (II) NVIDIA(0): [DRI2] Setup complete
[2266936.864] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
*snip*
 
Hello everyone,

The i915 driver is reported to work on the table above, but it in my case with a fresh 13.1-RELEASE install, it doesn't. The driver isn't loaded as reported in bug report #245443, and vgapci is used instead.

Seeing the graphics/gpu-firmware-intel-kmod port and it's Makefile, it looks like flavor CometLake is missing, while earlier CoffeLake is still available. As far as I understand this wiki page, CometLake is supported by Linux 5.4 and should be available with FreeBSD 13. In bug report #245443 it was suggested to use drm-devel-kmod instead of drm-kmod with 13.0-CURRENT, but neither the port nor the package are there anymore.

Any idea to get i915/cometLake loaded by Xorg? Thanks a lot.
 
Back
Top