Created attachment 140480 [details] boot log The GPU was hang after resume from suspend to disk. Stable Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 142 Model name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz Stepping: 9 CPU MHz: 1503.615 CPU max MHz: 3500.0000 CPU min MHz: 400.0000 BogoMIPS: 5810.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 4096K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp Suspend to ram work fine ArchLinux
Created attachment 140481 [details] /sys/class/drm/card0/error
The write into the HWSP went astray. This can happen due to a GPU failure or invalid PTE/TLB for the HWSP. How reproducible is the problem, and can you please try drm-tip [https://cgit.freedesktop.org/drm-tip]? Hmm, something else to consider is that there were no CS interrupts either. What happens if you completely disable iommu in your kconfig?
sorry for long time, i'm forgot to see my second mailbox(current here). Seems in ~4.17.7 it's has been fixed. Anyway, 4.17.7 and currently 4.17.8 hasn't this bug. Don't knwon if it directly depend on kernel space, but with update it's gone away. 4.17.7 isn't a point, because i was not tryed this with early kernel thats has been released after my report.
I'm reproduced it on 4.17.8 kernel - just switch TTY with X11 several times.
Created attachment 140741 [details] 4.17.8 error
With clear boot switching with tty and x11 is OK. But after suspend to disk - gpu is hang. After suspend to ram also - ok.
Created attachment 140742 [details] error with disabled iommu Still hang with iommu off
Created attachment 140745 [details] drm-tip hang error >> [https://cgit.freedesktop.org/drm-tip]? also hang, and iommu disabled in .config
Created attachment 140746 [details] dmesg on drm-tip
I missed that you were using the guc.
realy, this option is used... I'm removed this and seems no freezes now. Google says this known bug, I missed that. Sorry
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.