[Bug 939607] New: Kernel 4.1.2 + 2014 MacBook Air external vga monitor not detected
http://bugzilla.opensuse.org/show_bug.cgi?id=939607 Bug ID: 939607 Summary: Kernel 4.1.2 + 2014 MacBook Air external vga monitor not detected Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: peter@rmk2.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since updating to 4.1 (and more specifically, 4.1.2), my external monitor (LG Flatron 2000CE) that is attached to my 2014 MacBook Air via an Apple MiniDisplayPort->VGA adapter is not recognised at all anymore. This worked fine with 4.0.x kernels. However, xrandr seems to alternate between either not showing anything at all or a broken, arbitrary monitor VIRTUAL1, perhaps in an unsuccessful attempt to fix things: sh-4.3$ uname -r 4.1.2-1-desktop sh-4.3$ xrandr --query Screen 0: minimum 8 x 8, current 1440 x 900, maximum 32767 x 32767 eDP1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 286mm x 179mm 1440x900 59.84*+ 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) 848x480 (0xee) 33.750MHz h: width 848 start 864 end 976 total 1088 skew 0 clock 31.02KHz v: height 480 start 486 end 494 total 517 clock 60.00Hz 640x480 (0xef) 25.175MHz h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz v: height 480 start 489 end 492 total 525 clock 59.94Hz The same problem (and setup) have been described by a handful of Arch users here at https://bbs.archlinux.org/viewtopic.php?id=199540 and an Arch bugreport has been filed at https://bugs.archlinux.org/task/45733 According to https://bugs.archlinux.org/task/45733#comment137505 this seems to be a bug that was recently introduced during changes to the Intel kernel drivers, and the poster identified commit 1d002fa720738bcd0bddb9178e9ea0773288e1dd as the one at fault. Let me know if you need to know anything else! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c1
--- Comment #1 from Peter Hanisch
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c2
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c3
--- Comment #3 from Peter Hanisch
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c4
Peter Hanisch
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c5
--- Comment #5 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c6
--- Comment #6 from Peter Hanisch
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c7
--- Comment #7 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c8
--- Comment #8 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c9
--- Comment #9 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c10
--- Comment #10 from Peter Hanisch
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c11
--- Comment #11 from Takashi Iwai
Applying your patch to the current 4.1.4 kernel and starting without specifying drm_kms_helper.dp_aux_i2c_transfer_size works, i.e. the external monitor/dongle show up correctly.
However, unlike the kernel parameter, it seems the resolution on the external monitor during boot and on the (kdm) login screen seems to be off. My external monitor has a native resolution of 1400x1050, but everything before logging in looks more like 1024x768 or some such. Nevertheless, it fixes the original problem!
It tries to do some fallback, but it might have side effects. The low resolution problem doesn't happen if you pass dp_aux_i2c_transfer_size=4? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c12
--- Comment #12 from Peter Hanisch
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c13
--- Comment #13 from Takashi Iwai
That's correct, the low resolution does not happen with dp_aux_i2c_transfer_size=4 both on an (unpatched) 4.1.2 and the patched 4.1.4 kernel, whereas it does happen on the patched 4.1.4 kernel without any parameters.
You can try the revised patch below, but I don't expect that much :) In the error case, we might need to restart the transaction from the beginning... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c14
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=939607
http://bugzilla.opensuse.org/show_bug.cgi?id=939607#c15
--- Comment #15 from Peter Hanisch
participants (1)
-
bugzilla_noreply@novell.com