drm i915kms on 12.1-STABLE (r363237)

Nils Johannsen NilsJohannsen at gmx.de
Fri Jul 17 09:49:21 UTC 2020


Hi all together,
yesterday I installed 12.1-STABLE [1] with kernel version `uname -K` 1201519 on my ThinkPad E490 with 'Intel UHD Graphics 620' [2].
But if I install the 'drm-fbsd12.0-kmod' and load the driver `kldload /boot/modules/i915kms.ko` it will only show a black screen until I manually poweroff the notebook.
See the `/var/log/messages` [3] below. The 'drm-fbsd12.0-kmod' from pkg [4] behaves the sames as if I build it manually from ports. On 12.1-RELEASE it worked just fine.
Has anybody a hint for me, what might be wrong and how I should deal with it?
Regards, Nils


[1] FreeBSD-12.1-STABLE-amd64-20200702-r362880-memstick.img

[2] pciconf -lv
```
vgapci0 at pci0:0:2:0:     class=0x030000 card=0x507217aa chip=0x3ea08086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'UHD Graphics 620 (Whiskey Lake)'
    class      = display
    subclass   = VGA
```

[3] /var/log/messages
```
Jul 17 09:13:23 NilsJ-TP kernel: drmn0: <drmn> on vgapci0
Jul 17 09:13:23 NilsJ-TP kernel: vgapci0: child drmn0 requested pci_enable_io
Jul 17 09:13:23 NilsJ-TP syslogd: last message repeated 1 times
Jul 17 09:13:23 NilsJ-TP kernel: [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
Jul 17 09:13:23 NilsJ-TP kernel: Successfully added WC MTRR for [0x90000000-0x9fffffff]: 0;
Jul 17 09:13:23 NilsJ-TP kernel: [drm] Got stolen memory base 0x8a800000, size 0x2000000
Jul 17 09:13:23 NilsJ-TP kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jul 17 09:13:23 NilsJ-TP kernel: [drm] Driver supports precise vblank timestamp query.
Jul 17 09:13:23 NilsJ-TP kernel: [drm] Connector eDP-1: get mode from tunables:
Jul 17 09:13:23 NilsJ-TP kernel: [drm]   - kern.vt.fb.modes.eDP-1
Jul 17 09:13:23 NilsJ-TP kernel: [drm]   - kern.vt.fb.default_mode
Jul 17 09:14:24 NilsJ-TP syslogd: kernel boot file is /boot/kernel/kernel
Jul 17 09:14:24 NilsJ-TP kernel: ---<<BOOT>>---
Jul 17 09:14:24 NilsJ-TP kernel: Copyright (c) 1992-2020 The FreeBSD Project.
Jul 17 09:14:24 NilsJ-TP kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Jul 17 09:14:24 NilsJ-TP kernel:        The Regents of the University of California. All rights reserved.
Jul 17 09:14:24 NilsJ-TP kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Jul 17 09:14:24 NilsJ-TP kernel: FreeBSD 12.1-STABLE r363237 GENERIC amd64
```

[4] pkg info drm-fbsd12.0-kmod
```
drm-fbsd12.0-kmod-4.16.g20200221
Name           : drm-fbsd12.0-kmod
Version        : 4.16.g20200221
Installed on   : Fri Jul 17 09:10:42 2020 UTC
Origin         : graphics/drm-fbsd12.0-kmod
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : graphics kld
Licenses       : BSD2CLAUSE, MIT, GPLv2
Maintainer     : x11 at FreeBSD.org
WWW            : https://github.com/FreeBSDDesktop/kms-drm
Comment        : DRM modules for the linuxkpi-based KMS components
Options        :
        DEBUG          : off
Annotations    :
        FreeBSD_version: 1201000
        repo_type      : binary
        repository     : FreeBSD
```



More information about the freebsd-stable mailing list