Bug 238422 - graphics/mesa-dri upgrade from mesa-dri-18.2.8 to newer causes crash in startup of some programs (i965_dri.so related)
Summary: graphics/mesa-dri upgrade from mesa-dri-18.2.8 to newer causes crash in start...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-08 17:04 UTC by irdeasem
Modified: 2019-06-09 04:02 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
Xorg.0.log from crashing session (19.28 KB, text/plain)
2019-06-08 17:04 UTC, irdeasem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description irdeasem 2019-06-08 17:04:39 UTC
Created attachment 204907 [details]
Xorg.0.log from crashing session

graphics/mesa-dri version mesa-dri-18.2.8 works ok.
After upgrading it to newer ones some applications cause Xorg server to crash (Firefox and Xpdf to name few).

If i965_dri.so file is replaced with the one from mesa-dri-18.2.8, crashing does not occur anymore (so everything works ok).
Testing done with mesa-dri-18.3.2.txz.

Laptop with FreeBSD kernel 12.0-RELEASE-p4, userland 12.0-RELEASE-p5.
Intel B960 processor, Intel HD Graphics 3000.

From rc.conf:
kld_list="i915kms"

% pkg info -x intel
pkg: No package(s) matching intel

No ports installed, everything from pkg.
Except tested mesa-dri-18.3.2.txz built self with poudriere.

Xorg log from crashing session attached.
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2019-06-08 20:28:51 UTC
Hi!
Do you have a core dump or back trace you can share for the crash?

What happens if you install drm-kmod and load /boot/modules/i915kms.ko instead?
Comment 2 irdeasem 2019-06-09 03:58:57 UTC
Hi
 Thanks and sorry!
Installing and loading drm-kmod solved the issue.
I thought I have tried it earlier, but obviously not correctly at least.