FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

GPU reset broken? #125

Open johalun opened 5 years ago

johalun commented 5 years ago
[drm] GPU HANG: ecode 9:0:0x85dffffb, in Compositor [100955], reason: Hang on rcs0, action: reset
drmn0: Resetting rcs0 after gpu hang

FreeBSD 13-CURRENT, DRM 4.16. X11 is frozen after this. Mouse works (is moving).

debdrup commented 5 years ago

I just experienced this now, with the additional information that it appears to have resulted in Firefox being killed.

May 22 15:57:36 nerd-thinkpad kernel: [drm] GPU HANG: ecode 6:0:0xf288fffc, in Renderer [100640], reason: Hang on rcs0, action: reset May 22 15:57:36 nerd-thinkpad kernel: drmn0: Resetting chip after gpu hang May 22 15:57:39 nerd-thinkpad kernel: pid 64394 (firefox), uid 1001: exited on signal 11 (core dumped)

uname -a: FreeBSD nerd-thinkpad.local 12.0-RELEASE-p4 FreeBSD 12.0-RELEASE-p4 GENERIC amd64 freebsd-version -kru 12.0-RELEASE-p4 12.0-RELEASE-p4 12.0-RELEASE-p5

pkg info gpu-firmware-kmod-g20190219: gpu-firmware-kmod-g20190219 Name : gpu-firmware-kmod Version : g20190219 Installed on : Sat Feb 23 22:14:30 2019 CET Origin : graphics/gpu-firmware-kmod Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : graphics kld Licenses : AMD, INTEL Maintainer : jmd@FreeBSD.org WWW : https://github.com/FreeBSDDesktop/kms-firmware Comment : Firmware modules for the linuxkpi-based KMS components Annotations : FreeBSD_version: 1200086 repo_type : binary repository : FreeBSD Flat size : 33.9MiB Description : Firmware modules for the linuxkpi-based KMS components.

Amdgpu and i915 firmware files encoded in uu format to generate loadable kernel modules. Firmware binaries originate from the linux-firmware repository.

WWW: https://github.com/FreeBSDDesktop/kms-firmware

Do tell me if there's any other information I can include; it seems like a pretty spontaneous issue, that isn't easily replicable (except that it doesn't seem to happen when there aren't many tabs open in firefox or when firefox isn't running? Will need to confirm this).