Re: xrandr: how to tell it that a screen size is supported?



On Mon, Jun 7, 2010 at 15:32, Dotan Cohen <dotancohen@xxxxxxxxx> wrote:
On 7 June 2010 16:33, J <dreadpiratejeff@xxxxxxxxx> wrote:
On Mon, Jun 7, 2010 at 09:04, Dotan Cohen <dotancohen@xxxxxxxxx> wrote:

A: this is because of your KVM.  When you boot the machine without the
KVM pointing to the machine, X has no monitor to probe, so it defaults
to a lower safe setting.  When your KVM IS pointed to the system in
question, X get's supported modes from the monitor via a DDC probe and
thus, you get full resolution.


I know that! Now, how can I add 1680x1050 as a safe setting?

No need to get snippy ;-) Sorry, I have no way of knowing what you do
and don't know so instead of guessing, I erred on the side of
caution... nothing personal, I just can't read minds these days

The obvious answer to this one is to only boot when the monitor is
connected to the system (e.g. when you have that system switched on
the KVM).


If that were always possible, I would not have posted here!

Again, no need to get snippy. I just said it was the obvious answer,
not the only answer.

However, this is from the man page for xrandr (you should read the man
page, there's a bit of explanation for each xrandr option in there):


Thanks. Actually, I had read the fine manual sometime in the past few
months, I should have gone over it again. Sorry!

No worries... Honestly, I didn't know there was an example at the end
until today. I usually just look at a command synopsis and options...
Heck, I learned something new myself today! :-)

Lets see, if I get this from -q --verbose:

 1680x1050 (0x4d)  146.2MHz -HSync +VSync *current +preferred
       h: width  1680 start 1784 end 1960 total 2240 skew    0 clock
 65.3KHz
       v: height 1050 start 1053 end 1059 total 1089           clock
 60.0Hz

Then would you agree that this would be the preferred config:

$ sudo xrandr --newmode "1680x1050" 60.0 1680 1784 1960 2240 1050 1053
1059 1089 -hsync +vsync

I'd say that that looks right to me, but YMMV. That's probably what I'd try...

But read that page NoOp linked to... look at the cvt utility...

Using your resolution:
bladernr@klaatu:/var/log$ cvt 1680 1050
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053
1059 1089 -hsync +vsync

Keep in mind, that's from my laptop, so it may be slightly different
on yours (especially the frequency)

But that page is pretty good reading. I learned something else today :-)
That page also explains several ways to persistently set that mode so
hopefully one of those will match your system and you'll be golden.

Cheers
Jeff

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: REPOST : VDQ Display (FC4 & ViewSonic VG910b)
    ... >> which I run behind a KVM switch: an ASUS with a Maxtor 6E040L0 hard drive ... >> display isn't right, and the GUI for setting the display (Main Menu> ... previous monitor turned up in the canned list. ...
    (Fedora)
  • Re: Problem with Dell 1703FP monitor - SOLVED
    ... >>The only other thing is that I have the monitor hooked up to an Iogear ... >>KVM switch that also connects my linux server. ... > haven't posted what the actual refresh rate is according to YaST... ... > occassionally (not a low display rate flicker, but a flicker as in it would ...
    (alt.os.linux.suse)
  • Re: resolution changes and KVM switch use
    ... I've set up a KVM switch between a PC running XP and one with Vista ... positioning) when separately connected to the monitor. ... Is this likely to be a KVM switch issue, a conflict between the XP and Vista ... If the user enters the control panel for the video card, the driver may ...
    (microsoft.public.windowsxp.hardware)
  • Re: Help - PC lockup after POST due to refresh rate (I think) -I am stumped ! :-(
    ... Set it up using my KVM ... Tried the neighbours monitor too and it was the ... > settings in XP with regards to refresh rate and it is remembering them at ... Is there a registry key to ...
    (comp.sys.ibm.pc.hardware.video)
  • Re: [SLE] 9.1 problem
    ... >> KVM ... >> This no name KVM retains power to devices less than 8 hours which ... >No changes of hardware. ... monitor as the big hog and leave the system up. ...
    (SuSE)