bugzilla-daemon at freedesktop.org
2019-Jul-03 00:00 UTC
[Nouveau] [Bug 111044] New: Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044
Bug ID: 111044
Summary: Resume up from suspend sometimes freezes system
(Optimus/Nouveau)
Product: xorg
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau at lists.freedesktop.org
Reporter: jhnmlkvch9 at gmail.com
QA Contact: xorg-team at lists.x.org
I'm on an Optimus laptop. Every time, I resume from suspend, I get this
message
and the resume succeeds.
tmp tpm0: tpm_try_transmit: send(): error -5
However, sometimes, I get this following messages and the system freezes:
nouveau 0000:01: 00.0: disp: outp 03:0006:0f81: link rate unsupported by sink
nouveau 0000:01: 00.0: disp: outp 03:0006:0f81: training failed
Not sure if this is relevant, but I also have a external multi-monitor setup.
$lspci -v | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor
Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GK104GLM [Quadro K3100M]
(rev a1) (prog-if 00 [VGA controller])
--
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/nouveau/attachments/20190703/f1f41546/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 00:11 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #1 from JM9 <jhnmlkvch9 at gmail.com> --- Linux jonmhome 5.1.15-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 25 04:49:39 UTC 2019 x86_64 GNU/Linux -- 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/nouveau/attachments/20190703/832680ab/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 00:16 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to JM9 from comment #0)> I'm on an Optimus laptop. Every time, I resume from suspend, I get this > message and the resume succeeds. > > tmp tpm0: tpm_try_transmit: send(): error -5This is related to the TPM driver - Trusted Platform Module. No clue what it's for. Intel ME interactions perhaps?> > However, sometimes, I get this following messages and the system freezes: > > nouveau 0000:01: 00.0: disp: outp 03:0006:0f81: link rate unsupported by sink > nouveau 0000:01: 00.0: disp: outp 03:0006:0f81: training failed > > Not sure if this is relevant, but I also have a external multi-monitor setup.Is the system actually frozen, or just the display is down? I suspect disconnecting and reconnecting would "fix" the issue in such a situation. Unfortunately I can't help much more than that, but perhaps someone else can suggest something. -- 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/nouveau/attachments/20190703/61f3a5e5/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 00:29 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #3 from JM9 <jhnmlkvch9 at gmail.com> --->Is the system actually frozen, or just the display is down?I'm guessing its frozen since I can't even switch consoles at this point.>I suspect disconnecting and reconnecting would "fix" the issue in such a >situation. Unfortunately I can't help much more than that, but perhaps someone >else can suggest something.It is possible. But typically, I disconnect my external monitors, close the laptop and leave to a different location in the field with no external monitors. So when I open the laptop and encounter the freeze, I'm not near a monitor. Closing and reopening the laptop does not help, but next time I encounter this issue, I'll see if plugging the external monitors back when in this state does anything. -- 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/nouveau/attachments/20190703/196bc107/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 00:41 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to JM9 from comment #3)> It is possible. But typically, I disconnect my external monitors, close the > laptop and leave to a different location in the field with no external > monitors. So when I open the laptop and encounter the freeze, I'm not near a > monitor. Closing and reopening the laptop does not help, but next time I > encounter this issue, I'll see if plugging the external monitors back when > in this state does anything.Oh. Is your primary screen driven by nouveau or by the intel chip? If it's the intel chip, the issue is probably not (directly) related to nouveau. -- 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/nouveau/attachments/20190703/63356baf/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 15:57 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #5 from JM9 <jhnmlkvch9 at gmail.com> --- I believe all screens (Display Ports) are wired to intel. If you think this is an intel issue, I can file a bug there, but the nouveau message threw me. -- 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/nouveau/attachments/20190703/9d602528/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 16:05 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to JM9 from comment #5)> I believe all screens (Display Ports) are wired to intel. If you think this > is an intel issue, I can file a bug there, but the nouveau message threw me.The error messages suggest that there's something attached to a DP port on the nvidia chip. Perhaps it's a phantom connection though. You can easily check to see where things are connected by doing grep . /sys/class/drm/card*-*/status which should show you the current state of each port, as well as what card it's on. (Then it's a matter of determining which card is which...) -- 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/nouveau/attachments/20190703/ebfe7d73/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 18:56 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #7 from JM9 <jhnmlkvch9 at gmail.com> --- ok, thanks. This is what it looks like with all the monitors connected: /sys/class/drm/card0-eDP-1/status:connected /sys/class/drm/card0-VGA-1/status:connected /sys/class/drm/card1-DP-1/status:connected /sys/class/drm/card1-DP-2/status:disconnected /sys/class/drm/card1-DP-3/status:connected -- 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/nouveau/attachments/20190703/39d53b25/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 19:05 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #8 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to JM9 from comment #7)> ok, thanks. This is what it looks like with all the monitors connected: > > /sys/class/drm/card0-eDP-1/status:connected > /sys/class/drm/card0-VGA-1/status:connected > /sys/class/drm/card1-DP-1/status:connected > /sys/class/drm/card1-DP-2/status:disconnected > /sys/class/drm/card1-DP-3/status:connectedOK, so this looks like all the DP ports are on the nvidia chip, while the internal screen (eDP-1) is on the intel chip. On resume, is the internal screen messed up? If so, this is an intel issue (or at least intel-involved). Also, what display system are you using? Xorg, or a wayland compositor (if so, which one)? -- 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/nouveau/attachments/20190703/4b3da6da/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 19:09 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044 --- Comment #9 from JM9 <jhnmlkvch9 at gmail.com> --- Yes, on resume, I typically don't have the external monitors connected, so it is the internal screen that displays the nouveau messages and appears to freeze. I'm using Wayland compositor (SwayWM: https://github.com/swaywm/sway) -- 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/nouveau/attachments/20190703/5a48aa0b/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-03 19:35 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044
JM9 <jhnmlkvch9 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|nouveau at lists.freedesktop.o |chris at chris-wilson.co.uk
|rg |
QA Contact|xorg-team at lists.x.org |intel-gfx-bugs at
lists.freede
| |sktop.org
Component|Driver/nouveau |Driver/intel
--- Comment #10 from JM9 <jhnmlkvch9 at gmail.com> ---
ok, changing component to Driver/intel.
I'm using xf86-video-intel-git 1:2.99.917+863+g6afed33b-2
--
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/nouveau/attachments/20190703/9ee7c8c9/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Jul-10 02:53 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044
JM9 <jhnmlkvch9 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|intel-gfx-bugs at lists.freede |xorg-team at lists.x.org
|sktop.org |
Assignee|chris at chris-wilson.co.uk |nouveau at
lists.freedesktop.o
| |rg
Component|Driver/intel |Driver/nouveau
--- Comment #13 from JM9 <jhnmlkvch9 at gmail.com> ---
So I ran into this again and on the way back, stopped off at office to
reconnect monitors to see if it will wake up. Unfortunately, that didn't
work.
But I was able to get this from the journal. Hope it is of some help:
LID opened
ACPI action undefined: PNP0C0A:00
kernel: WARNING: CPU: 0 PID: 6623 at
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h:172 nvkm_dp_enable+0xf2/0x110
[nouveau]
kernel: Modules linked in: cmac nls_iso8859_1 nls_cp437 vfat fat snd_usb_audio
snd_usbmidi_lib snd_rawmidi snd_seq_device hid_generic usbhid hid rfcomm ccm
fuse bnep 8021q garp mrp stp llc joydev mousedev arc4 snd_hda_codec_hdmi
nouveau i915 intel_rapl mei_hdcp mei_wdt x86_pkg_temp_thermal intel_powerclamp
coretemp kvm_intel iwlmvm >
kernel: fb_sys_fops mei_me intel_uncore ecdh_generic rtsx_pci_ms input_leds
i2c_i801 pcspkr rfkill memstick mei lpc_ich soundcore intel_rapl_perf psmouse
ie31200_edac parport_pc tpm_tis tpm_tis_core hp_accel battery parport lis3lv02d
input_polldev evdev mac_hid tpm wmi pcc_cpufreq rng_core hp_wireless ac sg
crypto_user ip_tables x_>
kernel: CPU: 0 PID: 6623 Comm: kworker/0:2 Tainted: G W
5.1.16-arch1-1-ARCH #1
kernel: Hardware name: Hewlett-Packard HP ZBook 17 G2/2255, BIOS M70 Ver. 01.24
04/17/2019
kernel: Workqueue: events nvkm_notify_work [nouveau]
kernel: RIP: 0010:nvkm_dp_enable+0xf2/0x110 [nouveau]
kernel: Code: 00 4c 89 e7 4c 8d 83 09 01 00 00 be 01 00 00 00 e8 23 04 fd ff 85
c0 74 0a 4c 89 e7 e8 37 02 fd ff eb 81 80 7c 24 07 10 74 02 <0f> 0b 4c 89
e7 e8
24 02 fd ff 89 e8 eb 83 e8 eb 2e 67 e1 66 66 2e
kernel: RSP: 0018:ffff8ff1c9717df8 EFLAGS: 00010287
kernel: RAX: 0000000000000000 RBX: ffff8c2139352600 RCX: ffff8ff1c9717dff
kernel: RDX: ffff8ff1c9717da8 RSI: ffff8ff1c700e5d4 RDI: ffff8ff1c700e5d4
kernel: RBP: 0000000000000001 R08: 0000000000000000 R09: ffff8ff1c9717dff
kernel: R10: 0000000000000000 R11: 0000000000000018 R12: ffff8c2126c77800
kernel: R13: ffff8c2126d8a840 R14: 0000000000000000 R15: 0ffff8c213fc2770
kernel: FS: 0000000000000000(0000) GS:ffff8c213fc00000(0000)
knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000035c1066b1020 CR3: 0000000859c0e004 CR4: 00000000001606f0
kernel: Call Trace:
kernel: nvkm_dp_hpd+0xf1/0x100 [nouveau]
kernel: nvkm_notify_work+0x1d/0x80 [nouveau]
kernel: process_one_work+0x1d1/0x3e0
kernel: worker_thread+0x4a/0x3d0
kernel: kthread+0xfb/0x130
kernel: ? process_one_work+0x3e0/0x3e0
kernel: ? kthread_park+0x90/0x90
kernel: ret_from_fork+0x35/0x40
kernel: ---[ end trace d1860b58087867eb ]---
--
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/nouveau/attachments/20190710/15e32592/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2019-Dec-04 09:50 UTC
[Nouveau] [Bug 111044] Resume up from suspend sometimes freezes system (Optimus/Nouveau)
https://bugs.freedesktop.org/show_bug.cgi?id=111044
Martin Peres <martin.peres at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #14 from Martin Peres <martin.peres at free.fr> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/493.
--
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/nouveau/attachments/20191204/526ec6c0/attachment.html>
Seemingly Similar Threads
- [Bug 108520] New: MST DisplayPort HiDPI screen flicker
- [Bug 109631] New: Moving gbm bo from GART to VRAM does not wait for rendering
- [Bug 64774] New: nouveau GF108 kernel crash in optimus mode when enabling external display output
- GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP
- [Bug 54512] New: xrandr does not detect screen