Results 1 to 18 of 18

secret debugging cmd line parameters

  1. #1

    secret debugging cmd line parameters

    There are three command line parameters that may be useful for people encountering strange problems nobody else is:
    -noVBO
    -noDisplayLists
    -nopbuffer

    -noVBO currently only does anything useful on ATI and nVidia cards. VBO, or Vertex Buffer Objects, are a new extension recently approved by the OpenGL ARB (approved in Feb 2003 to become part of OpenGL) that allow for improved geometry performance. Unfortunately as this extension is only about six months old the driver guys haven't really had time to perfect their implementation of it yet. Actually I think HW2 may be the first game to take advantage of this extension! How's that for cutting edge? So if you have an ATI card and recently installed the 3.7 drivers and found they were flakey you can try to disable VBOs on your machine. The performance may be a bit lower, but its better than a crash As I am typing this I am unaware of any companies other than ATI and nVidia which support this extension. Hopefully all companies have rock solid VBO support soon.

    -noDisplayLists disables display lists. Display Lists are ways for the driver to "cache" stuff it is drawing for improved performance. What happens HW2 tells the driver "hey, I am going to draw this space ship a billion times and the triangles aren't going to change so do whatever you can to optimize it" If your system does not support VBOs (or you disable them) then HW2 falls back to display lists. Unfortunately some driver guys haven't perfected their display lists either . On some cards rendering is incorrect and on others using display lists can actually cause a slow down instead of a speed up! So you might see a performance boost if you disable them. Without VBOs or display lists HW2 will fall back to plain old standard vertex arrays. Or compiled vertex arrays if those are supported. These are a pretty poor way to get your rendering data to the video card, but at least they should work. Hopefully those cards with display list problems will see them fixed in a future driver release... :/ And hopefully those guys also support VBOs

    Those two switches should take care of any geometry related problems.

    -nopbuffer disables pbuffer support. A pbuffer is an off screen pixel buffer. If you disable pbuffer support you will not get any render to texture effects (shadows and the high quality hyperspace effect-you'll be able to see into your ship like HW1). Generally this isn't a problem. If it is a problem you probably can't start HW2 I never had a problem with pbuffers on ATI or nVidia hardware, but I thought I'd mention it to make the list complete.

    Some more while I'm at it:

    -noSound turns off sound. Apperently some sound hardware has horrible drivers and HW2 won't work with them.

    The final three parameters I can think of are -refresh n to set the refresh rate to something better than 60Hz (ugh!) and -w 320 -h 240 to set the resolution to anything you want. The UI text looks best at the resolutions you can choose in game, but if you want to try 2048x1536 or if you have dual monitor 2560x960 you know how


    These are not support command line switches! Use at your own risk and stuff. I mention them only as a possible solution for the users that are having weird problems. HW2 really should work great without any tweaking like this, provided you have modern drivers.

  2. Technical Help Senior Member Modding Senior Member Homeworld Senior Member  #2
    www.relicnews.com ÜberJumper's Avatar
    Join Date
    Sep 1999
    Location
    South Surrey, BC Canada
    Thanks Remy!

    Folks, please refrain from posting in this thread unless you have a technical question for Remy. If you have a specific problem with your setup that you think one of these command lines will help, then post a new thread just for you.

    Posts in this thread may be split off into a new thread.

  3. #3
    DreamWeaver
    Guest
    Remy is a wonderful, beautiful person, I thank him form the bottom of my heart. With his help, I can now play Homeworld 2 in all it's splendor.

    Bless him and all his progeny.

  4. Technical Help Senior Member Modding Senior Member Homeworld Senior Member  #4
    www.relicnews.com ÜberJumper's Avatar
    Join Date
    Sep 1999
    Location
    South Surrey, BC Canada
    Which one helped you Dreamweaver?

  5. #5
    mizark
    Guest
    I am having problems with something, i can not seem to load the backgrounds or any of the resouse textures more of the time. I am also not seeing the high detailed hyperspace. I am running a Radeon 9000 and i thought it was supported, can you give me any help? I have updated my graphic card drivers.

  6. #6
    Kaye
    Guest
    yes, yes I know im breaking the "technical replies only" rule, but I simply have to take a moment to thank Mr. "remy" from the bottom of my heart. I found that disabling pbuffers negates the well known problem i was experiencing with the game crashing immediately back to desktop, with a logged error of something going wrong in Debug.dll.
    Well, thankyou, kind sir. and may I say what a fine game this is.
    Spread the word!

  7. #7
    vlad
    Guest
    I've been trying to make the demo work, first it took me more than 3 hours to find the directx9 download but now every time i open the demo it just opens and closes 5 seconds later. I really feel like im on a tred mill here, just going and going in one spot. what should i do because now im afriad to buy the real game because i dont want to spend 50 bucks on something just to open and close it 10000000 times. thnx for your time.:tread:

  8. Technical Help Senior Member Modding Senior Member Homeworld Senior Member  #8
    www.relicnews.com ÜberJumper's Avatar
    Join Date
    Sep 1999
    Location
    South Surrey, BC Canada
    Vlad, post your hw2.log file please.

    I'll split this into a new thread as soon as you do.

  9. #9
    Sabor
    Guest
    i was having the same problem when i loaded the demo it would load and then exit back to windows. i resolved it by going to openGL properties and switching the BUFFER FLIPPING-MODE from AUTO SELECT to BLOCK TRANSFER.

  10. Technical Help Senior Member Modding Senior Member Homeworld Senior Member  #10
    www.relicnews.com ÜberJumper's Avatar
    Join Date
    Sep 1999
    Location
    South Surrey, BC Canada
    What version Catalyst drivers did you have?

  11. #11
    Sabor
    Guest
    my card is a nvidia based card. driver version 44.03.
    the full version doesnt take to the demo. i can run it regardless of the opengl setting.

  12. #12
    sneefer
    Guest
    Hey, I have a question for Remy...I was wondering if he knew a command line switch or any other method of making homeworld 2 run in direct 3d instead of trying to use open-gl. I cannot use open-gl because there is an error when homeworld 2 tries to access the open-gl subsystem library for the display driver. If you could share a command line switch or some other method to make it run in direct 3d without open-gl, I would greatly appreciate it.
    Thank you,
    Sneefer

  13. Technical Help Senior Member Modding Senior Member Homeworld Senior Member  #13
    www.relicnews.com ÜberJumper's Avatar
    Join Date
    Sep 1999
    Location
    South Surrey, BC Canada
    There isn't one.

  14. #14
    Josiah21
    Guest
    I don't understand. Sorry I'm not as technical as youall, so be gentle

    I am currently trying to run Homeworld 2 on my laptop. It is a Dell 1100 running an Intel Celeron 2.00Gmhz and my display driver is Intel 82845GM Graphics Controller. I have updated my controller and run Windows Update so many times I wanna be sick but I STILL can't get the game to run right. It is EXTREMELY laggy and takes about 45min to build 2 fighters. The intro vid works great but when playing, it is horrible. The farther out I zoom it gets better, but still not really playable. Can anyone help?

  15. #15
    Brucie
    Guest
    ok guys where do you put the command line parameters?

  16. #16
    AZA
    Guest
    Go onto the shortcut properties, and where it has the 'target' in double quotes, add the command line OUTSIDE of those quotes, so it should look like this(typed exactly as):

    "C:\Program Files\Sierra\Homeworld2\Bin\Release\Homeworld2.exe" -nopbuffer -noDisplayLists -noVBO

  17. #17
    Iluvatar
    Guest
    [quote josiah21]I am currently trying to run Homeworld 2 on my laptop. It is a Dell 1100 running an Intel Celeron 2.00Gmhz and my display driver is Intel 82845GM Graphics Controller. I have updated my controller and run Windows Update so many times I wanna be sick but I STILL can't get the game to run right. It is EXTREMELY laggy and takes about 45min to build 2 fighters. The intro vid works great but when playing, it is horrible. The farther out I zoom it gets better, but still not really playable. Can anyone help?[/quote]

    I actually have the same problem, with blinking sharp lights on ships. I don't know what to do. I run HW2 on an Fujitsu Siemens Amilio L6820 (Celeron 2.5GHz, 512Mo RAM) with the same graphic controller (64Mo VRAM). I've installed the last updated driver and nothing changed. The most frustrating is that it works perfectly on an Acer with Celeron 2.5GHz and 256 Mo RAM and an Intel 82855 Graphic controller (64Mo VRAM).

    Any hint ?

    Thanks.

    Il.

  18. Child's Play Donor  #18
    Guilty. Of being in space! Captain Pierce's Avatar
    Join Date
    Oct 2001
    Location
    I'm from Iowa--I only work in outer space
    http://forums.relicnews.com/showthre...threadid=15126

    The practical upshot is that the 845 chipset is unsupported, so performance is going to be hit and miss.

    And just for the record, further questions about HW2 should probably go here...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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