[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#488277: I have exactly the same problem



Alex Deucher wrote:
> On Tue, Jul 1, 2008 at 3:56 AM, Eric Valette <eric.valette@free.fr> wrote:
>   
>> Alex, Julien
>>
>> First thanks for your help.
>>     
>>> The modes in your screen section apply to all outputs.  The ones in
>>> your monitor sections only apply to the specific monitor in question.
>>>
>>>       
>> I removed the mode lines from the screen sections. I did not add them back
>> to the monitor section as they are correctly probed by the driver.
>>
>> Result is no change. The display on the external lcd is only a portion of
>> the whole 1400x1050 resolution. Explicitly setting the resolution of the
>> LCD, does not change anything. I still have to resort to the script docked
>> to have a correct display.
>>
>> If you have any other suggestion, please tell me I will give it a try.
>>
>> NB: I would prefer to have a single configuration file for both config.
>> Using xrandr or a script like today is ok. With kde4, krandrtray will enable
>> to to this graphically.
>>     
>
> you'll need to specify a preferred mode per-output if you don't want
> to use the default preferred modes for each monitor:
> http://wiki.debian.org/XStrikeForce/HowToRandR12
>
> Alex
>   
xrandr --auto
xrandr -q
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1600 x 1200
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis)
338mm x 270mm
   1280x1024      60.0*+   75.0     59.9     60.0*
   1600x1024      60.0
   1400x1050      60.0
   1440x900       60.2
   1280x960       60.0     59.9
   1280x800       60.0
   1152x864       75.0     74.8     69.8
   1280x768       60.0
   1024x768       75.1     75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     72.8     75.0     66.7     60.0     59.9
   720x400        70.1
DVI-0 disconnected (normal left inverted right x axis y axis)x 1024)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis)
0mm x 0mm
   1400x1050      60.0*+
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)

If I now read the output of xrandr correctly, the preferred mode is
correct for both monitor (maximum resolution of each monitor) just I do
not want the number of pixel displayed on my LCD being a 1280x1024 
windows of a 1400x1050 output but because then I cannot seen the whole
picture.

Then if I put something like

Option "PreferredMode" "1280x1024_60.00" on my LVDS panel, then I will have to use xrandr to swicth manually when undocking.

Side question: why are the xrandr displayed mode wrong ?(no 1600 x1024
for the VGA-0, and 1280x1024 is possible on the LVDS). From memory it
does not reflect what the drivers correctly found probing the displays
(see my previous Xorg.0.log)

-- eric




Reply to: