LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   xorg.conf file has no effect in changing resolution. (https://www.linuxquestions.org/questions/solaris-opensolaris-20/xorg-conf-file-has-no-effect-in-changing-resolution-842757/)

cjavapro 11-06-2010 01:51 PM

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.

RockDoctor 11-07-2010 06:19 AM

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

mesiol 11-07-2010 06:29 AM

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.

cjavapro 11-07-2010 08:29 AM

1 Attachment(s)
Quote:

Originally Posted by mesiol (Post 4151780)
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 (Post 4151780)
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 (Post 4151777)
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)


cjavapro 11-08-2010 12:05 PM

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.


All times are GMT -5. The time now is 08:19 AM.