MegaGlest Forum

MegaGlest => Bug reports => Topic started by: Omega on 29 January 2013, 20:08:47

Title: rev 4065: Shadows and lighting issues on some resolutions; Win7 - 64 bit
Post by: Omega on 29 January 2013, 20:08:47
This occurred in both version 3.7.1 and rev 4065 (currently Windows nightly build). The computer is running Windows 7 64-bit (service pack 1; all up to date). Graphics card is a GTX 560-Ti, latest drivers (310.70). This seems to be resolution dependent. One resolution I was able to reproduce this on was 1440 x 900 (which is neither 4:3 nor 16:9). Noteworthy that I chose this resolution in the settings menu; no INI changes were made. At the same time, though, I could not reproduce this in 1680 x 1050, which is also a non-standard resolution. The issue is also evident on a 1280 x 800 resolution (same aspect ratio; 8:5).

There seems to be two noticeable issues here. First of all, a "cut off area" that isn't lit creeps in at certain times of the day (such as around 9:00), as seen in the first image. It later creeps out at other times of the day (such as around 14:00). It can be more of less noticeable at different camera angles (images taken from default angle).

(http://i.imgur.com/7qJImAw.jpg)
(http://i.imgur.com/UF8YHrQ.jpg)

The other issue is more serious. When night falls, half of the screen is covered in a weird "veil" that is unlit. This is best illustrated with an image:

(http://i.imgur.com/yh7Gflm.jpg)

These screens from another game (different resolution, same issues) further highlight the strange effects (it's a really strange state, it's like the models textures are blanked out):
(http://i.imgur.com/SWo1VUW.jpg)
(http://i.imgur.com/ySNPdpj.jpg)

The above effect starts at nightfall, but leaves when the day begins again.

And another screenshot showing the severity of the first issue (visible at some parts of the day) at its peak:
(http://i.imgur.com/7NuCSEs.jpg)

Obviously a dirty solution would be to not use these resolutions (remove them from the options menu), but then anyone with a screen with a 1440 x 900 resolution (I've seen some laptops using this resolution) can't use an optimal resolution. There may be other resolutions affected, I didn't have time to check them all.

EDIT: Also, if it matters, all screenshots were done from the anarchy scenario, so the tileset is Winter Forest, the techtree is the MegaPack, and the map is Four Rivers. There are no logs available, as the game does not recognize any form of error.
Title: Re: [bug] rev 4065: Shadows and lighting issues on some resolutions; Win7 - 64 bit
Post by: nig on 29 January 2013, 22:34:41
1440 x 900 works fine to me... but there are sometimes "black flashes" on my 1920x1080 games, which i didnt saw before. since a few devs.... may be thats the same but just for one frame ... ?

greets
Title: Re: rev 4065: Shadows and lighting issues on some resolutions; Win7 - 64 bit
Post by: tomreyn on 30 January 2013, 11:13:46
I remember to have a had very similar issue in the past (I think this was on Ubuntu 11.10) when I was running my atibox (specs below) with an unstable video driver. Since then( late 2011), you're the first to report this issue.

How well does the driver you currently use work with other 3D game (or applications) which use OpenGL (and ideally shadows, too)?
Title: Re: rev 4065: Shadows and lighting issues on some resolutions; Win7 - 64 bit
Post by: Omega on 30 January 2013, 12:45:45
How well does the driver you currently use work with other 3D game (or applications) which use OpenGL (and ideally shadows, too)?
Well, this is resolution specific. The game works fine on other resolutions. Unfortunately, I don't have any other games that, to my knowledge, use OpenGL as the rendering engine.
Title: Re: rev 4065: Shadows and lighting issues on some resolutions; Win7 - 64 bit
Post by: titi on 4 February 2013, 00:26:43
I reproduced this too now ( on linux with nvidia drivers NVIDIA 310.14  and Geforce 650 TI )
While it works in fullscreen for me, I get exactly these dark regions in windowed mode.
I am really sure, this is not a MegaGlest Problem and is more a driver problem. I already saw this a long time ago with some nvidia onboard drivers.  2 month later a nvidia driver update fixed it. As it looks completly the same now, I think the driver issue is back somehow ...