[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #11 from Gregor Münch  ---
Will do if I find a way to reproduce it. Seems like some other reports are
about exact the same error message and random freezes.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

Christian König  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Christian König  ---
(In reply to Gregor Münch from comment #9)
> Created attachment 140895 [details]
> Freeze with Shadow of Mordor
> 
> I applied both patches and the crash with Dota2 is fixed.
> 
> However I tried with Shadow of Mordor and the third benchmark run froze my
> PC again.

Completely different issue, please open a new bug report when you see that
again.

This is a hardware lockup and not a NULL pointer deref in the software stack.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #9 from Gregor Münch  ---
Created attachment 140895
  --> https://bugs.freedesktop.org/attachment.cgi?id=140895&action=edit
Freeze with Shadow of Mordor

I applied both patches and the crash with Dota2 is fixed.

However I tried with Shadow of Mordor and the third benchmark run froze my PC
again.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #8 from Christian König  ---
Created attachment 140889
  --> https://bugs.freedesktop.org/attachment.cgi?id=140889&action=edit
Possible fix

Yeah, I see. Please test the new fix for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #7 from Gregor Münch  ---
Created attachment 140867
  --> https://bugs.freedesktop.org/attachment.cgi?id=140867&action=edit
dmesg crash with current HEAD

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #6 from Gregor Münch  ---
Created attachment 140866
  --> https://bugs.freedesktop.org/attachment.cgi?id=140866&action=edit
dmesg with HEAD at drm/scheduler: add NULL pointer check for run queue (v2)

The provided patch didnt helped. And reverting the add NULL pointer check didnt
helped either anymore with current git HEAD.

I did a git checkout 28756ed597d51b3ceb79c29387a40c51ea353e30 to confirm once
more that the kernel worked here and confirmed that with git checkout
fc9a53946d9c107a36b79de3dd1a4eac43f13f3f is the first commit that make the
kernel crash.
So there must be another commit after that that is making the problem worse.

Also the crash in dmesg is quite different.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #5 from Christian König  ---
Created attachment 140849
  --> https://bugs.freedesktop.org/attachment.cgi?id=140849&action=edit
Possible fix

A shoot into the dark, but maybe the attached patch helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #4 from Christian König  ---
(In reply to Gregor Münch from comment #3)
> This is the crash with kernel from today:

Well that is not very helpful, please add the full dmesg as attachment.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #3 from Gregor Münch  ---
This is the crash with kernel from today:

Jul 26 16:47:57 greg-pc kernel: Fixing recursive fault but reboot is needed!
Jul 26 16:47:57 greg-pc kernel: CR2: 7f14fd433fd2 CR3: 03009005
CR4: 001606f0
Jul 26 16:47:57 greg-pc kernel: CS:  0010 DS:  ES:  CR0:
80050033
Jul 26 16:47:57 greg-pc kernel: FS:  ()
GS:88041ec0() knlGS:
Jul 26 16:47:57 greg-pc kernel: R13: 880407a32200 R14: 0206
R15: dead0200
Jul 26 16:47:57 greg-pc kernel: R10: 8803fd74e018 R11: 000d
R12: 880408f42768
Jul 26 16:47:57 greg-pc kernel: RBP: 8803d62a18b8 R08: 
R09: 000c
Jul 26 16:47:57 greg-pc kernel: RDX: 880408f46d40 RSI: 
RDI: 8803d62a18b8
Jul 26 16:47:57 greg-pc kernel: RAX:  RBX: 8803d62a1800
RCX: 
Jul 26 16:47:57 greg-pc kernel: RSP: 0018:c9000821fb88 EFLAGS: 00010286
Jul 26 16:47:57 greg-pc kernel: Code: 89 df 48 89 04 24 e8 9d fd ff ff 48 8b 04
24 eb bc 31 c0 eb 8d 0f 1f 00 0f 1f 44 00 00 41 55 41 54 55 48 89 fd 53 48 8b
47 10 <48> 8b 58 08 48 85 c0 74 07 31 f6 e8 6e fd ff ff 48 83 7d 20 00 0f 
Jul 26 16:47:57 greg-pc kernel: RIP: 0010:drm_sched_entity_fini+0x12/0x190
[gpu_sched]
Jul 26 16:47:57 greg-pc kernel: ---[ end trace 2d06a2d2eeb82fce ]---
Jul 26 16:47:57 greg-pc kernel: CR2: 0008
Jul 26 16:47:57 greg-pc kernel:  ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore
usb_common amdgpu chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea
sysfillrect sysimgblt fb_sys_fops ttm drm
Jul 26 16:47:57 greg-pc kernel: Modules linked in: ccm fuse nls_iso8859_1
nls_cp437 vfat fat intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp
arc4 kvm ath9k ath9k_common irqbypass ath9k_hw crct10dif_pclmul crc32_pclmul
eeepc_wmi>
Jul 26 16:47:57 greg-pc kernel: R13: 55d5bb149e78 R14: 
R15: 55d5bb149ecc
Jul 26 16:47:57 greg-pc kernel: R10:  R11: 0246
R12: 0003
Jul 26 16:47:57 greg-pc kernel: RBP:  R08: 
R09: 
Jul 26 16:47:57 greg-pc kernel: RDX:  RSI: 0080
RDI: 55d5bb149ecc
Jul 26 16:47:57 greg-pc kernel: RAX: fe00 RBX: 55d5bb149ea0
RCX: 7f14fd433ffc
Jul 26 16:47:57 greg-pc kernel: RSP: 002b:7f14ea320d60 EFLAGS: 0246
ORIG_RAX: 00ca
Jul 26 16:47:57 greg-pc kernel: Code: Bad RIP value.
Jul 26 16:47:57 greg-pc kernel: RIP: 0033:0x7f14fd433ffc
Jul 26 16:47:57 greg-pc kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul 26 16:47:57 greg-pc kernel:  do_syscall_64+0xcb/0x100
Jul 26 16:47:57 greg-pc kernel:  exit_to_usermode_loop+0x8e/0xb0
Jul 26 16:47:57 greg-pc kernel:  ? task_work_run+0x7c/0xb0
Jul 26 16:47:57 greg-pc kernel:  do_signal+0x36/0x630
Jul 26 16:47:57 greg-pc kernel:  get_signal+0x240/0x590
Jul 26 16:47:57 greg-pc kernel:  do_group_exit+0x33/0xa0
Jul 26 16:47:57 greg-pc kernel:  ? ___preempt_schedule+0x16/0x18
Jul 26 16:47:57 greg-pc kernel:  ? preempt_schedule_common+0x11/0x30
Jul 26 16:47:57 greg-pc kernel:  do_exit+0x301/0xa90
Jul 26 16:47:57 greg-pc kernel:  task_work_run+0x90/0xb0
Jul 26 16:47:57 greg-pc kernel:  __fput+0xa0/0x1f0
Jul 26 16:47:57 greg-pc kernel:  drm_release+0x25a/0x390 [drm]
Jul 26 16:47:57 greg-pc kernel:  amdgpu_driver_postclose_kms+0x102/0x230
[amdgpu]
Jul 26 16:47:57 greg-pc kernel:  amdgpu_vm_fini+0x84/0x400 [amdgpu]
Jul 26 16:47:57 greg-pc kernel: Call Trace:
Jul 26 16:47:57 greg-pc kernel: CR2: 0008 CR3: 03009005
CR4: 001606f0
Jul 26 16:47:57 greg-pc kernel: CS:  0010 DS:  ES:  CR0:
80050033
Jul 26 16:47:57 greg-pc kernel: FS:  ()
GS:88041ec0() knlGS:
Jul 26 16:47:57 greg-pc kernel: R13: 880407a32200 R14: 0206
R15: dead0200
Jul 26 16:47:57 greg-pc kernel: R10: 8803fd74e018 R11: 000d
R12: 880408f42768
Jul 26 16:47:57 greg-pc kernel: RBP: 8803d62a18b8 R08: 
R09: 000c
Jul 26 16:47:57 greg-pc kernel: RDX: 880408f46d40 RSI: 
RDI: 8803d62a18b8
Jul 26 16:47:57 greg-pc kernel:  get_signal+0x240/0x590
Jul 26 16:47:57 greg-pc kernel:  do_group_exit+0x33/0xa0
Jul 26 16:47:57 greg-pc kernel:  ? ___preempt_schedule+0x16/0x18
Jul 26 16:47:57 greg-pc kernel:  ? preempt_schedule_common+0x11/0x30
Jul 26 16:47:57 greg-pc kernel:  do_exit+0x301/0xa90
Jul 26 16:47:57 greg-pc kernel:  task_work_run+0x90/0xb0
Jul 26 16:47:57 greg-pc kernel:  __fput+0xa0/0x1f0
Jul 26 16:47:57 greg-pc kernel:  drm_release+0x25a/0x390 [drm]
Jul 26 16:47:57 greg-pc kernel:  amdgpu_driver_postclose_kms+0x102/0x230
[amdgpu]
Jul 26 16:47:57 greg-pc kernel:  amdgpu_vm_fini+0x84/0x400 [amdgpu]
Jul 26 16:47:57 greg-pc kernel: Call Trace:
Jul 26 16:47:57 greg-pc kernel: CR

[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #2 from Christian König  ---
Well that is more than just a bit strange.

Do you have an error message in dmesg that the entity was killed?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

--- Comment #1 from Gregor Münch  ---
Forgot to add:

direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org (0x1002)
Device: AMD Radeon HD 7900 Series (TAHITI, DRM 3.27.0,
4.18.0-rc1-amd-staging-drm-next-git, LLVM 7.0.0) (0x6798)
Version: 18.2.0
Accelerated: yes
Video memory: 3072MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.4
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon HD 7900 Series (TAHITI, DRM 3.27.0,
4.18.0-rc1-amd-staging-drm-next-git, LLVM 7.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.0-devel
(git-6853862a58)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.2.0-devel
(git-6853862a58)
OpenGL shading language version string: 4.40
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.0-devel
(git-6853862a58)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

I use latest linuxfirmware git to be able to use my Tahiti card with AMDGPU.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107367] [regression, bisected] Games freeze the PC with newest AMD Staging DRM Next Kernel

2018-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107367

Bug ID: 107367
   Summary: [regression, bisected] Games freeze the PC with newest
AMD Staging DRM Next Kernel
   Product: Mesa
   Version: git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/radeonsi
  Assignee: dri-devel@lists.freedesktop.org
  Reporter: gr.mue...@gmail.com
QA Contact: dri-devel@lists.freedesktop.org

This reproducible all the time with Dota2 starting a benchmark with 1920x1080
and Vulkan using Phoronix test suite.
Starting the benchmark makes the machine freeze and you just can hit the reset
button.
I also experienced the freeze with Shadow of Mordor but not all the time.

fc9a53946d9c107a36b79de3dd1a4eac43f13f3f is the first bad commit
commit fc9a53946d9c107a36b79de3dd1a4eac43f13f3f
Author: Junwei Zhang 
Date:   Mon Jul 16 10:53:43 2018 +0800

drm/scheduler: add NULL pointer check for run queue (v2)

To check rq pointer before adding entity into it.
That avoids NULL pointer access in some case.

v2: move the check to caller

Suggested-by: Christian König 
Signed-off-by: Junwei Zhang 
Reviewed-by: Christian König 

:04 04 aa8b4eb640e3995a1f77907edd6ec8fc6fccd1b3
4a061e532ddb8a1293e781a4ccd5ece2efe35d8a M  drivers


Reverting the commit let the freeze go away.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel