<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Acer Swift 3 Ryzen 7 2700U, amdgpu, graphics freezes on 4.15.0-34"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108098">108098</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Acer Swift 3 Ryzen 7 2700U, amdgpu, graphics freezes on 4.15.0-34
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>antonio.chirizzi@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=141794" name="attach_141794" title="dmesg gzipped">attachment 141794</a> <a href="attachment.cgi?id=141794&action=edit" title="dmesg gzipped">[details]</a></span>
dmesg gzipped

Just bought and installed a new Acer Swift 3 (From kern.log: Acer Swift
SF315-41/Becks_RR, BIOS V2.03 06/15/2018)

# uname -a
Linux antonioRyzen 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

# inxi -G
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Device 15dd
           Display Server: X.org 1.18.4 drivers: ati (unloaded:
fbdev,vesa,radeon,amdgpu)
           tty size: 156x48 Advanced Data: N/A for root



Running linux mint 18.3 with KDE, fully updated.
After a few hours using it I get the screen freeze. Still able to connect via
ssh, but impossible to fully shutdown (systemd reports timeouts after 2 minutes
waiting on some processes)



This is what is logged at the moment of the freeze:



Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337272] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337279] amdgpu 0000:02:00.0:   at
page 0x0000000104a4c000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337283] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00701031
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337290] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337292] amdgpu 0000:02:00.0:   at
page 0x0000000104a4e000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337295] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337301] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337304] amdgpu 0000:02:00.0:   at
page 0x0000000104a51000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337306] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337312] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337314] amdgpu 0000:02:00.0:   at
page 0x0000000104a53000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337316] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337323] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337325] amdgpu 0000:02:00.0:   at
page 0x0000000104a56000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337327] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337333] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337336] amdgpu 0000:02:00.0:   at
page 0x0000000104a58000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337338] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337344] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337346] amdgpu 0000:02:00.0:   at
page 0x0000000104a4f000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337348] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337354] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337357] amdgpu 0000:02:00.0:   at
page 0x0000000104a50000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337358] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337365] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337367] amdgpu 0000:02:00.0:   at
page 0x0000000104a54000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337369] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337375] amdgpu 0000:02:00.0:
[gfxhub] VMC page fault (src_id:0 ring:24 vm_id:7 pas_id:0)
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337377] amdgpu 0000:02:00.0:   at
page 0x0000000104a55000 from 27
Sep 29 15:21:13 antonioRyzen kernel: [ 7156.337379] amdgpu 0000:02:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00000000



This is what I can see at boot time in the kern.log:


[    3.392314] usb 3-2.2: new high-speed USB device number 4 using xhci_hcd
[    3.436384] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us *
100 tries - tgn10_lock line:566
[    3.436449] WARNING: CPU: 1 PID: 291 at
/build/linux-hwe-On9fm7/linux-hwe-4.15.0/drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:190
generic_reg_wai
t+0xf5/0x110 [amdgpu]
[    3.436450] Modules linked in: dm_mirror dm_region_hash dm_log
hid_logitech_hidpp hid_logitech_dj usbhid amdkfd amd_iommu_v2 amdgpu chash
i2c_algo_bit tt
m drm_kms_helper syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm
video wmi i2c_hid hid
[    3.436468] CPU: 1 PID: 291 Comm: plymouthd Not tainted 4.15.0-34-generic
#37~16.04.1-Ubuntu
[    3.436469] Hardware name: Acer Swift SF315-41/Becks_RR, BIOS V2.03
06/15/2018
[    3.436507] RIP: 0010:generic_reg_wait+0xf5/0x110 [amdgpu]
[    3.436508] RSP: 0018:ffffb749c1913900 EFLAGS: 00010297
[    3.436509] RAX: 0000000000000001 RBX: 0000000000000065 RCX:
ffffffffb02626e8
[    3.436510] RDX: 0000000000000000 RSI: 0000000000000082 RDI:
0000000000000246
[    3.436511] RBP: ffffb749c1913940 R08: 000000000006a8a0 R09:
0000000000000383
[    3.436512] R10: 0000000000000002 R11: ffffffffb075380d R12:
0000000000000001
[    3.436513] R13: 0000000000000064 R14: ffff93089a3e6680 R15:
0000000000000100
[    3.436514] FS:  00007fa393f96740(0000) GS:ffff9308a7640000(0000)
knlGS:0000000000000000
[    3.436515] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.436516] CR2: 0000557d22ffc680 CR3: 000000021aa98000 CR4:
00000000003406e0
[    3.436517] Call Trace:
[    3.436561]  tgn10_lock+0xa2/0xb0 [amdgpu]
[    3.436601]  program_all_pipe_in_tree+0x80d/0x8c0 [amdgpu]
[    3.436641]  ? amdgpu_cgs_write_register+0x14/0x20 [amdgpu]
[    3.436679]  ? amdgpu_cgs_read_register+0x14/0x20 [amdgpu]
[    3.436718]  dcn10_apply_ctx_for_surface+0x413/0x510 [amdgpu]
[    3.436755]  dc_commit_state+0x265/0x550 [amdgpu]
[    3.436797]  amdgpu_dm_atomic_commit_tail+0x2c4/0xae0 [amdgpu]
[    3.436828]  ? amdgpu_bo_pin_restricted+0x9f/0x290 [amdgpu]
[    3.436868]  ? dm_plane_helper_prepare_fb+0x1d3/0x260 [amdgpu]
[    3.436879]  commit_tail+0x42/0x70 [drm_kms_helper]
[    3.436885]  drm_atomic_helper_commit+0x116/0x120 [drm_kms_helper]
[    3.436900]  ? drm_atomic_check_only+0x456/0x570 [drm]
[    3.436939]  amdgpu_dm_atomic_commit+0x91/0xa0 [amdgpu]
[    3.436951]  drm_atomic_commit+0x51/0x60 [drm]
[    3.436956]  restore_fbdev_mode_atomic+0x17b/0x1e0 [drm_kms_helper]
[    3.436962]  restore_fbdev_mode+0x32/0x130 [drm_kms_helper]
[    3.436967]  drm_fb_helper_restore_fbdev_mode_unlocked.part.31+0x28/0x70
[drm_kms_helper]
[    3.436972]  drm_fb_helper_restore_fbdev_mode_unlocked+0x25/0x30
[drm_kms_helper]
[    3.437003]  amdgpu_fbdev_restore_mode+0x1f/0x50 [amdgpu]
[    3.437032]  amdgpu_driver_lastclose_kms+0x12/0x20 [amdgpu]
[    3.437041]  drm_lastclose+0x3c/0xf0 [drm]
[    3.437050]  drm_release+0x2cf/0x390 [drm]
[    3.437056]  __fput+0xea/0x220
[    3.437058]  ____fput+0xe/0x10
[    3.437062]  task_work_run+0x8a/0xb0
[    3.437066]  exit_to_usermode_loop+0xc4/0xd0
[    3.437068]  do_syscall_64+0xf4/0x130
[    3.437073]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[    3.437074] RIP: 0033:0x7fa3936978f0
[    3.437075] RSP: 002b:00007ffd115bb108 EFLAGS: 00000246 ORIG_RAX:
0000000000000003
[    3.437076] RAX: 0000000000000000 RBX: 00000000020c3dc0 RCX:
00007fa3936978f0
[    3.437077] RDX: 00000000020b1290 RSI: 00007fa393964b28 RDI:
0000000000000009
[    3.437078] RBP: 0000000000000009 R08: 00000000020c3dc0 R09:
0000000000000000
[    3.437079] R10: 00007fa393964b78 R11: 0000000000000246 R12:
000000000000e200
[    3.437079] R13: 00007fa39397d650 R14: 0000000000000000 R15:
00000000020c66f0
[    3.437081] Code: 18 31 f6 45 89 e8 44 89 e1 48 c7 c7 7a c1 71 c0 89 45 d4
52 48 c7 c2 f8 46 71 c0 e8 26 85 dd ff 41 83 7e 20 01 58 8b 45 d4 74 02 <0f> 0b
48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b e9 2f 
[    3.437106] ---[ end trace fce3b3b89c93a318 ]---
[    3.437277] [drm] DC: Cursor address is 0!
[    3.437447] [drm] DC: Cursor address is 0!
[    3.437488] [drm] {1920x1080, 2230x1140@152600Khz}
[    3.449512] [drm] HBRx2 pass VS=1, PE=0</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>