New: NV11: KMS/fbcon accel failing after scrolling/tty switch
https://bugs.freedesktop.org/show_bug.cgi?id=50375
Bug #: 50375
Summary: NV11: KMS/fbcon accel failing after scrolling/tty
switch
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created attachment 62127
--> https://bugs.freedesktop.org/attachment.cgi?id=62127
kernel log
Shortly after loading nouveau kernel module it floods kernel log with messages and switches to software fbcon. Somewhere in the flood it reports lockup and the switch.
The easies trigger is switching vts a few times or scrolling text, e.g. with less.
System is NV11 (nforce IGP) running 3.4.0 kernel.
Extra system information is available at attachment #33464.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 50375] [NV11] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|NV11: KMS/fbcon accel |[NV11] KMS/fbcon accel
|failing after scrolling/tty |failing after scrolling/tty
|switch |switch--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Do I assume correctly that this still happens with the latest kernel? If so, please try the following things (individually) and let me know if there's any improvement:
nouveau.vram_pushbuf=1
nouveau.agpmode=0
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[NV11] KMS/fbcon accel |[NV1A] KMS/fbcon accel
|failing after scrolling/tty |failing after scrolling/tty
|switch |switch--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Oh, also looking at your log, it looks like you actually have the NV1A, not NV11.
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
--- Comment #3 from Bruno <[email protected]> --- (In reply to comment #1)
Quoted 1 line
Do I assume correctly that this still happens with the latest kernel?
Impossible to tell with current kernels (3.8.2, 3.10.7, 3.11-rc6) as VGA output is not being lit up properly by nouveau (monitor says "no signal").
See also bug #26534, comments 18 and 20.
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 84758
--> https://bugs.freedesktop.org/attachment.cgi?id=84758&action=edit
patch to treat nv1a as pre-nv17
Generationally, NV1A is pre-NV17. However in a bunch of places in the nouveau code, this wasn't recognized. I believe this patch should help, at least with something. Mind trying it out? Should apply on top of a git-ish kernel (but probably doesn't really matter).
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
[email protected]
Tested-by Bruno Prémont[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
--- Comment #5 from Bruno <[email protected]> --- (In reply to comment #4)
Quoted 7 lines
Created attachment 84758 [details] [review]
patch to treat nv1a as pre-nv17Generationally, NV1A is pre-NV17. However in a bunch of places in the nouveau code, this wasn't recognized. I believe this patch should help, at least with something. Mind trying it out? Should apply on top of a git-ish kernel (but probably doesn't really matter).
This patch gets the signal to the monitor.
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Could you also retest your various bugs with that patch applied to see if they've resolved themselves? (Including this one.)
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 85214
--> https://bugs.freedesktop.org/attachment.cgi?id=85214&action=edit
add nv11 card type
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84758|0 |1
is obsolete| |
--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 85215
--> https://bugs.freedesktop.org/attachment.cgi?id=85215&action=edit
fix nv1a chipset checks
can you test with the two patches i just uploaded instead?
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
--- Comment #9 from Bruno <[email protected]> --- (In reply to comment #8)
Quoted 4 lines
Created attachment 85215 [details] [review]
fix nv1a chipset checkscan you test with the two patches i just uploaded instead?
These two patches get the output reaching monitor as well as the previous patch.
Note: with nouveau loaded (3.11-rc7, previous patch applied) I had memory (SLAB) corruption as if someone did reuse stale pointers or write beyond allocated memory. I have no idea on the responsible party though they don't seem to happen with VGA console (nouveau not loaded).
The scrolling bug seems fixed though.
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
[Bug 50375] [NV1A] KMS/fbcon accel failing after scrolling/tty switch
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=50375
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- These patches (well, fixed up versions that actually work for nv11+ correctly) are now in nouveau/master. As for the memory corruption issue, try using SLUB with slub_debug=FZPU, that might help figure out what's going wrong. If you find anything concrete, file a new 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