Bug 111843 - Resume fails after suspend with nouveau and Gtx 1050 ti
Summary: Resume fails after suspend with nouveau and Gtx 1050 ti
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: Other All
: not set not set
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-27 13:48 UTC by txuxifel
Modified: 2019-11-02 09:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Dmesg with nouveau (283.95 KB, text/plain)
2019-09-27 18:18 UTC, txuxifel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description txuxifel 2019-09-27 13:48:24 UTC
My system is  Opensuse tumbleweed updated (kernel 5.2.XX) with Kde (5.16).

This problems happens with nouveau (not with nvidia driver). Ift I resume after suspend, Screen is not activated. I got this log in dmesg (via ssh):





[  469.931682] WARNING: CPU: 2 PID: 2178 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:221 gf100_vmm_invalidate+0x1a6/0x1c0 [nouveau]
[  469.931683] Modules linked in: cmac rfcomm af_packet libcrc32c vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci ip_set hid_logitech_hidpp nfnetlink joydev vmmon(OE) scsi_transport_iscsi x_tables bpfilter intel_rapl snd_seq bnep snd_seq_device snd_hda_codec_hdmi hid_logitech_dj x86_pkg_temp_thermal intel_powerclamp kvm_intel iTCO_wdt kvm iTCO_vendor_support mei_hdcp irqbypass hid_generic ppdev crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel msr coretemp e1000e snd_hda_codec_realtek aes_x86_64 crypto_simd snd_hda_codec_generic cryptd ptp i2c_i801 glue_helper pps_core ledtrig_audio pcspkr snd_hda_intel snd_hda_codec btusb btrtl btbcm snd_hda_core btintel snd_hwdep bluetooth snd_pcm snd_timer snd uas mei_me ecdh_generic rfkill usb_storage pcc_cpufreq ecc usbhid usblp soundcore ipmi_devintf mei thermal fan parport_pc parport acpi_pad nls_iso8859_1 fuse nls_cp437 vfat fat ipmi_msghandler nouveau mxm_wmi wmi i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops
[  469.931696]  xhci_pci ttm xhci_hcd crc32c_intel drm usbcore video button sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs [last unloaded: ip_tables]
[  469.931700] CPU: 2 PID: 2178 Comm: kwin_x11 Tainted: P        W  OE     5.2.14-1-default #1 openSUSE Tumbleweed (unreleased)
[  469.931700] Hardware name: Gigabyte Technology Co., Ltd. Z270M-D3H/Z270M-D3H-CF, BIOS F8b 01/10/2018
[  469.931718] RIP: 0010:gf100_vmm_invalidate+0x1a6/0x1c0 [nouveau]
[  469.931719] Code: 8b 40 10 48 8b 78 10 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 0c 9d d3 d1 4c 89 ea 48 c7 c7 1e d0 89 c0 48 89 c6 e8 19 20 76 d1 <0f> 0b e9 6d ff ff ff e8 1e 1d 76 d1 66 66 2e 0f 1f 84 00 00 00 00
[  469.931719] RSP: 0018:ffffaeea439bf570 EFLAGS: 00010282
[  469.931720] RAX: 0000000000000000 RBX: ffff9dee56cee400 RCX: 0000000000000006
[  469.931720] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff9dee9ea99a10
[  469.931721] RBP: 0000000000000001 R08: 0000000000001c4f R09: 0000000000000001
[  469.931721] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9dee962dc420
[  469.931721] R13: ffff9dee9e6f6110 R14: ffff9dee56c9d7c0 R15: ffff9deddae1a2a0
[  469.931722] FS:  00007f2e72aa5880(0000) GS:ffff9dee9ea80000(0000) knlGS:0000000000000000
[  469.931722] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  469.931723] CR2: 000055dc891692d0 CR3: 00000003cdf80002 CR4: 00000000003606e0
[  469.931723] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  469.931724] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  469.931724] Call Trace:
[  469.931740]  nvkm_vmm_iter.constprop.0+0x34b/0x810 [nouveau]
[  469.931756]  ? nvkm_vmm_sparse_unref_ptes+0x70/0x70 [nouveau]
[  469.931772]  ? gp100_vmm_join+0x20/0x20 [nouveau]
[  469.931787]  ? gf100_vmm_invalidate+0x122/0x1c0 [nouveau]
[  469.931803]  nvkm_vmm_ptes_get_map+0x2e/0x70 [nouveau]
[  469.931818]  ? nvkm_vmm_sparse_unref_ptes+0x70/0x70 [nouveau]
[  469.931833]  ? gp100_vmm_join+0x20/0x20 [nouveau]
[  469.931848]  nvkm_vmm_map+0x1cf/0x360 [nouveau]
[  469.931863]  nvkm_mem_map_dma+0x56/0x80 [nouveau]
[  469.931878]  nvkm_uvmm_mthd+0x66a/0x780 [nouveau]
[  469.931888]  nvkm_ioctl+0xde/0x180 [nouveau]
[  469.931903]  ? nvkm_uvmm_mthd+0x17f/0x780 [nouveau]
[  469.931912]  nvif_object_mthd+0x104/0x130 [nouveau]
[  469.931921]  ? nvif_object_mthd+0x117/0x130 [nouveau]
[  469.931929]  nvif_vmm_map+0x115/0x130 [nouveau]
[  469.931949]  nouveau_mem_map+0x8d/0xf0 [nouveau]
[  469.931969]  nouveau_bo_move_m2mf.constprop.0+0x113/0x200 [nouveau]
[  469.931989]  nouveau_bo_move+0xa5/0x430 [nouveau]
[  469.932008]  ? nouveau_vma_map+0x44/0x70 [nouveau]
[  469.932011]  ttm_bo_handle_move_mem+0x10b/0x4f0 [ttm]
[  469.932013]  ttm_bo_validate+0x11b/0x130 [ttm]
[  469.932032]  nouveau_bo_validate+0x59/0x90 [nouveau]
[  469.932051]  nouveau_gem_ioctl_pushbuf+0x323/0xbd0 [nouveau]
[  469.932069]  ? nouveau_gem_ioctl_new+0xe0/0xe0 [nouveau]
[  469.932076]  drm_ioctl_kernel+0xaa/0xf0 [drm]
[  469.932081]  drm_ioctl+0x1f7/0x390 [drm]
[  469.932099]  ? nouveau_gem_ioctl_new+0xe0/0xe0 [nouveau]
[  469.932101]  ? try_to_wake_up+0x53/0x5f0
[  469.932120]  nouveau_drm_ioctl+0x63/0xb0 [nouveau]
[  469.932122]  do_vfs_ioctl+0x40e/0x670
[  469.932124]  ? do_futex+0x157/0x1d0
[  469.932124]  ksys_ioctl+0x5e/0x90
[  469.932126]  ? trace_hardirqs_off_thunk+0x1a/0x2e
[  469.932127]  __x64_sys_ioctl+0x16/0x20
[  469.932128]  do_syscall_64+0x6e/0x1e0
[  469.932129]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
[  469.932130] RIP: 0033:0x7f2e77a977c7
[  469.932130] Code: 00 00 90 48 8b 05 d1 86 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 a1 86 0c 00 f7 d8 64 89 01 48
[  469.932131] RSP: 002b:00007ffc0c650ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  469.932131] RAX: ffffffffffffffda RBX: 00007ffc0c650f40 RCX: 00007f2e77a977c7
[  469.932132] RDX: 00007ffc0c650f40 RSI: 00000000c0406481 RDI: 0000000000000014
[  469.932132] RBP: 00000000c0406481 R08: 0000556220b378e0 R09: 000055622075a390
[  469.932133] R10: 00005562208d0e98 R11: 0000000000000246 R12: 0000556220af85c0
[  469.932133] R13: 0000000000000014 R14: 00005562207450c0 R15: 000055622075a390
[  469.932134] ---[ end trace 8a79010dd231cb3c ]---




PD. Motherboard is Gigabyte Z270-D3H with BIOS updated F8d
Comment 1 Karol Herbst 2019-09-27 13:59:23 UTC
mind posting your full dmesg? Maybe there is something else which could be relevant here.
Comment 2 txuxifel 2019-09-27 18:18:31 UTC
Created attachment 145558 [details]
Dmesg with nouveau
Comment 3 Karol Herbst 2019-09-27 19:13:01 UTC
(In reply to txuxifel from comment #2)
> Created attachment 145558 [details]
> Dmesg with nouveau

thanks. There are two interesting bits in there:

* nouveau 0000:01:00.0: gr: intr 00000040
* nouveau 0000:01:00.0: bus: MMIO write of 800002af FAULT at 10eb14 [ TIMEOUT ]

Ben, did you ever see this issue? Is it something which might be fixed by your secboot rework?
Comment 4 txuxifel 2019-09-27 19:45:06 UTC
Hi,

secboot? it it related with "secure boot" from uefi? I can do any test you want

Thanks


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.