LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-16-2010, 07:27 AM   #1
Interject
Member
 
Registered: Jun 2009
Distribution: Slackware 12.2/13.1
Posts: 41

Rep: Reputation: 16
xrandr/krandr reports two of the same refresh rates.


When I use krandr to set my resolution to 1920x1080 it shows two of the same refresh rates (60hz) like this:


When I choose the first 60hz option the picture doesn't fill my monitor (large black bars on the side)
But the second option works fine.

My problem is when I want to manually set the resolution with xrandr it defaults to the first 60hz option and I have no idea how can I get xrandr to use the second 60hz option(If that makes sense, also why are the same refresh rates producing different outputs?)

Here is what 'xrandr -q --verbose' reports (0x44 is the 1920x1080 option that actually works properly)
Code:
xrandr -q --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
VGA1 connected 1920x1080+0+0 (0x44) normal (normal left inverted right x axis y axis) 708mm x 398mm
        Identifier: 0x41
        Timestamp:  731492
        Subpixel:   unknown
        Clones:    
        CRTC:       0
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID:
                00ffffffffffff004249000001000000
                0a1201030e5d3478eade58a3544c9926
                0f4547afcf008140714f010101018180
                8bc0d1c00101662150b051001b304070
                3600c48e2100001e5235808070381f40
                20201300c48e2100001e000000fc0050
                72696d610a20202020202020000000fd
                00374c1e5512000a20202020202000ea
  1360x768 (0x42)   85.5MHz +HSync +VSync +preferred
        h: width  1360 start 1424 end 1536 total 1792 skew    0 clock   47.7KHz
        v: height  768 start  771 end  777 total  795           clock   60.0Hz
  1920x1080 (0x43)  172.8MHz -HSync +VSync
        h: width  1920 start 2040 end 2248 total 2576 skew    0 clock   67.1KHz
        v: height 1080 start 1081 end 1084 total 1118           clock   60.0Hz
  1920x1080 (0x44)  136.5MHz +HSync +VSync *current
        h: width  1920 start 1952 end 1984 total 2048 skew    0 clock   66.7KHz
        v: height 1080 start 1081 end 1084 total 1111           clock   60.0Hz

snip................

Last edited by Interject; 08-20-2010 at 09:12 AM.
 
Old 08-16-2010, 08:15 AM   #2
Interject
Member
 
Registered: Jun 2009
Distribution: Slackware 12.2/13.1
Posts: 41

Original Poster
Rep: Reputation: 16
Figured it out.
1. Grab the hex value for the resolution you want, 0x44 in my case
2. run 'xrandr --output VGA --mode 0x44'
(Change VGA to whatever your display is called VGA1 etc...)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
refresh rates jsmarshall85 Debian 2 04-08-2005 03:22 PM
Refresh Rates golan69 Linux - Software 3 08-06-2004 06:23 PM
refresh rates in X mrvikki Linux - Newbie 3 07-22-2004 11:28 AM
Refresh rates ? w00t Linux - Software 2 05-27-2003 08:27 PM
refresh rates mikeshn Linux - General 1 07-02-2002 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration