You are not logged in.

#201 2020-03-25 18:01:05

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

linux-mainline currently 5.6rc7 also available prebuilt in Unofficial_user_repositories#miffe
It is currently using the same config as arch used from 5.5.1.arch2-1 to 5.5.4.arch1-1.
You can see the three config changes it is missing here which I very much doubt will have any impact on i915.

Offline

#202 2020-03-25 18:08:48

kjozsa
Member
Registered: 2008-06-05
Posts: 136

Re: i915 Skylake GPU hangs with kernel 5.3.11

@jghodd I'm just wondering, how are you testing? Are you also a Stadia player, or how else do you reproduce the issue?

Offline

#203 2020-03-26 20:03:22

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs thanks, bud. i'll do the build. wasn;t able to identify the 5.6 config changes though. the link you provided sends me to 5.5.x commits. hopefully none of the changes are applicable.

@kjozsa no testing required. just doing what i always do. every crash occurs after opening a new page in chromium or refreshing a page in chromium. chromium seems to be a big part of the issue.

Offline

#204 2020-03-27 22:47:44

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs am currently running linux-5.6-rc7. any idea where i might be able to get a version of virtualbox (host modules) that's compatible?

Offline

#205 2020-03-28 00:53:26

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

Try https://software.opensuse.org//download … virtualbox -> openSUSE -> openSUSE Leap 42.3 -> Grab binary packages directly -> virtualbox-6.0.14-502.1.src.rpm
From the archive copy fixes_for_5.6.patch into the PKGBUILD directory for virtualbox and add the patch to the PKGBUILD (diff below)

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index c36badb..fcf2669 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -78,7 +78,8 @@ source=("https://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgve
         # The following patch and mount.vboxsf wrapper should be removed
         # once support for mainline-style options string gets upstreamed
         '101-vboxsf-automount.patch'
-        'mount.vboxsf')
+        'mount.vboxsf'
+        'fixes_for_5.6.patch')
 sha256sums=('59f8f5774473f593e3eb5940e2a337e0674bcd9854164b2578fd43f896260c99'
             'SKIP'
             '76d98ea062fcad9e5e3fa981d046a6eb12a3e718a296544a68b66f4b65cb56db'
@@ -101,7 +102,8 @@ sha256sums=('59f8f5774473f593e3eb5940e2a337e0674bcd9854164b2578fd43f896260c99'
             'da7e58ed37dc23c6202aab3017864579a99e78417f3421ddcc98a198198fe2c9'
             'db617a3e7a3a94b96d5c3fe771d31c927242ef4f2cb265a22e4d5d64560a910a'
             'a784f3cc24652a16385cc63abac6c5178932ca5f3861be7650631b7dafa753a4'
-            'f3ed6741f8977f40900c8aa372fa082df1f8723d497d4fff445153c543bc8947')
+            'f3ed6741f8977f40900c8aa372fa082df1f8723d497d4fff445153c543bc8947'
+            '09916aa768c1f75af1949949a14235b76f58226949b1244f48d3f1cd5011ec39')
 
 prepare() {
     cd "VirtualBox-$pkgver"

Offline

#206 2020-03-28 01:01:13

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

got another one with linux-mainline-5.6.0-rc7:

Mar 27 20:15:26 bslxhp64 kernel: GpuWatchdog[4411]: segfault at 0 ip 0000556ae970501c sp 00007f3cbcdbb4b0 error 6 in chromium[556ae5cd9000+6f5c000]
Mar 27 20:15:26 bslxhp64 kernel: Code: ed e8 58 96 f7 fe eb e6 41 8b 84 24 08 01 00 00 85 c0 74 7d 48 8d 3d 9d a4 a9 fb be 01 00 00 00 ba 03 00 00 00 e8 e4 46 ee fe <c7> 04 25 00 00 00 00 37 13 00 00 c6 05 aa 3b cb 03 01 eb 5b 49 8b
Mar 27 20:15:26 bslxhp64 kernel: audit: type=1701 audit(1585354526.867:263): auid=1001 uid=1001 gid=1001 ses=2 pid=4395 comm="GpuWatchdog" exe="/usr/lib/chromium/chromium" sig=11 res=1
Mar 27 20:18:00 bslxhp64 kernel: INFO: task QSGRenderThread:2464 blocked for more than 122 seconds.
Mar 27 20:18:00 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:18:00 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:18:00 bslxhp64 kernel: QSGRenderThread D    0  2464      1 0x00000080
Mar 27 20:18:00 bslxhp64 kernel: Call Trace:
Mar 27 20:18:00 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:18:00 bslxhp64 kernel:  ? __switch_to_asm+0x34/0x70
Mar 27 20:18:00 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:18:00 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:18:00 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:18:00 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:18:00 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:18:00 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:18:00 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:18:00 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:18:00 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:18:00 bslxhp64 kernel: RIP: 0033:0x7fcc3b2572eb
Mar 27 20:18:00 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:18:00 bslxhp64 kernel: RSP: 002b:00007fcc1be1f568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:18:00 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007fcc1be1f5f0 RCX: 00007fcc3b2572eb
Mar 27 20:18:00 bslxhp64 kernel: RDX: 00007fcc1be1f5f0 RSI: 00000000c010645b RDI: 000000000000000f
Mar 27 20:18:00 bslxhp64 kernel: RBP: 00000000c010645b R08: 00007fcbfc06d830 R09: 00007fcbfc0008d0
Mar 27 20:18:00 bslxhp64 kernel: R10: 00007fcc3b3209e0 R11: 0000000000000246 R12: 00007fcc1be1f5f0
Mar 27 20:18:00 bslxhp64 kernel: R13: 000000000000000f R14: 00005573d9312478 R15: 00007fcbfc06d830
Mar 27 20:18:00 bslxhp64 kernel: INFO: task QSGRenderThread:2446 blocked for more than 122 seconds.
Mar 27 20:18:00 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:18:00 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:18:00 bslxhp64 kernel: QSGRenderThread D    0  2446      1 0x00000080
Mar 27 20:18:00 bslxhp64 kernel: Call Trace:
Mar 27 20:18:00 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:18:00 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:18:00 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:18:00 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:18:00 bslxhp64 kernel:  ? ttwu_do_wakeup+0x19/0x160
Mar 27 20:18:00 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:18:00 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:18:00 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:18:00 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:18:00 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:18:00 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:18:00 bslxhp64 kernel: RIP: 0033:0x7fe9e55482eb
Mar 27 20:18:00 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:18:00 bslxhp64 kernel: RSP: 002b:00007fe9bdf08658 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:18:00 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007fe9bdf086e0 RCX: 00007fe9e55482eb
Mar 27 20:18:00 bslxhp64 kernel: RDX: 00007fe9bdf086e0 RSI: 00000000c010645b RDI: 0000000000000012
Mar 27 20:18:00 bslxhp64 kernel: RBP: 00000000c010645b R08: 00007fe9b02848d0 R09: 00007fe9b0284950
Mar 27 20:18:00 bslxhp64 kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe9bdf086e0
Mar 27 20:18:00 bslxhp64 kernel: R13: 0000000000000012 R14: 0000560ff0e2c560 R15: 00007fe9b02848d0
Mar 27 20:18:00 bslxhp64 kernel: INFO: task chromium:4395 blocked for more than 122 seconds.
Mar 27 20:18:00 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:18:00 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:18:00 bslxhp64 kernel: chromium        D    0  4395   4391 0x00000084
Mar 27 20:18:00 bslxhp64 kernel: Call Trace:
Mar 27 20:18:00 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:18:00 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:18:00 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:18:00 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:18:00 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:18:00 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:18:00 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:18:00 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:18:00 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:18:00 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:18:00 bslxhp64 kernel: RIP: 0033:0x7f3cc30332eb
Mar 27 20:18:00 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:18:00 bslxhp64 kernel: RSP: 002b:00007ffed1eefe78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:18:00 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007ffed1eeff00 RCX: 00007f3cc30332eb
Mar 27 20:18:00 bslxhp64 kernel: RDX: 00007ffed1eeff00 RSI: 00000000c010645b RDI: 000000000000000c
Mar 27 20:18:00 bslxhp64 kernel: RBP: 00000000c010645b R08: 0000374468c7e518 R09: 0000000000000001
Mar 27 20:18:00 bslxhp64 kernel: R10: 0000374483481b80 R11: 0000000000000246 R12: 00007ffed1eeff00
Mar 27 20:18:00 bslxhp64 kernel: R13: 000000000000000c R14: 0000374468c7e588 R15: 00003744809d7480
Mar 27 20:18:00 bslxhp64 kernel: INFO: task kworker/u8:0:10990 blocked for more than 122 seconds.
Mar 27 20:18:00 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:18:00 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:18:00 bslxhp64 kernel: kworker/u8:0    D    0 10990      2 0x80004080
Mar 27 20:18:00 bslxhp64 kernel: Workqueue: i915 __i915_gem_free_work [i915]
Mar 27 20:18:00 bslxhp64 kernel: Call Trace:
Mar 27 20:18:00 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:18:00 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:18:00 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:18:00 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:18:00 bslxhp64 kernel:  ? __pm_runtime_resume+0x49/0x60
Mar 27 20:18:00 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:18:00 bslxhp64 kernel:  process_one_work+0x1da/0x3d0
Mar 27 20:18:00 bslxhp64 kernel:  worker_thread+0x4a/0x3d0
Mar 27 20:18:00 bslxhp64 kernel:  kthread+0xfb/0x130
Mar 27 20:18:00 bslxhp64 kernel:  ? process_one_work+0x3d0/0x3d0
Mar 27 20:18:00 bslxhp64 kernel:  ? kthread_park+0x90/0x90
Mar 27 20:18:00 bslxhp64 kernel:  ret_from_fork+0x35/0x40
Mar 27 20:20:03 bslxhp64 kernel: INFO: task QSGRenderThread:2464 blocked for more than 245 seconds.
Mar 27 20:20:03 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:20:03 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:20:03 bslxhp64 kernel: QSGRenderThread D    0  2464      1 0x00000080
Mar 27 20:20:03 bslxhp64 kernel: Call Trace:
Mar 27 20:20:03 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:20:03 bslxhp64 kernel:  ? __switch_to_asm+0x34/0x70
Mar 27 20:20:03 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:20:03 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:20:03 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:20:03 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:20:03 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:20:03 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:20:03 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:20:03 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:20:03 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:20:03 bslxhp64 kernel: RIP: 0033:0x7fcc3b2572eb
Mar 27 20:20:03 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:20:03 bslxhp64 kernel: RSP: 002b:00007fcc1be1f568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:20:03 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007fcc1be1f5f0 RCX: 00007fcc3b2572eb
Mar 27 20:20:03 bslxhp64 kernel: RDX: 00007fcc1be1f5f0 RSI: 00000000c010645b RDI: 000000000000000f
Mar 27 20:20:03 bslxhp64 kernel: RBP: 00000000c010645b R08: 00007fcbfc06d830 R09: 00007fcbfc0008d0
Mar 27 20:20:03 bslxhp64 kernel: R10: 00007fcc3b3209e0 R11: 0000000000000246 R12: 00007fcc1be1f5f0
Mar 27 20:20:03 bslxhp64 kernel: R13: 000000000000000f R14: 00005573d9312478 R15: 00007fcbfc06d830
Mar 27 20:20:03 bslxhp64 kernel: INFO: task QSGRenderThread:2446 blocked for more than 245 seconds.
Mar 27 20:20:03 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:20:03 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:20:03 bslxhp64 kernel: QSGRenderThread D    0  2446      1 0x00000080
Mar 27 20:20:03 bslxhp64 kernel: Call Trace:
Mar 27 20:20:03 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:20:03 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:20:03 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:20:03 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:20:03 bslxhp64 kernel:  ? ttwu_do_wakeup+0x19/0x160
Mar 27 20:20:03 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:20:03 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:20:03 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:20:03 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:20:03 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:20:03 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:20:03 bslxhp64 kernel: RIP: 0033:0x7fe9e55482eb
Mar 27 20:20:03 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:20:03 bslxhp64 kernel: RSP: 002b:00007fe9bdf08658 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:20:03 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007fe9bdf086e0 RCX: 00007fe9e55482eb
Mar 27 20:20:03 bslxhp64 kernel: RDX: 00007fe9bdf086e0 RSI: 00000000c010645b RDI: 0000000000000012
Mar 27 20:20:03 bslxhp64 kernel: RBP: 00000000c010645b R08: 00007fe9b02848d0 R09: 00007fe9b0284950
Mar 27 20:20:03 bslxhp64 kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe9bdf086e0
Mar 27 20:20:03 bslxhp64 kernel: R13: 0000000000000012 R14: 0000560ff0e2c560 R15: 00007fe9b02848d0
Mar 27 20:20:03 bslxhp64 kernel: INFO: task chromium:4376 blocked for more than 122 seconds.
Mar 27 20:20:03 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:20:03 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:20:03 bslxhp64 kernel: chromium        D    0  4376   4373 0x00004080
Mar 27 20:20:03 bslxhp64 kernel: Call Trace:
Mar 27 20:20:03 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:20:03 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:20:03 bslxhp64 kernel:  rwsem_down_write_slowpath+0x2a2/0x530
Mar 27 20:20:03 bslxhp64 kernel:  ? cpumask_next+0x16/0x20
Mar 27 20:20:03 bslxhp64 kernel:  ? __kmalloc+0x196/0x270
Mar 27 20:20:03 bslxhp64 kernel:  prealloc_shrinker+0x63/0x110
Mar 27 20:20:03 bslxhp64 kernel:  alloc_super+0x29a/0x2f0
Mar 27 20:20:03 bslxhp64 kernel:  ? alloc_empty_file.cold+0x3d/0x3d
Mar 27 20:20:03 bslxhp64 kernel:  ? compare_single+0x10/0x10
Mar 27 20:20:03 bslxhp64 kernel:  sget_fc+0x67/0x230
Mar 27 20:20:03 bslxhp64 kernel:  ? proc_init_fs_context+0xd0/0xd0
Mar 27 20:20:03 bslxhp64 kernel:  vfs_get_super+0x38/0x100
Mar 27 20:20:03 bslxhp64 kernel:  ? proc_init_fs_context+0x3c/0xd0
Mar 27 20:20:03 bslxhp64 kernel:  vfs_get_tree+0x25/0xb0
Mar 27 20:20:03 bslxhp64 kernel:  fc_mount+0xe/0x30
Mar 27 20:20:03 bslxhp64 kernel:  pid_ns_prepare_proc+0x96/0xe0
Mar 27 20:20:03 bslxhp64 kernel:  alloc_pid+0x373/0x3b0
Mar 27 20:20:03 bslxhp64 kernel:  copy_process+0xeb0/0x1b10
Mar 27 20:20:03 bslxhp64 kernel:  _do_fork+0x94/0x3f0
Mar 27 20:20:03 bslxhp64 kernel:  __x64_sys_clone+0x81/0xa0
Mar 27 20:20:03 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:20:03 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:20:03 bslxhp64 kernel: RIP: 0033:0x7fc7471943c5
Mar 27 20:20:03 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:20:03 bslxhp64 kernel: RSP: 002b:00007ffe7ecacba8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
Mar 27 20:20:03 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 0000000020000011 RCX: 00007fc7471943c5
Mar 27 20:20:03 bslxhp64 kernel: RDX: 0000000000000000 RSI: 00007ffe7ecb0bb0 RDI: 0000000020000011
Mar 27 20:20:03 bslxhp64 kernel: RBP: 00007ffe7ecb0bd0 R08: 0000000000000000 R09: 0000000000000000
Mar 27 20:20:03 bslxhp64 kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 0000564190247d18
Mar 27 20:20:03 bslxhp64 kernel: R13: 000031634289f600 R14: 0000000000000000 R15: 0000000000000000
Mar 27 20:20:03 bslxhp64 kernel: INFO: task chromium:4395 blocked for more than 245 seconds.
Mar 27 20:20:03 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:20:03 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:20:03 bslxhp64 kernel: chromium        D    0  4395   4391 0x00000084
Mar 27 20:20:03 bslxhp64 kernel: Call Trace:
Mar 27 20:20:03 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:20:03 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:20:03 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:20:03 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:20:03 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:20:03 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:20:03 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:20:03 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:20:03 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:20:03 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:20:03 bslxhp64 kernel: RIP: 0033:0x7f3cc30332eb
Mar 27 20:20:03 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:20:03 bslxhp64 kernel: RSP: 002b:00007ffed1eefe78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:20:03 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007ffed1eeff00 RCX: 00007f3cc30332eb
Mar 27 20:20:03 bslxhp64 kernel: RDX: 00007ffed1eeff00 RSI: 00000000c010645b RDI: 000000000000000c
Mar 27 20:20:03 bslxhp64 kernel: RBP: 00000000c010645b R08: 0000374468c7e518 R09: 0000000000000001
Mar 27 20:20:03 bslxhp64 kernel: R10: 0000374483481b80 R11: 0000000000000246 R12: 00007ffed1eeff00
Mar 27 20:20:03 bslxhp64 kernel: R13: 000000000000000c R14: 0000374468c7e588 R15: 00003744809d7480
Mar 27 20:20:03 bslxhp64 kernel: INFO: task kworker/u8:0:10990 blocked for more than 245 seconds.
Mar 27 20:20:03 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:20:03 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:20:03 bslxhp64 kernel: kworker/u8:0    D    0 10990      2 0x80004080
Mar 27 20:20:03 bslxhp64 kernel: Workqueue: i915 __i915_gem_free_work [i915]
Mar 27 20:20:03 bslxhp64 kernel: Call Trace:
Mar 27 20:20:03 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:20:03 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:20:03 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:20:03 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:20:03 bslxhp64 kernel:  ? __pm_runtime_resume+0x49/0x60
Mar 27 20:20:03 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:20:03 bslxhp64 kernel:  process_one_work+0x1da/0x3d0
Mar 27 20:20:03 bslxhp64 kernel:  worker_thread+0x4a/0x3d0
Mar 27 20:20:03 bslxhp64 kernel:  kthread+0xfb/0x130
Mar 27 20:20:03 bslxhp64 kernel:  ? process_one_work+0x3d0/0x3d0
Mar 27 20:20:03 bslxhp64 kernel:  ? kthread_park+0x90/0x90
Mar 27 20:20:03 bslxhp64 kernel:  ret_from_fork+0x35/0x40
Mar 27 20:22:06 bslxhp64 kernel: INFO: task QSGRenderThread:2464 blocked for more than 368 seconds.
Mar 27 20:22:06 bslxhp64 kernel:       Tainted: G          IOE     5.6.0-rc7-1-mainline #1
Mar 27 20:22:06 bslxhp64 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 27 20:22:06 bslxhp64 kernel: QSGRenderThread D    0  2464      1 0x00000080
Mar 27 20:22:06 bslxhp64 kernel: Call Trace:
Mar 27 20:22:06 bslxhp64 kernel:  ? __schedule+0x2e8/0x7a0
Mar 27 20:22:06 bslxhp64 kernel:  ? __switch_to_asm+0x34/0x70
Mar 27 20:22:06 bslxhp64 kernel:  schedule+0x46/0xf0
Mar 27 20:22:06 bslxhp64 kernel:  schedule_preempt_disabled+0x14/0x20
Mar 27 20:22:06 bslxhp64 kernel:  __mutex_lock.isra.0+0x1ae/0x550
Mar 27 20:22:06 bslxhp64 kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Mar 27 20:22:06 bslxhp64 kernel:  i915_gem_object_release_mmap+0x30/0x70 [i915]
Mar 27 20:22:06 bslxhp64 kernel:  __i915_gem_free_objects+0x7e/0x250 [i915]
Mar 27 20:22:06 bslxhp64 kernel:  i915_gem_create_ioctl+0x18/0x40 [i915]
Mar 27 20:22:06 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:22:06 bslxhp64 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Mar 27 20:22:06 bslxhp64 kernel:  drm_ioctl+0x209/0x360 [drm]
Mar 27 20:22:06 bslxhp64 kernel:  ? i915_gem_dumb_create+0xd0/0xd0 [i915]
Mar 27 20:22:06 bslxhp64 kernel:  ksys_ioctl+0x87/0xc0
Mar 27 20:22:06 bslxhp64 kernel:  __x64_sys_ioctl+0x16/0x20
Mar 27 20:22:06 bslxhp64 kernel:  do_syscall_64+0x4e/0x150
Mar 27 20:22:06 bslxhp64 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 27 20:22:06 bslxhp64 kernel: RIP: 0033:0x7fcc3b2572eb
Mar 27 20:22:06 bslxhp64 kernel: Code: Bad RIP value.
Mar 27 20:22:06 bslxhp64 kernel: RSP: 002b:00007fcc1be1f568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar 27 20:22:06 bslxhp64 kernel: RAX: ffffffffffffffda RBX: 00007fcc1be1f5f0 RCX: 00007fcc3b2572eb
Mar 27 20:22:06 bslxhp64 kernel: RDX: 00007fcc1be1f5f0 RSI: 00000000c010645b RDI: 000000000000000f
Mar 27 20:22:06 bslxhp64 kernel: RBP: 00000000c010645b R08: 00007fcbfc06d830 R09: 00007fcbfc0008d0
Mar 27 20:22:06 bslxhp64 kernel: R10: 00007fcc3b3209e0 R11: 0000000000000246 R12: 00007fcc1be1f5f0
Mar 27 20:22:06 bslxhp64 kernel: R13: 000000000000000f R14: 00005573d9312478 R15: 00007fcbfc06d830

Offline

#207 2020-03-28 01:26:13

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

@jghodd https://aur.archlinux.org/packages/linux-drm-tip-git if that still has the issue report it upstream https://gitlab.freedesktop.org/drm/inte … -i915-bugs
You could try to find a similar backtrace searching through https://gitlab.freedesktop.org/drm/intel/issues

Offline

#208 2020-03-28 03:18:47

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs had literally *just* downloaded the PKGBUILD for drm-tip. i'll build it overnight.

[Edit: thanks much for the vbox patch, btw]

Last edited by jghodd (2020-03-29 21:02:03)

Offline

#209 2020-03-29 17:26:46

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

so far, linux-drm-tip is *a lot* more stable than linux-mainline. going on 24 hours with no crashes.

Offline

#210 2020-03-29 23:12:58

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs unfortunately virtualbox-6.0.14-502.1.src.rpm is 1) not 6.1.4 and 2) contains fixes_for_5.4.patch, not fixes_for_5.6.patch. the only fixes_for_5.6.patch I could find was at oracle and is 5 weeks old. not sure if it applies, since the patch references virtualbox 6.1.2. i'll modify the patch references and see if it works.

Edit: well, the patch applied successfully, so the 2 patched source files apparently haven't changes since 6.1.2. here's the patch (fixes_for_5.6.patch):

Index: VirtualBox-6.1.4/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===================================================================
--- VirtualBox-6.1.4.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-6.1.4/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -843,9 +843,13 @@ DECLHIDDEN(int) vboxPciOsDevMapRegion(PV
         if (!rcLnx)
         {
             /* For now no caching, try to optimize later. */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+            RTR0PTR R0PtrMapping = ioremap(pci_resource_start(pPciDev, iRegion),
+                                           pci_resource_len(pPciDev, iRegion));
+#else
             RTR0PTR R0PtrMapping = ioremap_nocache(pci_resource_start(pPciDev, iRegion),
                                                    pci_resource_len(pPciDev, iRegion));
-
+#endif
             if (R0PtrMapping != NIL_RTR0PTR)
                 pIns->aRegionR0Mapping[iRegion] = R0PtrMapping;
             else
Index: VirtualBox-6.1.4/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
===================================================================
--- VirtualBox-6.1.4.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ VirtualBox-6.1.4/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
@@ -1461,9 +1461,13 @@ DECLHIDDEN(int) rtR0MemObjNativeMapKerne
              * MMIO / physical memory.
              */
             Assert(pMemLnxToMap->Core.enmType == RTR0MEMOBJTYPE_PHYS && !pMemLnxToMap->Core.u.Phys.fAllocated);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+	    pMemLnx->Core.pv = ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub);
+#else
             pMemLnx->Core.pv = pMemLnxToMap->Core.u.Phys.uCachePolicy == RTMEM_CACHE_POLICY_MMIO
                              ? ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
                              : ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub);
+#endif
             if (pMemLnx->Core.pv)
             {
                 /** @todo fix protection. */

note the changes from VirtualBox-6.1.2 to VirtualBox-6.1.4. the checksum is '4649d0ac93219cb12f593f69681ee50debed71a7dc389a88dd8060a41f9d949b'

i'll post when/if it builds and runs successfully.

Edit2: also, linux-drm-tip is still up and running. no crashes so far.

Last edited by jghodd (2020-03-29 23:35:32)

Offline

#211 2020-03-29 23:28:12

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

Oops should be openSUSE Leap 15.2 standard -> virtualbox-6.1.4-lp152.527.2.src.rpm for fixes_for_5.6.patch

Index: VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===================================================================
--- VirtualBox-6.1.2.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -843,9 +843,13 @@ DECLHIDDEN(int) vboxPciOsDevMapRegion(PV
         if (!rcLnx)
         {
             /* For now no caching, try to optimize later. */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+            RTR0PTR R0PtrMapping = ioremap(pci_resource_start(pPciDev, iRegion),
+                                           pci_resource_len(pPciDev, iRegion));
+#else
             RTR0PTR R0PtrMapping = ioremap_nocache(pci_resource_start(pPciDev, iRegion),
                                                    pci_resource_len(pPciDev, iRegion));
-
+#endif
             if (R0PtrMapping != NIL_RTR0PTR)
                 pIns->aRegionR0Mapping[iRegion] = R0PtrMapping;
             else
Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
===================================================================
--- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
@@ -1461,9 +1461,13 @@ DECLHIDDEN(int) rtR0MemObjNativeMapKerne
              * MMIO / physical memory.
              */
             Assert(pMemLnxToMap->Core.enmType == RTR0MEMOBJTYPE_PHYS && !pMemLnxToMap->Core.u.Phys.fAllocated);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+	    pMemLnx->Core.pv = ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub);
+#else
             pMemLnx->Core.pv = pMemLnxToMap->Core.u.Phys.uCachePolicy == RTMEM_CACHE_POLICY_MMIO
                              ? ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
                              : ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub);
+#endif
             if (pMemLnx->Core.pv)
             {
                 /** @todo fix protection. */
Index: VirtualBox-6.1.2/include/iprt/time.h
===================================================================
--- VirtualBox-6.1.2.orig/include/iprt/time.h
+++ VirtualBox-6.1.2/include/iprt/time.h
@@ -32,6 +32,24 @@
 #include <iprt/cdefs.h>
 #include <iprt/types.h>
 #include <iprt/assertcompile.h>
+#ifdef __KERNEL__
+/* This header is used for both kernel- and user-space code. Beginning
+ * with v5.6.0-rc3 as part of the Y2038 conversion, several of the
+ * time handling macros were hidden. Thus, user- and kernel-space
+ * names are different.
+ */
+#include <linux/time_types.h>
+#include <linux/version.h>
+#include <linux/time64.h>
+#include <linux/ktime.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+#define timespec __kernel_old_timespec
+#define ktime_get_ts ktime_get_ts64
+#undef time_t
+#define time_t ktime_t
+#define timeval __kernel_old_timeval
+#endif /* kernel version >= 5.6.0 */
+#endif /* __KERNEL__ */
 
 RT_C_DECLS_BEGIN
 
@@ -433,12 +451,6 @@ DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTim
 }
 
 
-# ifdef _LINUX_TIME64_H
-DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const struct timespec64 *pTimeval)
-{
-    return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), pTimeval->tv_nsec);
-}
-# endif
 #endif /* various ways of detecting struct timespec */
 
 
Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
===================================================================
--- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
+++ VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
@@ -35,6 +35,10 @@
 #include <iprt/asm.h>
 
 
+DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const struct timespec64 *pTimeval)
+{
+    return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), pTimeval->tv_nsec);
+}
 
 DECLINLINE(uint64_t) rtTimeGetSystemNanoTS(void)
 {
@@ -43,7 +47,11 @@ DECLINLINE(uint64_t) rtTimeGetSystemNano
      * Use ktime_get_ts, this is also what clock_gettime(CLOCK_MONOTONIC,) is using.
      */
     uint64_t u64;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+    struct timespec64 Ts;
+#else
     struct timespec Ts;
+#endif
     ktime_get_ts(&Ts);
     u64 = Ts.tv_sec * RT_NS_1SEC_64 + Ts.tv_nsec;
     return u64;

Last edited by loqs (2020-03-29 23:30:35)

Offline

#212 2020-03-30 03:31:36

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs the patch works just fine. remember to change VirtualBox-6.1.2 to VirtualBox-6.1.4. also, linux-drm-tip is still running; no crashes so far.

Offline

#213 2020-03-30 10:29:34

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

The PKGBUILD uses patch -p1 removing the first path element of the filenames in the patch,  in this case VirtualBox-6.1.2.orig/VirtualBox-6.1.2

prepare() {
    cd "VirtualBox-$pkgver"

    # apply patch from the source array (should be a pacman feature)
    local filename
    for filename in "${source[@]}"; do
        if [[ "$filename" =~ \.patch$ ]]; then
            echo "Applying patch ${filename##*/}"
            patch -p1 -N -i "$srcdir/${filename##*/}"
        fi
    done

Offline

#214 2020-03-31 01:11:06

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs thanks. didn't read the prepare script, but yeah, i see what it's doing. drm-tip is still holding up, btw. no crashes so far.

Offline

#215 2020-04-01 20:22:34

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

does anyone know how much of drm-tip has been incorporated into the official arch release of linux 5.6?

Last edited by jghodd (2020-04-02 22:35:24)

Offline

#216 2020-04-01 21:08:26

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

jghodd wrote:

does anyone know how much of drm-tip has been incorporated into the official arch release of linux 5.6?

https://git.archlinux.org/linux.git/log/?h=v5.6-arch1 nothing that you did not try in 5.6-rc7
Edit:
You could try git://anongit.freedesktop.org/drm/drm branch drm-next or tag drm-next-2020-04-01 which will incorporate the drm changes intended for 5.7 on top of 5.6.
Or on top of 5.6 try https://git.kernel.org/pub/scm/linux/ke … 6e0b2528a6

Last edited by loqs (2020-04-02 02:11:40)

Offline

#217 2020-04-04 17:22:07

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs ok. figured it out. apparently drm-tip is 5.6 with all the latest drm fixes overlaid. even though the package name is linux-drm-tip-git-5.7.*, my most recent build is installed as 5.6.0-1-drm-tip-git. my prior build installed as 5.6-1-drm-git. so, apparently drm-tip is keeping up with the latest official kernel releases, layering on the latest drm fixes.

Last edited by jghodd (2020-04-04 17:22:51)

Offline

#218 2020-04-04 17:55:04

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: i915 Skylake GPU hangs with kernel 5.3.11

drm-tip is not fixes only

commit e3ecdb0ce3d5552e37637f9147145cff8d09a40d
Merge: 0911acd6ed6c 0e7e6198af28
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Apr 4 14:49:11 2020 +0100

    Merge remote-tracking branch 'drm/drm-next' into drm-tip

which included the following which brought drm-tip up to 5.6

Merge: 700d6ab987f3 7111951b8d49
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Mar 31 15:15:47 2020 +1000

    Merge v5.6 into drm-next
    
    msm needed rc6, so I just went and merged release
    (msm has been in drm-next outside of this tree)
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

Offline

#219 2020-04-06 22:23:11

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

@loqs yes, i do understand it's fixes, new features and updates. it does make sense that 5.6 would be required to provide the framework to support all of it. however, in spite of how it all might have been hobbled together, the graphics freezing has stopped entirely, so something in there fixed the problem.

Last edited by jghodd (2020-04-06 22:24:25)

Offline

#220 2020-04-14 13:04:00

cornetto
Member
Registered: 2020-02-25
Posts: 6

Re: i915 Skylake GPU hangs with kernel 5.3.11

so guys, what's the veredict? Is 5.6 ok? or I need to do 5.6 + drm tip?

Offline

#221 2020-04-14 13:26:57

whites11
Member
Registered: 2010-03-23
Posts: 31

Re: i915 Skylake GPU hangs with kernel 5.3.11

cornetto wrote:

so guys, what's the veredict? Is 5.6 ok? or I need to do 5.6 + drm tip?

Don't have strict test reports, but vanilla 5.6 is still failing for me, even though in a different way (keyboard is still responsive and I can restart X).
Might be a different bug, but definitely not fixed for me.

Offline

#222 2020-04-14 13:34:53

kikislater
Member
From: Mauritius
Registered: 2016-01-16
Posts: 32

Re: i915 Skylake GPU hangs with kernel 5.3.11

Still have some problems too every day (may be after resume from suspend, I need to check) :

avril 12 10:11:49 T480s kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=127821 end=127822) time 111 us, min 1073, max 1079, scanline start 1072, end 1079

But except message in logs, everything is ok

Last edited by kikislater (2020-04-14 13:35:27)

Offline

#223 2020-04-18 01:29:59

jghodd
Member
Registered: 2013-02-10
Posts: 158

Re: i915 Skylake GPU hangs with kernel 5.3.11

The drm-tip version from 04/13 is linux-5.7-rc1, per Linus Torvalds (https://cgit.freedesktop.org/drm-tip/co … ee6b3f3136). That's the version I'm currently using and have seen no i915 crashes at all. Not a single one. Personally, I'm going to wait until 5.7 is released before returning to the mainline kernel.

If anyone wants to use my 5.7-rc1 drm-tip builds, you can get them here:

https://sourceforge.net/projects/bluest … pkg.tar.xz
https://sourceforge.net/projects/bluest … pkg.tar.xz
https://sourceforge.net/projects/bluest … pkg.tar.xz

To answer the question, 5.6.x will not solve the i915 issue, but 5.7 will.

Last edited by jghodd (2020-04-18 01:34:28)

Offline

#224 2020-04-20 05:14:01

cornetto
Member
Registered: 2020-02-25
Posts: 6

Re: i915 Skylake GPU hangs with kernel 5.3.11

Thanks, I guess I'll wait for 5.7 too... what a ****show

Offline

#225 2020-05-01 21:16:37

atwalter
Member
Registered: 2020-05-01
Posts: 2

Re: i915 Skylake GPU hangs with kernel 5.3.11

I'm having similar but distinct problems with i915 on a Thinkpad T480. In my case the kernel doesn't crash but Xorg does, and I'm unable to switch to a virtual terminal to restart it. The relevant errors seem to be

kernel: Asynchronous wait on fence 0000:00:02.0:Xorg[840]:32e7c timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
kernel: Asynchronous wait on fence 0000:00:02.0:Xorg[840]:32e7a timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])

I have noticed that this only occurs when using external monitors (one connected to laptop's HDMI port and one connected via DisplayPort to a Lightning 3 port via an adapter) and only when actively using Emacs. Possibly related to this thread.

Compiling and using linux-5.7-rc1 from drm-tip did not help, nor did performing a complete reinstall of Arch.

Currently trying the additional kernel arguments "intel_idle.max_cstate=1" and "i915.enable_psr=0", if that doesn't work I'll try removing xf86-video-intel and seeing if I can get the modesetting driver to work with my multi-monitor setup.

I had previously had issues with kernel crashes related to i915 and Google Chrome that also seemed to be correlated with the DisplayPort-Lightning adapter, but they seem to have gone away.

Last edited by atwalter (2020-05-01 21:18:56)

Offline

Board footer

Powered by FluxBB