Open oyvinht opened 1 month ago
I think you need newly merged 6.6-drm-kmod for intel discrete GPU
Oh, right, thanks. That requires 15-CURRENT to compile, I guess.
For what it's worth, I complied drm-kmod on 14-stable, and did some rudimentary debugging.
For now, I discovered that I could at least replace the normal UEFI framebuffer and switch the console to 3840 x 2160 by commenting out from drivers/gpu/drm/i915/i915_gem.c:
@@ -1192,12 +1192,12 @@ int i915_gem_init(struct drm_i915_private *dev_priv)
* FIXME: break up the workarounds and apply them at the right time!
*/
intel_clock_gating_init(dev_priv);
-
+ /*
for_each_gt(gt, dev_priv, i) {
ret = intel_gt_init(gt);
if (ret)
goto err_unlock;
- }
+ }*/
and add a return before setting ppgtt->vm.insert_page = gen8_ppgtt_insert_entry;
in drivers/gpu/drm/i915/gt/gen8_ppgtt.c.
I'll see if I can find the time to debug a little deeper.
It crashed on starting X with modesetting, though (I have no debugger screenshot).
Describe the bug Kernel panic when loading i915kms, as shown in image below.
FreeBSD version FreeBSD beta-orionis 14.1-RELEASE-p3 FreeBSD 14.1-RELEASE-p3 GENERIC amd64 1401000 1401000
PCI Info
DRM KMOD version drm-61-kmod 6.1.92
To Reproduce Install an Intel A380 card. The one used here is an ASRock Intel Arc A380 Low Profile.
Then do either:
sudo kldload i915kms
or start Xorg with the "intel" driver.
Screenshots
Additional context