Bug 642728 - nouveau: DisplayPort -> DVI external monitor modeset/probe fails on nvaf
Summary: nouveau: DisplayPort -> DVI external monitor modeset/probe fails on nvaf
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 15
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-13 16:37 UTC by Will Woods
Modified: 2018-04-11 08:52 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-11 16:46:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
System Log (107.25 KB, application/octet-stream)
2011-04-08 14:44 UTC, Kyle J. Harms
no flags Details
dmesg output (123.32 KB, application/octet-stream)
2011-04-08 14:44 UTC, Kyle J. Harms
no flags Details
X log (68.23 KB, application/octet-stream)
2011-04-08 14:45 UTC, Kyle J. Harms
no flags Details
X log (27.82 KB, application/octet-stream)
2011-04-08 14:45 UTC, Kyle J. Harms
no flags Details

Description Will Woods 2010-10-13 16:37:56 UTC
My MacBook Pro has an NVAF chip and Apple's Mini DisplayPort output. Attempting to plug in an external monitor via a DP->DVI adapter yields the following:

[drm:drm_helper_probe_single_connector_modes], DisplayPort-1
[drm] nouveau 0000:04:00.0: nouveau_dp_auxch:486 - ch 0 cmd 4 addr 0x50 len 1
[drm] nouveau 0000:04:00.0: nouveau_dp_auxch:512 - wr 0: 0x00000000
[drm] nouveau 0000:04:00.0: nouveau_dp_auxch:512 - wr 1: 0x00000000
[drm] nouveau 0000:04:00.0: nouveau_dp_auxch:512 - wr 2: 0x00000000
[drm] nouveau 0000:04:00.0: nouveau_dp_auxch:512 - wr 3: 0x00000000
[drm] nouveau 0000:04:00.0: expected bit 16 == 0, got 0x01114000
[drm:drm_helper_probe_single_connector_modes], DisplayPort-1 is disconnected

(I'm not sure why bit 16 is expected to be 0 - an explanation of that message would help if I'm going to try to trace this further.)

The adapter has been verified to work in Mac OS X, and works on another MacBook Pro (running Fedora) with a different video chipset.

Comment 1 Kyle J. Harms 2011-03-04 15:43:06 UTC
I can also confirm this that an external VGA monitor does not work with the Mini DisplayPort. I'm running Fedora 14 on a Macbook Pro 5,4. 

Apple's Mini DisplayPort to VGA adapter (Model A1307) does not work. I've tried several different monitors with the same result. (I've tested this with Rawhide also).
[drm] nouveau 0000:03:00.0: plugged DP-1
[drm] nouveau 0000:03:00.0: auxch DEFER too many times, bailing
[drm] nouveau 0000:03:00.0: DDC responded, but no EDID for DP-1
[drm] nouveau 0000:03:00.0: unplugged DP-1
[drm] nouveau 0000:03:00.0: plugged DP-1
[drm] nouveau 0000:03:00.0: auxch DEFER too many times, bailing
[drm] nouveau 0000:03:00.0: auxch DEFER too many times, bailing

However, Apple's Mini DisplayPort to DVI adapter (Model A1305) does work with no issues.

Comment 2 Matěj Cepl 2011-04-04 21:36:57 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 3 Kyle J. Harms 2011-04-08 14:44:04 UTC
Created attachment 490812 [details]
System Log

Comment 4 Kyle J. Harms 2011-04-08 14:44:42 UTC
Created attachment 490813 [details]
dmesg output

Comment 5 Kyle J. Harms 2011-04-08 14:45:30 UTC
Created attachment 490814 [details]
X log

Comment 6 Kyle J. Harms 2011-04-08 14:45:47 UTC
Created attachment 490815 [details]
X log

Comment 7 Kyle J. Harms 2011-06-09 19:47:09 UTC
This bug still exists for Fedora 15. Let me know if the logs would be useful again.

Comment 8 Steven Garrity 2011-06-30 17:30:06 UTC
(In reply to comment #2)
> We will review this issue again once you've had a chance to attach this
> information.

Looks like Kyle added the info. I have a similar issue and can provide details if that's helpful too.

Comment 9 W. Michael Petullo 2011-09-28 19:38:59 UTC
I have a MacBook 5,1. I have found that recent Fedora 15 updates allow me to use an external DVI monitor. On the other hand, driving a VGA monitor still does not work. I am using xorg-x11-drv-nouveau-0.0.16-24.20110324git8378443.fc15.x86_64 without an xorg.conf.

Connecting a DVI monitor works; I see:

[ 4405.567984] [drm] nouveau 0000:02:00.0: plugged DP-1

Comment 10 Ben Skeggs 2011-09-28 22:35:05 UTC
(In reply to comment #9)
> I have a MacBook 5,1. I have found that recent Fedora 15 updates allow me to
> use an external DVI monitor. On the other hand, driving a VGA monitor still
> does not work. I am using
> xorg-x11-drv-nouveau-0.0.16-24.20110324git8378443.fc15.x86_64 without an
> xorg.conf.
> 
> Connecting a DVI monitor works; I see:
> 
> [ 4405.567984] [drm] nouveau 0000:02:00.0: plugged DP-1

DP->DVI adaptors are usually "passive", to the driver it's identical to normal DVI and the adaptor just swaps some wiring around.  DP->VGA adaptors on the other hand are "active", and nouveau has to program the GPU for native DisplayPort.

Unfortunately, the version of nouveau shipping in F15 is limited in that it requires VBIOS assistance to set this up.  I've fixed this issue upstream, and the F16 kernel currently in updates-testing should also have the patches.

Comment 11 W. Michael Petullo 2011-09-30 15:10:25 UTC
I can confirm that kernel-3.1.0-0.rc8.git0.0.fc16.x86_64 allows my MacBook 5,1 to drive a external VGA monitor. So, with this kernel both DVI and VGA works. Thank you, Ben!

Comment 12 Will Woods 2011-10-11 16:46:39 UTC
And, holy cow, I can confirm that with kernel 3.1.0-0.rc9.git0.0.fc16.x86_64 my MacBook Pro will happily use an external DVI monitor through the mini displayport adapter.

Top work! I owe you a beer!

Comment 13 gammel.holte 2011-12-19 19:02:09 UTC
Hello,

my apologies for posting this here. I'm trying to setup an external monitor with an identical setup as one mentioned in the thread (MacBook 5,1 + mini dp -> VGA adapter).

Unfortunately there's not much information around about this. Would you mind mentioning the kernel and x11 nouveau driver versions plus any other relevant things you are using? 

I'm using ArchLinux, but this shouldn't matter much.


Note You need to log in before you can comment on or make changes to this bug.