Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: games and resoulutions

  1. #1

    games and resoulutions

    My computer isn't that fast but my desktop res is 1280x1024. So when I play quake3 i'd like to run it at 800x600 or 1024x768. When I launch the game in that res its in a window even when I set it to be full screen. How can I change my resoulution without restarting x?

  2. #2

    Re: games and resoulutions

    Add to your /etc/X11/XF86Config file those modes for the color depth you run at. i.e.

    Subsection "Display"
    * * * *Depth * * * 16
    * * * *Modes * * * "1280x1024" "1024x768" "800x600" "640x480"
    * * * *ViewPort * *0 0
    * *EndSubsection

    The first entry will be the default. When you select a particular resolution to run the game, in the game setup, the desktop will automatically switch as long as you have the modes setup as above.

  3. #3

    Re: games and resoulutions

    what about refresh rates changing for different resoulutions?

  4. #4
    Guest

    Re: games and resoulutions

    You can keep the same refresh rate.

  5. #5

    Re: games and resoulutions

    I thought it would be nice to have a high refresh rate at the lower resoulution. Anyways when I made those changes to the xconfig x wouldn't start. Do you need the error message or was there something wrong with the code you gave me to add?

  6. #6

    Re: games and resoulutions


    I thought it would be nice to have a high refresh rate at the lower resoulution. *Anyways when I made those changes to the xconfig x wouldn't start. Do you need the error message or was there something wrong with the code you gave me to add?
    The code should already have been in your XF86Config with the exception of each mode entry. Can you post the error message? Also check your /var/log/XFree86 log file

  7. #7

    Re: games and resoulutions

    I can't post my XF86Config file cause I'm posting this from my in-laws computer. Here is an excerpt of an *XF86Config file from the DRI project website to show the configs in context:

    Code:
    **********************************************************************
    # Screen sections
    # **********************************************************************
    
    # Any number of screen sections may be present. *Each describes
    # the configuration of a single screen. *A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    
    Section "Screen"
     * *Identifier "vga"
     * *Device * * "VGA"
     * *Monitor * *"High Res Monitor"
    
     * *Subsection "Display"
     * * * *Depth * * *4
     * * * *Modes * * *"640x480"
     * *EndSubsection * * * 
    EndSection
    
    
    # PI- Need to start in 16bpp mode for DRI
    Section "Screen"
     * *Identifier *"Screen 1"
     * *Device * * *"Voodoo3"
     * *Monitor * * "High Res Monitor"
     * *DefaultDepth 16
    
     * *Subsection "Display"
     * * * *Depth * * * 8
     * * * *Modes * * * "1280x1024" "1024x768" "800x600" "640x480"
     * * * *ViewPort * *0 0
     * *EndSubsection
     * *Subsection "Display"
     * * * *Depth * * * 16
     * * * *Modes * * * "1280x1024" "1024x768" "800x600" "640x480"
     * * * *ViewPort * *0 0
     * *EndSubsection
     * *Subsection "Display"
     * * * *Depth * * * 24
     * * * *Modes * * * "1280x1024" "1024x768" "800x600" "640x480"
     * * * *ViewPort * *0 0
     * *EndSubsection
    EndSection
    
    #

  8. #8

    Re: games and resoulutions

    Heres my current working xconfig file
    Code:
    # File generated by anaconda.
    
    Section "ServerLayout"
        Identifier   "Anaconda Configured"
        Screen   0 "Screen0" 0 0
        InputDevice  "Mouse0" "CorePointer"
        InputDevice  "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    
    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.
    
      RgbPath   "/usr/X11R6/lib/X11/rgb"
    
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Red Hat 6.0 and later now use a font server independent of
    # the X server to render fonts.
    
      FontPath  "unix/:7100"
    
    EndSection
    
    Section "Module"
        Load "dbe"
        Load "extmod"
       Load "fbdevhw"
       Load "pex5"
        Load "glx"
        Load "pex5"
        Load "record"
        Load "xie"
    EndSection
    
    Section "InputDevice"
        Identifier "Keyboard0"
        Driver   "keyboard"
    
    #   Option   "AutoRepeat"   "500 5"
    
    # when using XQUEUE, comment out the above line, and uncomment the
    # following line
    #   Option   "Protocol"   "Xqueue"
    
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    #   Option   "Xleds"      "1 2 3"
    
    # To disable the XKEYBOARD extension, uncomment XkbDisable.
    #   Option   "XkbDisable"
    
    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    #   Option   "XkbModel"   "pc102"
    # If you have a US Microsoft Natural keyboard, you can use:
    #   Option   "XkbModel"   "microsoft"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    #   Option   "XkbLayout"   "de"
    # or:
    #   Option   "XkbLayout"   "de"
    #   Option   "XkbVariant"   "nodeadkeys"
    #
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    #   Option   "XkbOptions"   "ctrl:nocaps"
       Option   "XkbRules"   "xfree86"
       Option   "XkbModel"   "pc105"
       Option   "XkbLayout"   "us"
       Option   "XkbVariant"   "basic"
       #Option   "XkbOptions"   ""
    EndSection
    
    Section "InputDevice"
        Identifier "Mouse0"
        Driver   "mouse"
        Option   "Protocol" "IMPS/2"
        Option   "Device" "/dev/input/mice"
        Option   "ZAxisMapping" "4 5"
        Option   "Emulate3Buttons" "no"
    EndSection
    
    Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName  "Monitor Model"
        HorizSync  30 - 70
        VertRefresh 50 - 160
        Option "dpms"
    
        # -- 1400x1050 --
        # 1400x1050 @ 60Hz, 65.8 kHz hsync
        Modeline "1400x1050" 129  1400 1464 1656 1960
                   1050 1051 1054 1100 +HSync +VSync
    
        # 1400x1050 @ 70Hz, 76.8 kHz hsync
        Modeline "1400x1050" 151  1400 1464 1656 1960
                   1050 1051 1054 1100 +HSync +VSync
    
        # 1400x1050 @ 75Hz, 82.3 kHz hsync
        Modeline "1400x1050" 162  1400 1464 1656 1960
                   1050 1051 1054 1100 +HSync +VSync
    
        # 1400x1050 @ 85Hz, 93.2 kHz hsync
        Modeline "1400x1050" 184  1400 1464 1656 1960
                   1050 1051 1054 1100 +HSync +VSync
    
    EndSection
    
    Section "Device"
       # no known options
       Identifier  "RIVA TNT2"
        Driver    "nvidia"
        VendorName  "RIVA TNT2"
        BoardName   "RIVA TNT2"
        
        #BusID
    EndSection
    
    Section "Screen"
       Identifier  "Screen0"
        Device    "RIVA TNT2"
        Monitor   "Monitor0"
       DefaultDepth   24
    
       Subsection "Display"
           Depth    24
            Modes    "1152x864" 
       EndSubsection
    
    EndSection
    
    Section "DRI"
       Mode 0666
    EndSection

  9. #9

    Re: games and resoulutions

    Have you tried just adding to this section as follows?

    Code:
    Section "Screen"
       Identifier  "Screen0"
        Device    "RIVA TNT2"
        Monitor   "Monitor0"
       DefaultDepth   24
    
       Subsection "Display"
           Depth    24
            Modes    "1152x864" "1024x768" "800x600"
       EndSubsectio
    You might have to add modelines for these resolutions in your monitor section, although I'm not sure why you have several modelines for 1400x1050 defined in your monitor section, but only have 1152x864 in your screens section.

    To switch resolutions on the fly, do ctrl alt + or ctrl alt - to increase or decrease the resolution.

  10. #10

    Re: games and resoulutions

    the first time i tried it I added
    Code:
     
    Subsection "Display"
     * * * * * * Depth * * * 24
     * * * * * * * Modes * * * "1152x864" "1024x768" "800x600"
     * * EndSubsection
    at the very end of the config file. I'll try what you said. Also I have no idea where those modelines for 1400x1050 came from. The only modification I've done to my config file is when I installed the nvidia drivers.

Similar Threads

  1. fc4 games
    By in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 07-15-2005, 09:37 PM
  2. what about other games?
    By beezlebubsbum in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-02-2004, 06:30 PM
  3. Save Games
    By stodgel in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 04-10-2003, 04:55 AM
  4. DRI + games
    By ph34r in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 03-20-2003, 04:55 AM
  5. Games
    By Ashcrow in forum Linux - Software, Applications & Programming
    Replies: 15
    Last Post: 03-21-2002, 01:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •