Skip to contentSkip to conversation

New: [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400

Bug 72651 [email protected] 1 participant 6 messages Dec 12, 2013 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 72651
Assignee: [email protected]
Summary: [NV11] Hang during suspend/resume on Geforce 2 MX200 &
MX400
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg

Created attachment 90680
--> https://bugs.freedesktop.org/attachment.cgi?id=90680&action=edit
Serial console dump from MX200 card (boot + crash)

Hibernation and suspend/resume always hangs on a GeForce2 MX200/MX400 (NV11) with nouveau loaded.

Steps to reproduce:
- boot a kernel, load nouveau
- echo "disk" > /sys/power/state
- machine hangs after suspending devices but before the image writing begins
- after several seconds, the monitor complains about "input signal out of range"

Same thing happens with "echo freeze > /sys/power/state". If nouveau is unloaded before hibernation, everything works fine.

This happens on two different systems with a GeForce2 MX200/400:
1) Athlon XP 1700+ on an Asrock K7VT2,
GeForce2 MX400 64MB AGP, with VGA output
2) Pentium II 400 on a 440BX-based Gigabyte GA-BX2000+, GeForce2 MX200 32MB AGP, with VGA and TV-out (S-Video + Cinch)

I'm using CentOS 6 userspace, and various kernels:
linux-2.6.32-358.18.1.el6
linux-3.0.x
linux-3.10.x
linux-3.12.1
linux-3.12.4

Using a serial console I was able to narrow down the hang to run_tmds_table(), called from nv04_dfp_restore().
Dmesg output and VBIOS of both cards is attached.

Note that neither of my cards has DVI/HDMI.
It seems that the flat panel connector is wrongly fabricated in nouveau_bios.c:fabricate_dcb_encoder_table().

Commenting out the call to fabricate_dcb_output(dcb, DCB_OUTPUT_TMDS, ...) makes hibernation work fine (patch attached).

The current condition of checking bios->tmds.output{0,1}_script_ptr seems wrong. But since I don't have any NV11 with DVI output, I'm not sure what to key creating the TMDS output on.

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 72651] [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400

In reply to a message not in the archive

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

--- Comment #1 from Michal Welnicki <[email protected]> --- Created attachment 90681
--> https://bugs.freedesktop.org/attachment.cgi?id=90681&action=edit
Serial console dump from MX400 card (crash only)

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 72651] [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400

In reply to a message not in the archive

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

--- Comment #2 from Michal Welnicki <[email protected]> --- Created attachment 90682
--> https://bugs.freedesktop.org/attachment.cgi?id=90682&action=edit
VBIOS from MX200 card

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 72651] [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400

In reply to a message not in the archive

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

--- Comment #3 from Michal Welnicki <[email protected]> --- Created attachment 90683
--> https://bugs.freedesktop.org/attachment.cgi?id=90683&action=edit
VBIOS from MX400 card

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 72651] [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400

In reply to a message not in the archive

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

--- Comment #4 from Michal Welnicki <[email protected]> --- Created attachment 90684
--> https://bugs.freedesktop.org/attachment.cgi?id=90684&action=edit
Workaround: don't create the TMDS output

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 72651] [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400

In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/78.

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

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