You are not logged in.

#1 2009-05-19 19:14:45

Ferrenrock
Member
Registered: 2008-11-22
Posts: 36

Resolution Hell

I've installed arch on an old computer with a rather small dell monitor, but X11 automatically loads as 1600x1200. Everything is blurry and tiny, making me want to cut out my eyes with a rusty ice cream scooper.

I'm aware that xrandr can temporarily load X as a certain resolution, and that this can be 'cheated' into being permanaent by adding it to every user's .xinitrc, but quite frankly the computer is really damn slow as it is and I'd rahter not add more daemons.

I tried doing the xorg.conf technique of changing the resolution, but for some reason the xorg.conf drawn up by the typical configure command does not list any resolutions. Is there a way to append this xorg.conf to run at a lower resolution like 1024x768? Any help on this would be greatly appreciated. Here is my xorg.conf, check out the bizarre 'screen' section:

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

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "glx"
    Load  "record"
    Load  "dri2"
    Load  "dri"
    Load  "dbe"
EndSection

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

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

Section "Monitor"
    #DisplaySize      330   240    # mm
    Identifier   "Monitor0"
    VendorName   "DEL"
    ModelName    "DELL P780"
    HorizSync    30.0 - 85.0
    VertRefresh  48.0 - 120.0
    Option        "DPMS"
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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82810 (CGC) Chipset Graphics Controller"
    BusID       "PCI:0:1:0"
EndSection

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

Offline

#2 2009-05-19 19:35:02

WarGasm
Arch Linux f@h Team Member
From: Istanbul
Registered: 2008-12-10
Posts: 22
Website

Re: Resolution Hell

Hi,
I think this xorg.conf resolve your problem.. But for any problems, first backup your xorg.conf and try this..

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

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "glx"
    Load  "record"
    Load  "dri2"
    Load  "dri"
    Load  "dbe"
EndSection

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

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

Section "Monitor"
    #DisplaySize      330   240    # mm
    Identifier   "Monitor0"
    VendorName   "DEL"
    ModelName    "DELL P780"
    HorizSync    30.0 - 85.0
    VertRefresh  48.0 - 120.0
    Option        "DPMS"
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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82810 (CGC) Chipset Graphics Controller"
    BusID       "PCI:0:1:0"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport  0 0
        Depth        24
        Modes      "1024x768"
    EndSubSection
EndSection

Arch Linux deviantART Group :
ArchLinux@deviantART ~

Offline

#3 2009-05-19 19:41:30

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Resolution Hell

Put

Modes "1024x768"

into the Display SubSection of the depth the server is using.

Offline

#4 2009-05-19 21:15:49

Ferrenrock
Member
Registered: 2008-11-22
Posts: 36

Re: Resolution Hell

WarGasm, I tried you xorg.conf and it didn't work...the log listed it as failing to find any screens. I'm going to try ataraxia's suggestion and report back the results...

Offline

#5 2009-05-19 22:05:41

Ferrenrock
Member
Registered: 2008-11-22
Posts: 36

Re: Resolution Hell

alright, atraxia's idea woked! I just added the modeline code to the 24 and 16 bit color lines, since I'm not sure which of those is being used. Anyway, thanks for the help.

Offline

Board footer

Powered by FluxBB