Skip to contentSkip to conversation

New: Nouveau fails initializing KMS on Geforce2 Go (NV11M)

Bug 78748 [email protected] 1 participant 12 messages May 15, 2014 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 78748
Assignee: [email protected]
Summary: Nouveau fails initializing KMS on Geforce2 Go (NV11M)
QA Contact: [email protected]
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg

Created attachment 99105
--> https://bugs.freedesktop.org/attachment.cgi?id=99105&action=edit
Video bios (10de:0112 NVIDIA Corporation NV11M [GeForce2 Go] (rev b2))

Nouveau kernel module crashes at boot, trying to enable outputs. It can not detect any modes.

All the outputs are turned off when the bug happens, so the system is unusable.

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-78748-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 78748] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

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

--- Comment #1 from Ismael <[email protected]> --- Created attachment 99106
--> https://bugs.freedesktop.org/attachment.cgi?id=99106&action=edit
debug dmesg

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 78748] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- My investigation of this led to mode being null. I guess I would have expected bios->fp_no_ddc to be set, but it wasn't. Will look at the attached vbios.

A workaround for now would be to change

drivers/gpu/drm/nouveau/nouveau_connector.c:nouveau_connector_detect_depth

        /* LVDS: panel straps */
        if (bios->fp_no_ddc) {
                if (bios->fp.if_is_24bit)
                        connector->display_info.bpc = 8;
                return;
        }

to be

        /* LVDS: panel straps */
        if (1 || bios->fp_no_ddc) {
                if (bios->fp.if_is_24bit)
                        connector->display_info.bpc = 8;
                return;
        }

Which will force it down this path. Alternatively you could change

                duallink = mode->clock >= bios->fp.duallink_transition_clk;

to be

                duallink = mode && mode->clock >=

bios->fp.duallink_transition_clk;

Which would also avoid the crash.

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

            Summary|Nouveau fails initializing  |[NV11] Nouveau fails
                   |KMS on Geforce2 Go (NV11M)  |initializing KMS on
                   |                            |Geforce2 Go (NV11M)
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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- DCB table at 0xd537 version 1.5
DCB 0: type 0 [ANALOG] I2C 0 heads 0 conntag 0 LOCAL OR 0 maxfreq 350000kHz DCB 1: type 4 [???] I2C 1 heads 1 unk00_4 1 conntag 1 LOCAL OR 1
DCB 2: type 1 [TV] I2C 1 heads 0 unk00_4 1 conntag 2 EXT 0 OR 0

Well that's a little odd... I suspect that throws off some of the logic. Type 4 is "reserved". Yet, somehow it still detects that there's a LVDS...

nvbios doesn't print the other stuff, so it'll take some more decoding to work out what's what... might look at that later.

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #4 from Ismael <[email protected]> --- Created attachment 99115
--> https://bugs.freedesktop.org/attachment.cgi?id=99115&action=edit
dmesg after first patch (it's a different userland than first log)

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #5 from Ismael <[email protected]> --- Created attachment 99116
--> https://bugs.freedesktop.org/attachment.cgi?id=99116&action=edit
patch #1

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #6 from Ismael <[email protected]> --- Created attachment 99117
--> https://bugs.freedesktop.org/attachment.cgi?id=99117&action=edit
X.org log with patch #1 applied

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

Ismael <[email protected]> changed:

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

  Attachment #99117|0                           |1

is obsolete| |

--- Comment #7 from Ismael <[email protected]> --- Created attachment 99122
--> https://bugs.freedesktop.org/attachment.cgi?id=99122&action=edit
X.org log with patch #1 applied and xf86-video-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

#10 lore raw

[Bug 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Can you confirm that things work fine with the hack I suggested (i.e. your patch #1)?

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

--- Comment #9 from Ismael <[email protected]> --- (In reply to comment #8)

Quoted 2 lines

Can you confirm that things work fine with the hack I suggested (i.e. your patch #1)?

No, it didn't work. Nouveau does not crash anymore, but the screen just flashes and shows black and white garbage.

Sadly I do not have access to the hardware anymore, it was a customer's hardware and he took it away. I suppose you can close this bug. Sorry for not closing this down before, and thanks a lot for your help and time.

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 78748] [NV11] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

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

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

--- Comment #10 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/108.

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