Summary: | graphics/gpu-firmware-intel-kmod freezes system on load | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | rkoberman |
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | cy, fgorter, grahamperrin, manu, tamaru |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276057 |
Description
rkoberman
2023-04-16 21:09:48 UTC
Can you test again with latest version of the ports (_4), we now disable GuC by default as there is problems on gen12+ with it. Now I have a new problem... I only have _2 in my tree. I just did a pull to update my tree and it updated a bunch of ports, but not drm-515-kmod. So I guess I need to troubleshoot this first. Oops my bad, the portrevision is _2 so you already have the latest version. I don't have access to an 12th gen hardware so can you open an issue at https://github.com/freebsd/drm-kmod/ please ? The PORTREVISION is _2. But the GH_TAG is _4. Is that the latest? I think _4 was committed with PORTREVISION 2. Looks like something may be messed up as bumps to thetag and distinfo are distinct are the only changes. Looks a lot like a bad commit for both 3 and 4 and building is building _4 without realizing it. (In reply to rkoberman from comment #0) Are you doing anything special in your /boot/loader.conf file, regarding compat.linuxkpi.i915* settings? (In reply to fgorter from comment #5) Nothing. the only thing that is even remotely tied to graphics is "kern.vty=vt". I've had this problem for years ever since the switch from native FreeBSD DRM to Linux KPI DRM. The machine may panic with a page fault in DRM. Other times the machine will hang (freeze), while other times the i915 (HD3000) GPU will itself panic, as seen in the occasional core dump produced by the panic. Each of these panics, freezes, GPU panics are accompanied by X apps that use GPU acceleration appearing with blotchy streaks or blobs on them. The apps include mate-terminal, claws-mail, exmh2, firefox, and chromium. Xterm and CDE dtterm will not, because they do not use the GPU. The problem is more apt to occur when performing a lot of I/O from/to disk, like installworld. The problem also occurs when a browser is loaded in memory, probably due to the amount of memory browsers use. Setting hw.i915kms.enable_dc="0" to device.hints has eliminated/reduced the occurrence of the GPU freezes and GPU panics, though it is probably too early too tell as I just added this to device.hints. I'll have a better feel for whether this circumvention resolves my problem or not. My problem may or may not be this problem and could be unique to the HD3000 i915 GPU. I don't know. Avoiding apps which rely on the GPU while a browser is running or while performing a lot of I/O to disk, SSD, or USB disk reduces the likelihood of the problem occurring. Using apps which do not use the GPU totally circumvents the problem. After updating to drm-61-kmod, it loads the firmware and acceleration is working properly! Make a difference in several applications... obviously playing HD video but also in my Win10 VM and, surprisingly, reading my local newspaper in he web browser. (No idea why.) Guess I'll close this ticket. |