You are not logged in.

#1 2011-03-11 18:39:10

jorg1
Member
Registered: 2011-02-07
Posts: 12

[SOLVED] Changing screen resolution with xrandr.

Been googling around after a way to change my screen resolution.

I'm on a Acer Aspire Timeline 3810t with the resolution 1366x768.

I wanted to change my resolution to something like 1900x1200 and found a guide explaining how to do this with xrandr.

This is what I did:


jorgen ~ $ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1366x768       60.0*+
   1024x768       60.0 
   800x600        60.3     56.2 
   640x480        59.9 
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
TV1 disconnected (normal left inverted right x axis y axis)

jorgen ~ $ cvt 1900 1200
# 1904x1200 59.93 Hz (CVT) hsync: 74.61 kHz; pclk: 191.00 MHz
Modeline "1904x1200_60.00"  191.00  1904 2032 2232 2560  1200 1203 1213 1245 -hsync +vsync

jorgen ~ $ xrandr --newmode "1904x1200_60.00"  191.00  1904 2032 2232 2560  1200 1203 1213 1245 -hsync +vsync

jorgen ~ $ xrandr --addmode LVDS1 1904x1200_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  150 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  33
  Current serial number in output stream:  34

Does anybody have an idea about what I am doing wrong, or why I get this error?

Last edited by jorg1 (2011-03-12 04:20:39)

Offline

#2 2011-03-11 19:02:10

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Changing screen resolution with xrandr.

Do you know if your video card and monitor supports that resolution?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-03-11 19:07:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Changing screen resolution with xrandr.

Inxsible wrote:

Do you know if your video card and monitor supports that resolution?

+1

xrandr --fb widthxheight

should be enough.

Offline

#4 2011-03-11 20:15:11

jorg1
Member
Registered: 2011-02-07
Posts: 12

Re: [SOLVED] Changing screen resolution with xrandr.

Well, I think it should.

Heh, feel kinda stupid now but is there an easy way to find out how much my screen card could handle.

I think I read somewhere that someone had configured this computer to run with the 1900x1200 resolution. Think i read about it in ubuntuforums but i can't find the post :S

Offline

#5 2011-03-11 20:24:53

jorg1
Member
Registered: 2011-02-07
Posts: 12

Re: [SOLVED] Changing screen resolution with xrandr.

Actually xrandr --fb 1900x1200 works, but everything running doesn't seem to want to run in that resolution.

I mean, the screen resolution seems to change but not for example chromium. If that makes sense?

Screenshot to explain :

http://img847.imageshack.us/i/201103112 … x900s.png/

Offline

#6 2011-03-11 20:25:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Changing screen resolution with xrandr.

I think running 'xrandr --fb 1900x1200 is safe just close all apps beforehand. If something weird happens (your displays turns black etc.), reboot. After the reboot your computer will run with the current (1366 x 768) settings.

Edit: OK, I see you already did it. Sorry, but I don't know why it doesn't work. Try reopening the apps, restarting DE - I'm just guessing here.

Last edited by karol (2011-03-11 20:27:32)

Offline

#7 2011-03-11 22:37:20

jorg1
Member
Registered: 2011-02-07
Posts: 12

Re: [SOLVED] Changing screen resolution with xrandr.

Been playing around with this for a while now, but I can't seem to figure out what the problem is.

Found someone on the same kind of computer getting the same error on xrandr but he was trying to set the resolution
on a external monitor. He found a solution that didn't help me. So any suggestions would be much appreciated.

Would it help if I tried to write an 10-monitor.conf file, and could somebody maybe point me in the direction on how this is done?

I'm a little reluctant to play around with the xorg conf files because whenever I have tried this before I have messed it up :-S

Any good documentation or any kind of help would be great !

Offline

#8 2011-03-11 23:13:54

jorg1
Member
Registered: 2011-02-07
Posts: 12

Re: [SOLVED] Changing screen resolution with xrandr.

Ok, I found some good documentation - the wiki. (Been in ubuntu so long that I forgot to check the official documentation before going to the forums :S)

Made myself a 10-monitor.conf file:

Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "intel"
EndSection

Section "Screen"
    Identifier    "Screen0" 
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  24
    SubSection "Display"
        Depth     16
        Modes     "1900x1200_60.00" #Choose the resolution
    EndSubSection
EndSection

But it still won't switch to any other resolution than 1366x768. Anybody see anything wrong with this?

Offline

#9 2011-03-12 01:46:11

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED] Changing screen resolution with xrandr.

jorg1 wrote:

Ok, I found some good documentation - the wiki. (Been in ubuntu so long that I forgot to check the official documentation before going to the forums :S)

Made myself a 10-monitor.conf file:

Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "intel"
EndSection

Section "Screen"
    Identifier    "Screen0" 
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  24
    SubSection "Display"
        Depth     16
        Modes     "1900x1200_60.00" #Choose the resolution
    EndSubSection
EndSection

But it still won't switch to any other resolution than 1366x768. Anybody see anything wrong with this?

Good, you've learnt to use the wiki, please do that first from now on (google as well). Also, please use code-tags, makes it easier to read code/conf-files.

It looks like you're trying to set your laptop screen to a resolution higher than it can go. Hint: not possible. If you had an external screen with a higher res then you could use that, but the resolution is limited both by the screen and the graphics card, and I haven't heard of any laptop screen with such a high resolution.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2011-03-12 03:40:02

jorg1
Member
Registered: 2011-02-07
Posts: 12

Re: [SOLVED] Changing screen resolution with xrandr.

Well, actually. If you read my previous posts you would have seen that I have used both the wiki and google before posting on the forums.

The thought has crossed my mind that the resolution is too much too handle but I found several people, when searching in _google_, that claims to be running
the 1900x1200 on this laptop. They were all running ubuntu, but I can't get it to work in arch.

Neither the wiki or google can give me any hints. Do you have anything constructive to help me along?

And I am very sorry about not using the code tags, it won't happen again!

Offline

#11 2011-03-12 04:20:00

jorg1
Member
Registered: 2011-02-07
Posts: 12

Re: [SOLVED] Changing screen resolution with xrandr.

Found a solution to my problem after posting a request on the ubuntuforums.

xrandr --output LVDS1 --scale 1.5x1.5

Thanks anyways to the people trying to help.

Offline

Board footer

Powered by FluxBB