Bug 200939 - nouveau timeout with GP106 [GeForce GTX 1060 6GB]
Summary: nouveau timeout with GP106 [GeForce GTX 1060 6GB]
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: x86-64 Linux
: P1 low
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-26 18:36 UTC by Pedro
Modified: 2019-06-12 20:28 UTC (History)
6 users (show)

See Also:
Kernel Version: 4.18.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg from thinkpad x1 extreme / GTX 1050 Ti on kernel 4.20 (79.26 KB, text/plain)
2019-01-08 09:40 UTC, Andrey Melentyev
Details
lspci from thinkpad x1 extreme / GTX 1050 Ti on kernel 4.20 (66.39 KB, text/plain)
2019-01-08 09:40 UTC, Andrey Melentyev
Details
dmesg from thinkpad x1 extreme / GTX 1050 Ti on kernel 5.1.4 (63.98 KB, text/plain)
2019-05-23 17:13 UTC, Andrey Melentyev
Details

Description Pedro 2018-08-26 18:36:41 UTC
Overview: timeout while loading kernel on boot
Steps to Reproduce: start the computer


[   26.464806] ------------[ cut here ]------------
[   26.464808] nouveau 0000:01:00.0: timeout
[   26.464857] WARNING: CPU: 7 PID: 761 at drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c:183 acr_ls_sec2_post_run+0x19f/0x250 [nouveau]
[   26.464858] Modules linked in: nfnetlink_log nfnetlink hid_generic usbhid hid binfmt_misc dm_mod dax raid1 md_mod bridge stp llc nouveau video drm_kms_helper ttm evdev iTCO_wdt mxm_wmi coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic drm drm_panel_orientation_quirks kvm irqbypass nvidiafb pcspkr cfbfillrect snd_hda_intel cfbimgblt vgastate i2c_i801 snd_hda_codec snd_hda_core cfbcopyarea xhci_pci i2c_algo_bit snd_pcm ehci_pci xhci_hcd fb_ddc ehci_hcd snd_timer lpc_ich r8169 snd i2c_core mii mfd_core usbcore soundcore usb_common wmi button acpi_cpufreq nfsd auth_rpcgss lockd grace sunrpc ip_tables x_tables autofs4
[   26.464899] CPU: 7 PID: 761 Comm: Xorg Not tainted 4.18.3-kvm #1
[   26.464900] Hardware name: Gigabyte Technology Co., Ltd. P55A-UD4/P55A-UD4, BIOS F15 09/16/2010
[   26.464928] RIP: 0010:acr_ls_sec2_post_run+0x19f/0x250 [nouveau]
[   26.464928] Code: d6 e9 c0 fe ff ff 49 8b 7f 10 48 8b 5f 50 48 85 db 74 1e e8 d3 44 5d d6 48 89 da 48 c7 c7 ee f6 aa c0 48 89 c6 e8 96 e7 2d d6 <0f> 0b e9 0a ff ff ff 48 8b 5f 10 eb dc 8b 45 20 48 c7 c6 e8 6d aa 
[   26.464958] RSP: 0018:ffff9c22c2e2fb28 EFLAGS: 00010282
[   26.464960] RAX: 0000000000000000 RBX: ffff8a749d08c260 RCX: 0000000000000006
[   26.464961] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff8a74afdd5350
[   26.464962] RBP: ffff8a74968f5580 R08: 0000000000000001 R09: 0000000000000330
[   26.464963] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000040
[   26.464964] R13: ffff8a7497a3ca80 R14: 00000006295bef20 R15: ffff8a749b716c00
[   26.464966] FS:  00007f41f03b5a40(0000) GS:ffff8a74afdc0000(0000) knlGS:0000000000000000
[   26.464968] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   26.464969] CR2: 00007f41e9a7c000 CR3: 00000004102c0000 CR4: 00000000000006e0
[   26.464969] Call Trace:
[   26.464999]  acr_r352_bootstrap+0x196/0x290 [nouveau]
[   26.465025]  acr_r352_reset+0x30/0x210 [nouveau]
[   26.465050]  gf100_gr_init_ctxctl+0x68/0xa10 [nouveau]
[   26.465066]  nvkm_engine_init+0xa5/0x1d0 [nouveau]
[   26.465084]  nvkm_subdev_init+0xad/0x1f0 [nouveau]
[   26.465100]  nvkm_engine_ref.part.1+0x3e/0x60 [nouveau]
[   26.465117]  nvkm_ioctl_new+0x120/0x200 [nouveau]
[   26.465142]  ? nvkm_fifo_chan_dtor+0xe0/0xe0 [nouveau]
[   26.465166]  ? gf100_fermi_mthd+0xf0/0xf0 [nouveau]
[   26.465182]  nvkm_ioctl+0xd3/0x170 [nouveau]
[   26.465205]  usif_ioctl+0x66d/0x6f0 [nouveau]
[   26.465228]  nouveau_drm_ioctl+0xa8/0xb0 [nouveau]
[   26.465231]  do_vfs_ioctl+0x9f/0x610
[   26.465234]  ksys_ioctl+0x35/0x70
[   26.465237]  __x64_sys_ioctl+0x11/0x20
[   26.465238]  do_syscall_64+0x5c/0x300
[   26.465241]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   26.465243] RIP: 0033:0x7f41f12bb067
[   26.465243] Code: b3 66 90 48 8b 05 21 7e 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d f1 7d 0c 00 f7 d8 64 89 01 48 
[   26.465274] RSP: 002b:00007ffcd1aaa3b8 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[   26.465276] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f41f12bb067
[   26.465277] RDX: 000056207fca9f00 RSI: 00000000c0386447 RDI: 0000000000000010
[   26.465278] RBP: 000056207fca9f00 R08: 000056207fcaaf20 R09: 000056207fcc2930
[   26.465279] R10: 0000000000000000 R11: 0000000000003246 R12: 00000000c0386447
[   26.465280] R13: 0000000000000010 R14: 000056207fca9f38 R15: 0000000000000000
[   26.465281] ---[ end trace 421b47c3d5255e1f ]---
[   28.508172] nouveau 0000:01:00.0: secboot: error during falcon reset: -110
[   28.508181] nouveau 0000:01:00.0: gr: init failed, -110
[   29.077104] nouveau 0000:01:00.0: gr: FECS falcon already acquired by gr!
[   29.077109] nouveau 0000:01:00.0: gr: init failed, -16
[   30.514559] nouveau 0000:01:00.0: gr: FECS falcon already acquired by gr!
[   30.514566] nouveau 0000:01:00.0: gr: init failed, -16
[   30.548477] nouveau 0000:01:00.0: gr: FECS falcon already acquired by gr!
[   30.548482] nouveau 0000:01:00.0: gr: init failed, -16
[   37.795475] nouveau 0000:01:00.0: gr: FECS falcon already acquired by gr!
[   37.795479] nouveau 0000:01:00.0: gr: init failed, -16
[   37.873265] nouveau 0000:01:00.0: gr: FECS falcon already acquired by gr!
[   37.873271] nouveau 0000:01:00.0: gr: init failed, -16
Comment 1 Andrey Melentyev 2019-01-08 09:36:26 UTC
Not sure if that is helpful, but I get a similar issue with GTX 1050 Ti (GP107M), that's the dGPU in a Thinkpad X1 Extreme laptop. There's a setting in laptop BIOS to switch between hybrid graphics and discrete. 

When running in "discrete" setting, the system actually works and I'm able to use both console and X11 with modesetting DDX and nouveau driver. I get a similar timeout as the one reported here, see full dmesg and lspci attached.

In "hybrid" mode, I can boot into console but overall things look less promising - lspci hangs and so does X when started (could very well be my mistake).

Tested with kernel 4.20.
Comment 2 Andrey Melentyev 2019-01-08 09:40:23 UTC
Created attachment 280325 [details]
dmesg from thinkpad x1 extreme / GTX 1050 Ti on kernel 4.20
Comment 3 Andrey Melentyev 2019-01-08 09:40:46 UTC
Created attachment 280327 [details]
lspci from thinkpad x1 extreme / GTX 1050 Ti on kernel 4.20
Comment 4 David Ober 2019-05-21 17:56:08 UTC
Retested with latest 8.1 build from Redhat on a thinkpad X1E same configuration as the second user on this ticket and unable to reproduce this issue using kernel 4.0.18-91.el8
Comment 5 Andrey Melentyev 2019-05-23 17:13:48 UTC
Created attachment 282927 [details]
dmesg from thinkpad x1 extreme / GTX 1050 Ti on kernel 5.1.4
Comment 6 Andrey Melentyev 2019-05-23 17:15:47 UTC
Retested on Thinkpad X1E with kernel 5.1.4-arch1-1, "discrete only" mode in BIOS and got the same timeout - see full dmesg for details.

Note You need to log in before you can comment on or make changes to this bug.