Skip to contentSkip to conversation

Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

Bug 88861 [email protected] 1 participant 21 messages Jan 17, 2016 – Jan 26, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

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

Jani Nikula <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected]
                   |sktop.org                   |.org
Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
author Tested-by Pierre Moreau Tested-by William Brown Tested-by Lukas Wunner
#2 lore raw
In reply to a message not in the archive

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

--- Comment #9 from Lukas Wunner <[email protected]> --- Hi Jani,

Paul Hordiienko, the reporter of this bug, successfully tested an earlier version (v2) of the patch set, see the Tested-by: tags on these patches:
http://lists.freedesktop.org/archives/dri-devel/2015-August/thread.html#88156

The most recent version (v5) was tested on the following machines:

    [MBP  5,3 2009  nvidia MCP79 + G96        pre-retina  15"]
[MBP 8,2 2011 intel SNB + amd turks pre-retina 15"]
    [MBP  9,1 2012  intel IVB + nvidia GK107  pre-retina  15"]

(The patches as posted miss the Tested-by: tags by Pierre and William since I posted them before getting their feedback.)

The patch set worked just fine on my machine and William Brown's.

On Pierre Moreau's machine the discrete GPU locks up when woken. It used to do that in the past as well but only after about 10 switches, now it's locking up every time. My guess is that this is a regression in nouveau on the G96 since it works fine on my GK107.

Paul Hordiienko's machine is an MBP 6,2 2010 with intel ILK + nvidia GT216. So architecturally it is similar to my machine (integrated Intel and discrete Nvidia) and since v2 worked fine, I expect that v5 would work as well (FWIW).

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
In reply to a message not in the archive

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

--- Comment #10 from Paul Hordiienko <[email protected]> --- Hi Lukas and Jani,

I have tested v5 and confirm that it works on my MBP 6,2 2010 without any issues.

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
In reply to a message not in the archive

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

Wilfried Klaebe <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |linux-kernel@lebenslange-ma
                   |                            |iladresse.de

--- Comment #11 from Wilfried Klaebe <[email protected]> --- The commit message for
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=704ab614ec1201138032003c03113a81526638ab
refers back here. I have bisected that patch as the reason why Xorg on my MacBook Pro 8,2 does not come up successfully with Linux 4.6. Reverting that commit makes Xorg work again.

I boot Linux directly via rEFInd. I got the radeon xorg drivers installed, but neither intel nor fbdev or kms.

Feel free to ask if any questions come up.

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw
In reply to a message not in the archive

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

--- Comment #12 from Lukas Wunner <[email protected]> ---
Thanks for the report, Wilfried. Could you please create attachments with dmesg output and Xorg output, both with and without this commit. Your kernel config and Xorg config (if any) would also be helpful. Do you have anything special configured in your Xorg config for the Intel card? Do you have any special rEFInd features or extensions enabled which might change settings of the gmux microcontroller?

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw
In reply to a message not in the archive

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

--- Comment #13 from Wilfried Klaebe <[email protected]> --- Created attachment 217521
--> https://bugzilla.kernel.org/attachment.cgi?id=217521&action=edit
config of non-working Linux 4.6.0

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
In reply to a message not in the archive

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

--- Comment #14 from Wilfried Klaebe <[email protected]> --- Created attachment 217531
--> https://bugzilla.kernel.org/attachment.cgi?id=217531&action=edit
config of working Linux 4.6.0 (with commit reverted)

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw
In reply to a message not in the archive

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

--- Comment #15 from Wilfried Klaebe <[email protected]> --- Created attachment 217541
--> https://bugzilla.kernel.org/attachment.cgi?id=217541&action=edit
kern.log / dmesg of non-working Linux 4.6.0

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw
In reply to a message not in the archive

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

--- Comment #16 from Wilfried Klaebe <[email protected]> --- Created attachment 217551
--> https://bugzilla.kernel.org/attachment.cgi?id=217551&action=edit
kern.log / dmesg of working Linux 4.6.0 (commit reverted)

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw
In reply to a message not in the archive

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

--- Comment #17 from Wilfried Klaebe <[email protected]> --- Created attachment 217561
--> https://bugzilla.kernel.org/attachment.cgi?id=217561&action=edit
Xorg.log on non-working Linux 4.6.0

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw
In reply to a message not in the archive

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

--- Comment #18 from Wilfried Klaebe <[email protected]> --- Created attachment 217571
--> https://bugzilla.kernel.org/attachment.cgi?id=217571&action=edit
Xorg.log on working Linux 4.6.0 (commit reverted)

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw
In reply to a message not in the archive

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

--- Comment #19 from Wilfried Klaebe <[email protected]> --- Created attachment 217581
--> https://bugzilla.kernel.org/attachment.cgi?id=217581&action=edit
refind_linux.conf of both cases

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw
In reply to a message not in the archive

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

--- Comment #20 from Wilfried Klaebe <[email protected]> --- No Xorg config. Especially nothing special for intel or radeon. No special rEFInd features. Files attached.

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw
In reply to a message not in the archive

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

--- Comment #21 from Lukas Wunner <[email protected]> ---
If you revert 4eebd5a4e7269 ("apple-gmux: lock iGP IO to protect from vgaarb changes") instead of 704ab614ec12, does the issue go away?

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4eebd5a4e7269

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw
In reply to a message not in the archive

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

--- Comment #22 from Wilfried Klaebe <[email protected]> --- The issue goes away too, then. I don't currently see any difference to when I reverted 704ab614ec12. Xorg comes up on boot like it also did with 4.5.4 (and 4.5.5).

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw
In reply to a message not in the archive

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

--- Comment #23 from Lukas Wunner <[email protected]> --- I've e-mailed Bruno Prémont, author of 4eebd5a4e7269, and cc'ed platform-driver-x86:
http://www.spinics.net/lists/platform-driver-x86/msg08889.html

I've also cc'ed you but your e-mail address isn't working, please fix:
<[email protected]>: host mail.lebenslange-mailadresse.de[217.70.197.123] said: 550 Unrouteable address (in reply to RCPT TO command)

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#17 lore raw
In reply to a message not in the archive

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

--- Comment #24 from Wilfried Klaebe <[email protected]> --- Oops, fixed (and double-checked) that email issue. Thanks.

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw
In reply to a message not in the archive

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

--- Comment #25 from Wilfried Klaebe ([email protected]) --- This issue is still there in Linux 4.10. Because I didn't manage to find this bugzilla entry again I opened a new bug, #194697.

The status on this bug here is "NEEDINFO" - what kind of info is needed?

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#19 lore raw
In reply to a message not in the archive

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

--- Comment #26 from Jani Nikula ([email protected]) --- *** Bug 194697 has been marked as a duplicate of this bug. ***

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#20 lore raw
In reply to a message not in the archive

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

Jani Nikula ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Video(DRI - Intel) |Video(Other)

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#21 lore raw
In reply to a message not in the archive

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

--- Comment #27 from Wilfried Klaebe ([email protected]) --- Created attachment 273877
--> https://bugzilla.kernel.org/attachment.cgi?id=273877&action=edit
dmesg of logdep splat on 4.15-rc9 minus 4eebd5a4e726

logdep splat from Linux 4.15-rc9 with commit 4eebd5a4e726 reverted. The splat occurred after echoing first "DIS", then "OFF" into /sys/kernel/debug/vgaswitcheroo/switch. The "switched off" in the first line likely is from drivers/gpu/drm/i915/i915_drv.c:584, i915_switcheroo_set_state().

Signature · 6 lines
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel