Start new X server feature in Nexuiz

Tips on how to tweak Nexuiz for the best performance

Moderators: Nexuiz Moderators, Moderators

Sun Dec 31, 2006 12:56 pm

  • Nexuiz now has a feature to start its own X server in nexuiz-linux-glx.sh and nexuiz-linux-sdl.sh (get them from http://svn.icculus.org/%2Acheckout%2A/nexuiz/trunk/nexuiz-linux-glx.sh and http://svn.icculus.org/%2Acheckout%2A/nexuiz/trunk/nexuiz-linux-sdl.sh). To use it, first start Nexuiz with:

    Code: Select all
    ./nexuiz-linux-glx.sh +vid_x11_display :2


    This will start Nexuiz on display :2, starting an X server for the display if needed. If Nexuiz successfully exits (without crashing), the option is saved to config.cfg and will be automatically used. To undo, either edit ~/.nexuiz/data/config.cfg or run it like

    Code: Select all
    ./nexuiz-linux-glx.sh +vid_x11_display ""


    In some special cases, you may want to specify the ServerLayout section to use for your X server. Then:

    Code: Select all
    ./nexuiz-linux-glx.sh +vid_x11_display :1/nvidia


    This will start a new X server on :1 using the "nvidia" ServerLayout. It is not possible to give other options to the X server for security reasons.

    Oh, I forgot to add - you need to add some lines to default.cfg for it to be saved. So download http://svn.icculus.org/%2Acheckout%2A/nexuiz/branches/nexuiz-2.0/data/default.cfg to your data directory.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE


Return to Nexuiz - Performance Tips




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest