Skip to contentSkip to conversation

New: AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

Bug 151341 [email protected] 1 participant 8 messages Aug 3, 2016 – Feb 22, 2018

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=151341

            Bug ID: 151341
           Summary: AMDGPU Hawaii: screen freeze, Xorg blocked in
                    fence_default_wait
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.7.0
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

The system is still operational, and I was able to login remotely via ssh.

Seems to happen more often when the CPU is under load.

Relevant dmesg:

INFO: task Xorg:539 blocked for more than 120 seconds.
      Not tainted 4.7.0 #5

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Xorg D ffff880085387a48 0 539 537 0x00080084
ffff880085387a48 ffff880392f1ea40 0000000000000000 ffff880085388000 ffff88045e658000 ffff88045e658000 ffff880062516840 7fffffffffffffff ffff880085387a60 ffffffff815e5dd0 0000000000000000 ffff880085387ad8

Call Trace:
 [<ffffffff815e5dd0>] schedule+0x30/0x80
 [<ffffffff815e8429>] schedule_timeout+0x159/0x1a0
 [<ffffffff810a956e>] ? __wake_up_locked+0xe/0x10
 [<ffffffff8144b452>] fence_default_wait+0x182/0x1d0
 [<ffffffff8144adf0>] ? fence_free+0x20/0x20
 [<ffffffff8144af9e>] fence_wait_timeout+0x4e/0x90
 [<ffffffffc02d89dd>] amdgpu_ctx_add_fence+0x5d/0x100 [amdgpu]
 [<ffffffffc02cad00>] amdgpu_cs_ioctl+0xbf0/0xff0 [amdgpu]
 [<ffffffff813e978d>] drm_ioctl+0x14d/0x530
 [<ffffffffc02ca110>] ? amdgpu_cs_find_mapping+0x90/0x90 [amdgpu]
 [<ffffffff81171b6a>] ? do_readv_writev+0x11a/0x200
 [<ffffffffc02b2047>] amdgpu_drm_ioctl+0x47/0x80 [amdgpu]
 [<ffffffff81182ebd>] do_vfs_ioctl+0x8d/0x570
 [<ffffffff81001255>] ? syscall_slow_exit_work+0xb5/0x100
 [<ffffffff8153ea5d>] ? __sys_recvmsg+0x5d/0x70
 [<ffffffff810fbec6>] ? __audit_syscall_entry+0xa6/0xf0
 [<ffffffff811833dc>] SyS_ioctl+0x3c/0x70
 [<ffffffff8100179a>] do_syscall_64+0x5a/0x110
 [<ffffffff815e9040>] entry_SYSCALL64_slow_path+0x25/0x25
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

https://bugzilla.kernel.org/show_bug.cgi?id=151341

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher <[email protected]> --- Please attach your xorg log and dmesg output.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=151341

--- Comment #2 from [email protected] ---
Created attachment 227861
--> https://bugzilla.kernel.org/attachment.cgi?id=227861&action=edit
dmesg

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=151341

--- Comment #3 from [email protected] ---
Created attachment 227871
--> https://bugzilla.kernel.org/attachment.cgi?id=227871&action=edit
Xorg.log

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=151341

--- Comment #4 from [email protected] ---
Previous dmesg is from 4.7.0, the attached one is from git HEAD.

Using the _k_ firmware seems to make this happen much less frequently.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=151341

--- Comment #5 from [email protected] ---
I tried to reset the gpu by using /sys/kernel/debug/dri/0/amdgpu_gpu_reset, and the result is a NULL pointer dereference in the kernel.

dmesg attached

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=151341

--- Comment #6 from [email protected] ---
Created attachment 227901
--> https://bugzilla.kernel.org/attachment.cgi?id=227901&action=edit
Kernel Oops when resetting the GPU

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=151341

--- Comment #7 from Ricardo Ribalda ([email protected]) --- This seems to be (very) related to
https://bugzilla.kernel.org/show_bug.cgi?id=198883

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel