Skip to contentSkip to conversation

New: displayport: x server does not draw anything on ThinkPad T410

Bug 27398 [email protected] 1 participant 16 messages Mar 31, 2010 – Sep 9, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=27398

Summary: displayport: x server does not draw anything on ThinkPad
T410
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]

Created an attachment (id=34582)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34582)
dmesg when DP-1 is plugged in

This happens when booting with an external monitor attached to Displayport on ThinkPad T410.

After loading nouveau.ko the main display on LVDS-1 switches to hi-res framebuffer (KMS) like during normal boot. But when X is started, it switches to vt7 and then nothing happens - neither is the frame buffer is redrawn anymore, nor the external display is enabled. This is not a lockup, though. I can switch back to vt1 with ctrl-alt-f1, and I can login into the x session by blindly typing username/password (though xdm) or start gtk-demo from vt1. (Same happens if I just start X with "X -wr&" .)

[in brief]

xorg.conf:
----> snip ----->
Section "Device"

        Identifier  "Card0"
        Driver      "nouveau"
        VendorName  "nVidia Corporation"
        BoardName   "NVIDIA Quadro NVS 3100m"
        BusID       "PCI:1:0:0"

EndSection
<---- snap <-----

steps to reproduce:
- boot and load nouveau.ko
- start X with "X -wr -config ./xorg.conf&"

result:
- KMS console works, but
- X stops redrawing the frambuffer switching to vt7 does not change the screen

expected:
- KMS console works
- X draws a blank white screen on LVDS-1 (in vt7)
- xrandr can enable DP-1

[notes]

kernel reports several:
[drm] nouveau 0000:01:00.0: 0xD404: Init table command not found: 0x3A
errors.

what is SOR?
[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A [drm] nouveau 0000:01:00.0: SOR-1: link training failed [drm] nouveau 0000:01:00.0: SOR-1: link training failed [drm] nouveau 0000:01:00.0: SOR-1: link training failed [drm] nouveau 0000:01:00.0: SOR-1: link training failed

this looks suspicious
[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A [drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A [drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A [drm] nouveau 0000:01:00.0: plugged DisplayPort-1
[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A [drm] nouveau 0000:01:00.0: SOR-1: link training failed

Thanks in advance!

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

[Bug 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=27398

--- Comment #1 from Pavel S. <[email protected]> 2010-03-31 09:10:28 PST --- Created an attachment (id=34583)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34583)
X log with DP-1 attatched

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

[Bug 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=27398

--- Comment #2 from Pavel S. <[email protected]> 2010-03-31 09:25:14 PST --- Created an attachment (id=34584)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34584)
dmesg wthen booted without external display on DP-1

1 2010-03-31 18:22:13.202493358 +0200 renamed from 2 2010-03-31 18:22:07.363618422 +0200 +0 -1
@@ -64,16 +64,55 @@
 [drm] nouveau 0000:01:00.0: Detected a DisplayPort connector
 [drm] nouveau 0000:01:00.0: Detected a DisplayPort connector
 [drm] nouveau 0000:01:00.0: Detected a DisplayPort connector
-[drm] nouveau 0000:01:00.0: allocated 1440x900 fb: 0x40250000, bo

ffff880133654600
+[drm] nouveau 0000:01:00.0: allocated 1680x1050 fb: 0x40250000, bo ffff880134734600

1440x900 is the resolution of the internal LVDS-1 display while 1680x1050 of the external display

+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A
[drm] nouveau 0000:01:00.0: 0xCC16: parsing output script 1 [drm] nouveau 0000:01:00.0: 0xCAAD: parsing clock script 0
+[drm] nouveau 0000:01:00.0: SOR-1: link training failed
fb0: nouveaufb frame buffer device
[drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 0
-[drm] nouveau 0000:01:00.0: 0xCAAD: parsing clock script 0 -[drm] nouveau 0000:01:00.0: 0xCAAD: parsing clock script 0 -[drm] nouveau 0000:01:00.0: 0xCAAD: parsing clock script 0 +[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: SOR-1: link training failed
[drm] nouveau 0000:01:00.0: 0xCC0D: parsing clock script 1
+[drm] nouveau 0000:01:00.0: 0xD441: parsing output script 1 +[drm] nouveau 0000:01:00.0: 0xD16B: parsing clock script 0
[drm] nouveau 0000:01:00.0: Allocating FIFO number 2
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 2
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: unplugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: plugged DisplayPort-1
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: expected bit 24 == 0, got 0x81109000 +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: INIT_AUXCH: rd auxch fail -121 +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: INIT_AUXCH: rd auxch fail -121 +[drm] nouveau 0000:01:00.0: INIT_AUXCH: rd auxch fail -121 +[drm] nouveau 0000:01:00.0: INIT_AUXCH: rd auxch fail -121
[drm] nouveau 0000:01:00.0: Allocating FIFO number 3
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 3
+[drm] nouveau 0000:01:00.0: 0xD076: Init table command not found: 0x3A +[drm] nouveau 0000:01:00.0: SOR-1: link training failed +[drm] nouveau 0000:01:00.0: INIT_AUXCH: rd auxch fail -121

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

[Bug 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=27398

Ben Skeggs <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #3 from Ben Skeggs <[email protected]> 2010-03-31 15:12:21 PST --- The first obvious thing to tackle is the unknown init table commands. I've
seen another case where these are used, and should have my hands on a laptop
that has them at some point in the near future, so I'll tackle them then.

In the meantime, it'd be very useful to grab a mmio-trace of the nvidia binary driver initialising your displays as another data point.

http://nouveau.freedesktop.org/wiki/MmioTrace has detailed instructions how to grab one.

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

[Bug 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #4 from Pavel S. <[email protected]> 2010-04-12 07:37:45 PDT ---

Quoted 2 lines

In the meantime, it'd be very useful to grab a mmio-trace of the nvidia binary driver initialising your displays as another data point.

I sent a mmiotrace some weeks ago the the email from the FAQ, did you recieve 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.
#6 lore raw

[Bug 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #5 from Arun Raghavan <[email protected]> 2011-04-17 21:43:07 PDT --- Created an attachment (id=45754)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45754)
dmesg output on macbook pro

I see the same problem here with a MacBook Pro and a display connected to the mini DisplayPort via a mini-DP<->VGA adapter. Attaching kernel log, fwiw. The bits about not being able to get the EDID are the same as the original reporter. Happy to help test/debug.

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

Yuriy Khomchik <[email protected]> changed:

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

             Blocks|                            |34429
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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #6 from Pavel S. <[email protected]> 2011-05-20 04:32:43 PDT ---
Hardware: Thinkpad T410, NVS 3100M (nva8?)
Kernel: vanilla 2.6.39+ from kernel.org + nouveau tree merged

Displayport still is not working if not activated by BIOS (xranrd claims that the CRTC is in use, but there is no signal on the display).

The mentioned xorg hang disappeared long time ago (in my case at least)...

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

Yuriy Khomchik <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks|34429 |

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

Yuriy Khomchik <[email protected]> changed:

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

             Blocks|                            |34429
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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #7 from Felipe Contreras <[email protected]> 2011-09-01 08:41:18 PDT --- (In reply to comment #6)

Quoted 2 lines

Displayport still is not working if not activated by BIOS (xranrd claims that the CRTC is in use, but there is no signal on the display).

I have the same issue on a Thinkpad W510; the display is supposed to be active, but I don't see anything on the screen.

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #8 from Pavel S. <[email protected]> 2011-09-02 02:39:11 PDT ---

Quoted 1 line

The mentioned xorg hang disappeared long time ago (in my case at least)...

I am sorry, just tried to install fedora15 on my T410 and could not continue the install after reboot, because DP was plugged in and xorg would hang infinitely.
(machine worked fine though, had to install the blob through USBtty, though :-()

what I want to say, this bug is still there in stable releases, my post from the last time was from gentoo and everything installed from git...

btw. will DP be useful at any time, or is this a hard to reverse engineer BIOS issue?

Quoted 1 line

I have the same issue on a Thinkpad W510; the display is supposed to be active,

but I don't see anything on the screen.

on git versions: If I close the lid then will BIOS disable LVDS and enable DP, which then works as expected in xorg, you can even enable LVDS afterwards - so maybe this can work for you until this bug is fixed...

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

Ben Skeggs <[email protected]> changed:

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

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Ben Skeggs <[email protected]> 2011-09-08 21:01:17 PDT --- This is actually fixed now in the nouveau kernel git tree, closing.

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #10 from Yuriy Khomchik <[email protected]> 2011-09-09 06:18:51 PDT --- I have a similar 34429 bug, which is reproduced on the latest git version. See
the attached dmesg log to this bug.

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #11 from Ben Skeggs <[email protected]> 2011-09-09 06:20:34 PDT --- (In reply to comment #10)

Quoted 2 lines

I have a similar 34429 bug, which is reproduced on the latest git version. See the attached dmesg log to this bug.

It's not the same bug. This bug is about DP outputs not working unless initialised by the VBIOS.

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 27398] displayport: x server does not draw anything on ThinkPad T410

In reply to a message not in the archive

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

--- Comment #12 from Yuriy Khomchik <[email protected]> 2011-09-09 06:42:36 PDT --- (In reply to comment #11)

Quoted 6 lines

(In reply to comment #10)

Quoted 2 lines

I have a similar 34429 bug, which is reproduced on the latest git version. See the attached dmesg log to this bug.

It's not the same bug. This bug is about DP outputs not working unless initialised by the VBIOS.

Is it possible that the bug 34429 causes the same problem - uninitialized eDP output after suspend and resume?

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.