Bug 101724 - [4X] Eaglelake Q45 8086:2e12: recurring pipe state doesn't match warnings
Summary: [4X] Eaglelake Q45 8086:2e12: recurring pipe state doesn't match warnings
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-07 23:52 UTC by Felix Miata
Modified: 2018-04-25 15:12 UTC (History)
1 user (show)

See Also:
i915 platform: G45
i915 features: display/Other


Attachments
Tumbleweed's Xorg.0.log using modeset(0) driver & drm.debug=0x06 (22.84 KB, text/x-log)
2017-07-07 23:52 UTC, Felix Miata
no flags Details
dmesg from TW using intel(0) and drm.debug=0x06 (126.73 KB, text/plain)
2017-07-07 23:55 UTC, Felix Miata
no flags Details

Description Felix Miata 2017-07-07 23:52:36 UTC
Created attachment 132560 [details]
Tumbleweed's Xorg.0.log using modeset(0) driver & drm.debug=0x06

System Information
        Product Name: OptiPlex 780
        Vendor: Dell Inc.
        Version: A15
        Release Date: 08/06/2013
# inxi -c0 -G
Graphics:  Card: Intel 4 Series Integrated Graphics Controller
           Display Server: X.org 1.19.3 drivers: modesetting (unloaded: fbdev,vesa)
           tty size: 111x36 Advanced Data: N/A for root
# lspci -nnk | grep -A4 VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e12] (rev 03)
        Subsystem: Dell Device [1028:0420]
        Kernel driver in use: i915
        Kernel modules: i915
00:02.1 Display controller [0380]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e13] (rev 03)
libdrm2-2.4.81-1.1.x86_64
Mesa-17.1.3-165.1.x86_64
xf86-video-intel-2.99.917.770_gcb6ba2da-1.2.x86_64

Original mailing list thread 12 months ago:
http://www.spinics.net/lists/intel-gfx/msg100776.html
Current thread (base on which product and component here selected):
https://lists.opensuse.org/opensuse-kernel/2017-07/msg00002.html
Dates back at least to kernel 3.16.7/server 1.16.1 in openSUSE 13.2.
Continues with kernel 4.11.6, with both openSUSE Tumbleweed 20170706 and 42.3, & Debian 9.
Does not occur until Xorg server is started.
Occurs whether using intel(0) or modeset(0) driver.
Does not occur with Dell 760 Q43 8086:2e12 or Biostar G41 8086:2e32 Eaglelakes.
Nothing is apparently wrong in DE (Plasma,KDE3,TDE) usability.
Example from dmesg without drm.debug=0x06:
[  115.694941] ------------[ cut here ]------------
[  115.694972] WARNING: CPU: 0 PID: 1306 at ../drivers/gpu/drm/i915/intel_display.c:13668 intel_atomic_commit_tail+0xcaa/0xe90 [i915]
[  115.694973] pipe state doesn't match!
[  115.694974] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache af_packet iscsi_ibft iscsi_boot_sysfs msr fuse nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_analog snd_hda_codec_generic tpm_tis dell_wmi sparse_keymap tpm_tis_core ppdev snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer dell_smbios i915 video acpi_cpufreq drm_kms_helper drm shpchp iTCO_wdt dcdbas iTCO_vendor_support coretemp kvm_intel mei_wdt fb_sys_fops syscopyarea sysfillrect e1000e tpm ptp wmi pps_core snd parport_pc parport gpio_ich kvm mei_me sysimgblt lpc_ich i2c_algo_bit mei i2c_i801 button pcspkr irqbypass soundcore hid_generic usbhid serio_raw ehci_pci uhci_hcd ehci_hcd sr_mod cdrom usbcore ata_generic sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua
[  115.695034] CPU: 0 PID: 1306 Comm: X Tainted: G        W       4.11.8-1-default #1
[  115.695035] Hardware name: Dell Inc. OptiPlex 780                 /03NVJ6, BIOS A15 08/06/2013
[  115.695036] Call Trace:
[  115.695049]  dump_stack+0x5c/0x78
[  115.695054]  __warn+0xbe/0xe0
[  115.695058]  warn_slowpath_fmt+0x4b/0x60
[  115.695090]  ? intel_pipe_config_compare+0x868/0xda0 [i915]
[  115.695121]  ? intel_dp_get_config+0x143/0x1d0 [i915]
[  115.695152]  intel_atomic_commit_tail+0xcaa/0xe90 [i915]
[  115.695165]  ? finish_wait+0x80/0x80
[  115.695195]  intel_atomic_commit+0x371/0x440 [i915]
[  115.695218]  ? drm_atomic_set_crtc_for_connector+0xbb/0xf0 [drm]
[  115.695231]  drm_atomic_helper_set_config+0x7d/0xd0 [drm_kms_helper]
[  115.695246]  drm_mode_set_config_internal+0x61/0x110 [drm]
[  115.695261]  drm_mode_setcrtc+0xfc/0x4d0 [drm]
[  115.695278]  drm_ioctl+0x1d5/0x420 [drm]
[  115.695294]  ? drm_mode_getcrtc+0x140/0x140 [drm]
[  115.695298]  do_vfs_ioctl+0x8d/0x5d0
[  115.695302]  ? handle_mm_fault+0xba/0x250
[  115.695305]  ? __fget+0x71/0xc0
[  115.695306]  SyS_ioctl+0x74/0x80
[  115.695311]  entry_SYSCALL_64_fastpath+0x1e/0xad
[  115.695315] ---[ end trace 3b46afd5b6daee62 ]---
Comment 1 Felix Miata 2017-07-07 23:55:07 UTC
Created attachment 132561 [details]
dmesg from TW using intel(0) and drm.debug=0x06
Comment 2 Ville Syrjala 2017-10-20 13:47:47 UTC
This is known problem with the code. On these machines only one HDMI port at a time can send audio or infoframes. Currently we assume every port can send them simultaneosly.

I have an old branch where I tried to fix this. I just tried to rebase it:
git://github.com/vsyrjala/linux.git g4x_audio_infoframe_ports_2

You may want to give that a go. But do note that I didn't test it at all. So all I can promise currently is that it will compile.
Comment 3 Jani Saarinen 2018-03-29 07:10:57 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 4 Felix Miata 2018-03-29 08:45:54 UTC
Comment 0 host gx780 has no physical HDMI ports, only VGA and DisplayPort. Xorg reports DP-1 connected.

The problem continues with server 1.19.6, kernel 4.15.13, integrated modesetting Xorg driver, Mesa 18.0.0 and libdrm2-2.4.91 on openSUSE Tumbleweed.
Comment 5 Jani Saarinen 2018-04-25 06:52:00 UTC
any progress testing branch mentioned on comment #2.
Comment 6 Felix Miata 2018-04-25 07:12:35 UTC
(In reply to Jani Saarinen from comment #5)
> any progress testing branch mentioned on comment #2.
I have no mental fortitude to understand or deal with git or building from source. I test whatever is available that others build and make available via default package management, which for Tumbleweed is rpm/zypper. Should I expect the work in comment 2 has been merged into Tumbleweed in the weeks since comment 4? If yes, which package(s) would contain it?
Comment 7 Ville Syrjala 2018-04-25 13:28:28 UTC
Oh, DP on g4x. This was probably fixed by:

commit 20ff39fa4312dfaee8d1314a208e6a5a3ee51cbc
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Wed Nov 29 18:43:01 2017 +0200

    drm/i915: Disable DP audio for g4x

Should be included in 4.16.
Comment 8 Felix Miata 2018-04-25 14:59:33 UTC
I no longer get this with Tumbleweed 20180424's 4.16.3.
Comment 9 Jani Saarinen 2018-04-25 15:12:13 UTC
Based on comment, fixed.


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.