[Bug 88861] New: efi, i915, vgaswitcheroo, black screen, nouveau. Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Nov 24 15:04:58 PST 2014


https://bugzilla.kernel.org/show_bug.cgi?id=88861

            Bug ID: 88861
           Summary: efi, i915, vgaswitcheroo, black screen, nouveau.
                    Screen goes black when switching from dedicated nvidia
                    graphics card (nouveau) to integrated
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.17.4, 3.16.5
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - Intel)
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: pvt.gord at gmail.com
                CC: intel-gfx-bugs at lists.freedesktop.org
        Regression: No

Created attachment 158721
  --> https://bugzilla.kernel.org/attachment.cgi?id=158721&action=edit
Full dmesg log with drm.debug=0xe after few switch on/off iterations.

Overview:

I'm trying to get to work hybrid graphics on my macbookpro6.2 with efi stub
kernel. For intel card is used i915 driver, for nvidia - nouveau.

After system booted I switch off dedicated nvidia graphics card, with help of
vgaswitcheroo, which cause to black screen. However, the system doesn't freeze.
When I switch back to nvidia card I able to see console again.

Steps to Reproduce: 

1) Boot Linux kernel directly using the built-in EFI stub
2) Switch to intel card: echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
3) For get screen back to work use: echo DIS >
/sys/kernel/debug/vgaswitcheroo/switch

Actual results:

Screen become black, but you still able to work with console.

Expected Results:

Graphics card should be switched to integrated one with properly working screen
and backlight. 

Build Date & Hardware:

Linux 3.17.4-gentoo #9 SMP PREEMPT Mon Nov 24 21:38:06 2014 x86_64 Intel(R)
Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated
Graphics Controller (rev 18)
01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [GeForce GT 330M]
(rev a2)

Additional Information:

I think the issue is here:
[    6.855159] i915 0000:00:02.0: BAR 6: can't assign [??? 0x00000000 flags
0x20000000] (bogus alignment)
[    6.855161] [drm] failed to find VBIOS tables

Firstly, I decided that problem is in backlight. But with help of this patch:
https://github.com/ah-/gmux-scripts/issues/1#issuecomment-53850868
I was able to get it partially work. After switching to integrated graphics I
got working backlight, but screen was black anyway. However, when I tried to
switch back to nvidia I got completely black screen without backlight as was
with intel card before.

So after I tried to find some pathes for i915 vbios issue:
http://lists.freedesktop.org/archives/dri-devel/2014-August/065880.html
But all of them already added in 3.17.4 kernel, and didn't help me.


//Hope we can find solution =)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the intel-gfx-bugs mailing list