Bug 95199 - [i915GM] WARN_ON(!connector_state->crtc)
Summary: [i915GM] WARN_ON(!connector_state->crtc)
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Sitsofe Wheeler
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 06:06 UTC by Sitsofe Wheeler
Modified: 2018-04-11 07:06 UTC (History)
5 users (show)

See Also:
i915 platform: I915GM, I945GM
i915 features: display/Other


Attachments
dmesg (226.10 KB, text/plain)
2016-04-29 06:06 UTC, Sitsofe Wheeler
no flags Details
dmesg (213.62 KB, text/plain)
2016-04-29 07:56 UTC, Sitsofe Wheeler
no flags Details
Another dmesg output (9.53 KB, text/plain)
2016-05-25 09:01 UTC, Dmitry
no flags Details
inspiron6000_4.12.0-rc_dmesg-output (2.85 KB, text/plain)
2017-05-29 00:28 UTC, Josh Benson
no flags Details
EeePC 900 dmesg for 4.12.0. (96.09 KB, text/plain)
2017-07-28 22:22 UTC, Sitsofe Wheeler
no flags Details
output of journalctl-k with flag drm.debug=0xe on macbook mid 2007 with 4.10.0-32-generic (617.79 KB, text/plain)
2017-08-19 18:15 UTC, Gianni
no flags Details
output of journalctl-k with flag drm.debug=0xe on macbook mid 2007 with 4.12.0-041200-generic (208.51 KB, text/plain)
2017-08-19 19:22 UTC, Gianni
no flags Details
macbook mid 2007 dmesg for 4.13.0-rc6+ with drm.debug=0xe (185.36 KB, text/plain)
2017-08-24 15:03 UTC, Gianni
no flags Details
AOpen PC dmesg for Linux 4.9.0 (208.58 KB, text/plain)
2017-09-26 20:35 UTC, Dmitry
no flags Details
EeePC 900 4.14rc4 dmesg (17.44 KB, text/plain)
2017-10-15 20:32 UTC, Sitsofe Wheeler
no flags Details
mac mini mid 2007 dmesg for 4.16.0-rc7+ with drm.debug=0xe (109.46 KB, text/plain)
2018-04-04 16:41 UTC, Gianni
no flags Details

Description Sitsofe Wheeler 2016-04-29 06:06:56 UTC
Created attachment 123335 [details]
dmesg

Description of the problem:
When I boot up an Ubuntu 4.4.0-21-generic kernel on my EeePC 900 I get various !connector_state->crtc warnings.

Steps to reproduce:
1. Boot an Ubuntu 4.4.0-21-generic kernel on an EeePC 900.

Expected results:
No warnings

Actual results:
Warnings like:
[    2.504680] WARNING: CPU: 0 PID: 6 at /build/linux-TGcUZh/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12155 intel_atomic_check+0x307/0x6d0 [i915]()
[    2.504685] WARN_ON(!connector_state->crtc)

How reproducible is the problem?
It is reproducible every time.

Version information:
EeePC 900
Ubuntu 16.04 i686
Intel 915GM
xorg 1:7.7+13ubuntu3
xserver-xorg 1:7.7+13ubuntu3
xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
linux-image-4.4.0-21-generic 4.4.0-21.37
Comment 1 Sitsofe Wheeler 2016-04-29 07:56:29 UTC
Created attachment 123340 [details]
dmesg

Still here with 4.6.0-994-generic #201604282201 from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/2016-04-29-wily/ .
Comment 2 Dmitry 2016-05-25 09:01:21 UTC
Created attachment 124079 [details]
Another dmesg output

I have the same problem on Linux 4.4.6.

# fbset
mode "1920x1080"
    geometry 1920 1080 1920 1080 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

# lspci
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03) (prog-if 00 [VGA controller])
        Subsystem: AOPEN Inc. Device [a0a0:0627]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fde80000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at ff00 [size=8]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at fdf80000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Kernel driver in use: i915

# uname -a
Linux home 4.4.0-1-rt-686-pae #1 SMP PREEMPT RT Debian 4.4.6-1 (2016-03-17) i686 GNU/Linux
Comment 3 Josh Benson 2017-05-29 00:28:04 UTC
Created attachment 131559 [details]
inspiron6000_4.12.0-rc_dmesg-output

Example of dmesg errors seen on Dell Inspiron 6000 laptop with kernel 4.12.0-rc2
Comment 4 Josh Benson 2017-05-29 00:40:45 UTC
I can confirm these error messages are present in kernels 4.11.3 stable and 4.12.0-rc2. I have attached an example of the error which occurs four times in dmesg during every boot.

Additional Info:
System: Dell Inspiron 6000
Graphics Adapter: Intel 915GM Mobile
BIOS Version: A09
VBIOS Version: 1219
Kernel Driver: i915

X.Org X Server 1.19.2
Release Date: 2017-03-02
Comment 5 Elizabeth 2017-07-27 16:43:58 UTC
(In reply to Josh Benson from comment #3)
> Created attachment 131559 [details]
> inspiron6000_4.12.0-rc_dmesg-output
> 
> Example of dmesg errors seen on Dell Inspiron 6000 laptop with kernel
> 4.12.0-rc2
Thanks for the update Josh,
Could you please replicate and attach dmesg with drm.debug=0xe parameter on grub?
Comment 6 Sitsofe Wheeler 2017-07-28 22:22:46 UTC
Created attachment 133109 [details]
EeePC 900 dmesg for 4.12.0.

Elizabeth: Please find an EeePC 900 dmesg with drm.debug=0xe for 4.12.0.
Comment 7 Elizabeth 2017-07-31 22:52:04 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 8 Gianni 2017-08-19 18:12:06 UTC
Errors messages like those are visible on my Macbook mid 2007 featuring intel 945GM and kernel 4.10.0-32-generic

inxi output:

System:    Host: gianni-MacBook Kernel: 4.10.0-32-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.7
           Distro: neon 16.04 xenial
Machine:   System: Apple product: MacBook2 1 v: 1.0
           Mobo: Apple model: Mac-F4208CAA v: PVT Bios: Apple v: MB21.88Z.00A5.B07.0706270922 date: 06/27/07
CPU:       Dual core Intel Core2 T7400 (-MCP-) cache: 4096 KB 
           clock speeds: max: 2167 MHz 1: 1500 MHz 2: 1500 MHz
Graphics:  Card: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller
           Display Server: X.Org 1.18.4 driver: intel Resolution: 1280x800@59.91hz
           GLX Renderer: Mesa DRI Intel 945GM GLX Version: 1.4 Mesa 17.0.7

uname -a:
Linux gianni-MacBook 4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Comment 9 Gianni 2017-08-19 18:15:20 UTC
Created attachment 133628 [details]
output of journalctl-k with flag drm.debug=0xe on macbook mid 2007 with 4.10.0-32-generic

used "journalctl -k" instead of dmesg since dmesg buffer wasn't enough to contain all the output.
Comment 10 Gianni 2017-08-19 19:22:15 UTC
Created attachment 133630 [details]
output of journalctl-k with flag drm.debug=0xe on macbook mid 2007 with 4.12.0-041200-generic

issue persists on same macbook mid 2007 with kernel 4.12;

output of uname -a:
Linux gianni-MacBook 4.12.0-041200-generic #201707022031 SMP Mon Jul 3 00:32:52 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Comment 11 Gianni 2017-08-24 15:03:40 UTC
Created attachment 133752 [details]
macbook mid 2007 dmesg for 4.13.0-rc6+ with drm.debug=0xe

I downloaded and compiled the drm-tip branch, the issue persists.
Full dmesg with debug info attached.

architecture: x86_64
kernel version: 4.13.0-rc6+
linux distro: kde neon
Comment 12 Dmitry 2017-09-26 20:35:28 UTC
Created attachment 134497 [details]
AOpen PC dmesg for Linux 4.9.0
Comment 13 Sitsofe Wheeler 2017-10-15 20:32:06 UTC
Created attachment 134849 [details]
EeePC 900 4.14rc4 dmesg

Still here with 4.14-rc4.
Comment 14 Jani Saarinen 2018-03-29 07:11:48 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 15 sfos 2018-03-29 08:16:23 UTC
I cc'd myself here a long time ago because I saw the warning, but it is gone as of now. I use Gentoo, kernel 4.9.76, xorg-drivers 1.19, no kernel parameters. HTH
Comment 16 Jani Saarinen 2018-03-29 08:24:51 UTC
OK, based on this I will resolve. But as you are not original reporter I ask original reporter to re-open if issue still persists.
Comment 17 Dmitry 2018-03-29 17:48:16 UTC
I am using 4.14.0-1-686-pae (Debian) and the problem is still there.
Comment 18 Sitsofe Wheeler 2018-03-30 07:40:59 UTC
The problem is seemingly gone with 4.15 but's it's impossible to check drm-tip because as soon as X starts the machine hangs.
Comment 19 Gianni 2018-04-04 16:39:22 UTC
Problem doesn't present itself with the current drm-tip branch.
system architecture: x86_64
kernel version: 4.16.0-rc7+
linux distribution: kde neon
machine: mac mini mid 2007
display connector: dvi-d

I'm attaching a dmesg output with debug enabled.
Comment 20 Gianni 2018-04-04 16:41:01 UTC
Created attachment 138596 [details]
mac mini mid 2007 dmesg for 4.16.0-rc7+ with drm.debug=0xe
Comment 21 Jani Saarinen 2018-04-11 07:06:50 UTC
Based on feedback closing, reporter, please re-open if still issue.


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.