Skip to contentSkip to conversation

New: nouveau KMS fails on NV11 - screen displays last input

Bug 24710 [email protected] 1 participant 17 messages Oct 24, 2009 – Nov 21, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: nouveau KMS fails on NV11 - screen displays last input
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=30652)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30652)
dmesg output after loading kms with KMS enabled

I build the nouveau-kernel as recommended here:
http://nouveau.freedesktop.org/wiki/InstallDRM
(Tried both master and master-compat)

Steps to reproduce
(I'm on gentoo)
1) I boot this kernel and login as root (VT)
2) modprobe -r nouveau
3) modprobe nouveau modeset=1
4) See a black screen shortly, then see the old VT, but now you cannot see new inputs

Login with ssh still works or you can use the VT blindly

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 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

Jan Buecken <[email protected]> changed:

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

         OS/Version|All                         |Linux (All)
           Platform|Other                       |x86 (IA32)
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 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

Jan Buecken <[email protected]> changed:

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

  Attachment #30652|dmesg output after loading  |dmesg output after loading
        description|kms with KMS enabled        |nouveau with KMS enabled
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 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

--- Comment #1 from Maarten Maathuis <[email protected]> 2009-10-24 04:02:09 PST --- Is fbcon builtin or loaded (if it's a module)?

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 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

--- Comment #2 from Jan Buecken <[email protected]> 2009-10-26 05:07:57 PST --- (In reply to comment #1)

Quoted 2 lines

Is fbcon builtin or loaded (if it's a module)?

builtin.
I know the fbcon thing from the ati-kms ( I have a second system with r600 ati and the kms works for me...)

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.
#6 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

--- Comment #3 from Jan Buecken <[email protected]> 2009-10-26 09:02:34 PST --- Now I compiled fbcon as module, git today, branch master.
I booted the new kernel, unload nouveau, modprobe fbcon, modprobe nouveau modeset=1

The problem still holds.

More precisely I see my frozen VT, but today I recognized the Cursor is blinking (this is not a different to fbcon builtin, I just recognized it today). But I don't know if this makes any differences.

greetings

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.
#7 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

Francisco Jerez <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #4 from Francisco Jerez <[email protected]> 2009-10-26 11:53:08 PST --- (In reply to comment #3)

Quoted 4 lines

Now I compiled fbcon as module, git today, branch master.
I booted the new kernel, unload nouveau, modprobe fbcon, modprobe nouveau modeset=1

Quoted 8 lines

The problem still holds.

More precisely I see my frozen VT, but today I recognized the Cursor is blinking (this is not a different to fbcon builtin, I just recognized it today). But I don't know if this makes any differences.

greetings

From your logs:

Quoted 1 line

[drm:edid_is_valid] *ERROR* EDID checksum is invalid, remainder is 141

Doesn't sound like nouveau's fault, your monitor probably reports a broken EDID. To workaround it you can manually set the framebuffer resolution in the kernel command line, like:

Quoted 1 line

video=VGA-1:1024x768e

(The trailing "e" forces the output to be enabled)

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.
#8 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

--- Comment #5 from Jan Buecken <[email protected]> 2009-11-01 01:34:48 PST --- Created an attachment (id=30875)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30875)
forced kernel command line option

Quoted 5 lines

Doesn't sound like nouveau's fault, your monitor probably reports a broken EDID. To workaround it you can manually set the framebuffer resolution in the kernel command line, like:

Quoted 1 line

video=VGA-1:1024x768e

(The trailing "e" forces the output to be enabled)

Tried this, but the problem still exists!

But the message

Quoted 1 line
Quoted 1 line

[drm:edid_is_valid] *ERROR* EDID checksum is invalid, remainder is 141

disappear (see new dmesg log)

New ideas?

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.
#9 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen displays last input

In reply to a message not in the archive

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

Jan Buecken <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|NOTOURBUG                   |

--- Comment #6 from Jan Buecken <[email protected]> 2009-11-01 01:38:51 PST --- Reopen because forcing the video output is not a solution. And thus the wrong
EDID is not the problem (?)

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.
#10 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

Jan Buecken <[email protected]> changed:

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

            Summary|nouveau KMS fails on NV11 - |nouveau KMS fails on NV11 -
                   |screen displays last input  |screen freeze
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.
#11 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

--- Comment #7 from Jan Buecken <[email protected]> 2009-11-01 15:29:12 PST --- checked out new git today. behavior changed:
After loading KMS I get a simple black screen instead of a frozen screen.

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.
#12 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

--- Comment #8 from Jan Buecken <[email protected]> 2009-11-06 08:40:14 PST --- Tried an other monitor (MD6155AH) today. Does work!

But: Tried forcing the resolution with the command line option (video=VGA-1:1024x768e) with this monitor. Does not work (same problem, black screen)! The monitor tells me it has no connection any more.

Tried other resolutions with the old monitor (LT1772ie, which is technical the same like an Acerview 76ie)
The resolution 800x600e does work! This seems to be the resolution the kernel boots with (so there is no resolution switch?). Maybe it is not possible to switch the resolutions if it is forced by kernel command line?

If necessary I can upload the new dmesg outputs of the different cases.

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.
#13 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

--- Comment #9 from Jan Buecken <[email protected]> 2009-11-06 09:34:14 PST --- Created an attachment (id=31015)
--> (http://bugs.freedesktop.org/attachment.cgi?id=31015)
get-edid | parse-edid output

get-edid | parse-edid output from the "read-edid" toolkit

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.
#14 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

--- Comment #10 from Jan Buecken <[email protected]> 2009-11-06 10:37:45 PST --- Created an attachment (id=31016)
--> (http://bugs.freedesktop.org/attachment.cgi?id=31016)
forced 1024x768 but drm debug=4

New dmesg with command line option video=VGA-1:1024x768e but first
modprobe -r nouveau,
modprobe drm debug=4,
then modprobe nouveau modeset=1

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.
#15 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

--- Comment #11 from Francisco Jerez <[email protected]> 2009-11-06 12:56:10 PST --- Created an attachment (id=31018)
--> (http://bugs.freedesktop.org/attachment.cgi?id=31018)
set_crtc_info_for_cmdline_modes.patch

Does the attached patch help?

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.
#16 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

--- Comment #12 from Jan Buecken <[email protected]> 2009-11-07 04:36:39 PST --- (In reply to comment #11)

Quoted 1 line

Created an attachment (id=31018)

--> (http://bugs.freedesktop.org/attachment.cgi?id=31018) [details]

Quoted 4 lines

set_crtc_info_for_cmdline_modes.patch

Does the attached patch help?

Yes, this patch works! (I only test the situation with the command line video=VGA-1:1024x768e )

Thanks.

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.
#17 lore raw

[Bug 24710] nouveau KMS fails on NV11 - screen freeze

In reply to a message not in the archive

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

Francisco Jerez <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Francisco Jerez <[email protected]> 2009-11-20 17:36:59 PST --- The patch is already in Linus' kernel tree and it will eventually flow back to
nouveau, so I'm marking this bug as closed.

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.