Automatic switching of screen resolution

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • Hi!

    I'm using TFT with screen resolution 1280x1024.
    If i play Nexuiz in 800x600, i have wide black borders (sure, my screen stays in 1280x1024 mode).

    Is there a possibility to let Nexuiz change to adequate screen resolution automatically (Linux)?

    boom!
    flinte
    Newbie
     
    Posts: 5
    Joined: Sun Jun 25, 2006 5:58 pm

Sun Jun 25, 2006 6:23 pm

  • There are two possible causes for your problem:

    1) 800x600 is not a allowed resolution in your /etc/xorg.conf. If it's not listed in Section "Screen", Subsection "Display" for Depth 16 and 24, append it and restart your X server.

    2) your drivers are set to the wrong TFT scaling mode. If you have a nvidia card, start nvidia-settings and check in the display device section whether "FlatPanel scaling" is "scaled or "fixed aspect ratio scaled"
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Sun Jun 25, 2006 7:12 pm

  • I would not run 800x600 interpolated to 1280x1024. 640x512 would look better interpolated to that resolution even though it is lower as it is a factor.
    Ed
    Forum addon
     
    Posts: 1172
    Joined: Wed Mar 01, 2006 12:32 am
    Location: UK

Sun Jun 25, 2006 11:45 pm

  • KadaverJack wrote:There are two possible causes for your problem:

    1) 800x600 is not a allowed resolution in your /etc/xorg.conf. If it's not listed in Section "Screen", Subsection "Display" for Depth 16 and 24, append it and restart your X server.


    You are right! Mode 800x600 isn't working! I got problem and will fix it!

    2) your drivers are set to the wrong TFT scaling mode. If you have a nvidia card, start nvidia-settings and check in the display device section whether "FlatPanel scaling" is "scaled or "fixed aspect ratio scaled"


    Using driver version 8756 i can't find this option under "display device" section.

    Thanks!
    flinte
    Newbie
     
    Posts: 5
    Joined: Sun Jun 25, 2006 5:58 pm

Sun Jun 25, 2006 11:47 pm

  • Ed wrote:I would not run 800x600 interpolated to 1280x1024. 640x512 would look better interpolated to that resolution even though it is lower as it is a factor.


    Hm how do you mean this?
    My TFT flatscreen is working at resolution 1280x1024. I want let it working at resolution 800x600.

    I do not want playing game in 800x600 mode while my TFT flatscreen is using 1280x1024 (means playing in small gaming window).

    bye
    flinte
    Newbie
     
    Posts: 5
    Joined: Sun Jun 25, 2006 5:58 pm

Mon Jun 26, 2006 5:49 am

  • flinte wrote:
    Ed wrote:My TFT flatscreen is working at resolution 1280x1024. I want let it working at resolution 800x600.

    I do not want playing game in 800x600 mode while my TFT flatscreen is using 1280x1024 (means playing in small gaming window).


    The only alternative would be scaling up the image. Most flatscreens actually do that, but it gets ugly.

    TFTs have a fixed resolution, as opposed to CRTs. If you use another resolution, you either get black areas or ugly scaling.

    Only exception: resolutions which divide the original resolution. For example, on a 1280x1024 TFT, you can safely use 640x512. One game pixel is then mapped to four TFT pixels.
    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

Mon Jun 26, 2006 7:08 am

  • flinte wrote:Using driver version 8756 i can't find this option under "display device" section.

    It's only there when your TFT is connected via DVI. If that option is unavailable, there shouldn't be a problem with scaling...
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Jun 26, 2006 9:00 am

  • I've had problems with 87.56 before. It limited me to only 1024x768. No higher resolutions, no lower. Basically that's a stopper for me so I went back to a previous version. Have you tried witha different version.

    My thing about resolutions:
    A TFT has a native resolution. If you run any other resolution it must be interpolated. Pixels will be stretched across multiple pixels. If you do this with a resolution that is not a factor of the native resolution, only some pixels are stretched so the geometry looks wrong. You would be better off running it at 640x512 as then every pixel is represented by 2x2 pixels so giving correct geometry. They both have a aspect ratio of 5:4.

    How 1280x1024 became a standard I don't know. It's not 4:3 which almost every CRT monitor in the world is and is only used on TFT's as the resolution already existed. 1280x1024 should not be run on a 4:3 CRT. It shows that the user doesn't understand geometry. You can prove it's wrong by drawing your best approximation of a circle on screen then rotating it by 90 degrees. It will then appear as an oval. I run 1280x960 on a 17" CRT because that corresponds to the screens aspect ratio of 4:3 and the pixel pitch of 0.25mm. 1280x1024 on a 19" TFT is just wrong. Why do people do it?
    Ed
    Forum addon
     
    Posts: 1172
    Joined: Wed Mar 01, 2006 12:32 am
    Location: UK

Mon Jun 26, 2006 9:18 am

  • well... actually my Iiyama 22'' crt screen does perfectly fit to a 1280x1024... and be sure i'm aware of geometry things ;)
    [NSB] ppwer !
    User avatar
    obi_wan
    Alien trapper
     
    Posts: 256
    Joined: Mon Mar 13, 2006 9:24 am
    Location: France

Mon Jun 26, 2006 10:57 am

  • Ed wrote:1280x1024 on a 19" TFT is just wrong. Why do people do it?


    If the TFT is 5:4 _and_ has that resolution, why not?
    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

Mon Jun 26, 2006 11:49 am

  • I guess I'm the weirdo. I'm running at 1024 x 900.
    the spice extend life!
    the spice expand conciousness!
    the spice is vital to space travel!
    sooooo.. tell me what you want, waht you really-really want
    I will proceed directly to the intravenous injection of hard drugs, please.
    User avatar
    tChr
    Forum addon
     
    Posts: 1501
    Joined: Tue Feb 28, 2006 9:11 pm
    Location: Trondheim, Norway

Mon Jun 26, 2006 12:48 pm

  • divVerent wrote:If the TFT is 5:4 _and_ has that resolution, why not?

    What I mean is, why do people buy them? They have no actual advantages over a 17" TFT that's 5:4 and 1280x1024. You have to put them further away from you to obtain the same picture quality. With a 19" and a 17" at the same distance pixel aliasing would be far worse on the 19" due to the lower pixel density.

    If you want a big TFt, go for a 20.1" 4:3 running 1600x1200. That gives the same 0.25mm pixel pitch as you get with a 1280x1024 17" 5:4 or 1280x960 on a 17" 4:3 CRT.
    Ed
    Forum addon
     
    Posts: 1172
    Joined: Wed Mar 01, 2006 12:32 am
    Location: UK

Mon Jun 26, 2006 2:49 pm

  • tChr wrote:I guess I'm the weirdo. I'm running at 1024 x 900.


    here 1200 x 900 (windowed) on a 19' TFT :P
    uncomfortable
    random
    mean
    embarrassing
    limited
    User avatar
    Urmel
    Forum addon
     
    Posts: 1744
    Joined: Fri Mar 03, 2006 10:06 am
    Location: Offline



Return to Nexuiz - Support / Bugs




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