LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 11-06-2010, 01:51 PM   #1
cjavapro
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
xorg.conf file has no effect in changing resolution.


Here is my xorg.conf file. The problem is that my resolution setting 1600x900 is getting ignored. The resolution keeps popping to 1280x1024

What is wrong with this file?
Code:
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection

    Section "Files"
        RgbPath      "/usr/X11/lib/X11/rgb"
        ModulePath   "/usr/X11/lib/modules"
        FontPath     "/usr/X11/lib/X11/fonts/TrueType/"
        FontPath     "/usr/X11/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11/lib/X11/fonts/Type1/sun/"
        FontPath     "/usr/X11/lib/X11/fonts/F3bitmaps/"
        FontPath     "/usr/X11/lib/X11/fonts/misc/"
        FontPath     "/usr/X11/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11/lib/X11/fonts/75dpi/"
    EndSection

    Section "Module"
        Load  "IA"
        Load  "Xst"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "bitstream"
        Load  "type1"
    EndSection

    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
    EndSection

    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5 6 7"
    EndSection

    Section "Monitor"
        Identifier   "Monitor0"
        Modeline "1600x900@75" 161.64 1600 1632 2240 2272 900 917 928 946
        Mode "1600x900@75"
            DotClock 161.64
            HTimings 1600 1632 2240 2272
            VTimings 900 917 928 946
            Flags "-HSync" "-VSync"
        EndMode
    EndSection

    Section "Device"
        Identifier  "Card0"
        Driver      "ast"
        VendorName  "Unknown Vendor"
        BoardName   "Unknown Board"
        BusID       "PCI:1:5:0"
    EndSection

    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
            Viewport   0 0
            Depth     24
            Modes    "1600x900@75"
        EndSubSection
    EndSection
I am using Solaris 10 x86, but I wanted to check here to see if there was a problem with the file itself.
 
Old 11-07-2010, 06:19 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,225

Rep: Reputation: 251Reputation: 251Reputation: 251
Monitor section of my xorg.conf file (Linux):
Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    DisplaySize     432    270
    HorizSync       30.0 - 86.0
    VertRefresh     56.0 - 76.0
    ModeLine       "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
    ModeLine       "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
    Option         "PreferredMode" "1680x1050"
EndSection
I needed the DisplaySize line to get my system to display at the proper resolution. I just measured the screen (in mm), then tweaked the values a little to get the proper ratio (16:10 in my case). Also, I don't have a Mode section - it appears that all you're doing is duplicating the information in the ModeLine.

HTH
 
Old 11-07-2010, 06:29 AM   #3
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

are you sure you wish to use 16:9 resolution on a 4:3 display?

Did you check
Code:
/var/log/Xorg.0.log
.

The logfile should tell you why the resolution is not used.
 
Old 11-07-2010, 08:29 AM   #4
cjavapro
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mesiol View Post
are you sure you wish to use 16:9 resolution on a 4:3 display?
Yes, I am using a remote access device, not a physical monitor. In fact I unplugged the physical monitor to eliminate that as an issue.

Quote:
Originally Posted by mesiol View Post
Code:
/var/log/Xorg.0.log
The logfile should tell you why the resolution is not used.
I attached that file.


Quote:
Originally Posted by RockDoctor View Post
Monitor section of my xorg.conf file (Linux):
Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    DisplaySize     432    270
    HorizSync       30.0 - 86.0
    VertRefresh     56.0 - 76.0
    ModeLine       "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
    ModeLine       "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
    Option         "PreferredMode" "1680x1050"
EndSection
I needed the DisplaySize line to get my system to display at the proper resolution. I just measured the screen (in mm), then tweaked the values a little to get the proper ratio (16:10 in my case). Also, I don't have a Mode section - it appears that all you're doing is duplicating the information in the ModeLine.

HTH
I replaced my monitor section with the one above and got 1600x1200

I think the key error is
Code:
(II) AST(0): Not using mode "1600x900@75" (no mode of this name)
And after Rock Doctor's changes the key errors would be
Code:
(II) AST(0): Not using mode "1440x900" (no mode of this name)
(II) AST(0): Not using mode "1680x1050" (width requires unsupported line pitch)
Attached Files
File Type: txt Xorg.0.log.txt (34.7 KB, 2 views)

Last edited by cjavapro; 11-07-2010 at 08:31 AM.
 
Old 11-08-2010, 12:05 PM   #5
cjavapro
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I think it is my video card. I switched from Xorg to Xsun and it seems no matter what I choose using Xsun, I will always get one of 1600x1200, 1280x1024, 1024x768, 800x600 or 640x480. So I switched back to Xorg and I will settle with the choices that work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What should I add into my xorg.conf file to add a resolution? gannggstaz Linux - Desktop 2 09-30-2009 06:06 PM
xorg.conf updates not taking effect/Laptop Touchpad Issues tubatodd Ubuntu 9 12-08-2006 02:52 AM
Voodoo3 stuck in 640x480 and changing xorg.conf has no effect Zeppelin_ii Linux - Software 4 03-27-2006 06:55 PM
Changing resolution in FC3. Which xorg.conf line do I edit? ColKurtz Linux - Newbie 2 02-18-2005 12:09 PM
Why does changing .conf files have no effect with SuSE 9.1? odi Linux - Newbie 1 07-13-2004 11:47 AM


All times are GMT -5. The time now is 07:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration