Please upgrade the kernel for Ubuntu 18.04 and 20.04 to fix kernel regression bug!

Hi
There is a regression issue in kernel 5.4.0 relating to the i915 driver. The GPU hangs when doing hardware rendering or video decoding/encoding which we make plenty use of.
See the related launchpad issue:
system hang: i915 Resetting rcs0 for hang on rcs0
In general, isn't there an alternative to patching the kernel in order to obtain GPIO etc? Wouldn't a module suffice? I'm asking as a layman in all things kernel.
Comments
-
Hi @Pieter Jordaan ,
We will like to reproduce this issue, Can you inform which device and ubuntu version and how to replicate this.
Best regards,
-
@camillus said:
Hi @Pieter Jordaan ,We will like to reproduce this issue, Can you inform which device and ubuntu version and how to replicate this.
Best regards,
Sorry for never replying, I must have missed the email notification.
I get a GPU crash as below:
[14767.804826] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:8fd8ffff, in gst-launch-1.0 [464476] [14767.805848] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0 [14767.805867] i915 0000:00:02.0: [drm] gst-launch-1.0[464476] context reset due to GPU hang [14782.909680] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:8fd8ffff, in gst-launch-1.0 [464476] [14782.910709] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0 [14782.910729] i915 0000:00:02.0: [drm] gst-launch-1.0[464476] context reset due to GPU hang [14787.811970] Fence expiration time out i915-0000:00:02.0:gst-launch-1.0[464476]:2f0! [14787.813041] i915 0000:00:02.0: [drm] Resetting rcs0 for request cancellation by kworker/1:0 [14787.813064] i915 0000:00:02.0: [drm] gst-launch-1.0[464476] context reset due to GPU hang
When using the UP provided kernel (5.4) and also the HWE 5.13 branch on Ubuntu 20.04.
With 5.11 it works, but since there is no upboard features GPIO is not available.
You can reproduce this by having an x-capable installation and running the following gstreamer commands:
for i in {1..10}; do DISPLAY=:0 GST_VAAPI_ALL_DRIVERS=1 gst-launch-1.0 videotestsrc ! "video/x-raw,width=400,height=300,framerate=5/1,format=I420" ! videoconvert ! queue ! vaapih264enc ! "video/x-h264" ! h264parse ! queue ! vaapidecodebin ! glimagesink sync=false & done
It should hang within a couple of seconds on an UP. I believe it is due to the hardware video decoding/encoding which has an issue with this specific CPU family and kernel version.
Similar GPU bugs have been listed on other Intel families.
Note I have tried the 5.8 branch provided here https://launchpad.net/~up-devision/+archive/ubuntu/5.8-upboard and that solves the GPU hang, however GPIO and other hardware modules are not present as linux-image-extras is not shipped in that PPA I assume.
-
Can confirm as well, even on the new PPA.
-
@UpBored said:
Can confirm as well, even on the new PPA.The annoying thing is 5.8 kernel (https://launchpad.net/~up-division/+archive/ubuntu/5.8-upboard/+packages) fixes the GPU hang, but upboard GPIO doesn't work. Any update @camillus ? This is really a blocker at the moment.
Categories
- 288 All Categories
- 104 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 179 Welcome Developers!
- 49 Unboxing & Project Sharing
- 18 Tech Updates
- 382 UP Products
- 7 UP Xtreme i11
- 15 UP Squared 6000
- 38 UP Squared Pro
- 127 UP Xtreme
- 796 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 41 UP AI Edge
- 213 Starter Kits & Peripheral