OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: Marterzon on November 05, 2014, 05:28:59 PM



Title: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: Marterzon on November 05, 2014, 05:28:59 PM
When I set a 4:3 ratio resolution (like 800x600) it just stretched it to 16:9 (in which my monitor is 1920 x 1080) and I don't want that, I just wanted a 4:3 ratio, not 16:9 stretched 4:3 res. So could you help me on this?

OS: GNU/Linux
Dist: Debian Testing
Graphic Card: Nvidia GTX 770 (Using the Nvidia Proprietary driver)


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: fromhell on November 05, 2014, 07:52:15 PM
I would blame the monitor at this point.


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: andrewj on November 05, 2014, 09:26:18 PM
I don't think there is any way to make ioquake3 or libSDL do what you want (enforce a pixel aspect ratio of 1.0)

It is really the application's responsibility to handle stuff like that, and most engines are sorely lacking in the control they provide, including ioquake3.


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: fromhell on November 06, 2014, 12:17:26 AM
Shouldn't be too hard for OA though.  I have already partially implemented something that could serve as this, as r_tvmode which just forces 640x480 to cover the whole context no matter the window size or the video mode.  This could probably go further with different video modes and enforced aspect correction


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: Gig on November 06, 2014, 01:58:48 AM
Uhm... playing in windowed mode, maybe? I know that's not optimal, but...


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: Marterzon on November 06, 2014, 11:21:43 AM
I would blame the monitor at this point.

Well I have the Philips 227E4LH monitor connecting HDMI


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: Suicizer on November 06, 2014, 06:25:22 PM
Try running in windowed mode; that should make you able to use a different aspect ratio.


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: fromhell on November 07, 2014, 02:46:28 AM
Coded in aspect correction. That didn't take very long. Now to get it to center!

EDIT: Got it to center!

Pardon the crap graphics though,  (was) throwback thursday


Title: Re: I cannot seemed to get 4:3 ratio in Debian GNU/Linux w/ Nvidia GTX 770
Post by: Marterzon on November 07, 2014, 12:39:59 PM
Coded in aspect correction. That didn't take very long. Now to get it to center!

EDIT: Got it to center!

Pardon the crap graphics though,  (was) throwback thursday

Yay, I cannot wait for OpenArena 3.0.0! Anyway I'll put up a thread about art concepts on characters of OA3 on the OA3 category.