Screen Resolution Cut Off and Triple Image

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
User avatar
BarryBGB
Posts: 46
Joined: Wed May 16, 2012 10:07 pm
Location: Alexandria, VA - USA

Re: Screen Resolution Cut Off and Triple Image

Post by BarryBGB »

OK! Finally got the resolution set to be able to see everything while playing and on the options screen as well.

After playing around with the cfg file, I was able to set the resolution to 1270x710 and the entire screen is visible on my 1920x1080 monitors. YAY!
That is a very strange resolution and I admit, I have never seen any thing like it before.
I was actually suprised that it even worked.

The resolution in the options menu still shows 1024x768 so evidently, the cfg file must override this setting.

I do also agree with most people that this should be fixed though.
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Screen Resolution Cut Off and Triple Image

Post by badhabit »

BarryBGB wrote:OK! Finally got the resolution set to be able to see everything while playing and on the options screen as well.

After playing around with the cfg file, I was able to set the resolution to 1270x710 and the entire screen is visible on my 1920x1080 monitors. YAY!
That is a very strange resolution and I admit, I have never seen any thing like it before.
I was actually suprised that it even worked.

The resolution in the options menu still shows 1024x768 so evidently, the cfg file must override this setting.

I do also agree with most people that this should be fixed though.
That's indeed a strange resolution ;) How is your display setup now? Do you tried completly removing 2 monitors? Or do you tried to make the big one the first display?

Also, 1270x710 < 1920x1080. Did you tried 1680 x 1050? I think should work too.
User avatar
BarryBGB
Posts: 46
Joined: Wed May 16, 2012 10:07 pm
Location: Alexandria, VA - USA

Re: Screen Resolution Cut Off and Triple Image

Post by BarryBGB »

badhabit wrote:That's indeed a strange resolution ;) How is your display setup now? Do you tried completly removing 2 monitors? Or do you tried to make the big one the first display?

Also, 1270x710 < 1920x1080. Did you tried 1680 x 1050? I think should work too.
No, I still have the 3 monitors hooked up. I have them set up as: 1920 - 2560 - 1920 and usually use the left one for the game which is on a 40" Samsung. It just looks so much better on that one.

I did try the 1680x1050 but it only works on the middle monitor (2560) and in the windowed mode, the top portion is cut off and while in the game, the bottom portion is cut off. I can barely see the two bottom players.

The 1270x710 completely fills up the screen on the 1920x1080 monitors. Strange, right? May have something to do with the 3 monitors.
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Screen Resolution Cut Off and Triple Image

Post by Komag »

could be something to do with bezel covering - some multiscreen setup resolutions will "stretch" over where the bezels are so it appears more like a window frame or something, hence the extra 10 pixels on each side
Finished Dungeons - complete mods to play
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: Screen Resolution Cut Off and Triple Image

Post by Dr.Disaster »

badhabit wrote:
Dr.Disaster wrote:
badhabit wrote:Hmm, think found something related, there seems to be a calculation before switching to windowed mode which tries to use the native resolution (maybe hardcoded to the first display, assuming all are the same?).

As I have only a single monitor setup is was trying this: If you select a windowed resolution sligthly greater than the physical one the apply button in option menu becames unreachable, the scaling formula seems to fail in this case. If you select the same windowed resolution while increasing the physical monitor resolution scaling of the option menu works correctly. Pictures below:

Windowed mode 1024x758, physical 800x600 -> scaling calculations fails, apply button unreachable
It is clearly stated in LoG's system requirements that the minimum required resolution to play is 1024x768.
Going with anything smaller than this may work but it's not supported plus you have to manually edit LoG's config file then.
First, it's plainly ugly to write games/programs not resolution independent (it's not state of art anymore, come on!) and instead "hard code" things that it only works in a small range of resolutions. In the last 2 updates most problems with that respect were fixed, but not all as we also see here. Also, I believe to make it one time right, by writting the graphical rendering resolution indepened will fix pro-active many, many bugs which WILL arise e.g with growing screensizes, multimonitor setups or a port to pad or mobile deviceswith smaller screensize.

Second, I was using the LoG supported resolution of 1024x768, which is complettly independent to the physical resolution and is also fully support and fine by OS (I can shift the window around a see the complete window, works well... only LOG got it internally wrong)

Third, you missed the another aspect: if there is a autodetection on physical screen sizes, it seems that Log does this fundamentally wrong. In general LoG should not do this in windowed mode case, instead rely on the OS here. Second how it does the autodection seems to be wrong either using just one physical screen (first one? last one?) instead of the "composed" screen or doing something like min(allphsycalScreensizes), I don't know, but it seems to be fundamentally flawed. The OT poster was also not using a smaller <1024 resolution. But he runs in the problem I was trying to demonstrate. His windowed resolution 2560x1440 (middle monitor) is bigger than the physical resolutions of the monitors left and right (1920x1080) same situation as my constructed situation, option menu apply button is not reachable. So effectivly we have here an clear design bug: in general because of not resolution independent rendering engine and therefore failing of rendering "assumptions" which sound reasonable but can fail like "windowed mode will be always smaller than physical resolution" "mulitmonitor setups have the same resolution".
Sigh .. some people will always complain when developers set some minimum system requirements.

1st: Actually you are missing the point. Minimum requirements are minimum requirements for a reason. When people go below them on purpose (what you did) only to complain about problems you encountered then you'll get answers like the one i gave you and i'll repeat it here: if you want to go below minimum req's, fine, do so, but then you ARE on your own! Dev's have better stuff to do then care about people trying things outside supported features.

2nd: If a minimum resolution is stated in a minimum system requirements list it's OF COURSE the minimum required physical (monitor) AND active (windows) resolution because people can play LoG either full screen or windowed.

3rd: Basically that's food for the dev's. Usually any program without mutli-monitor support (like LoG) runs on the systems first installed monitor.

Yet the OT has not one but two problems:
a) the resolution thing
b) some always active 3D-software

Actually i can't really imagine problem a) myself because OT only gave a description of what's not working and a screenshot of a working resolution. From the description it seems that somehow screen ratios are mixed up. As the OT stated:
I can set all 3 of them to 190x1080 but when I set the game to 1920x1080 the game extends on both sides and cuts off the bottom making the game unplayable.
When all monitors have the same resolution 1920x1080 (a 16:9 ratio) and the game is set to the very same resolution but it's display does over-shot(!) the left and right side of the monitor (btw: which one of the three?) something mixes up the correct display scaling. It's like a media player showing a DVD in 16:9 resolution on a 4:3 display: both sides are cut off. This can happen by wrong driver settings or the monitor's build-in scaling feature. Too bad the OT did not state if this happens in windowed or full screen mode.
If I set the center monitor to 1920x1200 I can see the bottom of the LoG screen but the sides are still stretched past the monitor.
This sounds to me like LoG's screen is always zoomed up. This can happen i.e. when the to-be-displayed area is set to be stretched out over all available monitors.

From OT's last posts is seems that something in his system adds a 1.5 times zoom to LoG: 1270x710 times 1.52 is 1920x1080. If the zoom factor would be exactly 1.5 which is more likely the regular 1280x720 resolution would end up being 1920x1080.
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Screen Resolution Cut Off and Triple Image

Post by badhabit »

Dr.Disaster wrote: <snip>
Really no need to try to defend buggy/bad code, AH can do that best themselves...by fixing it finally with a patch. ;)
I will instantly stop complaining, promised!

PS: the OT has wasted much time with a paid but nearly unusable product, so yes, people should complain if they run into unreasonable restrictions and bad code. Could prevent such hassles for others ... or instead give me the code I will fix it myself, this is not rocket science as the solution to problem #1 (mixed up scaling also in windowed mode) is extremly simple: rely on Operating system, don't use some fancy/wrong detected physical screen sizes on scaling at all, just scale evrything(!) according to the user-set window size.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: Screen Resolution Cut Off and Triple Image

Post by Dr.Disaster »

badhabit wrote:
Dr.Disaster wrote: <snip>
Really no need to try to defend buggy/bad code, AH can do that best themselves...by fixing it finally with a patch. ;)
I will instantly stop complaining, promised!

PS: the OT has wasted much time with a paid but nearly unusable product, so yes, people should complain if they run into unreasonable restrictions and bad code. Could prevent such hassles for others ... or instead give me the code I will fix it myself, this is not rocket science as the solution to problem #1 (mixed up scaling also in windowed mode) is extremly simple: rely on Operating system, don't use some fancy/wrong detected physical screen sizes on scaling at all, just scale evrything(!) according to the user-set window size.
When both OS and user settings say "1920x1080" and setting LoG to this very same resolution leads to the results OT posted that's not buggy or bad code. It's a local setup problem when something suddenly adds a 1.5 zoom and the cause is yet to be determined.
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Screen Resolution Cut Off and Triple Image

Post by badhabit »

Dr.Disaster wrote:
badhabit wrote:
Dr.Disaster wrote: <snip>
Really no need to try to defend buggy/bad code, AH can do that best themselves...by fixing it finally with a patch. ;)
I will instantly stop complaining, promised!

PS: the OT has wasted much time with a paid but nearly unusable product, so yes, people should complain if they run into unreasonable restrictions and bad code. Could prevent such hassles for others ... or instead give me the code I will fix it myself, this is not rocket science as the solution to problem #1 (mixed up scaling also in windowed mode) is extremly simple: rely on Operating system, don't use some fancy/wrong detected physical screen sizes on scaling at all, just scale evrything(!) according to the user-set window size.
When both OS and user settings say "1920x1080" and setting LoG to this very same resolution leads to the results OT posted that's not buggy or bad code. It's a local setup problem when something suddenly adds a 1.5 zoom and the cause is yet to be determined.
that's your speculative interpretation, I'm pretty sure the OT has this problem exclusivly in LoG and not with other apps/games. I'm also pretty sure by my tests that the reason for problems #1 are that LoG does the scaling in bad and insconsistent way. Very reason is most probably that LoG was developed as single monitor full screen game and later windowed and multi-screensupported was added not consequently enough ("hacked solution" whcih works onyl in small range of resolutions). But that's not a big deal as it's easy solvable... but please fix it the right way now, e.g. with a resolution independent screen rendering (+user setable additional font scaling factor for readability)!

Problem #2 (3D mode), as you said, could be indeed just a local system misconfiguration. Or could be also related to some LoG actual monitor or monitor number mis-detection (can't test that on my rig) or a unfortunate combination from both.
Last edited by badhabit on Sun Dec 30, 2012 4:42 pm, edited 1 time in total.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: Screen Resolution Cut Off and Triple Image

Post by Dr.Disaster »

badhabit wrote: that's your speculative interpretation, I'm pretty sure the OT has this problem exclusivly in LoG and not with other apps/games.
Yes, based on the few informations we got i speculate what the most likely reason is. Without any information on OT's system beside 3 monitors there's not much more to do.
badhabit wrote:I'm also pretty sure by my tests that the reason for all this problems are that LoG does the scaling in bad and insconsistent way. Very reason is most probably that LoG was developed as single monitor full screen game and later windowed and multi-screensupported was added not consequently enough ("hacked solution" whcih works onyl in small range of resolutions).
What's wrong with that kind of development? Any game deserves to be played full screen. It's my experience that people who play games windowed never pay full attention to what's going on, i.e. by watching TV or checking news or posting on forums or chats or whatever all beside playing. Not to mention that a game playable by mouse use is a tricky thing when over-shoting the edges of the display window.

Yet the question should be: does LoG have multi-screen support at all?
Just in case it does: what are additional monitors supposed to display?
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Screen Resolution Cut Off and Triple Image

Post by badhabit »

Dr.Disaster wrote:
badhabit wrote: that's your speculative interpretation, I'm pretty sure the OT has this problem exclusivly in LoG and not with other apps/games.
Yes, based on the few informations we got i speculate what the most likely reason is. Without any information on OT's system beside 3 monitors there's not much more to do.
You could try to do tests, I did and found strange behaviour & was able to reproduce a "apply-button" not reachable situation. Also, I (and others) encountered this problem myself and reported strange resizing and scaling behaviour back to the vanilla version 1.13. It's a long standing issue (other reports: viewtopic.php?f=12&t=498 viewtopic.php?f=12&t=2620 ).
Dr.Disaster wrote:
badhabit wrote:I'm also pretty sure by my tests that the reason for all this problems are that LoG does the scaling in bad and insconsistent way. Very reason is most probably that LoG was developed as single monitor full screen game and later windowed and multi-screensupported was added not consequently enough ("hacked solution" whcih works onyl in small range of resolutions).
What's wrong with that kind of development? Any game deserves to be played full screen. It's my experience that people who play games windowed never pay full attention to what's going on, i.e. by watching TV or checking news or posting on forums or chats or whatever all beside playing. Not to mention that a game playable by mouse use is a tricky thing when over-shoting the edges of the display window.

Yet the question should be: does LoG have multi-screen support at all?
Just in case it does: what are additional monitors supposed to display?
Sure, multi-monitor setups are common and near to standard. The good thing here is: you don't have to support them specifically just do the scaling (on windowed mode) right, the rest is done by operating system and user who selects the resolution. It's a simple and solved technical problem. Only for "fancy" things you need more clever detections & algortihms in your code.
Post Reply