Skip to contentSkip to conversation

New: [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

Bug 56202 [email protected] 1 participant 7 messages Oct 19, 2012 – Oct 22, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 56202
Assignee: [email protected]
Summary: [regression][kms] Clock rework causes kms boot
regression for NV4E (v3.7-rc1, 3.6+nouveau)
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Driver/nouveau
Product: xorg

Created attachment 68815
--> https://bugs.freedesktop.org/attachment.cgi?id=68815&action=edit
v3.6.0+ @ the commit that caused the regression

The following commit causes KMS initialisation to result in a scrambled screen with mostly blue elements. The screen responds to changes based on actual content (e.g. system booting, lightdm starting).

drm/nouveau/clock: pull in the implementation from all over the place

I have tested and verified this regression on a 3.6 tree and the recent v3.7 tree pulled from git.kernel.org.

Below you will find some more data about my VGA card.

Attached you will find two dmesg output logs (don't know if they differ):

both are from the v3.7-rc1 tree (they are noted as 3.6.0+ in the logs) dmesg-good.txt @ the commit before the one that caused the regression dmesg-bad.txt @ the commit that caused the regression

00:05.0 0300: 10de:0244 (rev a2) (prog-if 00 [VGA controller])

    Subsystem: 103c:30b7

00:05.0 VGA compatible controller: NVIDIA Corporation C51 [GeForce Go 6150] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Presario V6133CL
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-

    Latency: 0
    Interrupt: pin A routed to IRQ 18
    Region 0: Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
    [virtual] Expansion ROM at 40000000 [disabled] [size=128K]
    Capabilities: [48] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA

PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Kernel driver in use: nouveau

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

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

#2 lore raw

[Bug 56202] [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

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

--- Comment #1 from Ronald <[email protected]> --- Created attachment 68816
--> https://bugs.freedesktop.org/attachment.cgi?id=68816&action=edit
@ the commit before the one that caused the regression

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 56202] [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

In reply to a message not in the archive

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

--- Comment #2 from Ronald <[email protected]> --- I guess this just turned pretty obvious, I took another look at both the dmesg output of both kernels.

Good kernel says:
+[drm] nouveau 0000:00:05.0: c:

Bad kernel says:
-[drm] nouveau 0000:00:05.0: c: core 24MHz

That is not a typo!

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 56202] [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

In reply to a message not in the archive

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

--- Comment #3 from Ronald <[email protected]> --- Created attachment 68829
--> https://bugs.freedesktop.org/attachment.cgi?id=68829&action=edit
Difference between 3.6.0+ good and bad kernel dmesg 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

#5 lore raw

[Bug 56202] [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

In reply to a message not in the archive

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

--- Comment #4 from Ronald <[email protected]> --- Created attachment 68832
--> https://bugs.freedesktop.org/attachment.cgi?id=68832&action=edit
NV4E BIOS ROM, retreived thru debugfs kernel v3.6.2

As recommended on the homepage, here is the VBIOS. This is all I can do for now. Hope it helps...

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 56202] [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

In reply to a message not in the archive

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

Ronald <[email protected]> changed:

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

  Attachment #68832|0                           |1

is obsolete| |

--- Comment #5 from Ronald <[email protected]> --- Created attachment 68835
--> https://bugs.freedesktop.org/attachment.cgi?id=68835&action=edit
NV4E BIOS ROM, retreived thru debugfs kernel v3.6.2

This time not as text/plain...

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 56202] [regression][kms] Clock rework causes kms boot regression for NV4E (v3.7-rc1, 3.6+nouveau)

In reply to a message not in the archive

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

Ben Skeggs <[email protected]> changed:

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

             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |rg                          |

--- Comment #6 from Ben Skeggs <[email protected]> --- Created attachment 68897
--> https://bugs.freedesktop.org/attachment.cgi?id=68897&action=edit
possible fix for the issue

Are you able to try the attached patch please?

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