Bug 221991

Summary: i915kms: constant DRM errors
Product: Base System Reporter: Slawomir Wojciech Wojtczak <vermaden>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: emaste
Priority: --- Keywords: i915
Version: 11.1-RELEASE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
/var/log/messages none

Description Slawomir Wojciech Wojtczak 2017-09-02 08:32:55 UTC
Created attachment 185983 [details]
/var/log/messages

Hi,

I receive a lot of errors on ThinkPad T520 (Intel only) laptop with i915kms driver and 'intel' driver in xorg.conf at /var/log/messages (attached).

The CPU/GPU is Intel (R) Core(TM) i7-2640M.

The OS is FreeBSD 11.1-RELEASE-p1, the 1064 PID is 'X' (xorg).

Regards,
vermaden
Comment 1 Slawomir Wojciech Wojtczak 2017-09-02 08:38:29 UTC
Packages.

% pkg info -oa | grep intel
xf86-video-intel-2.99.917.20170228_1 x11-drivers/xf86-video-intel

% pkg info -oa | grep xorg 
linux-c6-xorg-libs-7.4_10      x11/linux-c6-xorg-libs
xorg-7.7_3                     x11/xorg
xorg-apps-7.7_2                x11/xorg-apps
xorg-docs-1.7.1,1              x11/xorg-docs
xorg-drivers-7.7_5             x11-drivers/xorg-drivers
xorg-fonts-7.7_1               x11-fonts/xorg-fonts
xorg-fonts-100dpi-7.7          x11-fonts/xorg-fonts-100dpi
xorg-fonts-75dpi-7.7           x11-fonts/xorg-fonts-75dpi
xorg-fonts-cyrillic-7.7        x11-fonts/xorg-fonts-cyrillic
xorg-fonts-miscbitmaps-7.7     x11-fonts/xorg-fonts-miscbitmaps
xorg-fonts-truetype-7.7_1      x11-fonts/xorg-fonts-truetype
xorg-fonts-type1-7.7           x11-fonts/xorg-fonts-type1
xorg-libraries-7.7_2           x11/xorg-libraries
xorg-server-1.18.4_3,1         x11-servers/xorg-server
Comment 2 Ed Maste freebsd_committer freebsd_triage 2017-09-13 20:13:27 UTC
The common errors from the log:

4352 t520 kernel: error: [drm:pid1064:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
4155 t520 kernel: error: [drm:pid1064:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
4145 t520 kernel: error: [drm:pid1064:gen6_gt_check_fifodbg] *ERROR* MMIO read or write has been dropped 3

Does this happen before / after suspend+resume (or both)?
Comment 3 Slawomir Wojciech Wojtczak 2017-09-13 23:28:48 UTC
Both.
Comment 4 Slawomir Wojciech Wojtczak 2018-05-24 08:43:05 UTC
As 'modesetting' driver is being used even on 'intel' machines this does not neet to be open.