bugzilla-daemon at freedesktop.org
2009-Jan-16 21:33 UTC
[Nouveau] [Bug 19620] New: At first start of X, secondary display doesn' t come up properly.
http://bugs.freedesktop.org/show_bug.cgi?id=19620 Summary: At first start of X, secondary display doesn't come up properly. Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: mjulien.m at gmail.com QAContact: xorg-team at lists.x.org Created an attachment (id=22036) --> (http://bugs.freedesktop.org/attachment.cgi?id=22036) Config Problem : first start of X : primary screen work fine, secondary screen stay blue (mandriva make root X window blue instead of grey by default). The screen seems to be properly configured (1024x768 at 85) and I can drag something on this screen (but obviously I don't see it anymore) If I try this in clone mode, the second screen is blue, the first display properly. Second start of X or after a switch to VT and come back, the second screen is perfectly fine, and I can use it Configuration : xserver : 1.4.0.90 from mandriva 2008.1 Card (NV4B, 10de:02e1) on AGP bus : 01:00.0 VGA compatible controller: nVidia Corporation G73 [GeForce 7600 GS] (rev a2) Primary screen on DVI (with DVI to VGA adaptor) : IIYAMA A705MT (Vision master pro 411) Secondary screen on VGA : IIYAMA S704HT (Vision master 404), this screen alone had worked fine with nouveau on VGA since 18 months. xrandr -q : Screen 0: minimum 320 x 200, current 2048 x 768, maximum 3000 x 1024 DVI-I-0 connected 1024x768+1024+0 (normal left inverted right x axis y axis) 320mm x 240mm 1024x768_85.00 84.9*+ 1352x1014 59.9 1280x1024 75.0 1152x864 75.0 1024x768_100.00 100.0 1024x768 75.1 70.1 60.0 832x665 97.7 832x624 74.6 800x600_85.00 84.9 800x600 72.2 75.0 60.3 56.2 640x480_85.00 84.6 640x480 75.0 72.8 66.7 69.6 60.0 59.9 512x384 120.0 400x300 120.6 320x240 120.1 VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 320mm x 240mm 1024x768_85.00 84.9*+ 1280x1024 75.0 1152x864 75.0 1024x768 74.9 75.1 70.1 60.0 832x624 74.6 74.8 800x600_85.00 84.9 800x600 72.2 75.0 60.3 56.2 640x480_85.00 84.6 640x480 75.0 72.8 66.7 69.6 60.0 59.9 512x384 120.0 400x300 120.6 320x240 120.1 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-16 21:38 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #1 from Mjules <mjulien.m at gmail.com> 2009-01-16 13:38:01 PST --- Created an attachment (id=22038) --> (http://bugs.freedesktop.org/attachment.cgi?id=22038) Xorg log at first start when second display doesn't come up properly -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-16 21:38 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #2 from Mjules <mjulien.m at gmail.com> 2009-01-16 13:38:53 PST --- Created an attachment (id=22039) --> (http://bugs.freedesktop.org/attachment.cgi?id=22039) Xorg log at second start when everything is ok -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-16 21:40 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #3 from Mjules <mjulien.m at gmail.com> 2009-01-16 13:40:24 PST --- Created an attachment (id=22040) --> (http://bugs.freedesktop.org/attachment.cgi?id=22040) Xorg log with a VT switch, before, problem, after, fine -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-17 15:24 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #4 from Mjules <mjulien.m at gmail.com> 2009-01-17 07:24:12 PST --- I've made a small movie (~1 min ; 8MB) in order to better explain the problem : http://mjules.free.fr/nouveau/bug.avi storyline : fresh boot in runlevel 3 (before the beginning of the movie) 2" : startx 30" : KDE is loaded, the screen on DVI (with adaptor) show KDE, the screen on VGA show nothing but a blue color 37" : I made a switch to VT 45" : I come back from VT to X, the two screen display KDE in clone mode as expected initially. thx -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 17:59 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #5 from Stuart Bennett <sb476 at cam.ac.uk> 2009-01-19 09:59:05 PST --- Thanks, for the video, that explains it really well. 1) it would seem you are using an FB for the console. Certainly this can cause problems if it's nvidiafb. Even if it's vesafb it may be worth trying a boot with "vga=0" added to the end of your kernel parameters to force a text-mode only boot. 2) assuming this doesn't fix it, please make register dumps while in X, both before (broken) and after (working) the switch to and from VT. Use my version of radeontool to make these. It can be acquired by: git clone git://anongit.freedesktop.org/~stuart/radeontool cd radeontool; make then dumps made by ./radeontool regs > logfile -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 18:21 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #6 from Mjules <mjulien.m at gmail.com> 2009-01-19 10:21:33 PST --- Hi, thx for your answer disabling vesafb doesn't fix the problem but it becomes different : now the secondary screen doesn't come up at all at first start. It is powered but stays black as if it doesn't receive a signal. As previously switch to VT and come back fix the display. Dumps attached -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 18:22 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #7 from Mjules <mjulien.m at gmail.com> 2009-01-19 10:22:29 PST --- Created an attachment (id=22099) --> (http://bugs.freedesktop.org/attachment.cgi?id=22099) Dump of register before switch to VT (with problem) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 18:23 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #8 from Mjules <mjulien.m at gmail.com> 2009-01-19 10:23:10 PST --- Created an attachment (id=22100) --> (http://bugs.freedesktop.org/attachment.cgi?id=22100) Dump of reg after the switch (everything works fine) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 19:01 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #9 from Stuart Bennett <sb476 at cam.ac.uk> 2009-01-19 11:01:47 PST --- Try running these register writes, all together in a script and see if it fixes anything (in the same mode you made the dumps - I assume vesafb enabled?) ./radeontool regset C1:00 0xa7 ./radeontool regset C1:01 0x7f ./radeontool regset C1:02 0x7f ./radeontool regset C1:03 0x8b ./radeontool regset C1:04 0x88 ./radeontool regset C1:05 0x95 ./radeontool regset C1:06 0x27 ./radeontool regset C1:07 0xf5 If that doesn't produce anything, it might be interesting to see the reg dumps for the vesafb disabled case. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 19:19 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #10 from Mjules <mjulien.m at gmail.com> 2009-01-19 11:19:14 PST --- Dumps were made with vga=0 (but vesafb has been compiled inside the kernel by my distro) Writing the registers seems to solve the problem :) the screen display fine after that. thx -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 19:39 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #11 from Stuart Bennett <sb476 at cam.ac.uk> 2009-01-19 11:39:34 PST --- Created an attachment (id=22101) --> (http://bugs.freedesktop.org/attachment.cgi?id=22101) debug patch Hm, weird :) Please apply this patch and attach an Xorg log showing: starting (broken)->switch to vt->switch to X (working) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 20:24 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #12 from Mjules <mjulien.m at gmail.com> 2009-01-19 12:24:13 PST --- Created an attachment (id=22102) --> (http://bugs.freedesktop.org/attachment.cgi?id=22102) Xorg Log with debug patch applied and VT switch -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 20:25 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #13 from Mjules <mjulien.m at gmail.com> 2009-01-19 12:25:05 PST --- Log attached Could the weirdness you see come from grub ? my distro is using a "graphic" grub. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 21:12 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #14 from Stuart Bennett <sb476 at cam.ac.uk> 2009-01-19 13:12:56 PST --- Created an attachment (id=22104) --> (http://bugs.freedesktop.org/attachment.cgi?id=22104) test patch please test if this fixes things -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 21:43 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #15 from Mjules <mjulien.m at gmail.com> 2009-01-19 13:43:18 PST --- It works with your test patch applied :) thx -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-19 23:47 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #16 from Stuart Bennett <sb476 at cam.ac.uk> 2009-01-19 15:47:40 PST --- Created an attachment (id=22108) --> (http://bugs.freedesktop.org/attachment.cgi?id=22108) (hopefully) final patch Ok, this is what I intend to push, provided it works :) Can you verify it still fixes it for you (and doesn't break anything else)? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-20 21:00 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 --- Comment #17 from Mjules <mjulien.m at gmail.com> 2009-01-20 13:00:04 PST --- Your last patch fixes the bug :), it doesn't seems to cause other problems :) thanks a lot. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jan-21 01:46 UTC
[Nouveau] [Bug 19620] At first start of X, secondary display doesn't come up properly .
http://bugs.freedesktop.org/show_bug.cgi?id=19620 Stuart Bennett <sb476 at cam.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #18 from Stuart Bennett <sb476 at cam.ac.uk> 2009-01-20 17:46:02 PST --- Pushed. http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=3e971f63b6b6859acc19a52a4003bb6041cc5374 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
Maybe Matching Threads
- [Bug 14567] New: Randr 1.2 fails on nv17 lvds in a Dell Inspiron 8100 ( continued from 14491)
- [Bug 21023] New: NV34GL: fails to properly set up DVI
- [Bug 14991] New: randr12 not working with nv25
- [Bug 15758] New: Invisible mouse pointer on NV4E (C51)
- [Bug 12158] New: mouse cursor disappears