1 |
On Thu, Feb 4, 2010 at 9:17 AM, Grant <emailgrant@×××××.com> wrote: |
2 |
>>> I've only ever used my laptop's VGA-out into 4:3 screens and it always |
3 |
>>> works great. I've now plugged it into a 16:9 screen for the first |
4 |
>>> time, and it still displays 4:3 on that screen and on my laptop. Is |
5 |
>>> there a way for it to detect the proper aspect ratio? Maybe it |
6 |
>>> depends on the monitor's EDID? If not, can I manually change the |
7 |
>>> aspect ratio? |
8 |
>>> |
9 |
>>> - Grant |
10 |
>> |
11 |
>> Not sure about how well it will work automatically, but try running |
12 |
>> |
13 |
>> xrandr |
14 |
>> |
15 |
>> and reading the output. It should tell you what monitors you have |
16 |
>> hooked up and what resolutions and scan frequencies they support. I |
17 |
>> did this and then put the ones I wanted into my xorg.conf file and was |
18 |
>> good to go. |
19 |
>> |
20 |
>> Hope this helps, |
21 |
>> Mark |
22 |
> |
23 |
> Thanks Mark. Is there a slick way to restart xorg without rebooting |
24 |
> so you can switch between VGA-out mode and non? When I'm doing |
25 |
> VGA-out, my laptop's screen changes to match the aspect ratio of the |
26 |
> output so it's good to be able to switch. |
27 |
> |
28 |
> - Grant |
29 |
|
30 |
Not sure of the best way to do that, but is it really necessary? |
31 |
|
32 |
I suppose you could try (from the console) |
33 |
|
34 |
/etc/init.d/xdm restart |
35 |
|
36 |
and see if it does what you want. |
37 |
|
38 |
Note that you can set up your screens using xrandr itself. I'm not |
39 |
very good at it but I've played with it and it works. Duncan on the |
40 |
amd64 list posted a couple of commands he uses. They look like this: |
41 |
|
42 |
xrandr --verbose --fb 1920x2400 --output DVI-0 --mode 1280x800 --panning |
43 |
1920x1200+0+0/1920x1200+0+0/20/20/20/20 --output DVI-1 --mode 1280x800 -- |
44 |
panning 1920x1200+0+1200/1920x1200+0+1200/20/20/20/20 |
45 |
|
46 |
Clearly that's a mouthful but I'm sure it makes sense once you get |
47 |
down to the basics. I think you can break it apart into something |
48 |
like: |
49 |
|
50 |
xrandr --verbose --fb 1920x2400 |
51 |
--output DVI-0 --mode 1280x800 --panning |
52 |
1920x1200+0+0/1920x1200+0+0/20/20/20/20 |
53 |
--output DVI-1 --mode 1280x800 --panning |
54 |
1920x1200+0+1200/1920x1200+0+1200/20/20/20/20 |
55 |
|
56 |
where DVI-0 and DVI-1 are the monitors and everything else is info to |
57 |
xrandr is what to do. You would change the output names to whatever |
58 |
yours are called. The first line 1920x2400 sets up (I think) the |
59 |
overall screen size and then the next two lines set up the two |
60 |
monitors. I think in his case they sit vertically, not horizontally |
61 |
like mine and possibly yours do. |
62 |
|
63 |
In my case I run 1280x1024 on the left monitor and 1680x1050 on the |
64 |
right monitor. I can drag stuff left and right just fine. It gets |
65 |
messed up if I play a game though. |
66 |
|
67 |
Anyway, there's some stuff for you to look at and consider. |
68 |
|
69 |
Cheers, |
70 |
Mark |