i915 driver not loaded at booting

Bill Sorenson instructionset at gmail.com
Sun May 5 21:34:42 PDT 2024


I could be wrong, but what I think is supposed to happen is that the
correct kernel module is supposed to load automatically when Xorg starts.
In my experience sometimes that doesn't work for some reason. What I have
done on both freebsd and dragonfly is do exactly what you are doing there
and figure out what driver I need and manually load the kernel module. I
also believe there are sometimes multiple drm drivers that might work in
principle (amdgpu and radeon for instance) and so it might be a good idea
to manually load the correct driver for that reason.

-Bill

On Sun, May 5, 2024 at 11:24 PM Martin Ivanov <marto1980 at gmail.com> wrote:

> 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/20240505/ed26a29e/attachment.htm>


More information about the Users mailing list