Setting resolution of external monitor

Paul Menzel paulepanter at users.sourceforge.net
Sat May 23 06:14:06 PDT 2009


Dear Oliver,


Am Samstag, den 23.05.2009, 14:24 +0200 schrieb Oliver Block:
> On Thu, May 21, 2009 at 12:43:54PM +0200, Éric Piel wrote:

[…]

> > Otherwise, have you tried forcing the mode of the VGA_1 output?
> > Something like:
> > xrandr --newmode "1920x1080n"  148.50  1920 2008 2052 2200  1080 1084
> > 1089 1125 +hsync +vsync
> > xrandr --addmode VGA_1 "1920x1080n"
> > xrandr --output VGA_1 --mode "1920x1080n"
> I tried this. This first command (newmode) works, but the second fails.
> 
> $ xrandr --addmode VGA_1 "1920x1080n"
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  155 (RANDR)
>   Minor opcode of failed request:  18 ()
>   Serial number of failed request:  17
>   Current serial number in output stream:  18

I guess that your output device is named differently. Do

$ xrandr

and look what how your VGA device is named and change the parameter. You
can also search in the manual for for example addmode like

$ man xrandr
/addmod # return and `n` for the next match


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.x.org/archives/xorg/attachments/20090523/43ee1cc2/attachment.pgp>


More information about the xorg mailing list