Summary: | x11-drivers/xf86-video-intel intel_drv.so seems broken in the latest version(2.99.917.909,1) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | buffy <buffyanam> |
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | manu, x11, zeising |
Priority: | --- | Flags: | linimon:
maintainer-feedback?
(x11) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
buffy
2020-11-22 01:02:10 UTC
This error usually happens when there is no installed graphics driver. Have you installed drm-kmod from ports, and are you loading /boot/modules/i915kms.ko properly? You should generally not need xf86-video-intel, nor an xorg configuration. The modesetting driver, which is installed and used by default should be enough. (In reply to buffy from comment #0) > FreeBSD 12.2-RELEASE [...] > kldload: unexpected relocation type 16 > kldload: unexpected relocation type 17 > link_elf: symbol _CurrentRuneLocale undefined Did you rebuild drm-*-kmod after upgrade? Packages from pkg.freebsd.org are built on the oldest *supported* release of a given branch. xf86-video-intel requires KMS drivers for anything newer than i810/i815. (In reply to Niclas Zeising from comment #1) Yes, I have installed drm-kmod from pkg; I loaded i915kms by adding following line to /etc/rc.conf kld_list="/boot/modules/i915kms.ko" I installed xf86-video-intel because of the default resolution which is too low for my display(currently 1024x768, but I have a display of 1920x1080 res). Here is my loaded kernel modules: Id Refs Address Size Name 1 43 0xffffffff80200000 227ad00 kernel 2 1 0xffffffff82a11000 12ccb0 i915kms.ko 3 1 0xffffffff82b3e000 76570 drm.ko 4 4 0xffffffff82bb5000 12d30 linuxkpi.ko 5 3 0xffffffff82bc8000 12f30 linuxkpi_gplv2.ko 6 2 0xffffffff82bdb000 6d0 debugfs.ko 7 1 0xffffffff82bdc000 1860 uhid.ko 8 1 0xffffffff82bde000 1a40 wmt.ko 9 1 0xffffffff82be0000 d890 snd_uaudio.ko 10 1 0xffffffff82bee000 2908 ums.ko 11 1 0xffffffff82bf1000 acf mac_ntpd.ko 12 1 0xffffffff82bf2000 87d0 tmpfs.ko (In reply to Jan Beich from comment #2) No, I haven't been upgrade, its a fresh install from a Freebsd-12.2-Release image; And I didn't build drm-*-kmod from ports, just installed them from pkg, I only rebuilt xf86-video-intel from ports. (In reply to buffy from comment #4) Hi! As Jan already explained, you need to build drm-*-kmod *locall* on the machine you are going to run it on. This is because packages for FreeBSD 12.2 is still built on 12.1, and this breaks drm-*-kmod. (In reply to Niclas Zeising from comment #5) Thanks Niclas & Jan , After rebuilt drm-*-kmod and change driver-intel.conf to use modesetting, my display now works as 1920x1080. > As Jan already explained, you need to build drm-*-kmod *locall* on the machine you are going to run it on. This is because packages for FreeBSD 12.2 is still built on 12.1, and this breaks drm-*-kmod. Should this be treated as a problem? Because if the user going to install FreeBSD 12.2, they are not aware to rebuilt drm-*-kmod if they don't get the desired resolution, or the pkg package need to be updated ? Seems fixed, closing. |