Bug 229794 - GPU HANG error with graphics/drm-next-kmod and braswell under FreeBSD 11.2
Summary: GPU HANG error with graphics/drm-next-kmod and braswell under FreeBSD 11.2
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Johannes M Dieterich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-15 22:42 UTC by Dan MacDonald
Modified: 2018-08-13 08:50 UTC (History)
1 user (show)

See Also:


Attachments
screenshot of FreeBSD 11.2 braswell GPU HANG error (519.76 KB, image/jpeg)
2018-07-15 22:42 UTC, Dan MacDonald
no flags Details
tarball of various ubuntu 18.04 log files - xorg, dmidecode, mpv, dmesg etc (23.22 KB, application/x-xz)
2018-08-06 22:58 UTC, Dan MacDonald
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan MacDonald 2018-07-15 22:42:03 UTC
Created attachment 195163 [details]
screenshot of FreeBSD 11.2 braswell GPU HANG error

I upgraded my FreeBSD server from 11.1 to 11.2 a couple of days ago. The main reason I did so was in the hope that I would finally get accelerated graphics working but I've had no such luck. The mobo is a Gigabyte N3150-N D3V which I think uses a Braswell GPU, which is supposed to be supported by drm-next-kmod in ports.

I installed xorg-video-intel, the kernel source for FreeBSD 11.2 and I installed drm-next-kmod from ports then loaded the kernel module in rc.conf with: 

kld_list="/boot/modules/i915kms.ko" 

When I try booting with the kernel module I get the error in the attached screenshot. I have provided some more logs here:

https://forums.freebsd.org/threads/braswell-gpu-support.66678/

Thanks
Comment 1 Dan MacDonald 2018-08-06 22:58:58 UTC
Created attachment 195955 [details]
tarball of various ubuntu 18.04 log files - xorg, dmidecode, mpv, dmesg etc

tarball of various ubuntu 18.04 log files - xorg, dmidecode, mpv, dmesg etc

With the hardware detailed in the attached logs, I can play the UHD MP4 file smoothly at full UHD res on my UHD display with in-sync audio (both being sent over the DVI to HDMI cable) under the Ubuntu 18.04.1 build of mpv. I would like to be able to do the same under FreeBSD with the same hardware, sound optional. I would be happy just to get the vaapi hardware decoding working under FreeBSD, I'm not as concerned about HDMI audio right now.
Comment 2 Dan MacDonald 2018-08-13 08:50:17 UTC
I'm going to close this because I have found the correct place to file bugs for the drm kmod:

https://github.com/FreeBSDDesktop/kms-drm/issues/86