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

Automatic switching of screen resolution

Postby flinte » Sun Jun 25, 2006 6:02 pm

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

Postby KadaverJack » 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"
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Ed » 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

Postby flinte » 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

Postby flinte » 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

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby KadaverJack » 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...
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Ed » 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

Postby obi_wan » 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 !
obi_wan
Alien trapper
 
Posts: 256
Joined: Mon Mar 13, 2006 9:24 am
Location: France

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron