Bug 12536 - xrandr problems on intel 855GME
Summary: xrandr problems on intel 855GME
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 13027
  Show dependency treegraph
 
Reported: 2007-09-23 15:28 UTC by Francois-Rene Rideau
Modified: 2007-11-01 20:49 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
output of xrandr (1.45 KB, text/plain)
2007-09-23 22:12 UTC, Francois-Rene Rideau
no flags Details

Description Francois-Rene Rideau 2007-09-23 15:28:54 UTC
I have a Libretto U105 with an Intel 855GME builtin display.
The CRT seems to be on Pipe A, Monitor VGA.
The LFP seems to be on Pipe B, Monitor LVDS.
The LFP is connected to a 1280x768 builtin LCD display, but it is broken (and repair is as expensive as a new device).
The CRT allegedly can reach 1600x1200, and so it can under Windows.

Because my LCD is broken, I am trying to use the machine as a desktop with an external display. However, I am failing to configure it for more than 1280x768. I am using driver intel 2.0.0, and even though I try to disable the LVDS, the VGA seems to cap its resolution at 1280x768.

I tried to enable both the LVDS and the VGA and then use xrandr, but xrandr seems to have no effect whatsoever after startup.

When I have option "disabled" "true" in Section Monitor Identifier "LVDS", it correctly turns off the LCD, but the VGA is still capped, and xrandr becomes confused, complaining that "xrandr: Output LVDS is not disconnected but has no modes" whenever I try to run it.

Is there a way to connect to an external monitor with resolution 1600x1200? Can xrandr have better error messages as to why it fails? Can it be made to support setups where one output is disabled?

xdpyinfo is utterly confused in the new xrandr world. What is the correct command to use to get resolution information? xrandr? It ought to be fixed then.

Thanks a lot for your code. And thanks for any feedback.
Comment 1 Francois-Rene Rideau 2007-09-23 16:37:44 UTC
Apparently, I can't pick the resolution dynamically with xrandr, but using Option "PreferredMonde" "1600x1200" in Section Monitor Identifier "VGA" will do the Right Thing statically.

The inability of dynamic resolution resizing means that full-screen gl2 is too slow to play videos whereas xv is unavailable -- but I can survive with another X server on another vt with a smaller resolution to play DVDs.

Changing the name of the bug to explain that the (remaining) issue is with dynamic xrandr, not static configuration.

NB: xwininfo on a full-screen window was the quickest way I found to get the approximate screen resolution, though I'm sure there's better.

Thanks a lot for your code!
Comment 2 Gordon Jin 2007-09-23 18:47:20 UTC
>> I can't pick the resolution dynamically with xrandr
Could you post your xrandr output? If it contains 1600x1200, then what's the output when you set to that mode?
Comment 3 Francois-Rene Rideau 2007-09-23 22:12:29 UTC
Created attachment 11705 [details]
output of xrandr

When disabling the LVDS Monitor, the full output of xranr, whatever the arguments save --help or --version is:

xrandr: Output LVDS is not disconnected but has no modes


When enabling the LVDS Monitor, xrandr has the attached output, which looks perfectly fine. However, xrandr --output vga --mode 1400x1050 or similar has no effect.
Comment 4 Eric Anholt 2007-10-18 17:19:20 UTC
The xrandr command you're probably looking for is "xrandr --output LVDS --off --auto".  Does that do what you're looking for?

You can also statically configure what you want using the Option "Ignore" in a monitor section for your LVDS.  Option "Disable" just says "turn it off at startup", not "pretend this doesn't exist".  Default policy is to size the modes of all outputs as close as possible.
Comment 5 Jesse Barnes 2007-10-31 15:25:22 UTC
Francois, does the "ignore" option work better for you?  If so, please close this bug.
Comment 6 Francois-Rene Rideau 2007-11-01 20:49:22 UTC
OK  so if I start with the LVDS monitor enabled  then your command works  and I can turn off the ugly broken LCD and size my VGA at will. Yay  Now if I can convince KDE to do that at startup...    xrandr --output LVDS --off    xrandr --output VGA --mode 1600x1200    On the other hand  if I start with the LVDS monitor disabled with Option "Disable" "true"  then I cannot do anything useful with xrandr  as it just tells me    xrandr  Output LVDS is not disconnected but has no modes  It looks like this option does not play well with xrandr.    I tried to use Option "PreferredMode" "off" instead of in the Monitor LVDS section  to no avail. I don t remember how Option "Enable" "false" failed but it wasn t helpful.    Finally  I tried the Option "Ignore" "true" as suggested above  and it worked for me. Thanks a whole lot   


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.