Bug 93733 - Kernel message spam when HDMI display is turned off
Summary: Kernel message spam when HDMI display is turned off
Status: RESOLVED DUPLICATE of bug 92307
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 12:42 UTC by Rena Kunisaki
Modified: 2016-01-18 08:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg output (86.25 KB, text/plain)
2016-01-16 12:42 UTC, Rena Kunisaki
no flags Details

Description Rena Kunisaki 2016-01-16 12:42:09 UTC
Created attachment 121073 [details]
dmesg output

When using nouveau driver and turning off my HDMI screen, the kernel logs are spammed with errors:

Jan 16 07:27:36 guilmon kernel: ------------[ cut here ]------------
Jan 16 07:27:36 guilmon kernel: WARNING: CPU: 6 PID: 172 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x93/0xa0 [drm_kms_helper]()
Jan 16 07:27:36 guilmon kernel: Modules linked in: fuse pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) f71882fg snd_hda_codec_hdmi joydev btusb 
Jan 16 07:27:36 guilmon kernel:  ansi_cprng algif_skcipher af_alg dm_crypt dm_mod hid_generic usbhid hid sr_mod cdrom sd_mod uas usb_storage atkbd libps2 cr
Jan 16 07:27:36 guilmon kernel: CPU: 6 PID: 172 Comm: kworker/6:3 Tainted: G        W  O    4.3.3-2-ARCH #1
Jan 16 07:27:36 guilmon kernel: Hardware name: MSI MS-7693/970A-G46 (MS-7693), BIOS V1.11 10/31/2012
Jan 16 07:27:36 guilmon kernel: Workqueue: events nvif_notify_work [nouveau]
Jan 16 07:27:36 guilmon kernel:  0000000000000000 00000000d3b82562 ffff8805ff7d3d10 ffffffff812c0dc9
Jan 16 07:27:36 guilmon kernel:  0000000000000000 ffff8805ff7d3d48 ffffffff81074f42 ffff880600bcf000
Jan 16 07:27:36 guilmon kernel:  ffff880600942000 ffff880600942000 0000000000000003 0000000000000000
Jan 16 07:27:36 guilmon kernel: Call Trace:
Jan 16 07:27:36 guilmon kernel:  [<ffffffff812c0dc9>] dump_stack+0x4b/0x72
Jan 16 07:27:36 guilmon kernel:  [<ffffffff81074f42>] warn_slowpath_common+0x82/0xc0
Jan 16 07:27:36 guilmon kernel:  [<ffffffff8107508a>] warn_slowpath_null+0x1a/0x20
Jan 16 07:27:36 guilmon kernel:  [<ffffffffa05e11f3>] drm_helper_choose_crtc_dpms+0x93/0xa0 [drm_kms_helper]
Jan 16 07:27:36 guilmon kernel:  [<ffffffffa05e15c7>] drm_helper_connector_dpms+0x77/0x100 [drm_kms_helper]
Jan 16 07:27:36 guilmon kernel:  [<ffffffffa0a67700>] ? nv50_display_crtc_get+0x20/0x20 [nouveau]
Jan 16 07:27:36 guilmon kernel:  [<ffffffffa0a640fb>] nouveau_connector_hotplug+0x3b/0xb0 [nouveau]
Jan 16 07:27:36 guilmon kernel:  [<ffffffffa09bca77>] nvif_notify_work+0x27/0xa0 [nouveau]
Jan 16 07:27:36 guilmon kernel:  [<ffffffff8108c9ad>] ? pwq_dec_nr_in_flight+0x4d/0xa0
Jan 16 07:27:36 guilmon kernel:  [<ffffffff8108cfeb>] process_one_work+0x14b/0x440
Jan 16 07:27:36 guilmon kernel:  [<ffffffff8108d328>] worker_thread+0x48/0x4a0
Jan 16 07:27:36 guilmon kernel:  [<ffffffff8108d2e0>] ? process_one_work+0x440/0x440
Jan 16 07:27:36 guilmon kernel:  [<ffffffff81092e68>] kthread+0xd8/0xf0
Jan 16 07:27:36 guilmon kernel:  [<ffffffff81092d90>] ? kthread_worker_fn+0x170/0x170
Jan 16 07:27:36 guilmon kernel:  [<ffffffff8158409f>] ret_from_fork+0x3f/0x70
Jan 16 07:27:36 guilmon kernel:  [<ffffffff81092d90>] ? kthread_worker_fn+0x170/0x170
Jan 16 07:27:36 guilmon kernel: ---[ end trace b434083d8b28aa12 ]---

When turning the display back on, the errors stop and things work normally again.

System:
Nouveau v1.0.12-1
Xorg-server v1.18.0-4
Arch Linux AMD64 on AMD FX-8120, 24GB RAM
EVGA GTX 650 TI Boost, 1 GB, with three screens connected:
-HDMI
-DVI (upper port)
-DisplayPort (via VGA adaptor)
Comment 1 Rena Kunisaki 2016-01-16 12:44:30 UTC
By "turned off" I mean the display (a TV connected to HDMI port) is powered off or unplugged. Switching it to another input (instead of HDMI) also causes this issue. The TV is an Insignia NS-24D420NA16, FW version reva_20150417_1-04-00. Turning off the other displays doesn't cause this problem.
Comment 2 Ilia Mirkin 2016-01-16 18:49:19 UTC
I believe this commit:

https://github.com/skeggsb/linux/commit/0a882cadbc63fd2da3994af7115b4ada2fcbd638.patch

should fix the problem.
Comment 3 Rena Kunisaki 2016-01-17 17:58:22 UTC
It looks like "spam" is not quite the right word here, as the messages do seem to stop after about a minute (and one more comes along once the screen is turned back on).

For now I've switched to the binary driver since nouveau keeps crashing in various ways.
Comment 4 poma 2016-01-18 08:05:10 UTC

*** This bug has been marked as a duplicate of bug 92307 ***


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.