New: nv50: kms, random screen blinkage
http://bugs.freedesktop.org/show_bug.cgi?id=22956
Summary: nv50: kms, random screen blinkage
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=28020)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28020)
dmesg
when kms is off everything is fine, but with kms on screen seems to blink randomly from time time whether I'm in shell~tty1 or when X is running. it almost seems like a crtc timing issue. along with the screen blink there's one horizontal bar/artifact at the same level as the cursor, both true for shell~tty1 and xorg~gui. also upon entering xorg~gui I noticed fuzzy fonts as if vert refresh rate was off but it was at 60Hz which happens to the max of my lcd.
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #1 from Kamil Kaminski <[email protected]> 2009-07-26 20:34:42 PST --- Created an attachment (id=28021)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28021)
gt200 vbios
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #2 from Kamil Kaminski <[email protected]> 2009-07-26 20:37:09 PST --- Created an attachment (id=28022)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28022)
Xorg.0 no go with exapixmaps, since when it is not working? :p
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #3 from Kamil Kaminski <[email protected]> 2009-07-26 20:39:43 PST --- Created an attachment (id=28023)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28023)
kernel log with xorg and ddx up, beware~7.4MB
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
Kamil Kaminski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28020|application/octet-stream |text/plain
mime type| |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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #4 from Maarten Maathuis <[email protected]> 2009-07-27 13:21:24 PST --- Something strange happened which is preventing tiled frontbuffers working on
NVA0 gpus, darktama is aware of it, but no solution has been found by him.
The reason for the fuzzy image i do not know.
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #5 from Kamil Kaminski <[email protected]> 2009-07-28 23:47:32 PST --- I narrowed down the 'blinkage' issue to commit "drm/nouveau: allow entire
0x0002xxxx range in VBIOS parser on >=nv50",
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=66125505c3ac0e201e8286c777be46f3b415ff53,
this is what makes my NVA0 go crazy. I'm really happy that it all went well, my
first time git bisecting anything...For each nouveau.ko that I build I had to
hexedit the vermagic section/symbol to be able to insert the module into the
current running kernel since vergmagic was always different after every compile
(and I had to end with same filesize otherwise it wouldn't load!?). Is there a
better way to do it? From what I read there's other way to do, e.g. strip
.modinfo symbol but this never worked for me (objcopy -N .modinfo mod.ko
mod-stripped.ko)
stillunknown, AFAIK the fuzzy screen was a result of blinkage. Also the exapixmaps/tiles work for me now. There was at least 1 other person on the IRC that described similar blinking issue, I will try to make a video of what I was experiencing ;).
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #6 from Kamil Kaminski <[email protected]> 2009-07-29 00:58:30 PST --- Here's what was happening, next time I will need to use Windows(TM) to record
and be able to set my webcam to 30fps instead of 5fps :(.
http://www.youtube.com/watch?v=TlqSOv8UyQg
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #7 from Ben Skeggs <[email protected]> 2009-07-29 02:50:57 PST --- Are you 100% certain that's the commit? Unless you're resuming from suspend,
that code should have no effect, unless simply reading from one of the regs in
your VBIOS scripts causes it..
I'd be curious for logs of "modprobe drm debug=1; modprobe nouveau modeset=1" both with and without that commit.
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #8 from Kamil Kaminski <[email protected]> 2009-07-29 04:27:27 PST --- Created an attachment (id=28153)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28153)
good,
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=7992783bc72309bf4e1323097078406c4588adec
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #9 from Kamil Kaminski <[email protected]> 2009-07-29 04:28:04 PST --- Created an attachment (id=28154)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28154)
bad,
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=66125505c3ac0e201e8286c777be46f3b415ff53
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #10 from Kamil Kaminski <[email protected]> 2009-07-29 04:30:31 PST --- "drm/nouveau: implement init table opcode 0x97"
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=7992783bc72309bf4e1323097078406c4588adec
is the newest commit that works
starting from "drm/nouveau: allow entire 0x0002xxxx range in VBIOS parser on
Quoted 1 line
=nv50" I get blinking screen, I confirmed it with "drm/nv50: fix bogus warning
when running analog output scripts" which happens to be a one liner.
For each module I did a cold-boot.
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
--- Comment #11 from Kamil Kaminski <[email protected]> 2009-07-30 14:12:58 PST --- I noticed something interesting with 0x00020074 register, if you look at the
logs, when this register is omitted/tagged as unknown everything works fine.
Currently with git code this is what's happening:
nouveau 0000:01:00.0: Write: Reg: 0x00020074, Data: 0x80000000
while the mmiotrace from 190.18 blob shows this:
R 4 222.638450 3 0xfa020074 0x90000000 0x0 0
W 4 222.638466 3 0xfa020074 0x90010000 0x0 0
...
R 4 222.638579 3 0xfa020074 0x90010000 0x0 0
W 4 222.638594 3 0xfa020074 0x90010000 0x0 0
notice that blob writes 0x90010000 to that registers, do we know what this register does?
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.
[Bug 22956] nv50: kms, random screen blinkage
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22956
Kamil Kaminski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #12 from Kamil Kaminski <[email protected]> 2009-07-30 18:21:17 PST --- fixed! thanks darktama
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=9709e636a5ca3d3116da3ab279d5420e2700cad8
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.