Bug 61115 - [snb vgaswitcheroo] using vgaswitcheroo intel i915 goes to black
Summary: [snb vgaswitcheroo] using vgaswitcheroo intel i915 goes to black
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: low normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-19 12:18 UTC by William Brown
Modified: 2017-03-08 07:29 UTC (History)
2 users (show)

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


Attachments
Xorg.0.log from i915 (24.62 KB, text/plain)
2013-03-08 13:58 UTC, William Brown
no flags Details
Xorg.0.log from radeon (41.95 KB, text/plain)
2013-03-08 14:00 UTC, William Brown
no flags Details
Don't clamp backlight when disabling on gen4+ (1.57 KB, patch)
2013-04-16 13:41 UTC, Daniel Vetter
no flags Details | Splinter Review

Description William Brown 2013-02-19 12:18:31 UTC
On a dual gpu macbook pro 8,2 with gmux under efi, after getting the system to a sane state with:

cat /sys/kernel/debug/vgaswitcheroo/switch 
0:IGD: :Off:0000:00:02.0
1:DIS:+:Pwr:0000:01:00.0
2:DIS-Audio:+:Pwr:0000:01:00.1

running:

cd /sys/kernel/debug/vgaswitcheroo
echo OFF > switch
echo MIGD > switch
echo IGD > switch

To swap to the intel i915 causes the display to go blank. Swapping back to the radeon, the display operates correctly again. 

Here is the dmesg from attempting to swap to the i915 then swapping back to the radeon

[  138.004527] i915: switched on
[  138.015018] i915 0000:00:02.0: setting latency timer to 64
[  138.071523] ALSA sound/pci/hda/hda_intel.c:2811 0000:01:00.1: Disabling via VGA-switcheroo
[  138.084388] [drm] Forcing lvds to dual link mode on Apple MacBook Pro (Core i5/i7 Series)
[  138.483215] fbcon: Remapping primary device, fb0, to tty 1-63
[  138.483223] radeon: switched off
[  139.774545] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[  141.838901] radeon: switched on
[  141.849447] radeon 0000:01:00.0: Refused to change power state, currently in D3
[  141.863465] [drm] probing gen 2 caps for device 8086:101 = 2/0
[  141.863469] [drm] PCIE gen 2 link speeds already enabled
[  141.892894] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[  141.894199] radeon 0000:01:00.0: WB enabled
[  141.894207] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88044d27dc00
[  141.894212] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff88044d27dc0c
[  141.911507] [drm] ring test on 0 succeeded in 1 usecs
[  141.911667] [drm] ring test on 3 succeeded in 1 usecs
[  141.913479] [drm] ib test on ring 0 succeeded in 0 usecs
[  141.915154] [drm] ib test on ring 3 succeeded in 1 usecs
[  142.736845] fbcon: Remapping primary device, fb1, to tty 1-63
[  142.736866] i915: switched off
[  142.796919] ALSA sound/pci/hda/hda_intel.c:2811 0000:01:00.1: Enabling via VGA-switcheroo
[  142.808969] snd_hda_intel 0000:01:00.1: irq 51 for MSI/MSI-X


This has never worked in any kernel versions, but would be excellent to have fixed.
Comment 1 William Brown 2013-03-08 13:58:39 UTC
Created attachment 76163 [details]
Xorg.0.log from i915

This is the Xorg.0.log from Macbook pro 8,2.

- Boot
- Stop display manager
- Power off intel card (See https://bugs.freedesktop.org/show_bug.cgi?id=61114 )
- Swap to intel with:

cd /sys/kernel/debug/vgaswitcheroo
echo MIGD > switch
echo IGD > switch
echo OFF > switch

- Start display manager
- Wait 5 seconds

Note that the display only finds 1280x800  - This laptop is 1680x1050
Comment 2 William Brown 2013-03-08 14:00:20 UTC
Created attachment 76164 [details]
Xorg.0.log from radeon

This is the Xorg.0.log from the same machine's radeon card for comparison.

Again, 

- Boot
- Stop display manager (See above)
- Power off i915
- Start display manager
- Wait
Comment 3 Aximab 2013-04-11 13:45:23 UTC
(In reply to comment #2)
> Created attachment 76164 [details]
> Xorg.0.log from radeon
> 
> This is the Xorg.0.log from the same machine's radeon card for comparison.
> 
> Again, 
> 
> - Boot
> - Stop display manager (See above)
> - Power off i915
> - Start display manager
> - Wait

Does it behave the same if you skip powering off the intel card ? 
(This is not required on my Hp laptop with another Muxed)
Comment 4 William Brown 2013-04-11 13:50:32 UTC
Yes. The behaviour is the same if you leave the i915 powered on.

Supposedly, the issue is due to the lack of "LVDS reprobing".
Comment 5 Aximab 2013-04-13 23:01:03 UTC
For a related bug [55311] https://bugzilla.kernel.org/show_bug.cgi?id=55311
It seems to be fixed by the following simple patch which only comment a call to the " intel_panel_disable_backlight" function ...But I am just a end-user so you may want to know what developpers think before trying this...


# git diff  HEAD drivers/gpu/drm/i915/intel_lvds.c: 



--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -217,7 +217,7 @@ static void intel_disable_lvds(struct intel_encoder
*encoder)
                stat_reg = PP_STATUS;
        }

-       intel_panel_disable_backlight(dev);
+/*        intel_panel_disable_backlight(dev); */

        I915_WRITE(ctl_reg, I915_READ(ctl_reg) & ~POWER_TARGET_ON);
        if (wait_for((I915_READ(stat_reg) & PP_ON) == 0, 1000))
Comment 6 Aximab 2013-04-16 13:38:31 UTC
I attach here a comment from daniel :

"The patch
itself is imo not safe since it'll break other systems where we really
want to disable the backlight. But I have an idea for a slightly
different solution. I'll attach a quick patch to the relevant bug
reports."
Comment 7 Daniel Vetter 2013-04-16 13:41:21 UTC
Created attachment 78083 [details] [review]
Don't clamp backlight when disabling on gen4+

Can everyone affected by this bug please test the attached patch? It hopefully fixes the backlight issues without causing problems on other systems - since on most systems we really want to disable the backlight.
Comment 8 tjbp 2013-04-25 01:06:24 UTC
(In reply to comment #7)
> Created attachment 78083 [details] [review] [review]
> Don't clamp backlight when disabling on gen4+
> 
> Can everyone affected by this bug please test the attached patch? It
> hopefully fixes the backlight issues without causing problems on other
> systems - since on most systems we really want to disable the backlight.

I'm experiencing what may be the same issue with a MacBook Pro 9,1 - however I have a truly black screen (a torch highlights nothing), and there is never any "i915: switched on" line in dmesg. Should I try the patch or open a new bug report?
Comment 9 William Brown 2013-04-25 01:15:41 UTC
Mine is also truly black - I believe this sounds like the same issue.

into rc.local or similar, add a line like 

dmesg | mail <your email>

And make sure you have ethernet connected. This should allow you to see your dmesg.


The issue is not a black light issue - The issue is that the display goes completely off. Viewing xrandr is this state shows a different modeline to my display etc. 

The issue is because the LVDS connection isn't reprobed when the gmux is swapped over.
Comment 10 Daniel Vetter 2013-04-25 12:39:12 UTC
Truely black screen is definitely a different bug here. So please file new bug reports (but drop a link here for references). Thanks.
Comment 11 William Brown 2013-04-25 13:04:31 UTC
(In reply to comment #10)
> Truely black screen is definitely a different bug here. So please file new
> bug reports (but drop a link here for references). Thanks.

Pretty sure my original bug states:

To swap to the intel i915 causes the display to go blank.

So the blank screen *is* this bug.
Comment 12 Miguel Negrão 2013-06-01 09:52:15 UTC
I have a macbookpro8,2 and I'm in the exact same situation as reported above. Switchting from DIS to IGD causes the screen to go completely black (nothing is seen even with a torch), going back (blindly) from IGD to DIS brings the screen back. 

I'm booting using EFI stub via rEFInd. It makes no difference if I add the flags "i915.lvds_channel_mode=2 i915.modeset=1 i915.lvds_use_ssc=0".

I think this bug is already reported in the kernel bug tracker: 
https://bugzilla.kernel.org/show_bug.cgi?id=56911
Comment 13 Jani Nikula 2013-09-10 09:21:18 UTC
(In reply to comment #0)
> This has never worked in any kernel versions, but would be excellent to have
> fixed.

Dropping [regression].
Comment 14 Lukas Wunner 2015-04-23 13:25:13 UTC
A patchset which is believed to fix this issue was posted to dri-devel:
http://lists.freedesktop.org/archives/dri-devel/2015-April/081515.html

This patchset enables GPU switching and should at least work on pre-retinas. Please apply it on top of a recent kernel and report back if it works for you.

Thank you!
Comment 15 Elio 2015-08-12 18:19:29 UTC
Trying to contact Lukas and Miguel in order to see if the patches work for them.
Comment 16 Lukas Wunner 2015-08-12 20:43:07 UTC
@Elio: I've posted a new version of the patch set today:
http://lists.freedesktop.org/archives/dri-devel/2015-August/088156.html

As mentioned in that mailing list posting, the new version was tested successfully by William Brown who originally opened this ticket.

He did mention to me however that he saw various errors and WARN_ONs related to suspend/resume. Just some annoying messages which otherwise did not impact switching negatively.

When switching from the integrated GPU to the discrete GPU, i915 reports:

[   36.312399] i915: switched off
[   36.312667] [drm:intel_panel_disable_backlight] Skipping backlight disable on vga switch
[   36.624449] [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v 5 p(0,816)@ 36.706235 -> 36.693618 [e 0 us, 0 rep]
[   36.624454] [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v 5 p(0,816)@ 36.706244 -> 36.693627 [e 0 us, 0 rep]
[   36.624456] [drm:drm_update_vblank_count] updating vblank count on crtc 0, missed 1465
[   36.645541] [drm:intel_disable_shared_dpll] disable PCH DPLL A (active 1, on? 1) for crtc 20
[   36.645558] [drm:intel_disable_shared_dpll] disabling PCH DPLL A
[   36.650037] [drm:intel_display_power_put] disabling always-on
[   46.658101] [drm:intel_runtime_suspend] Suspending device
[   46.686094] [drm:fw_domains_get [i915]] *ERROR* render: timed out waiting for forcewake ack to clear.
[   46.725484] [drm:__gen6_gt_wait_for_thread_c0.isra.16 [i915]] *ERROR* GT thread status wait timed out
[   46.725605] ------------[ cut here ]------------
[   46.725691] WARNING: CPU: 2 PID: 394 at drivers/gpu/drm/i915/intel_uncore.c:203 gen6_gt_check_fifodbg.isra.13+0x3e/0x50 [i915]()
[   46.725807] GT wake FIFO error 0xffffffff
[   46.725849] Modules linked in: ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_tftp ts_kmp nf_conntrack_amanda ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep arc4 b43 nls_utf8 hfsplus mac80211 cfg80211 ssb snd_hda_codec_cirrus joydev mmc_core snd_hda_codec_generic snd_
hda_codec_hdmi amdkfd applesmc iTCO_wdt iTCO_vendor_support amd_iommu_v2 snd_hda_intel input_polldev uvcvideo snd_hda_controller radeon btusb videobuf2_vmalloc snd_hda_codec btrtl intel_rapl btbcm
[   46.726902]  btintel snd_hda_core videobuf2_core iosf_mbi snd_hwdep x86_pkg_temp_thermal bluetooth coretemp snd_seq videobuf2_memops bcm5974 v4l2_common kvm_intel snd_seq_device kvm rfkill videodev snd_pcm media sbs lpc_ich snd_timer mei_me i2c_i801 snd bcma mfd_core ttm mei soundcore sbshc apple_gmux shpchp apple_bl nfsd nfs_acl lockd auth_rpcgss grace sunrpc xfs libcrc32c dm_crypt 8021q garp stp llc i915 mrp hid_apple i2c_algo_bit drm_kms_helper tg3 crct10dif_pclmul crc32_pclmul drm crc32c_intel ghash_clmulni_intel firewire_ohci ptp firewire_core pps_core crc_itu_t video hid_appleir
[   46.727792] CPU: 2 PID: 394 Comm: kworker/2:2 Not tainted 4.2.0-0.rc0.git1.1.local.fc23.x86_64 #1
[   46.727879] Hardware name: Apple Inc. MacBookPro8,2/Mac-94245A3940C91C80, BIOS    MBP81.88Z.0047.B27
.1201241646 01/24/12
[   46.727988] Workqueue: pm pm_runtime_work
[   46.728037]  0000000000000000 000000006ae6dbae ffff88046ea83d28 ffffffff81751d1c
[   46.728133]  0000000000000000 ffff88046ea83d80 ffff88046ea83d68 ffffffff8109b816
[   46.728231]  ffffffff81c4e3b8 ffff880002660068 00000000ffffffff 0000000000000100
[   46.728327] Call Trace:
[   46.728355]  <IRQ>  [<ffffffff81751d1c>] dump_stack+0x45/0x57
[   46.728433]  [<ffffffff8109b816>] warn_slowpath_common+0x86/0xc0
[   46.732651]  [<ffffffffa019e090>] ? assert_device_not_suspended.isra.11+0x60/0x60 [i915]
[   46.736880]  [<ffffffff8109b8a5>] warn_slowpath_fmt+0x55/0x70
[   46.741084]  [<ffffffff81107424>] ? run_posix_cpu_timers+0x54/0x540
[   46.745307]  [<ffffffffa019e15e>] gen6_gt_check_fifodbg.isra.13+0x3e/0x50 [i915]
[   46.749522]  [<ffffffffa019e18f>] fw_domains_put_with_fifo+0x1f/0x30 [i915]
[   46.753711]  [<ffffffffa019e0e7>] intel_uncore_fw_release_timer+0x57/0x90 [i915]
[   46.757858]  [<ffffffff810ffec9>] call_timer_fn+0x39/0xf0
[   46.762012]  [<ffffffffa019e090>] ? assert_device_not_suspended.isra.11+0x60/0x60 [i915]
[   46.766204]  [<ffffffff811004ff>] run_timer_softirq+0x20f/0x2c0
[   46.770386]  [<ffffffff8109fbcb>] __do_softirq+0xfb/0x290
[   46.774556]  [<ffffffff8109ff79>] irq_exit+0x119/0x120
[   46.778708]  [<ffffffff8175b076>] smp_apic_timer_interrupt+0x46/0x60
[   46.782876]  [<ffffffff8175924b>] apic_timer_interrupt+0x6b/0x70
[   46.787034]  <EOI>  [<ffffffffa0082d37>] ? drm_err+0x67/0x80 [drm]
[   46.791223]  [<ffffffff81757e01>] ? _raw_write_unlock_irqrestore+0x11/0x20
[   46.795368]  [<ffffffff81757e1e>] _raw_spin_unlock_irqrestore+0xe/0x10
[   46.799533]  [<ffffffffa01a02d6>] gen6_read32+0xd6/0x180 [i915]
[   46.803691]  [<ffffffffa019f620>] ? gen6_write8+0xe0/0xe0 [i915]
[   46.807827]  [<ffffffffa0156ec5>] gen6_set_rps+0x255/0x480 [i915]
[   46.811925]  [<ffffffff810f0799>] ? synchronize_irq+0x39/0xb0
[   46.816079]  [<ffffffffa015e1cd>] gen6_rps_idle+0x4d/0x1e0 [i915]
[   46.820254]  [<ffffffffa015e398>] intel_suspend_gt_powersave+0x38/0x40 [i915]
[   46.824427]  [<ffffffffa01526be>] intel_runtime_suspend+0xae/0x220 [i915]
[   46.828609]  [<ffffffff813d57bf>] pci_pm_runtime_suspend+0x5f/0x130
[   46.832806]  [<ffffffff813d5760>] ? pci_legacy_suspend_late+0xe0/0xe0
[   46.837027]  [<ffffffff814c8047>] __rpm_callback+0x27/0x70
[   46.841265]  [<ffffffff814c80b8>] rpm_callback+0x28/0x90
[   46.845516]  [<ffffffff813d5760>] ? pci_legacy_suspend_late+0xe0/0xe0
[   46.849763]  [<ffffffff814c8ceb>] rpm_suspend+0x12b/0x600
[   46.853984]  [<ffffffff814c9e46>] pm_runtime_work+0x76/0xa0
[   46.858189]  [<ffffffff810b37ee>] process_one_work+0x19e/0x3f0
[   46.862356]  [<ffffffff810b3a8e>] worker_thread+0x4e/0x450
[   46.866491]  [<ffffffff810b3a40>] ? process_one_work+0x3f0/0x3f0
[   46.870518]  [<ffffffff810b3a40>] ? process_one_work+0x3f0/0x3f0
[   46.874444]  [<ffffffff810b9558>] kthread+0xd8/0xf0
[   46.878327]  [<ffffffff810b9480>] ? kthread_worker_fn+0x160/0x160
[   46.882232]  [<ffffffff8175879f>] ret_from_fork+0x3f/0x70
[   46.886096]  [<ffffffff810b9480>] ? kthread_worker_fn+0x160/0x160
[   46.889934] ---[ end trace 02e01d277e583576 ]---
[   46.893814] [drm:intel_runtime_suspend] Device suspended

And when switching back from the discrete GPU to the integrated GPU:

[   79.181801] i915: switched on
[   79.196567] ------------[ cut here ]------------
[   79.200346] WARNING: CPU: 5 PID: 3098 at drivers/gpu/drm/i915/intel_uncore.c:70 assert_device_not_suspended.isra.11+0x48/0x60 [i915]()
[   79.204083] Device suspended
[   79.207823] Modules linked in: ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_tftp ts_kmp nf_conntrack_amanda ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep arc4 b43 nls_utf8 hfsplus mac80211 cfg80211 ssb snd_hda_codec_cirrus joydev mmc_core snd_hda_codec_generic snd_
hda_codec_hdmi amdkfd applesmc iTCO_wdt iTCO_vendor_support amd_iommu_v2 snd_hda_intel input_polldev uvcvideo snd_hda_controller radeon btusb videobuf2_vmalloc snd_hda_codec btrtl intel_rapl btbcm
[   79.218582]  btintel snd_hda_core videobuf2_core iosf_mbi snd_hwdep x86_pkg_temp_thermal bluetooth coretemp snd_seq videobuf2_memops bcm5974 v4l2_common kvm_intel snd_seq_device kvm rfkill videodev snd_pcm media sbs lpc_ich snd_timer mei_me i2c_i801 snd bcma mfd_core ttm mei soundcore sbshc apple_gmux shpchp apple_bl nfsd nfs_acl lockd auth_rpcgss grace sunrpc xfs libcrc32c dm_crypt 8021q garp stp llc i915 mrp hid_apple i2c_algo_bit drm_kms_helper tg3 crct10dif_pclmul crc32_pclmul drm crc32c_intel ghash_clmulni_intel firewire_ohci ptp firewire_core pps_core crc_itu_t video hid_appleir
[   79.230991] CPU: 5 PID: 3098 Comm: switch-intel.sh Tainted: G        W       4.2.0-0.rc0.git1.1.local.fc23.x86_64 #1
[   79.233797] Hardware name: Apple Inc. MacBookPro8,2/Mac-94245A3940C91C80, BIOS    MBP81.88Z.0047.B27.1201241646 01/24/12
[   79.236604]  0000000000000000 0000000050537f9f ffff88044789fb58 ffffffff81751d1c
[   79.239414]  0000000000000000 ffff88044789fbb0 ffff88044789fb98 ffffffff8109b816
[   79.242042]  ffff88044789fb78 ffff880002660070 0000000000004094 ffff880002667440
[   79.244631] Call Trace:
[   79.247244]  [<ffffffff81751d1c>] dump_stack+0x45/0x57
[   79.249882]  [<ffffffff8109b816>] warn_slowpath_common+0x86/0xc0
[   79.252289]  [<ffffffff8109b8a5>] warn_slowpath_fmt+0x55/0x70
[   79.254701]  [<ffffffffa019e078>] assert_device_not_suspended.isra.11+0x48/0x60 [i915]
[   79.257128]  [<ffffffffa01a0235>] gen6_read32+0x35/0x180 [i915]
[   79.257135]  [<ffffffff81757e1e>] ? _raw_spin_unlock_irqrestore+0xe/0x10
[   79.257162]  [<ffffffffa01764c1>] i915_check_and_clear_faults+0xa1/0x120 [i915]
[   79.257186]  [<ffffffffa01a4d62>] intel_uncore_early_sanitize+0x22/0x30 [i915]
[   79.257203]  [<ffffffffa0152e11>] i915_drm_resume_early+0x51/0xb0 [i915]
[   79.257220]  [<ffffffffa0152e91>] i915_resume_legacy+0x21/0x40 [i915]
[   79.257250]  [<ffffffffa01f5c8a>] i915_switcheroo_set_state+0x7a/0x90 [i915]
[   79.257255]  [<ffffffff814b7059>] vga_switchon.part.2+0x39/0x50
[   79.257258]  [<ffffffff814b70e4>] vga_switchto_stage1+0x74/0x80
[   79.257261]  [<ffffffff814b76e5>] vga_switcheroo_debugfs_write+0x335/0x3d0
[   79.257264]  [<ffffffff811cd1fb>] ? handle_mm_fault+0xdfb/0x1800
[   79.257268]  [<ffffffff81214647>] __vfs_write+0x37/0x100
[   79.257271]  [<ffffffff81217458>] ? __sb_start_write+0x58/0x110
[   79.257275]  [<ffffffff813121a3>] ? security_file_permission+0x23/0xa0
[   79.257277]  [<ffffffff81214fc6>] vfs_write+0xa6/0x1a0
[   79.257280]  [<ffffffff8102216b>] ? do_audit_syscall_entry+0x4b/0x70
[   79.257283]  [<ffffffff81215cb5>] SyS_write+0x55/0xc0
[   79.257286]  [<ffffffff810646af>] ? do_page_fault+0x2f/0x80
[   79.257289]  [<ffffffff817583ae>] entry_SYSCALL_64_fastpath+0x12/0x71
[   79.257292] ---[ end trace 02e01d277e583577 ]---
[   79.257449] [drm:intel_runtime_resume] Resuming device
[   79.257452] [drm:ironlake_init_pch_refclk] has_panel 1 has_lvds 1 has_ck505 0
[   79.284590] [drm:intel_runtime_resume] Device resumed
[   79.284593] [drm:intel_display_power_get] enabling always-on
[   79.286813] [drm:intel_opregion_setup] graphic opregion physical addr: 0x8ad36018
[   79.286834] [drm:intel_opregion_setup] Public ACPI methods supported
[   79.286834] [drm:intel_opregion_setup] SWSCI supported
[   79.286835] [drm:swsci] SWSCI request already in progress
[   79.286836] [drm:swsci] SWSCI request already in progress
[   79.286837] [drm:swsci_setup] SWSCI GBDA callbacks 00000001, SBCB callbacks 00000001
[   79.286838] [drm:intel_opregion_setup] ASLE supported
[   79.286839] [drm:ironlake_init_pch_refclk] has_panel 1 has_lvds 1 has_ck505 0
[   79.286847] [drm:intel_crt_reset] crt adpa set to 0xf40000
[   79.286923] [drm:gen6_check_mch_setup] Wrong MCH_SSKPD value: 0x16040307 This can cause underruns.
[   79.286932] [drm:intel_modeset_readout_hw_state] [CRTC:20] hw state readout: disabled
[   79.286933] [drm:intel_modeset_readout_hw_state] [CRTC:24] hw state readout: disabled
[   79.286938] [drm:intel_modeset_readout_hw_state] PCH DPLL A hw state readout: crtc_mask 0x00000000, on 0
[   79.286943] [drm:intel_modeset_readout_hw_state] PCH DPLL B hw state readout: crtc_mask 0x00000000, on 0
[   79.286946] [drm:intel_modeset_readout_hw_state] [ENCODER:27:LVDS-27] hw state readout: disabled, pipe A
[   79.286949] [drm:intel_modeset_readout_hw_state] [ENCODER:33:DAC-33] hw state readout: disabled, pipe A
[   79.286952] [drm:intel_modeset_readout_hw_state] [ENCODER:34:TMDS-34] hw state readout: disabled, pipe A
[   79.286955] [drm:intel_modeset_readout_hw_state] [ENCODER:39:TMDS-39] hw state readout: disabled, pipe A
[   79.286958] [drm:intel_modeset_readout_hw_state] [CONNECTOR:26:LVDS-1] hw state readout: disabled
[   79.286960] [drm:intel_modeset_readout_hw_state] [CONNECTOR:32:VGA-1] hw state readout: disabled
[   79.286963] [drm:intel_modeset_readout_hw_state] [CONNECTOR:35:HDMI-A-1] hw state readout: disabled
[   79.286965] [drm:intel_modeset_readout_hw_state] [CONNECTOR:40:DP-1] hw state readout: disabled
[   79.286968] [drm:intel_dump_pipe_config] [CRTC:20][setup_hw_state] config for pipe A
[   79.286968] [drm:intel_dump_pipe_config] cpu_transcoder: A
[   79.286969] [drm:intel_dump_pipe_config] pipe bpp: 0, dithering: 0
[   79.286971] [drm:intel_dump_pipe_config] fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[   79.286972] [drm:intel_dump_pipe_config] dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[   79.286973] [drm:intel_dump_pipe_config] dp: 0, gmch_m2: 0, gmch_n2: 0, link_m2: 0, link_n2: 0, tu2: 0
[   79.286974] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[   79.286974] [drm:intel_dump_pipe_config] requested mode:
[   79.286976] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
[   79.286977] [drm:intel_dump_pipe_config] adjusted mode:
[   79.286979] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
[   79.286980] [drm:intel_dump_crtc_timings] crtc timings: 0 0 0 0 0 0 0 0 0, type: 0x0 flags: 0x0
[   79.286981] [drm:intel_dump_pipe_config] port clock: 0
[   79.286982] [drm:intel_dump_pipe_config] pipe src size: 0x0
[   79.286983] [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
[   79.286983] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000, size: 0x00000000, disabled
[   79.286984] [drm:intel_dump_pipe_config] ips: 0
[   79.286985] [drm:intel_dump_pipe_config] double wide: 0
[   79.286986] [drm:intel_dump_pipe_config] [CRTC:24][setup_hw_state] config for pipe B
[   79.286986] [drm:intel_dump_pipe_config] cpu_transcoder: B
[   79.286987] [drm:intel_dump_pipe_config] pipe bpp: 0, dithering: 0
[   79.286988] [drm:intel_dump_pipe_config] fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[   79.286990] [drm:intel_dump_pipe_config] dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[   79.286991] [drm:intel_dump_pipe_config] dp: 0, gmch_m2: 0, gmch_n2: 0, link_m2: 0, link_n2: 0, tu2: 0
[   79.286991] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[   79.286992] [drm:intel_dump_pipe_config] requested mode:
[   79.286993] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
[   79.286994] [drm:intel_dump_pipe_config] adjusted mode:
[   79.286995] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
[   79.286997] [drm:intel_dump_crtc_timings] crtc timings: 0 0 0 0 0 0 0 0 0, type: 0x0 flags: 0x0
[   79.286997] [drm:intel_dump_pipe_config] port clock: 0
[   79.286998] [drm:intel_dump_pipe_config] pipe src size: 0x0
[   79.286999] [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
[   79.287000] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000, size: 0x00000000, disabled
[   79.287000] [drm:intel_dump_pipe_config] ips: 0
[   79.287001] [drm:intel_dump_pipe_config] double wide: 0
[   79.287005] [drm:drm_atomic_state_alloc] Allocate atomic state ffff880458de7e40
[   79.287008] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:26] ffff880446026dc0 state to ffff880458de7e40
[   79.287009] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:20] to ffff880458de7e40
[   79.287011] [drm:intel_modeset_affected_pipes] set mode pipe masks: modeset: 1, prepare: 1, disable: 0
[   79.287013] [drm:drm_atomic_get_crtc_state] Added [CRTC:20] ffff88044f563400 state to ffff880458de7e40
[   79.287015] [drm:connected_sink_compute_bpp] [CONNECTOR:26:LVDS-1] checking for sink bpp constrains
[   79.287017] [drm:intel_lvds_compute_config] forcing display bpp (was 24) to LVDS (18)
[   79.287019] [drm:ironlake_check_fdi_lanes] checking fdi config on pipe A, lanes 2
[   79.287020] [drm:intel_modeset_pipe_config] plane bpp: 24, pipe bpp: 18, dithering: 1
[   79.287021] [drm:intel_dump_pipe_config] [CRTC:20][modeset] config for pipe A
[   79.287022] [drm:intel_dump_pipe_config] cpu_transcoder: A
[   79.287022] [drm:intel_dump_pipe_config] pipe bpp: 18, dithering: 1
[   79.287024] [drm:intel_dump_pipe_config] fdi/pch: 1, lanes: 2, gmch_m: 4159351, gmch_n: 8388608, link_m: 231075, link_n: 524288, tu: 64
[   79.287025] [drm:intel_dump_pipe_config] dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[   79.287026] [drm:intel_dump_pipe_config] dp: 0, gmch_m2: 0, gmch_n2: 0, link_m2: 0, link_n2: 0, tu2: 0
[   79.287027] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[   79.287027] [drm:intel_dump_pipe_config] requested mode:
[   79.287029] [drm:drm_mode_debug_printmodeline] Modeline 0:"1680x1050" 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x48 0xa
[   79.287030] [drm:intel_dump_pipe_config] adjusted mode:
[   79.287031] [drm:drm_mode_debug_printmodeline] Modeline 0:"1680x1050" 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x48 0xa
[   79.287033] [drm:intel_dump_crtc_timings] crtc timings: 119000 1680 1728 1760 1840 1050 1053 1059 1080, type: 0x48 flags: 0xa
[   79.287034] [drm:intel_dump_pipe_config] port clock: 119000
[   79.287034] [drm:intel_dump_pipe_config] pipe src size: 1680x1050
[   79.287035] [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
[   79.287036] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000, size: 0x00000000, disabled
[   79.287037] [drm:intel_dump_pipe_config] ips: 0
[   79.287037] [drm:intel_dump_pipe_config] double wide: 0
[   79.287051] [drm:intel_get_shared_dpll] CRTC:20 allocated PCH DPLL A
[   79.287052] [drm:intel_get_shared_dpll] using PCH DPLL A for pipe A
[   79.287054] [drm:drm_calc_timestamping_constants] crtc 20: hwmode: htotal 1840, vtotal 1080, vdisplay 1050
[   79.287055] [drm:drm_calc_timestamping_constants] crtc 20: clock 119000 kHz framedur 16699159 linedur 15462, pixeldur 8
[   79.287060] [drm:drm_framebuffer_reference] ffff88045851ee40: FB ID: 43 (3)
[   79.287061] [drm:drm_framebuffer_unreference] ffff88045851ee40: FB ID: 43 (4)
[   79.287062] [drm:drm_framebuffer_reference] ffff88045851ee40: FB ID: 43 (3)
[   79.287063] [drm:drm_atomic_set_fb_for_plane] Set [FB:43] for plane state ffff880446027f00
[   79.287067] [drm:drm_framebuffer_unreference] ffff88045851ee40: FB ID: 43 (4)
[   79.287068] [drm:intel_prepare_shared_dpll] setting up PCH DPLL A
[   79.288439] [drm:gen6_fdi_link_train] FDI_RX_IIR 0x110
[   79.288442] [drm:gen6_fdi_link_train] FDI train 1 done.
[   79.289098] [drm:gen6_fdi_link_train] FDI_RX_IIR 0x600
[   79.289099] [drm:gen6_fdi_link_train] FDI train 2 done.
[   79.289100] [drm:gen6_fdi_link_train] FDI train done.
[   79.289103] [drm:intel_enable_shared_dpll] enable PCH DPLL A (active 0, on? 0) for crtc 20
[   79.289104] [drm:intel_enable_shared_dpll] enabling PCH DPLL A
[   79.292503] [drm:intel_panel_enable_backlight] pipe A
[   79.292507] [drm:pch_enable_backlight] cpu backlight already enabled
[   79.292510] [drm:pch_enable_backlight] pch backlight already enabled
[   79.292513] [drm:intel_panel_actually_set_backlight] set backlight PWM = 1808
[   79.293026] [drm:intel_connector_check_state] [CONNECTOR:26:LVDS-1]
[   79.293031] [drm:check_encoder_state] [ENCODER:27:LVDS-27]
[   79.293034] [drm:check_encoder_state] [ENCODER:33:DAC-33]
[   79.293036] [drm:check_encoder_state] [ENCODER:34:TMDS-34]
[   79.293038] [drm:check_encoder_state] [ENCODER:39:TMDS-39]
[   79.293040] [drm:check_crtc_state] [CRTC:20]
[   79.293053] [drm:check_crtc_state] [CRTC:24]
[   79.293054] [drm:check_shared_dpll_state] PCH DPLL A
[   79.293059] [drm:check_shared_dpll_state] PCH DPLL B
[   79.293064] [drm:drm_atomic_state_clear] Clearing atomic state ffff880458de7e40
[   79.293065] [drm:drm_atomic_state_free] Freeing atomic state ffff880458de7e40
[   79.293067] [drm:drm_atomic_state_alloc] Allocate atomic state ffff880458de7e40
[   79.293069] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:24] to ffff880458de7e40
[   79.293070] [drm:intel_modeset_affected_pipes] set mode pipe masks: modeset: 0, prepare: 0, disable: 0
[   79.293072] [drm:drm_atomic_get_crtc_state] Added [CRTC:24] ffff88044f563400 state to ffff880458de7e40
[   79.293077] [drm:intel_connector_check_state] [CONNECTOR:26:LVDS-1]
[   79.293081] [drm:check_encoder_state] [ENCODER:27:LVDS-27]
[   79.293084] [drm:check_encoder_state] [ENCODER:33:DAC-33]
[   79.293086] [drm:check_encoder_state] [ENCODER:34:TMDS-34]
[   79.293088] [drm:check_encoder_state] [ENCODER:39:TMDS-39]
[   79.293090] [drm:check_crtc_state] [CRTC:20]
[   79.293101] [drm:check_crtc_state] [CRTC:24]
[   79.293102] [drm:check_shared_dpll_state] PCH DPLL A
[   79.293106] [drm:check_shared_dpll_state] PCH DPLL B
[   79.293109] [drm:drm_atomic_state_clear] Clearing atomic state ffff880458de7e40
[   79.293110] [drm:drm_atomic_state_free] Freeing atomic state ffff880458de7e40
[   79.293113] [drm:intel_connector_check_state] [CONNECTOR:26:LVDS-1]
[   79.293118] [drm:check_encoder_state] [ENCODER:27:LVDS-27]
[   79.293120] [drm:check_encoder_state] [ENCODER:33:DAC-33]
[   79.293122] [drm:check_encoder_state] [ENCODER:34:TMDS-34]
[   79.293124] [drm:check_encoder_state] [ENCODER:39:TMDS-39]
[and so on]
Comment 17 Jani Saarinen 2016-12-09 11:25:18 UTC
Really old, Still valid and issue still seen with latest kernel?
Comment 18 Jani Saarinen 2016-12-21 10:29:59 UTC
Ne feedback, closing as resolved. Please re-open if issue still valid.


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.