I'm filling this bug in order to inform the last 5.19.x kernel doesn't permit to use GPU HW acceleration. The previous 5.18.x works perfectly. This is the dmesg: ago 18 14:16:54 abc kernel: i915 0000:00:02.0: [drm] Resetting vcs0 for preemption time out ago 18 14:16:54 abc kernel: i915 0000:00:02.0: [drm] Plex Transcoder[77988] context reset due to GPU hang ago 18 14:16:54 abc kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 8:4:a8ffdf3d, in Plex Transcoder [77988] ago 18 14:17:09 abc kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:85d4fffb ago 18 14:17:09 abc kernel: i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0 (tested on 5.19.0, 5.19.1 and 5.19.2) ciao luigi Reproducible: Always Steps to Reproduce: 1. Boot kernel 5.19.x 2. Start a GPU HW transcoding (via vaapi/Plex) 3. system hangs Actual Results: System Hangs Expected Results: GPU HW transcoding should works Kernel 5.18.x works
Can you try by passing the argument enable_guc=2 to the i915 module ?
I see similar bugs around this upstream. Can you please report this upstream? There are two open relevant bugs I see: https://gitlab.freedesktop.org/drm/intel/-/issues/3740 https://gitlab.freedesktop.org/drm/intel/-/issues/3398 There's also instructions on how to report i915 bugs: https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
(In reply to Mike Pagano from comment #1) > Can you try by passing the argument enable_guc=2 to the i915 module ? I will give a try, but from my understanding guc is not available on my GPU. ciao luigi
(In reply to Luigi 'Comio' Mantellini from comment #3) > (In reply to Mike Pagano from comment #1) > > Can you try by passing the argument enable_guc=2 to the i915 module ? > > I will give a try, but from my understanding guc is not available on my GPU. > > ciao > > luigi on gentoo-kernel-bin-5.19.3 even enabling guc the issue remains: ... [ 3.700478] i915 0000:00:02.0: [drm] Incompatible option enable_guc=2 - GuC is not supported! [ 3.700501] i915 0000:00:02.0: [drm] Incompatible option enable_guc=2 - HuC is not supported! ... [ 158.199612] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:85defffb, in Plex Transcoder [5168] [ 158.200658] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0 [ 158.200726] i915 0000:00:02.0: [drm] Plex Transcoder[5168] context reset due to GPU hang [ 158.205685] i915 0000:00:02.0: [drm] Resetting vcs0 for CS error [ 158.205709] i915 0000:00:02.0: [drm] Plex Transcoder[5168] context reset due to GPU hang [ 158.228581] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:4:40000ffe, in Plex Transcoder [5168] ... I will fill a bug report on upstream. ciao luigi
(In reply to Mike Pagano from comment #2) > I see similar bugs around this upstream. > > Can you please report this upstream? > > There are two open relevant bugs I see: > https://gitlab.freedesktop.org/drm/intel/-/issues/3740 > https://gitlab.freedesktop.org/drm/intel/-/issues/3398 > > > There's also instructions on how to report i915 bugs: > > https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs Upstream bug: https://gitlab.freedesktop.org/drm/intel/-/issues/6665 ciao luigi
Created attachment 801835 [details, diff] Revert "drm/i915: Individualize fences before adding to dma_resv obj" upstream commit This revert seems to solve the issue.
See upstream bug https://gitlab.freedesktop.org/drm/intel/-/issues/6665#note_1526565 ciao
Great work, thanks, queued for next release for gentoo-sources 5.19.6 commit cad5407b6e30efaf8a467c509b29ba5fb67f0cc8 (HEAD -> 5.19, origin/5.19) Author: Mike Pagano <mpagano@gentoo.org> Date: Wed Aug 31 09:32:29 2022 -0400 Revert fix from upstream for DRM/i915 thanks to Luigi 'Comio' Mantellini Bug: https://bugs.gentoo.org/866023 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ac0a98df573e702d624119d0fb4680fffeca1a commit b6ac0a98df573e702d624119d0fb4680fffeca1a Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-08-31 15:58:55 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-08-31 15:58:55 +0000 sys-kernel/gentoo-sources: add 5.19.6 and two fixes Revert fix from upstream for DRM/i915 thanks to Luigi 'Comio' Mantellini Closes: https://bugs.gentoo.org/866023 x86/sev: Don't use cc_platform_has() for early SEV-SNP calls Closes: https://bugs.gentoo.org/865831 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-5.19.6.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 32 insertions(+)
Hi Mile Pagano, The Linux Kernel 5.19.11 has the following patch to fix the issue: commit dd52bde6767eba4f0800a2a60f91bc97cda3775c Author: Nirmoy Das <nirmoy.das@intel.com> Date: Wed Sep 7 19:26:41 2022 +0200 drm/i915: Set correct domains values at _i915_vma_move_to_active commit 08b812985996924c0ccf79d54a31fc9757c0a6ca upstream. You can remove the fix from the gentoo-patchset. ciao luigi (In reply to Mike Pagano from comment #8) > Great work, thanks, queued for next release for gentoo-sources 5.19.6 > > commit cad5407b6e30efaf8a467c509b29ba5fb67f0cc8 (HEAD -> 5.19, origin/5.19) > Author: Mike Pagano <mpagano@gentoo.org> > Date: Wed Aug 31 09:32:29 2022 -0400 > > Revert fix from upstream for DRM/i915 thanks to Luigi 'Comio' Mantellini > > Bug: https://bugs.gentoo.org/866023 > > Signed-off-by: Mike Pagano <mpagano@gentoo.org>
s/Mile/Mike/g