Skip to contentSkip to conversation

New: [NVE6] MMIO FAULT, black screen on K2100M

Bug 76319 [email protected] 1 participant 14 messages Mar 18, 2014 – May 26, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 76319
Assignee: [email protected]
Summary: [NVE6] MMIO FAULT, black screen on K2100M
QA Contact: [email protected]
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: d-bugzilla-vUpi/[email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Driver/nouveau
Product: xorg

Created attachment 95999
--> https://bugs.freedesktop.org/attachment.cgi?id=95999&action=edit

# grep -n -i nouveau messages.out > messages.filtered

Experiencing a black screen when starting X on a Dell Precision M4800 QHD+ laptop (NVE6).
The internal screen size is 3200x1800 ; the DP-attached Dell UP2414Q measures 3840x2160.

The system is fully functional (ssh-enabled) and responds to VT switches (CTRL-ALT-Fx), but all screens (X & VT) are black.

Sometimes (after a couple of minutes), I do notice a change in screen brightness (power saving function ?).

- Fedora rawhide :
kernel-3.14.0-0.rc7.git0.1.fc21.x86_64
xorg-x11-server-Xorg-1.15.0-5.fc21.x86_64
xorg-x11-drv-nouveau-1.0.10-1.fc21.x86_64

- lscpi :
01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)

- Kernel command line:
BOOT_IMAGE=/vmlinuz-rawhide-nouveau root=/dev/mapper/vg01-rootfs4 ro rd.lvm.lv=vg01/rootfs4 vconsole.font=latarcyrheb-sun16 LANG=en_US.UTF-8 nouveau.debug=PDISP=debug,VBIOS=trace drm.debug=0xe

- Recompiled latest http://cgit.freedesktop.org/~darktama/nouveau/ as of 2014-03-18.

In the attached messages.filtered, X is started at line 1170.

As I am trying for several weeks now to get this system in a usable shape (Dell disabled Optimus in the BIOS, and there are VT issues with the nVidia binary blob), I am fully willing to recompile & test whatever you can possibly throw at me.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

D. Moens <d-bugzilla-vUpi/[email protected]> changed:

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

            Summary|[NVE6] MMIO FAULT, black    |[NVE6] MMIO FAULT, black
                   |screen on K2100M            |screen on QHD+ K2100M
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I think you may be the proud owner of multiple issues, as evidenced by the gpu lockup you get down the line.

First off, there's no way that load had those nouveau.debug settings. You would have seen a LOT more messages. I'm guessing you looked at some log file, and that log file ignores debug-level messages. Try checking in dmesg directly.

Secondly, I'm pretty sure there's no way to achieve those resolutions without the 540MHz clock frequency provided for by DP1.2 (at least not with 24bit color). In core/engine/disp/dport.c:nouveau_dp_train, prepend a 540000 value in the first position of the bw_list array.

Try to get a full debug log (which should include the various DP debug messages, as well as others), with that change, and the nouveau.debug settings you were already using (but apparently were either not being picked up, or something else).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #2 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Ilia, thank you for your instantaneous reply.

(In reply to comment #1)

Quoted 2 lines

I think you may be the proud owner of multiple issues, as evidenced by the gpu lockup you get down the line.

Thanks, I feel honoured.

Quoted 4 lines

First off, there's no way that load had those nouveau.debug settings. You would have seen a LOT more messages. I'm guessing you looked at some log file, and that log file ignores debug-level messages. Try checking in dmesg directly.

Full dmesg (with patch applied) attached.

Quoted 5 lines

Secondly, I'm pretty sure there's no way to achieve those resolutions without the 540MHz clock frequency provided for by DP1.2 (at least not with 24bit color). In core/engine/disp/dport.c:nouveau_dp_train, prepend a 540000 value in the first position of the bw_list array.

Patched :

$ diff nouveau/nvkm/engine/disp/dport.c.orig nouveau/nvkm/engine/disp/dport.c
276c276
<     const u32 bw_list[] = { 270000, 162000, 0 };
---
Quoted 8 lines
	const u32 bw_list[] = { 540000, 270000, 162000, 0 };

Try to get a full debug log (which should include the various DP debug messages, as well as others), with that change, and the nouveau.debug settings you were already using (but apparently were either not being picked up, or something else).

Oh joy, I now do get a graphical screen (and high-res VT).

Appearantly, I am also bitten by bug #70354 (witness errors.out) ?

Please find all logs in attachment (with external monitor detached, for sake of simplicity).

Again, thank you for your involvement.
Didier

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

D. Moens <d-bugzilla-vUpi/[email protected]> changed:

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

  Attachment #95999|0                           |1

is obsolete| |

--- Comment #3 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Created attachment 96042
--> https://bugs.freedesktop.org/attachment.cgi?id=96042&action=edit

# journalctl -b -k > dmesg.out
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #4 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Created attachment 96043
--> https://bugs.freedesktop.org/attachment.cgi?id=96043&action=edit

# journalctl -b -p err > errors.out
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #5 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Created attachment 96044
--> https://bugs.freedesktop.org/attachment.cgi?id=96044&action=edit

# journalctl -b /usr/bin/X > X.out
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #6 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Created attachment 96045
--> https://bugs.freedesktop.org/attachment.cgi?id=96045&action=edit

# lspci -vv (limited to graphics adapter)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to comment #2)

Quoted 10 lines

Patched :

$ diff nouveau/nvkm/engine/disp/dport.c.orig nouveau/nvkm/engine/disp/dport.c
276c276
< 	const u32 bw_list[] = { 270000, 162000, 0 };
---
Quoted 1 line
	const u32 bw_list[] = { 540000, 270000, 162000, 0 };

Oh joy, I now do get a graphical screen (and high-res VT).

Great, so the display part of it is working? Image/resolution is all fine? Could you also check with your external monitor? No one involved with nouveau had such a screen, so we weren't sure it would work. I guess we can start throwing that in when the HW supports it (hmmm... would have to figure out which HW supports it...)

Quoted 2 lines

Appearantly, I am also bitten by bug #70354 (witness errors.out) ?

Hmmm, looks like it -- but if you're running darktama's latest repo, it should have a fix for that
(http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=39b5507a36f01dc920fd9d21a70aed62fe4c0fdf)

You could also try using blob pgraph fw, although that is not known to help that issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #8 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Report of current status ...

1. Code :

I've updated to darktama's latest git :

$ git log | head -n 1
commit e7cdcda87d2c2158ef34d88c9632bf7541c07c3a

2. Environment :

I'm now running on stock Fedora 20 (as it is not feasible to run Rawhide on a production system until the F21 release in october/november).

2a. With current kernel 3.13.6-200.fc20.x86_64, compilation halts at :
nouveau/drm/core/subdev/mxm/base.c: In function ‘mxm_shadow_dsm’:
nouveau/drm/core/subdev/mxm/base.c:109:2: error: implicit declaration of function ‘acpi_evaluate_dsm’ [-Werror=implicit-function-declaration]
obj = acpi_evaluate_dsm(handle, muid, rev, 0x00000010, &argv4);

2b. For now, upgrading to 3.14.0-0.rc7.git0.1.fc20.x86_64 (backported FC20 rpms are provided at
http://copr-be.cloud.fedoraproject.org/results/besser82/kernel-backport/fedora-20-x86_64/kernel-3.14.0-0.rc7.git0.1.fc21/).
Current git compiles fine with 3.14rc7.

3. Issues :

3a. Sometimes (30-50% of the cases ? not conclusive, not enough iterations) the kernel completely halts when loading the nouveau module (CAPSLOCK led responds). Cold restart needed ;

3b. The 540MHz patch in 'core/engine/disp/dport.c:nouveau_dp_train' is appearantly still required ;

3c. MMIO FAULT / HUB_INIT timeouts still occur, cfr. attachment errors2.out .

3d. Power saving (DPMS ?) : when returning from DPMS, only the mouse pointer is shown on an otherwise (dark grey) lit screen ;

3e. Suspend : after resume, display is not restored, only a black screen is shown.

4. Preliminary conclusion :

Otherwise, everything appears to work very well (X & VT), in full resolution and with the external monitor attached (single/cloned/extended displays). I can live with the troublesome suspend, but failing DPMS is a deal-breaker for production use.

Not tested :
- thermal power management (fans?) ;
- performance metrics.

5. Further testing :

Due to the missing Optimus & other nVidia issues, I'm currently still running the M4800 next to my aging production system (M6600), but planning to migrate in the near future.
If you'd like me to test new code, performance, ... on a NVE6 with QHD+/DP for the next days, this would be the time to go ahead.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #9 from D. Moens <d-bugzilla-vUpi/[email protected]> --- Created attachment 96094
--> https://bugs.freedesktop.org/attachment.cgi?id=96094&action=edit
errors2.out

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

D. Moens <d-bugzilla-vUpi/[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from D. Moens <d-bugzilla-vUpi/[email protected]> --- As the crux of this bug (black screen) has been resolved, I'm closing this bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #11 from Andrew G. Dunn <[email protected]> --- Did other bugs get created from this report? Comment 1 indicated there were
many issues.

Are you now using F20 with the rawhide kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 76319] [NVE6] MMIO FAULT, black screen on QHD+ K2100M

In reply to a message not in the archive

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

--- Comment #12 from D. Moens <d-bugzilla-vUpi/[email protected]> --- I did file bug 76585 and 76990 too.

As there was no reply (no hard feelings) to my invitation for further testing/developing (comment #8, paragraph 5), I have currently fallen back to the nvidia binary blob.

Binary blob advantages (tested) :
- suspend/resume works

BB possible advantages (not tested) :
- performance
- stability

BB disadvantages :
- closed source
- no display in VT's
- switching between VT's required to restore screen display after screen power off
- closed source

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau