You are not logged in.

#1 2010-10-19 10:46:35

Registered: 2010-07-15
Posts: 24

X resolution (drivers/xorg.conf/xrandr?)

Hello, I have just inherited a fairly decent widescreen monitor (16:10), and I would like its resolution to be 1600x1024,

however, Xorg doesn't like this when I try to do it:

# Monitor stuff here

Section "Monitor"
    Identifier    "Monitor0"

Section "Device"
    Identifier    "Device0"
    Driver        "vesa" #Choose the driver used for this monitor

Section "Screen"
    Identifier    "Screen0"  #Collapse Monitor and Device section to Screen section
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  24 #Choose the depth (16||24)
    SubSection "Display"
        Depth     24
        Modes     "1600x1024_75.00" #Choose the resolution

xrandr output

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0* 
   1024x768        0.0  
   800x600         0.0  
   640x480         0.0

I'm a complete retard and don't really know which avenue I'm supposed to pursue to fix this, any help would be luv-er-lee.

Steve C


#2 2010-10-19 15:43:00

Registered: 2008-01-12
Posts: 40

Re: X resolution (drivers/xorg.conf/xrandr?)

What is the native resolution of your monitor, the one it was meant to display?


#3 2010-10-20 05:49:50

From: Argentina
Registered: 2010-06-21
Posts: 28

Re: X resolution (drivers/xorg.conf/xrandr?)

You should take a look at this Xrandr Adding undetected resolutions - ArchWiki


#4 2010-10-20 14:44:14

Registered: 2010-08-27
Posts: 266

Re: X resolution (drivers/xorg.conf/xrandr?)


Try to generate a conf file for your system first:

Okay, what I see from the snippets is ... no screen0, also, find your monitor online (Yahoo) to get native resolution, Vertical and horizontal frequencies. You'll need to add those to the xorg.conf.
Let X make one for you:

Xorg -configure

That makes a config suited to your system, then test it:

Xorg -config

add "-retro" if need be, in case you dont see anything....

If it lives up to your expectations, replace the one you got now with it, make a back up first, know this.
The data found about your monitor needs to be added to the "monitor" section, this is an example:

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30-107
        VertRefresh  48-12

Noticed the HorizSync and VertRefresh words?

It takes a little effort to tweak this thing, but it's worth it...

By the way, this worries me:

Modes     "1600x1024_75.00"

You may need to tweak that out too...but I dunnow...

Read this article for completeness: … onfig.html

Tip : tweak the initab to start the system in init-3, that way if the X gets stuck, at least you can fall back to the console in an orderly fashion...

Wellness & luck!



Board footer

Powered by FluxBB