Bug 14856 - Black screen w/ RandR12 enabled
Summary: Black screen w/ RandR12 enabled
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14405
  Show dependency treegraph
 
Reported: 2008-03-06 09:59 UTC by Luca Ottaviano
Modified: 2008-03-11 08:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log, randr disabled, only laptop digital panel (87.02 KB, text/x-log)
2008-03-06 09:59 UTC, Luca Ottaviano
no flags Details
Xorg log, randr enabled, only laptop digital panel (159.39 KB, text/x-log)
2008-03-06 10:02 UTC, Luca Ottaviano
no flags Details
Xorg log, randr enabled, laptop digital panel + external crt monitor (203.97 KB, text/x-log)
2008-03-06 10:06 UTC, Luca Ottaviano
no flags Details
RandR on, laptop lvds + external crt, laptop screen white (19.65 KB, application/x-gzip)
2008-03-08 03:10 UTC, Luca Ottaviano
no flags Details
Disable a quirk that may have adverse effects. (485 bytes, patch)
2008-03-08 03:33 UTC, Maarten Maathuis
no flags Details | Splinter Review

Description Luca Ottaviano 2008-03-06 09:59:46 UTC
Created attachment 14879 [details]
Xorg log, randr disabled, only laptop digital panel

When enabling RandR12 on my laptop the screen is black, though it is backlit.
I can switch to VT and back to Xserver without any problem.

If I attach a crt monitor, both displays don't work. The analog monitor complaints about out of range frequency, while the lvds is white (instead of black).
Again, I have no problem in switching to VT.

My laptop has an nForce chipset.

lspci -v
01:00.0 VGA compatible controller: nVidia Corporation NV36 [GeForce FX Go5700] (rev a1) (prog-if 00 [VGA])
        Subsystem: Acer Incorporated [ALI] Unknown device 0059
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: <access denied>

lspci -nn
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV36 [GeForce FX Go5700] [10de:0348] (rev a1)
Comment 1 Luca Ottaviano 2008-03-06 10:02:32 UTC
Created attachment 14880 [details]
Xorg log, randr enabled, only laptop digital panel
Comment 2 Luca Ottaviano 2008-03-06 10:06:32 UTC
Created attachment 14881 [details]
Xorg log, randr enabled, laptop digital panel + external crt monitor
Comment 3 Maarten Maathuis 2008-03-06 10:49:10 UTC
Your PLL table version 0x11 is not known yet. This is causing problems.
Comment 4 Stuart Bennett 2008-03-07 11:13:14 UTC
Try again, the PLL table issue should now be fixed.
Comment 5 Luca Ottaviano 2008-03-08 03:07:09 UTC
Ok, now it works with only laptop panel attached. It's a bit slow with redraw operations, but I'm on xserver 1.3 (and not able to update for a bit).

If I attach a crt monitor before starting X, I get only the external monitor working, the lvds is on and white, with coloured stripes.
I've updated my Xorg.conf to have a virtual size of 2048x768 and tried to put the lvds on the right of my crt but with no luck (lvds stays white but windows move over the right of the crt).
Note that I have only one Monitor section, but as far as I know that should not matter.

BTW, VT switch is broken (I just see the white screen on my laptop).
Comment 6 Luca Ottaviano 2008-03-08 03:10:14 UTC
Created attachment 14955 [details]
RandR on, laptop lvds + external crt, laptop screen white
Comment 7 Maarten Maathuis 2008-03-08 03:33:21 UTC
Created attachment 14956 [details] [review]
Disable a quirk that may have adverse effects.

Please try this patch.
Comment 8 Luca Ottaviano 2008-03-08 11:52:39 UTC
Just tested with two VGA monitors, one lcd and one crt; your patch is working perfectly. I'm not sure which adverse effects you where thinking about, but I've seen none.

For me it's fixed.
Comment 9 Maarten Maathuis 2008-03-08 12:28:51 UTC
I disabled the quirk in the code, please test it again.

I hope noone complains, and i can remove it altogether :-)
Comment 10 Luca Ottaviano 2008-03-10 04:24:52 UTC
Updated to master today and everything seems ok. I hope the quirk doesn't affect anyone else! :)

On a side note: I've put lvds right-of vga; when I disconnect the cable, all the windows on vga don't migrate automatically to lvds (that's a problem for example if I have gnome menu bars on vga, so I'm blind and can't launch even a console). Is that intended?
Comment 11 Maarten Maathuis 2008-03-10 04:33:21 UTC
The system is unaware that you pulled out the cable, and you will need to rerun xrandr --auto or some other program needs to give it a kick.

I don't think there is a pretty way to deal with this, certainly not for vga.
Comment 12 Luca Ottaviano 2008-03-11 08:07:07 UTC
Ok, thanks. However it has nothing to do with the bug reported here.
Closing fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.