LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2013, 10:12 PM   #1
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Rep: Reputation: Disabled
xrandr maximum resolution is well below the preferred


My monitor has a preferred resolution of 1440x900 (A number located by booting to Puppy which displays correctly). I have use Ubuntu, Debian, and Mint with this computer and they have all been fine with the resolution. But withg CentOS 32b on a Dell Latitude D620 when I go to xrandr it outputs this:
Code:
[~]$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       61.0* 
   800x600        61.0
I did some reaserch and I found that I should add a new mode so I did what they said and got this:
Code:
[~]$ cvt 1440 900
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
[~]$ xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
xrandr: Failed to get size of gamma for output default
I then tried to find out how to fix this "gamma" issue and found several solutions, none of which worked. Does anyone have any idea how I could get this working?

Also, from what I can tell it's using Intel integrated graphics.
 
Old 09-16-2013, 08:33 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
FWIW, I create an xorg.conf file to allow me to access the full resolution on my Soyo monitor. I use gtf to get the proper modeline:
Code:
$ gtf 1680 1050 60

  # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
  Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
then paste the modeline into the Monitor section of my xorg.conf file:
Code:
Section "Monitor"

    #UseModes     "Modes0" #monitor0usemodes
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
    DisplaySize     432    270
    HorizSync       30.0 - 86.0
    VertRefresh     56.0 - 76.0
    ModeLine       "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
    #Option         "PreferredMode" "1680x1050"
EndSection
and add the mode to the Screen section (along with a couple of vesa modes that should always work):
Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    Option         "IgnoreEDID" "TRUE"
    SubSection     "Display"
	Modes    "1680x1050" "1440x900" "1280x1024"
        Viewport    0 0
        #Modes      "1680x1050" "1600x1200" "1280x1024"
        Option         "IgnoreEDID" "TRUE"
    EndSubSection
EndSection
 
Old 09-16-2013, 11:16 AM   #3
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Original Poster
Rep: Reputation: Disabled
Okay, I did what you suggested. I used gtf and got this:
Code:
[~]$ gtf 1440 900 60

  # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
Then I created an /etc/X11/xorg.conf file and added this:
Code:
Section "Monitor"
    #UseModes     "Modes0" #monitor0usemodes
    Identifier     "Monitor0"
    VendorName     "Dell"
    ModelName	   "D620"
    DisplaySize     432    270
    HorizSync       30.0 - 86.0
    VertRefresh     56.0 - 76.0
    ModeLine	   "1440x900_60.00"  106.47 1440 1520 1672 1904  900 901 904 932 $
    #Option    	    "PreferredMode" "1440x900"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    Option         "IgnoreEDID" "TRUE"
    SubSection     "Display"
        Modes    "1680x1050" "1440x900" "1280x1024"
        Viewport    0 0
        #Modes      "1680x1050" "1600x1200" "1280x1024"
        Option         "IgnoreEDID" "TRUE"
    EndSubSection
EndSection
I didn't know what to put for my laptop's monitor information so I just made it up based on my laptop information assuming it wasn't important.

I restarted X11 and my resolut is still off, althrough now xrandr outputs this:
Code:
[~]$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       76.0* 
   800x600        73.0  
   640x480        73.0
 
Old 09-16-2013, 07:27 PM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
My bad - I did slightly alter the gtf output when placing it in my xorg.conf file.

In the "Screen" section, change the line
Code:
Modes    "1680x1050" "1440x900" "1280x1024"
to
Code:
Modes  "1440x900_60" "1280x1024"
We must use the same name for the mode that we used for the Modeline in the "Monitor" section, and you don't need/cant do 1680x1050.
 
Old 09-16-2013, 08:55 PM   #5
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Original Poster
Rep: Reputation: Disabled
I made said changes but it had no effect.
 
Old 09-16-2013, 10:32 PM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
A frequent problem is that the HorizSync and VirtRefresh are too low. As long as you are using a LCD style monitor make the upper bounds something like 120.

You should be able to find your desired resolution in your Xorg.x.log file (though it might be rejected as being "xxx out of bounds", where xxx indicates one of horizontal sync or vertical refresh). I usually just up the HorizSync/VirtRefresh values until it works.

LCD monitors are not damaged by things out of bounds (CRT monitors can blow the flyback transformer, so don't do it on those).
 
Old 09-17-2013, 07:20 AM   #7
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Additional Erattum:

The
Code:
Option         "IgnoreEDID" "TRUE"
lines should be deleted from your xorg.conf file. I inserted them because my monitor returns a bad EDID
 
Old 09-17-2013, 04:02 PM   #8
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Original Poster
Rep: Reputation: Disabled
I removed the line to no avail and there is no "out of bounds" message, but I did look for errors in that file and found this:
Code:
[    96.721] (EE) open /dev/fb0: No such device
[    98.380] (EE) PreInit returned 8 for "HDA Intel Headphone"
[    98.380] (EE) config/hal: NewInputDeviceRequest failed (8)
 
  


Reply

Tags
resolution, xorg, xrandr



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xrandr cannot recognize the correct resolution for VGA jmpz Slackware 4 06-15-2013 09:06 PM
Changed resolution with xrandr and now monitor wont work aortell Gentoo 4 06-30-2012 01:17 PM
Font degradation after changing resolution with xrandr ottavio Slackware 3 05-18-2012 03:55 PM
xrandr not changing the resolution (Debian lenny) apt-get Linux - Software 9 02-04-2011 06:35 PM
Limited Resolution Choices in Xrandr with External Monitor on Hotplug cram869 Linux - Hardware 1 06-01-2010 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:06 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