Re: TORCS 1.3.1 test wide screen resolution problems
Bernhard Wymann <[email protected]> Sat, 06 Sep 2008 22:05:11 +0200
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi Eckhard > i got a laptop and pc that have a wide screen display in a resolution of > 1920x1200 (16:10). > The resolution 1920x1200 is much to high for a fast and smooth TORCS > race. > So I'd prefer a smaller resolution. > > The problem is that the typical lower wide screen resolutions 1440x900 > or > 1280x800 are not available in TORCS (but these are available at my > desktops). > The only real 16:10 wide screen resolution that is available is > 1680x1050. > > How/ where TORCS generate these screen resolutions? > > I tested that on Ubuntu 8.04 with a nVidia 8400 and on Windows XP with > a ATIX800 graphic card. On Windows the resolution are currently hardcoded (fixed list), so you can select even unavailable resolutions (it should run windowed as consequence). In Linux the resolutions are fetched via the XRandr extension, so whatever is advertised is offered, this should basically includ all resolution which you can switch to with CTRL ALT + and CTRL ALT - and are listed in the xorg.conf or XF86config file. Look at src/libs/tgfclient/screen.cpp for details. Bye, Bernhard ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/