[Bug 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 6 13:58:04 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105369

            Bug ID: 105369
           Summary: HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at
                    startup, VMC page fault during runtime
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: chris at degree.at

Created attachment 137826
  --> https://bugs.freedesktop.org/attachment.cgi?id=137826&action=edit
dmesg

I'm using Linux version 4.15.7-1-ARCH on a HP ENVY x360. 
When booting the error below shows up. Still, gnome boots up and I can work
with it. After some time graphics freezes, see below.

[    2.280593] Hardware name: HP HP ENVY x360 Convertible 15-bq1xx/83C6, BIOS
F.13 11/10/2017
[    2.280633] RIP: 0010:generic_reg_wait+0xee/0x120 [amdgpu]
[    2.280634] RSP: 0018:ffffb9edc135f3c0 EFLAGS: 00010297
[    2.280635] RAX: 0000000000000001 RBX: 0000000000000065 RCX:
0000000000000001
[    2.280636] RDX: 0000000000000000 RSI: 0000000000000002 RDI:
0000000000000292
[    2.280636] RBP: 0000000000000001 R08: 0000000432672164 R09:
000000000000005e
[    2.280637] R10: 0000000000000002 R11: 0000000000000000 R12:
ffff9bc4c4991e00
[    2.280637] R13: 000000000000504d R14: 0000000000000100 R15:
0000000000000001
[    2.280638] FS:  00007f932f8a28c0(0000) GS:ffff9bc4d6a40000(0000)
knlGS:0000000000000000
[    2.280639] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.280640] CR2: 000055b45015fee8 CR3: 00000002139da000 CR4:
00000000003406e0
[    2.280641] Call Trace:
[    2.280688]  tgn10_lock+0x9e/0xb0 [amdgpu]
[    2.280731]  program_all_pipe_in_tree+0x1387/0x1440 [amdgpu]
[    2.280775]  dcn10_apply_ctx_for_surface+0x4a0/0x510 [amdgpu]
[    2.280815]  dc_commit_state+0x281/0x4b0 [amdgpu]
[    2.280860]  amdgpu_dm_atomic_commit_tail+0x2ab/0x9a0 [amdgpu]
[    2.280896]  ? amdgpu_bo_pin_restricted+0x1ac/0x290 [amdgpu]
[    2.280899]  ? kmem_cache_alloc_trace+0x1a9/0x1c0
[    2.280943]  ? dm_plane_helper_prepare_fb+0x1d1/0x240 [amdgpu]
[    2.280951]  commit_tail+0x3d/0x70 [drm_kms_helper]
[    2.280959]  drm_atomic_helper_commit+0xfc/0x110 [drm_kms_helper]
[    2.280967]  restore_fbdev_mode_atomic+0x181/0x1f0 [drm_kms_helper]
[    2.280976]  drm_fb_helper_restore_fbdev_mode_unlocked.part.25+0x23/0x70
[drm_kms_helper]
[    2.280990]  drm_fb_helper_set_par+0x3e/0x70 [drm_kms_helper]
[    2.280993]  fbcon_init+0x482/0x660
[    2.280997]  visual_init+0xd5/0x130
[    2.280998]  do_bind_con_driver+0x1f4/0x400
[    2.281001]  do_take_over_console+0x7b/0x190
[    2.281002]  do_fbcon_takeover+0x58/0xb0
[    2.281004]  notifier_call_chain+0x47/0x70
[    2.281006]  blocking_notifier_call_chain+0x3e/0x60
[    2.281009]  ? down+0x12/0x50
[    2.281011]  register_framebuffer+0x248/0x350
[    2.281016]  __drm_fb_helper_initial_config_and_unlock+0x20e/0x420
[drm_kms_helper]
[    2.281052]  amdgpu_fbdev_init+0xc4/0xf0 [amdgpu]
[    2.281087]  amdgpu_device_init+0x1110/0x15e0 [amdgpu]
[    2.281121]  amdgpu_driver_load_kms+0x86/0x2d0 [amdgpu]
[    2.281131]  drm_dev_register+0x132/0x1c0 [drm]
[    2.281164]  amdgpu_pci_probe+0x10a/0x140 [amdgpu]
[    2.281167]  local_pci_probe+0x42/0xa0
[    2.281169]  ? pci_match_device+0xd9/0x100
[    2.281170]  pci_device_probe+0x146/0x1b0
[    2.281173]  driver_probe_device+0x315/0x480
[    2.281175]  __driver_attach+0xa0/0xe0
[    2.281176]  ? driver_probe_device+0x480/0x480
[    2.281177]  bus_for_each_dev+0x6b/0xb0
[    2.281179]  bus_add_driver+0x1c2/0x260
[    2.281180]  ? 0xffffffffc0e78000
[    2.281182]  driver_register+0x57/0xc0
[    2.281183]  ? 0xffffffffc0e78000
[    2.281185]  do_one_initcall+0x4e/0x190
[    2.281187]  ? kmem_cache_alloc_trace+0xa1/0x1c0
[    2.281190]  do_init_module+0x5b/0x205
[    2.281192]  load_module+0x26ad/0x2b30
[    2.281195]  ? vmap_page_range_noflush+0x27b/0x380
[    2.281197]  ? SyS_init_module+0x163/0x1a0
[    2.281199]  SyS_init_module+0x163/0x1a0
[    2.281201]  do_syscall_64+0x74/0x190
[    2.281204]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[    2.281206] RIP: 0033:0x7f932f1f46ca
[    2.281206] RSP: 002b:00007ffc090cc3e8 EFLAGS: 00000246 ORIG_RAX:
00000000000000af
[    2.281207] RAX: ffffffffffffffda RBX: 0000563d60680570 RCX:
00007f932f1f46ca
[    2.281208] RDX: 00007f932eaabcb5 RSI: 000000000057dfb0 RDI:
0000563d61064370
[    2.281209] RBP: 00007f932eaabcb5 R08: 0000000000000006 R09:
0000000800000001
[    2.281209] R10: 0000000000000005 R11: 0000000000000246 R12:
0000563d61064370
[    2.281210] R13: 0000563d6069b200 R14: 0000000000020000 R15:
00007ffc090ccee0
[    2.281211] Code: 48 c7 c7 42 7d 11 c1 52 4c 8b 4c 24 58 48 c7 c2 e8 02 11
c1 44 8b 44 24 50 e8 ef c1 9c ff 41 83 7c 24 20 01 58 8b 44 24 08 74 02 <0f> 0b
48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 c7 44 24 0c 
[    2.281229] ---[ end trace eb239795106c8f7c ]---
---cut, see full dmesg

During runtime, the graphics freezes. I can still login using ssh:

[ 1112.083668] amdgpu 0000:04:00.0: [gfxhub] VMC page fault (src_id:0 ring:24
vm_id:4 pas_id:0)
[ 1112.083677] amdgpu 0000:04:00.0:   at page 0x0000000103c18000 from 27
[ 1112.083679] amdgpu 0000:04:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00401031
[ 1112.083686] amdgpu 0000:04:00.0: [gfxhub] VMC page fault (src_id:0 ring:24
vm_id:4 pas_id:0)
[ 1112.083689] amdgpu 0000:04:00.0:   at page 0x0000000103c16000 from 27
[ 1112.083691] amdgpu 0000:04:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ 1112.083697] amdgpu 0000:04:00.0: [gfxhub] VMC page fault (src_id:0 ring:24
vm_id:4 pas_id:0)
[ 1112.083699] amdgpu 0000:04:00.0:   at page 0x0000000103c01000 from 27
[ 1112.083701] amdgpu 0000:04:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
---cut, see full dmesg
[ 1475.551038] Call Trace:
[ 1475.551049]  ? __schedule+0x24b/0x8c0
[ 1475.551054]  schedule+0x32/0x90
[ 1475.551057]  schedule_timeout+0x213/0x480
[ 1475.551129]  ? generic_reg_get+0x21/0x30 [amdgpu]
[ 1475.551204]  ? tgn10_get_crtc_scanoutpos+0x68/0xa0 [amdgpu]
[ 1475.551209]  dma_fence_default_wait+0x1ea/0x280
[ 1475.551213]  ? dma_fence_default_wait+0x280/0x280
[ 1475.551216]  dma_fence_wait_timeout+0x38/0x110
[ 1475.551220]  reservation_object_wait_timeout_rcu+0x187/0x360
[ 1475.551294]  amdgpu_dm_do_flip+0x109/0x360 [amdgpu]
[ 1475.551372]  amdgpu_dm_atomic_commit_tail+0x8a1/0x9a0 [amdgpu]
[ 1475.551385]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1475.551392]  process_one_work+0x1ce/0x410
[ 1475.551395]  worker_thread+0x2b/0x3d0
[ 1475.551398]  ? process_one_work+0x410/0x410
[ 1475.551400]  kthread+0x113/0x130
[ 1475.551403]  ? kthread_create_on_node+0x70/0x70
[ 1475.551406]  ret_from_fork+0x22/0x40
[ 1475.551471] INFO: task amdgpu_cs:0:734 blocked for more than 120 seconds.
[ 1475.551474]       Tainted: G        WC       4.15.7-1-ARCH #1
[ 1475.551476] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 1475.551478] amdgpu_cs:0     D    0   734    731 0x00000000
[ 1475.551481] Call Trace:
[ 1475.551485]  ? __schedule+0x24b/0x8c0
[ 1475.551492]  ? ttm_bo_mem_compat+0x23/0x60 [ttm]
[ 1475.551495]  schedule+0x32/0x90
[ 1475.551498]  schedule_timeout+0x213/0x480
[ 1475.551500]  ? _raw_spin_lock+0x13/0x40
[ 1475.551502]  ? _raw_spin_unlock+0x16/0x30
[ 1475.551551]  ? amdgpu_vm_update_directories+0x475/0x600 [amdgpu]
[ 1475.551555]  dma_fence_default_wait+0x1ea/0x280
[ 1475.551557]  ? dma_fence_default_wait+0x280/0x280
[ 1475.551560]  dma_fence_wait_timeout+0x38/0x110
[ 1475.551610]  amdgpu_ctx_wait_prev_fence+0x49/0x80 [amdgpu]
[ 1475.551661]  amdgpu_cs_ioctl+0x2a4/0x1b20 [amdgpu]
[ 1475.551667]  ? dequeue_entity+0x389/0x990
[ 1475.551718]  ? amdgpu_cs_find_mapping+0xc0/0xc0 [amdgpu]
[ 1475.551735]  drm_ioctl_kernel+0x5b/0xb0 [drm]
[ 1475.551751]  drm_ioctl+0x2d5/0x370 [drm]
[ 1475.551799]  ? amdgpu_cs_find_mapping+0xc0/0xc0 [amdgpu]
[ 1475.551843]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1475.551850]  do_vfs_ioctl+0xa4/0x630
[ 1475.551856]  ? SyS_futex+0x12d/0x180
[ 1475.551859]  SyS_ioctl+0x74/0x80
[ 1475.551865]  do_syscall_64+0x74/0x190
[ 1475.551868]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
---cut, see full dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180306/0d122470/attachment.html>


More information about the dri-devel mailing list