On Mon, 12 Dec 2022, Mayuresh wrote:

On NetBSD 9.99.108 amd64 on a laptop, if I disable i915drmkms module I am
able to do startx. However then I do not get HDMI output.


With the DRMKMS driver disabled, you'll get `genfb' which is just a dumb
framebuffer driver. There's no HDMI with this. Only the primary display
will work with the genfb/wsfb (the Xorg driver which you'll very likely
be getting) combo.

With i915drmkms enabled I can get HDMI output but then I don't get X11 and
dmesg shows

   Asynchronous wait on fence i915drmkms0:X[17637]:2 timed out 
(hint:0xffffffff8075ce30)


Try the `modesetting' Xorg driver instead of `intel' and make sure the GPU
firmware blobs are present in /libdata/firmware/i915drmkms. Get these from
here:

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

The blobs should finally have a path like:

/libdata/firmware/i915drmkms/i915/something.bin

$ cat /etc/X11/xorg.conf.d/modesetting.conf
# Depends on kernel DRM
#
Section "Device"
    Identifier  "Card0"
    Driver      "modesetting"
    # Option      "SWcursor" "on"
    # Option      "ShadowFB" "off"
    # Option      "AccelMethod" "none"
EndSection
$

-RVP

Reply via email to