Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg.conf Sony Vaio PCG-C1XS: wrong resolution SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Wed Oct 19, 2005 8:50 pm    Post subject: xorg.conf Sony Vaio PCG-C1XS: wrong resolution SOLVED Reply with quote

I'm trying to setup x for the Sony Vaio PCG-C1XS.

Everything seems to be working except setting the resolution. It will not set 1024x480 and instead does 1024x760. My xorg.conf is below. How should it be changed?

Thanks in advance for any tips,

Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480m"    65.00 1024 1032 1176 1344   480  488  494  563 -hsyn
c -vsync
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoLinear"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "noMMIO"                    # [<bool>]
        #Option     "internDisp"                # [<bool>]
        #Option     "externDisp"                # [<bool>]
        #Option     "LcdCenter"                 # [<bool>]
        #Option        #Option     "NoStretch"                 # [<bool>]
        #Option     "pciBurst"                  # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "StrangeLockups"            # [<bool>]
        #Option     "DisplayHeight480"          # [<bool>]
        #Option     "progLcdModeRegs"           # [<bool>]
        #Option     "progLcdModeStretch"        # [<bool>]
        #Option     "overrideValidateMode"      # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "OverlayMem"                # <i>
        #Option     "Interlace"                 # <i>
        Identifier  "Card0"
        Driver      "neomagic"
        VendorName  "Neomagic Corporation"
        BoardName   "NM2200 [MagicGraph 256AV]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        SubSection "Display"
                Viewport   0 0
                Depth     1
                Modes     "1024x480m"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
                Modes     "1024x480m"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes     "1024x480m"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
                Modes     "1024x480m"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes     "1024x480m"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1024x480m"
        EndSubSection
EndSection


Last edited by gustafson on Fri Oct 21, 2005 2:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Fri Oct 21, 2005 2:37 pm    Post subject: Reply with quote

OK, I got it working. 8)

The xorg.conf file is below:

Code:
Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/URW/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
    Protocol   "Standard"
    AutoRepeat   500 5
    XkbKeymap   "xfree86(us)"
EndSection

Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/input/mice"
    Emulate3Buttons
    Emulate3Timeout    50
EndSection

Section "Monitor"
    Identifier  "Generic Multisync"
    VendorName  "Unknown"
    ModelName   "Unknown"
    HorizSync   30-64
    VertRefresh 50-100

# 1024x480
Modeline "1024x480"    65    1024 1032 1176 1344   480  491  493  525 -hsync -vsync

EndSection

Section "Device"
    Identifier   "NeoMagic"
#    Chipset   "NM2200"
#    VideoRam   2560
    Option "override_validate_mode"
        #Option     "NoLinear"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "noMMIO"                # [<bool>]
        #Option     "internDisp"            # [<bool>]
        #Option     "externDisp"            # [<bool>]
        #Option     "LcdCenter"             # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "NoStretch"             # [<bool>]
        #Option     "pciBurst"              # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "StrangeLockups"        # [<bool>]
        #Option     "DisplayHeight480"      # [<bool>]
        #Option     "progLcdModeRegs"       # [<bool>]
        #Option     "progLcdModeStretch"    # [<bool>]
        #Option     "overrideValidateMode"    # [<bool>]
        #Option     "VideoKey"              # <i>
        #Option     "OverlayMem"            # <i>
        #Option     "Interlace"             # <i>
   Driver      "neomagic"
   VendorName  "Neomagic Corporation"
   BoardName   "NM2200 [MagicGraph 256AV]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Driver      "svga"
    Device      "NeoMagic"
    Monitor     "Generic Multisync"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1024x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x480"
    EndSubsection
EndSection
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Tue Oct 25, 2005 7:30 pm    Post subject: Reply with quote

Even better: This one works with acpid (power saving mode for monitor).
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option "OffTime" "3"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "record"
   Load  "extmod"
   Load  "dbe"
   Load  "dri"
   Load  "glx"
   Load  "xtrap"
   Load  "freetype"
   Load  "type1"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
EndSection

Section "Monitor"
    Identifier  "Generic Multisync"
    VendorName  "Unknown"
    ModelName   "Unknown"
    HorizSync   30-64
    VertRefresh 50-100
    Option "DPMS"
# 1024x480
Modeline "1024x480"    65    1024 1032 1176 1344   480  491  493  525 -hsync -vsync

EndSection

Section "Device"
    Identifier   "NeoMagic"
#    Chipset   "NM2200"
#    VideoRam   2560
    Option "override_validate_mode"
        #Option     "NoLinear"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "noMMIO"                # [<bool>]
        #Option     "internDisp"            # [<bool>]
        #Option     "externDisp"            # [<bool>]
        #Option     "LcdCenter"             # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "NoStretch"             # [<bool>]
        #Option     "pciBurst"              # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "StrangeLockups"        # [<bool>]
        #Option     "DisplayHeight480"      # [<bool>]
        #Option     "progLcdModeRegs"       # [<bool>]
        #Option     "progLcdModeStretch"    # [<bool>]
        #Option     "overrideValidateMode"    # [<bool>]
        #Option     "VideoKey"              # <i>
        #Option     "OverlayMem"            # <i>
        #Option     "Interlace"             # <i>
   Driver      "neomagic"
   VendorName  "Neomagic Corporation"
   BoardName   "NM2200 [MagicGraph 256AV]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
    Device      "NeoMagic"
    Monitor     "Generic Multisync"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1024x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x480"
    EndSubsection
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum