Skip to contentSkip to conversation

New: Displayport not working on NV50

Bug 40548 [email protected] 1 participant 18 messages Sep 1, 2011 – Sep 12, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=40548

Summary: Displayport not working on NV50
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

This is what I get when I plug it in:

[ 1065.198294] [drm] nouveau 0000:01:00.0: plugged DP-1
[ 1070.813104] [drm] nouveau 0000:01:00.0: unplugged DP-1
[ 1070.937571] [drm] nouveau 0000:01:00.0: plugged DP-1
[ 1072.928409] [drm] nouveau 0000:01:00.0: unplugged DP-1
[ 1072.929480] [drm] nouveau 0000:01:00.0: plugged DP-1
[ 1099.207135] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid,
remainder is 125
[ 1099.207138] Raw EDID:
[ 1099.207141] <3>00 ff ff ff ff ff ff 00 10 ac 0f a0 53 48 36 30 
............SH60
[ 1099.207142] <3>24 0f 01 03 0e 34 21 78 ee ee 50 a3 54 4c 9b 26 
$....4!x..P.TL.&
[ 1099.207143] <3>0f 50 54 a5 4b 00 81 80 a9 40 71 4f b3 00 01 01 
.PT.K....@qO....
[ 1099.207144] <3>01 01 01 01 01 01 28 3c 80 a0 70 b0 23 40 30 20 
......(<..p.#@0 
[ 1099.207146] <3>36 00 07 44 21 00 00 1a 00 00 00 ff 00 4d 36 37 
6..D!........M67
[ 1099.207147] <3>35 34 35 38 56 30 36 48 53 20 00 00 00 fc 00 44  5458V06HS
.....D
[ 1099.207148] <3>45 4c 4c 20 30 00 00 5f ff ff ff ff ff ff ff ff  ELL
0.._........
[ 1099.207149] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
................
[ 1099.207150] 
[ 1107.718299] [drm] nouveau 0000:01:00.0: unplugged DP-1

I don't see anything particular on X.org, but xrandr throws this:

xrandr: cannot find crtc for output DP-1

I'm using Linux 3.0.3, and nouveau git 8378443.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

#2 lore raw

[Bug 40548] Displayport not working on NV50

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #1 from Felipe Contreras <[email protected]> 2011-09-01 08:07:48 PDT --- Created an attachment (id=50812)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50812)
Newer dmesg

Actually, I tried a few more times, in order to get the right EDID, but then it seemed to work, except that the screen is all black.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #2 from Emil Velikov <[email protected]> 2011-09-04 06:44:30 PDT --- Hi Felipe

Is the monitor connected to the card at boot ?

Can you give it a try and attach your logs as recommended [1]

Cheers

[1] http://nouveau.freedesktop.org/wiki/Bugs

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #3 from Felipe Contreras <[email protected]> 2011-09-04 07:14:11 PDT --- (In reply to comment #2)

Quoted 1 line

Is the monitor connected to the card at boot ?

I tried that too, to no avail.

Quoted 1 line

Can you give it a try and attach your logs as recommended [1]

Ok, when I have access to it.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

Felipe Contreras <[email protected]> changed:

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

  Attachment #50812|0                           |1

is obsolete| |

--- Comment #4 from Felipe Contreras <[email protected]> 2011-09-05 07:24:43 PDT --- Created an attachment (id=50921)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50921)
dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #5 from Felipe Contreras <[email protected]> 2011-09-05 07:25:38 PDT --- Created an attachment (id=50922)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50922)
Xorg log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

Felipe Contreras <[email protected]> changed:

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

  Attachment #50922|text/x-log                  |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #6 from Felipe Contreras <[email protected]> 2011-09-05 07:27:13 PDT --- (In reply to comment #2)

Quoted 3 lines

Is the monitor connected to the card at boot ?

Can you give it a try and attach your logs as recommended [1]

There you go.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #7 from Emil Velikov <[email protected]> 2011-09-05 11:56:46 PDT --- Thanks Felipe for the logs

It would have been great if you could tell us if the DP monitor is working at boot, and at what exact moment it switches off - i.e. load of radeon/nouveau

Looking at your logs it appears that you have a laptop with two cards/gpus

Have you looked at Optimus [1]?

Does this setup work with the proprietary driver ?

For some reason Xorg.log is saying that you have 2 monitors connected to your laptop, apart from the LVDS

AFAIK nouveau/nvidia cannot control more than two outputs, thus can you try only one at a time ?

Cheers

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #8 from Felipe Contreras <[email protected]> 2011-09-05 11:59:54 PDT --- (In reply to comment #7)

Quoted 4 lines

Thanks Felipe for the logs

It would have been great if you could tell us if the DP monitor is working at boot, and at what exact moment it switches off - i.e. load of radeon/nouveau

No, it doesn't work at boot, and it never switches off. The led turns blue, as if it just received signal, but it stays black. The back-light is on and everything, there's just nothing there.

Quoted 1 line

Looking at your logs it appears that you have a laptop with two cards/gpus

Nope.

Quoted 1 line

Have you looked at Optimus [1]?

What is that?

Quoted 1 line

Does this setup work with the proprietary driver ?

Yes.

Quoted 2 lines

For some reason Xorg.log is saying that you have 2 monitors connected to your laptop, apart from the LVDS

I do.

Quoted 2 lines

AFAIK nouveau/nvidia cannot control more than two outputs, thus can you try only one at a time ?

I'll try, but my LVDS is broken, so it would be tricky.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #9 from Felipe Contreras <[email protected]> 2011-09-05 12:21:31 PDT --- (In reply to comment #8)

Quoted 4 lines
Quoted 2 lines

AFAIK nouveau/nvidia cannot control more than two outputs, thus can you try only one at a time ?

I'll try, but my LVDS is broken, so it would be tricky.

Nope, same thing, even when I removed my VGA output display and rebooted.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #10 from Emil Velikov <[email protected]> 2011-09-05 12:54:27 PDT --- By bad forgot the Optimus link [1]

Whereas for the two GPU/cards I got this from your dmesg

[    0.807677] [drm] radeon defaulting to kernel modesetting.
[    0.807678] [drm] radeon kernel modesetting enabled.
[    2.141658] MXM: GUID detected in BIOS
[    2.141736] nouveau 0000:01:00.0: power state changed by ACPI to D0
[    2.141741] nouveau 0000:01:00.0: power state changed by ACPI to D0
[    2.141753] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.141759] nouveau 0000:01:00.0: setting latency timer to 64
[    2.144701] [drm] nouveau 0000:01:00.0: Detected an NV50 generation card

(0x0a5e00a2)

Can you attach the output of lspci just to confirm/dismiss the above

You can try the following
1. Append "video=LVDS-1:d" to your kernel command line to disable the LVDS
2. Choose a lower resolution for your DP monitor - "video=DP-1:1024x768@60"

Cheers
Emil

[1] http://nouveau.freedesktop.org/wiki/Optimus

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #11 from Felipe Contreras <[email protected]> 2011-09-06 08:35:10 PDT --- (In reply to comment #10)

Quoted 6 lines

By bad forgot the Optimus link [1]

Whereas for the two GPU/cards I got this from your dmesg

[    0.807677] [drm] radeon defaulting to kernel modesetting.
[    0.807678] [drm] radeon kernel modesetting enabled.

That's probably because CONFIG_DRM_RADEON=y (I compile my own kernel), but shouldn't affect anything; the driver just doesn't detect anything. Now I've compiled it as a module, and still no change.

Quoted 9 lines
[    2.141658] MXM: GUID detected in BIOS
[    2.141736] nouveau 0000:01:00.0: power state changed by ACPI to D0
[    2.141741] nouveau 0000:01:00.0: power state changed by ACPI to D0
[    2.141753] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.141759] nouveau 0000:01:00.0: setting latency timer to 64
[    2.144701] [drm] nouveau 0000:01:00.0: Detected an NV50 generation card

(0x0a5e00a2)

Can you attach the output of lspci just to confirm/dismiss the above

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 06)
00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35) 0d:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01) 0d:00.1 System peripheral: Ricoh Co Ltd Device e230 (rev 01) 0f:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev
03)
17:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01) 17:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 01) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

Quoted 2 lines

You can try the following
1. Append "video=LVDS-1:d" to your kernel command line to disable the LVDS

Still nothing.

Quoted 1 line

2. Choose a lower resolution for your DP monitor - "video=DP-1:1024x768@60"

Still nothing.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #12 from Ben Skeggs <[email protected]> 2011-09-08 21:04:01 PDT --- Where does your nouveau kernel module come from? The code in nouveau kernel
git should support native DP outputs correctly now, if you're not already using
that code, it's worth a try.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #13 from Felipe Contreras <[email protected]> 2011-09-09 04:07:17 PDT --- (In reply to comment #12)

Quoted 3 lines

Where does your nouveau kernel module come from? The code in nouveau kernel git should support native DP outputs correctly now, if you're not already using that code, it's worth a try.

What do you mean by "git"? 3.1-rc5?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #14 from Ben Skeggs <[email protected]> 2011-09-09 05:01:42 PDT --- No, not Linus' tree, Nouveau's - which is at
http://cgit.freedesktop.org/nouveau/linux-2.6

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

Felipe Contreras <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from Felipe Contreras <[email protected]> 2011-09-12 10:42:28 PDT --- (In reply to comment #14)

Quoted 2 lines

No, not Linus' tree, Nouveau's - which is at
http://cgit.freedesktop.org/nouveau/linux-2.6

Indeed, I tested that code and it's working fine.

Now I wonder when it will be merged to Linux upstream... I guess 3.2, right?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 40548] Displayport not working on NV50

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40548

--- Comment #16 from Ben Skeggs <[email protected]> 2011-09-12 12:10:07 PDT --- Yeah, it'll be merged for 3.2 - barring any show-stopping issues.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.