1680x1050 AllegroGL
Steve Terry

I'm just curious if AllegroGL can support a resolution of 1680x1050 and what I will have to do to configure it so that it works. I know AllegroGL cannot set the refresh rate but when I put my program into 1680x1050 res I get an out of sync error on my monitor. I'm guessing it's trying to set a refresh rate higher or lower than my monitor can handle. Any way to work around this?

Richard Phipps

You can request different refresh rates in AllegroGL. Maybe that will help.

Steve Terry

Looking at the AGL docs I don't see any refresh settings I can set. Unless you mean using OpenGL commands to set the refresh rate. Any sample code to do so?

Richard Phipps

I think you can use AllegroGL to 'request' various settings, including the refresh rate. Failing that you could try using OpenGL directly to do so.

gnolam
Arthur Kalliokoski

My video card can (allegedly) do 1600 x 1200, but the monitor can't. A menu looking thingee pops up (monitor generated) saying "Signal out of range". Have you gotten this resolution in other apps?

Steve Terry

I have a widescreen monitor capable of 1680x1050, I've gotten other games to run in that mode before.

Milan Mimica

Does get_gfx_mode_list() return the wanted resolution? If it does then set_gfx_mode() should work, with help of request_refresh_rate() if necessary.

Thomas Fjellstrom

GL used to have issues with surfaces or textures larger than say 2000x2000, but I think thats been lifted with some of the newer cards. not sure which ones...

My radeon 9600xt has a max res of: 2048x1536 in 16bit color, at 60hz.

Steve Terry

gfx_mode_list shows up to 1600x1200 which is a 4:3 aspect IIRC, no 1680x1050. Any way to have allegro support this resolution? Widescreen monitors are becoming very popular lately.

Milan Mimica

Is the wanted resolution listed in display settings?

Thomas Fjellstrom

My lcd get 1280x1024. thats sorta wide screen ;)

Milan Mimica

I get 1280x768 :P

BAF

My laptop is 1280x800.

Milan Mimica

ah, mine too, there is no 1280x768 ;D

Marco Radaelli
Quote:

My lcd get 1280x1024. thats sorta wide screen ;)

Thats sorta crap :P
It's not either 4:3 nor 16:9, but 5:4 >:(
Note: Mine does the same (1280x1024), and "nice" thing about lcds is that if you subresolutions interpolarions sucks when displaying text ::) (luckily it's not a problem with games).

Back on topic: can you set that resolution in Windows?

Thomas Fjellstrom

1280x1024 is the "standard" resolution for non widescreen 17" and 19" LCDs. Its not like the pixels are mishapen or anything, it really is a little wider.

BAF
Quote:

ah, mine too, there is no 1280x768

I'm pretty sure there is a 1280x768, its just less common.

Marco Radaelli
Quote:

1280x1024 is the "standard" resolution for non widescreen 17" and 19" LCDs.

If very common means standard, then you're right. I got the quotes around 'standard' :).

The point with those resolutions is that they aren't 4:3, but about pixel shapes I'm not so expert. I just don't like that those monitors have a number of pixels that's not classic (like usual CRTs etc...).

Charlie Restivo

For what it's worth, I have a widescreen laptop with a resolution of 1680x1050, and my AllegroGL programs work at that res without any problems. And I don't have to set up anything special to get it to work. I'm not really sure what the problem could be??? Hard to say if it is the monitor or the video card.

Thomas Fjellstrom
Quote:

If very common means standard, then you're right.

I haven't seen any 17" or 19" non "widescreen" monitor LCDs that didn't list 1280x1024 as their native mode.

Marco Radaelli
Quote:

I haven't seen any 17" or 19" non "widescreen" monitor LCDs that didn't list 1280x1024 as their native mode.

I never said they didn't. I'm saying that 5:4 is a weird ratio :)

One may ask: why didn't they make it 1024x768, getting 4:3?

BAF

Because 1280x1024 is a higher resolution. Why would you want 1024x768? That resolution is so 5 years ago. :P

Marco Radaelli

I'm sorry, I meant 1280x960 (not 1024x768) ;D

Thread #589445. Printed from Allegro.cc