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

2018-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105369

cd  changed:

   What|Removed |Added

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

--- Comment #11 from cd  ---
Was solved by using
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

2018-03-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105369

--- Comment #10 from cd  ---
A freeze occured while working with the laptop:

uname -r
4.16.0-rc1-085145ebf0e9

[20516.321517] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout,
last signaled seq=448660, last emitted seq=448663
[20516.321526] [drm] No hardware hang detected. Did some blocks stall?

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

2018-03-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105369

--- Comment #9 from cd  ---
Created attachment 137925
  --> https://bugs.freedesktop.org/attachment.cgi?id=137925=edit
4.16.0-rc1-085145ebf0e9-blank-screen

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

2018-03-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105369

cd  changed:

   What|Removed |Added

 Attachment #137826|0   |1
is obsolete||
 Attachment #137848|0   |1
is obsolete||
 Attachment #137867|0   |1
is obsolete||

--- Comment #8 from cd  ---
Created attachment 137924
  --> https://bugs.freedesktop.org/attachment.cgi?id=137924=edit
4.16.0-rc1-085145ebf0e9-color-temp

I forgot enabling them. I recompiled and tested.

In 1 out of 10 reboots I got a blank screen, see attachment
4.16.0-rc1-085145ebf0e9-blank-screen

--snip
Mar 08 10:38:07 bb8 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx
timeout, last signaled seq=5, last emitted seq=8
--snip

In the other cases it was running stable, but the colors were crazy, see
4.16.0-rc1-085145ebf0e9-color-temp. 
--snip
Mar 08 10:39:05 bb8 kernel: [drm:construct [amdgpu]] *ERROR* construct: Invalid
Connector ObjectID from Adapter Service for connector index:2! type 0 expected
3
--snip

I don't know if this has anything to do with amdgpu, maybe it's related to
this: https://bugs.archlinux.org/task/54207
--snip
gsd-color[574]: failed to set screen _ICC_PROFILE: Failed to open file
--snip

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

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

--- Comment #7 from Alex Deucher  ---
It looks like you built the driver without DC or DCN support.  Please make sure
the following are set in your .config:
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_DCN1_0=y

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

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

--- Comment #6 from cd  ---
Created attachment 137867
  --> https://bugs.freedesktop.org/attachment.cgi?id=137867=edit
journalctl-amd-drm-staging.txt

I hope I took the correct version, 4.16.0-rc1-085145ebf0e9

The screen freezes with the boot log, no further output is shown and gdm is
constantly trying to launch.

I enclosed the complete journalctl -b -1, only removed the constant retry of
gdm.

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

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

--- Comment #5 from Harry Wentland  ---
Can you see if this is fixed in the branch drm-next-4.17-wip of Alex's repo
(https://cgit.freedesktop.org/~agd5f/linux/?h=amd-staging-drm-next)?

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

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

--- Comment #4 from cd  ---
Created attachment 137848
  --> https://bugs.freedesktop.org/attachment.cgi?id=137848=edit
dmesg2

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

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

--- Comment #3 from cd  ---
Full demesg see in dmesg2 attachment

--snip
[3.139563] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:2!
--snip
[3.190734] [drm] Initialized amdgpu 3.23.0 20150101 for :04:00.0 on
minor 0
[3.217577] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us *
100 tries - tgn10_lock line:566
--snip
[3.217682] Hardware name: HP HP ENVY x360 Convertible 15-bq1xx/83C6, BIOS
F.13 11/10/2017
[3.217711] RIP: 0010:generic_reg_wait+0xee/0x120 [amdgpu]
[3.217712] RSP: 0018:a4030192fa38 EFLAGS: 00010297
[3.217713] RAX: 0001 RBX: 0065 RCX:
0001
[3.217713] RDX:  RSI: baeaa34a RDI:

[3.217714] RBP: 0001 R08: ba49c4f0 R09:
03ff
[3.217715] R10: 0002 R11: bb5c1f2d R12:
924545a78400
[3.217715] R13: 504d R14: 0100 R15:
0001
[3.217717] FS:  7f8e35de1740() GS:92455ecc()
knlGS:
[3.217717] CS:  0010 DS:  ES:  CR0: 80050033
[3.217718] CR2: 7f8e3568010f CR3: 000205a76000 CR4:
003406e0
[3.217719] Call Trace:
[3.217754]  tgn10_lock+0x9e/0xb0 [amdgpu]
[3.217785]  program_all_pipe_in_tree+0x1387/0x1440 [amdgpu]
[3.217817]  dcn10_apply_ctx_for_surface+0x4a0/0x510 [amdgpu]
[3.217845]  dc_commit_state+0x281/0x4b0 [amdgpu]
[3.217878]  amdgpu_dm_atomic_commit_tail+0x2ab/0x9a0 [amdgpu]
[3.217901]  ? amdgpu_bo_pin_restricted+0x1ac/0x290 [amdgpu]
[3.217904]  ? kmem_cache_alloc_trace+0x1a9/0x1c0
[3.217934]  ? dm_plane_helper_prepare_fb+0x1d1/0x240 [amdgpu]
[3.217942]  commit_tail+0x3d/0x70 [drm_kms_helper]
[3.217947]  drm_atomic_helper_commit+0xfc/0x110 [drm_kms_helper]
[3.217952]  restore_fbdev_mode_atomic+0x181/0x1f0 [drm_kms_helper]
[3.217957]  drm_fb_helper_restore_fbdev_mode_unlocked.part.25+0x23/0x70
[drm_kms_helper]
[3.217980]  amdgpu_fbdev_restore_mode+0x1b/0x40 [amdgpu]
[3.218002]  amdgpu_driver_lastclose_kms+0xe/0x20 [amdgpu]
[3.218011]  drm_lastclose+0x37/0xf0 [drm]
[3.218018]  drm_release+0x2c5/0x380 [drm]
[3.218021]  __fput+0x9d/0x1e0
[3.218025]  task_work_run+0x84/0xa0
[3.218028]  exit_to_usermode_loop+0x96/0xa0
[3.218029]  do_syscall_64+0x18a/0x190
[3.218033]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[3.218034] RIP: 0033:0x7f8e359f89f4
[3.218035] RSP: 002b:7ffc2dd7f588 EFLAGS: 0246 ORIG_RAX:
0003
[3.218036] RAX:  RBX: 7ffc2dd7f680 RCX:
7f8e359f89f4
[3.218037] RDX: 7ffc2dd7f5a0 RSI: c04064a0 RDI:
0004
[3.218037] RBP:  R08: 0001 R09:

[3.218038] R10: 0133 R11: 0246 R12:
7ffc2dd7f5a0
[3.218038] R13: 0001 R14: 0001 R15:
0004
[3.218039] Code: 48 c7 c7 42 8d 10 c1 52 4c 8b 4c 24 58 48 c7 c2 e8 12 10
c1 44 8b 44 24 50 e8 ef e1 9b 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 
[3.218061] ---[ end trace e459452396c96ef1 ]---
--snip
[  190.230953] Hardware name: HP HP ENVY x360 Convertible 15-bq1xx/83C6, BIOS
F.13 11/10/2017
[  190.230996] RIP: 0010:generic_reg_wait+0xee/0x120 [amdgpu]
[  190.230998] RSP: 0018:a40303f7f898 EFLAGS: 00010297
[  190.231000] RAX: 0001 RBX: 0065 RCX:
0001
[  190.231001] RDX:  RSI: baeaa34a RDI:

[  190.231002] RBP: 0001 R08: ba49c4f0 R09:
043f
[  190.231003] R10: 0002 R11: bb5c1f2d R12:
924545a78400
[  190.231003] R13: 504d R14: 0100 R15:
0001
[  190.231005] FS:  7f94d9f22940() GS:92455ec4()
knlGS:
[  190.231006] CS:  0010 DS:  ES:  CR0: 80050033
[  190.231007] CR2: 7f94c010 CR3: 000208392000 CR4:
003406e0
[  190.231008] Call Trace:
[  190.231060]  tgn10_lock+0x9e/0xb0 [amdgpu]
[  190.231108]  program_all_pipe_in_tree+0x1387/0x1440 [amdgpu]
[  190.231114]  ? __mod_zone_page_state+0x66/0xa0
[  190.231160]  dcn10_apply_ctx_for_surface+0x4a0/0x510 [amdgpu]
[  190.231211]  ? generic_reg_get+0x21/0x30 [amdgpu]
[  190.231272]  dc_commit_state+0x281/0x4b0 [amdgpu]
[  190.231342]  amdgpu_dm_atomic_commit_tail+0x2ab/0x9a0 [amdgpu]
[  190.231347]  ? preempt_count_add+0x68/0xa0
[  190.231351]  ? _raw_spin_lock_irq+0x1a/0x40
[  190.231353]  ? _raw_spin_unlock_irq+0x1d/0x30
[  190.231356]  ? wait_for_common+0x151/0x180
[  190.231358]  ? _raw_spin_unlock_irq+0x1d/0x30
[  190.231361]  ? wait_for_common+0x151/0x180
[  190.231374]  commit_tail+0x3d/0x70 [drm_kms_helper]
[  

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

2018-03-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105369

--- Comment #2 from cd  ---
Should I split up?

The first error doesn't cause any issues for using the laptop. Only the second
error actually freezes the graphics.

I have now enabled amdgpu.dc_log=1 and drm.debug=6. When it crashes, I'll a new
dmesg.

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

2018-03-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105369

Michel Dänzer  changed:

   What|Removed |Added

 CC||harry.wentl...@amd.com

--- Comment #1 from Michel Dänzer  ---
Looks like two separate issues, which should be tracked separately.

-- 
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 105369] HP HP ENVY x360, amdgpu, Call Trace tgn10_lock at startup, VMC page fault during runtime

2018-03-06 Thread bugzilla-daemon
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@lists.freedesktop.org
  Reporter: ch...@degree.at

Created attachment 137826
  --> https://bugs.freedesktop.org/attachment.cgi?id=137826=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:b9edc135f3c0 EFLAGS: 00010297
[2.280635] RAX: 0001 RBX: 0065 RCX:
0001
[2.280636] RDX:  RSI: 0002 RDI:
0292
[2.280636] RBP: 0001 R08: 000432672164 R09:
005e
[2.280637] R10: 0002 R11:  R12:
9bc4c4991e00
[2.280637] R13: 504d R14: 0100 R15:
0001
[2.280638] FS:  7f932f8a28c0() GS:9bc4d6a4()
knlGS:
[2.280639] CS:  0010 DS:  ES:  CR0: 80050033
[2.280640] CR2: 55b45015fee8 CR3: 0002139da000 CR4:
003406e0
[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]  ? 0xc0e78000
[2.281182]  driver_register+0x57/0xc0
[2.281183]  ? 0xc0e78000
[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:7ffc090cc3e8 EFLAGS: 0246 ORIG_RAX:
00af
[2.281207] RAX: ffda RBX: 563d60680570 RCX:
7f932f1f46ca
[2.281208] RDX: 7f932eaabcb5 RSI: 0057dfb0 RDI:
563d61064370
[2.281209] RBP: 7f932eaabcb5 R08: 0006 R09:
00080001
[2.281209] R10: 0005 R11: 0246 R12:
563d61064370
[2.281210] R13: 563d6069b200 R14: 0002 R15:
7ffc090ccee0
[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,