https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217689
--- Comment #14 from Friedrich Volkmann <[email protected]> ---
(In reply to Niclas Zeising from comment #13)
I was using FBSD 11-STABLE and now upgraded to 12-STABLE. No significant
change...
I do not have any drm in the kernel config file. Upon starting X, i915kms.ko
and drm2.ko are automatically loaded. These are certainly taken from the
/boot/kernel directory, as the same thing happens when I load i915kms.ko in the
console manually. The console gets black, so I can't ready any output nor what
I'm writing. But when I type "startx", the display mode changes into graphics
and it works. When I return to the console via ctrl-alt-F1 or terminating X, it
is black again.
/usr/src/UPDATING advises to:
1) add WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t
but it doesn't say where to add them. In the kernel config they don't work.
After a quick web search, I've added them to /etc/make.conf, but I still have
no Idea what they are doing.
2) "amd64 users should just install the drm-kmod port", but that ports installs
documentation only, no modules. So I installed drm-fbsd12.0-kmod (version:
4.16.g20181215) instead. But there seem to be numerous issues with that port:
# kldload /boot/modules/i915kms.ko
link_elf_obj: symbol vt_fb_attach undefined
Warning: memory type linux leaked memory on destroy (2 allocations, 144 bytes
leaked).
linker_load_file: /boot/modules/drm.ko - unsupported file type
KLD i915kms.ko: depends on drmn - not available or version mismatch
linker_load_file: /boot/modules/i915kms.ko - unsupported file type
kldload: an error occurred while loading module /boot/modules/i915kms.ko.
Please check dmesg(8) for more details.
So I deinstalled that port and installed drm-legacy-kmod, but kldloading
/boot/modules/i915kms.ko has the same effect as /boot/kernel/i915kms.ko.
There's some output when the module is loaded, but I can't read it, because it
immediately disappears. This is what's in /var/log/messages:
kernel: drmn0: =======================================================
kernel: drmn0: This code is obsolete abandonware. Install the
graphics/drm-legacy-kmod pkg
kernel: drmn0: =======================================================
kernel: drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers
kernel: drmn0: =======================================================
kernel: drmn0: This code is obsolete abandonware. Install the
graphics/drm-legacy-kmod pkg
kernel: drmn0: =======================================================
kernel: drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers
kernel: drmn0: <Intel Haswell (GT2 desktop)> on vgapci0
kernel: info: [drm] Memory usable by graphics device = 2048M
kernel: info: [drm] MTRR allocation failed. Graphics performance may suffer.
kernel: intel_iicbb0 on drmn0
kernel: iicbus0: <Philips I2C bus>error: [drm:pid2681:i915_write32] *ERROR*
Unknown unclaimed register before writing to c5100
kernel: on iicbb0 addr 0xff
[...]
kernel: info: [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
kernel: info: [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
Writing this, I realize that this has been closed. That's certainly ok, because
it's not an x11-drivers issue but a kernel issue. I just wonder where the new
bug resides?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.