Author Topic: rev 4065: Shadows and lighting issues on some resolutions; Win7 - 64 bit  (Read 1302 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
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).




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:



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):



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:


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.
« Last Edit: 30 January 2013, 11:06:46 by tomreyn »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
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

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
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)?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
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.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
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 ...

Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything