Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 starts at higher resolution than specified.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sun Jan 11, 2004 11:27 pm    Post subject: X11 starts at higher resolution than specified. Reply with quote

Hey all,

X11 starts at higher resolution than 800x600. I'd like it to start at 800x600 and that to be the only option selected. I'm not sure how to tell what resolution it's starting at.

I've attached my config with comments stripped. I'm thinking some other config file must be telling it what resolution to load. Either that or it's picking the highest available for my video card and monitor.

Code:

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    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/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

Section "Module"
     Load "dbe" # Double-Buffering Extension
     Load "extmod"
     Load "type1"
     Load "freetype"
     Load "glx" # 3D layer
     Load "dri" # direct rendering
     Load "GLcore"
     Load "v4l" # Video for Linux
EndSection


Section "ServerFlags"

    Option      "blank time"    "10"    # 10 minutes
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"

EndSection



Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
EndSection


Section "InputDevice"
       Identifier  "Mouse1"
       Driver "mouse"
       Option "Protocol"   "ExplorerPS/2"
       Option "Device"     "/dev/input/mice"
       Option "Buttons" "7"
       Option "ZAxisMapping" "6 7


 EndSection



Section "Monitor"
    Identifier  "Monitor1"
    HorizSync   30-127
    VertRefresh 50-180
    Option "DPMS"
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810"
    Driver "i810"
    VideoRam 16384
    Option "CacheLines" "1024"
    Option "XaaNoPixmapCache"
    Option "XvMCSurfaces" "6"
EndSection

Section "DRI"
    Mode 0666
EndSection


Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 8
        Modes "800x600"
        ViewPort    0 0
    EndSubsection

EndSection


Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection


Thanks again,
Daniel
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Sun Jan 11, 2004 11:59 pm    Post subject: Reply with quote

Your "Screen" Section looks wrong.
It is DefaultDepth not DefaultColorDepth and Depth in Subsection "Display" should be set to 24. Try this instead:
Code:

Section "Screen"
     Identifier "screen1"
     Device "device1"
     Monitor "monitor1"
     DefaultDepth 24
 
     Subsection "Display"
         Depth 24
         Modes "800x600"
         ViewPort    0 0
     EndSubsection
 
EndSection
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Tue Jan 13, 2004 12:49 am    Post subject: Reply with quote

That did it! Thanks!
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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