i915 driver not loaded at booting

Martin Ivanov marto1980 at gmail.com
Sun May 5 21:24:26 PDT 2024


Hello,
I have DragonFlyBSD 6.4.0 on my ASUS laptop with an embedded intel graphics
card. The  driver i915 does not get loaded during boot, so I have to either
load it manually or, as I recently solved it, add load_i915 to
/etc/rc.conf. Is the last a good solution? I previously tried doing that in
a custom executable script in /usr/local/etc/rc.d with "kldload i915", but
it sometimes lead to kernel panic during booting. Having  load_i915="YES"
in /etc/rc.conf seems to be stabler so far.

Actually, why in the first place does the loading of i915 not happen during
boot without that line in /etc/rc.conf? In my dmesg I see several attempts
for that to happen, but obviously none of them succeeds. Here is what I
noted in dmesg:

[drm] pdev:  vendor=0x8086  device=0x591b rev=0x04
[drm]       svendor=0x1043 sdevice=0x1970 irq=17
WARN_ON(domain->wake_count == 0)<4>WARN_ON(domain->wake_count ==
0)<4>WARN_ON(domain->wake_count == 0)error: [drm:pid220:gen8_gmch_probe]
*ERROR* Can't set DMA mask/consistent mask (-5)
[drm] Memory usable by graphics device = 4096M
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
i915/kbl_dmc_ver1_01.bin: could not load firmware image, error 2
drm1: Failed to load DMC firmware i915/kbl_dmc_ver1_01.bin. Disabling
runtime power management.
drm1: DMC firmware homepage:
https://01.org/linuxgraphics/downloads/firmwaretunable drm.video.DP-1 is
not set
tunable drm.video.HDMI-A-1 is not set
tunable drm.video.DP-2 is not set
RPM wakelock ref not held during HW access<4>RPM wakelock ref not held
during HW access<6>[drm] taking over the fictitious range
0x40000000-0x10000000
[drm] Initialized i915 1.6.0 20171023 for dev_name on minor 0
kms console: xpixels 1920 ypixels 1080
[drm] DRM_I915_DEBUG_GEM enabled
drm1 on vgapci1
[drm] RC6 on
i915: warning, request 0xfffff801501aafc0 not completed

My complete dmesg output is attached (dmesg.log).

Any suggestions will be appreciated.

Best regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20240506/171f793b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: application/octet-stream
Size: 72428 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20240506/171f793b/attachment-0001.obj>


More information about the Users mailing list