You are not logged in.

#1 2012-09-19 07:59:06

vadimkolchev
Member
Registered: 2012-06-05
Posts: 9

Set permanent monitor refresh rate without xorg.conf

Hi everyone,

Came back to archlinux, made a clean install with gnome 3. Found out that my GDM and Gnome monitor refresh rate is wrong. For GDM I solved it by adding   xrandr -s 1024x768 -r 85 to the gdm init script. Maybe it's ugly, but at least working. I've got no xorg.conf and I don't want to create it only because of this problem. Using GUI screen settings in System preferences I managed only to set permanently correct resolution (1024x768) but the refresh rate cannot be changed there, so every time I boot now I have correct resolution and refresh rate for GDM, but after login I have 1024x768@60 only, so I have to manually issue   'xrandr -r 85' every time I login. Can I fix it without creating xorg.conf file under /etc/X11? What I already tried was creating the config file under  /etc/X11/xorg.conf.d/  and set proper resolution and refresh rate there, but it didn't help. If someone has advice or idea, i will be very grateful. Thanks a lot in advance.

Offline

#2 2012-09-19 08:37:14

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Set permanent monitor refresh rate without xorg.conf

You can use a file in /etc/X11/xorg.conf.d/ (e.g. 10-monitor.conf):

# nano /etc/X11/xorg.conf.d/10-monitor.conf

Chances are that you already have it, so just edit that.


By the way, "permanent" and "permanently" are not very good choice of words.

Last edited by DSpider (2012-09-19 08:38:19)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-09-19 08:39:56

vadimkolchev
Member
Registered: 2012-06-05
Posts: 9

Re: Set permanent monitor refresh rate without xorg.conf

Thanks a lot for your quick reply.

I created this manually and put needed configuration in it, but I still get refresh rate 60, where I need it to be 85.

Offline

#4 2012-09-19 09:13:18

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Set permanent monitor refresh rate without xorg.conf

The vast majority of LCDs are capped at 60 Hz. Are you sure that the monitor supports it?


Post the specs (from the manufacturer's page, not ebay or something like that).

The manual, spec sheet or even the box sometimes, are a good place to start in these cases.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-09-19 09:45:05

vadimkolchev
Member
Registered: 2012-06-05
Posts: 9

Re: Set permanent monitor refresh rate without xorg.conf

I'm sorry, I didn't mention the most important thing - my monitor is CRT, not LCD. It surely supports 85 because it's ok when I issue xrandr -r 85.

Last edited by vadimkolchev (2012-09-19 09:45:32)

Offline

#6 2012-09-19 11:53:40

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Set permanent monitor refresh rate without xorg.conf

I think you need to specify the values from the manufacturer's website.

Here's my /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "DELL"
    ModelName      "U2311H"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I probably don't need to specify "Driver" with open-source drivers, but it's easier to just replace it with "nvidia", since I sometimes switch to the proprietary ones. tongue

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
VGA-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1680x945       60.0  
   1400x1050      74.9     60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       74.9     59.8  
   1152x864       75.0  
   1280x768       74.9     59.9  
   1024x768       75.1     70.1     60.0  
   1024x576       60.0  
   800x600        72.2     75.0     60.3     56.2  
   848x480        60.0  
   640x480        72.8     75.0     60.0  
   720x400        70.1  

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB