[Bug 251114] x11/xorg: /usr/local/bin/Xorg Segmentation Fault When Switch Virtual TTY

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 13 21:39:50 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251114

--- Comment #4 from Jan Beich <jbeich at FreeBSD.org> ---
> drm-fbsd11.2-kmod-4.11g20200420 DRM modules for the linuxkpi-based KMS components
[...]
> 24    1 0xffffffff824e1000 79c70    i915kms.ko (/boot/kernel/i915kms.ko)

It seems your're not actually using drm-*-kmod. /boot/kernel/i915kms.ko is part
of ancient in-base drm2 which is based on Linux 3.8 drivers.

According to pkg-message you need to add kld_list="/boot/modules/i915kms.ko" to
rc.conf(5). It'd unlock VAAPI via libva-intel-driver as well. ;)

> (--) PCI:*(0 at 0:2:0) 8086:0116:17aa:21ed rev 9, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/65536

0116 is SandyBridge (Gen6). drm-kmod should work fine but upgarding to FreeBSD
12.* may bring more stability.

In general, userland drivers (e.g., mesa-dri, xf86-video-{intel,amdgpu,ati},
modesetting) in ports/ have to support everything but the level of support
degrades the farther away one strays from what contributors dogfood (i.e.,
-CURRENT):
- in-base drm2 aka drm-legacy-kmod are a complete abandonware
- drm-fbsd11.2-kmod is abandonware that still receive minor QA/fixes
- drm-fbsd12.0-kmod is abandonware that still receive minor QA/fixes
- drm-current-kmod is stable and receives LTS upstream fixes
- drm-devel-kmod is best maintained but can be unstable shortly after major
updates

> (II) UXA(0): Driver registered support for the following operations:
> (II)         solid
> (II)         copy
> (II)         composite (RENDER acceleration)
> (II)         put_image
> (II)         get_image

Set "AccelMethod" to "SNA" (aka Sandybridge New Acceleration) in xorg.conf(5)
for more performance. SNA is default upstream, so maybe more stable.

> (EE) 4: /usr/local/lib/xorg/modules/drivers/intel_drv.so (ignore+0x2373) [0x806659333]

Try modesetting (part of xorg-server package). Either remove xf86-video-intel
or set "Driver" to "modesetting" in xorg.conf(5).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list