X11 breaks for Intel after ports update from r433396 -> r433935?
David Shao
davshao at gmail.com
Wed Feb 15 05:00:48 UTC 2017
>From past DragonFly dports to
x11-drivers/xf86-video-intel29
and FreeBSD ports, in pkgsrc-wip I have had success
running xorg server 19 and mesa 17.0.0 with the patch:
--- src/intel_device.c.orig 2014-11-18 21:50:39.000000000 +0000
+++ src/intel_device.c
@@ -398,8 +398,16 @@ static int __intel_open_device__legacy(c
pci->domain, pci->bus, pci->dev, pci->func);
ret = drmCheckModesettingSupported(id);
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ if (ret || 1) {
+ if (xf86LoadKernelModule("i915kms"))
+#elif defined(__DragonFly__)
+ if (ret || 1) {
+ if (xf86LoadKernelModule("i915"))
+#else
if (ret) {
if (xf86LoadKernelModule("i915"))
+#endif
ret = drmCheckModesettingSupported(id);
if (ret)
return -1;
Perhaps something else needs to be added for FreeBSD
versioning.
By the way, my pkgsrc-wip ports end with -dfbsd and
basically use FreeBSD ports / DragonFly dports patches
applied to pkgsrc, in addition to running on NetBSD.
More information about the freebsd-x11
mailing list