Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: AV8R on December 29, 2015, 07:43:59 pm

Title: New Monitor - Bad Visuals
Post by: AV8R on December 29, 2015, 07:43:59 pm
So I just replaced my old 19" LCD monitor with a new 23" LED LCD IPS monitor. I figured the HD resolution, IPS color reproduction and 5ms response time would look great playing Freespace. So I got everything connected and fired up FSO and loaded a mission and instead got this (see attachments).

Look at the god-awful banding around the star. My old monitor never did this - but showed a perfect gradient of light around a bright star. It almost looks like the graphics settings are at 16-bit instead of 32-bit, but when I check Windows and nVidia's settings, they are both set to 1920x1080 @ 32-bit color.

I tried to tweak the brightness and contrast settings of the monitor to no avail and even ran a monitor calibration in Windows to try to tweak it further - with the same results.

Any suggestions?

[attachment DELETED!! by Strong Bad]
Title: Re: New Monitor - Bad Visuals
Post by: niffiwan on December 29, 2015, 07:54:21 pm
What colour depth does your launcher have set? (I'd guess it hasn't changed, but doesn't hurt to check)
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 29, 2015, 08:28:20 pm
It's at 32-bit, for sure.

EDIT: Can you see the obvious gradient lines around the star?

EDIT2: I can't imagine why a higher quality monitor would show such a picture - unless the monitor isn't as high quality as I thought.   :(

EDIT3: I even changed it to 16-bit and checked the same mission and it looked far worse. I went back to 32-bit and it was the same as in the pics.
Title: Re: New Monitor - Bad Visuals
Post by: niffiwan on December 29, 2015, 08:40:40 pm
I can see the banding, but I'm not sure what can be done to the monitor to fix/workaround the issue. Do you get the same issue with other pics? i.e. stuff outside FSO?
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 29, 2015, 09:07:52 pm
So if I grab a hi-res pic from the interwebs such as below, I see perfect gradient lighting on this monitor. So its seems that rendered scenes are not displayed as well as pre-rendered photos.

[attachment DELETED!! by Strong Bad]
Title: Re: New Monitor - Bad Visuals
Post by: headdie on December 29, 2015, 09:08:07 pm
does your monitor have dedicated drivers and are they installed?
Title: Re: New Monitor - Bad Visuals
Post by: ZeroDivision on December 29, 2015, 10:28:27 pm
Maybe the banding was always there but your old monitor was just so bad that it blurred it out for you :)

What mission is that? Ok, just did a quick test and in Surrender Belisarius the sun looks similar to yours, ie. the gradient isn't quite 100% smooth. Maybe an issue with the upgraded MediaVP pack which I assume you are also running?
Title: Re: New Monitor - Bad Visuals
Post by: Fury on December 30, 2015, 12:23:18 am
Banding is clearly visible in numerous mediavps and other mod assets due to DXT texture compression. This is particularly noticeable in effects and maps that have gradients. The better your monitor is and the higher your resolution is, the more visible banding and other texture compression artifacts are.

There are three ways to reduce texture compression artifacts. All of which require effort from modders. You, as a player, can't do anything about it other than use higher quality assets if available.

1) Increase resolution of assets. The higher the resolution, the more information there is and the less lost information is visible to the naked eye. Unfortunately this is not so easy, original assets are often of same resolution as what you get in the "advanced" assets.  Not many artists have had the foresight to make their originals in high resolution from which released assets could be scaled down. Which is too bad, because our assets aren't going to look much good on 4k monitors and TVs, seeing as they already have visible quality issues in 1080p.

And speaking of advanced. If you aren't using mediavps advanced pack already, you should if your GPU is decent enough to run it smoothly.

2) Use better compression algorithm. Ufortunately the only viable alternative to DXT is ASTC. Support for ASTC appeared in OpenGL ES 3.0 and OpenGL 4.3, even then it has been optional. Vulkan has it as a requirement though. All this means that hardware support for ASTC is limited mostly to new hardware. This also would require FSO to support Vulkan, which I hope happens eventually anyway.

3) Use assets with no texture compression. If you have a discrete GPU with plenty on VRAM, you could opt to play with uncompressed assets. This might actually be viable now that there are 64-bit Windows FSO builds, since limitations of 32-bit applications also affect usable VRAM. AFAIK no assets have ever been publicly released uncompressed because of their size. This also has had an unfortunate side effect. Modders who have modified assets made by others, such as changing colors, had to work with already compressed asset, reducing quality further on every subsequent save of the file. Lossy compression algorithms lose information every time a file is saved. If you're working with already compressed file, resulting file will have even less information and thus will have reduced quality. Many of the original uncompressed assets have also been lost over time because they weren't distributed.
Title: Re: New Monitor - Bad Visuals
Post by: zookeeper on December 30, 2015, 02:33:46 am
If changing the monitor really causes a difference in screenshot contents, then that can't have anything to do with your monitor's settings or how it's calibrated, as screenshots are grabbed from a buffer on your GPU. If the monitor causes a difference, then that has to be due to for example the OS or the GPU or monitor driver figuring that the monitor needs to be fed with a lower bit depth or something. If your monitor was simply poorly displaying the information it receives, that wouldn't show up in screenshots.
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 30, 2015, 08:34:46 am
Thanks for the explanations - it may be that my older monitor was so washed out I never noticed the gradient lines before, so this new monitor is going to show, what is most likely, compression artifacts, as Fury stated. And yes, the monitor's driver is indeed installed which is confirmed in Device Manager - the monitor shows with its proper name and not the generic "Plug and Play Monitor".

And yes, I am using MediaVPs 2014 and the 3.7.2 EXE. Although I am not using the Advanced VP file as it tends to crash my system with malloc errors when I use it - especially if a Sathanas is present in a mission (I can use the Advanced VP file to play any mission in FSPort, but with FSO when I reach a mission with a Sathanas the game will CTD). Maybe using the Advanced file would create a better gradient? Perhaps. I'll give it a try later.

System specs (just because):
Intel i5 3550 (3.1Ghz)
2GB of DDR3 1600 RAM
NVidia GeForce GTX-750 Ti w/ 1GB GDDR5 (PCIe 3.0)
Win7 x86 SP1
Title: Re: New Monitor - Bad Visuals
Post by: ZeroDivision on December 30, 2015, 09:00:59 am
System specs (just because):
Intel i5 3550 (3.1Ghz)
2GB of DDR3 1600 RAM
NVidia GeForce GTX-750 Ti w/ 1GB GDDR5 (PCIe 3.0)
Win7 x86 SP1

If you are running 32-bit Win7, getting another 2GB of RAM is an option (4GB is the max a 32-bit OS can address). Would really help with loading times and overall performance.
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 30, 2015, 10:57:09 am
Unfortunately, adding 2 more GBs of RAM with a 32-bit OS would be fruitless since only 4GBs are addressable. Since my system already has 2GB of RAM, 1GB of video RAM and a 1GB page file, all 4GB of addressable memory is already spoken for. I'd have migrate Windows to x64 to allow for additional RAM.
Title: Re: New Monitor - Bad Visuals
Post by: AdmiralRalwood on December 30, 2015, 11:04:51 am
Since my system already has 2GB of RAM, 1GB of video RAM and a 1GB page file, all 4GB of addressable memory is already spoken for.
That's... not really how that works.
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 30, 2015, 12:26:29 pm
How so? Grant it, it's a terribly over-simplified way of saying it, but a typical x86 OS (read: Windows) can only utilize 4GB of memory address space including RAM, video RAM, PCI memory range, ACPI and (when or if in use) page file memory space.

Although, since the advent of processor features such as PAE, some x86 server platforms can utilize more than 4GB using specialized OS configuration and drivers. But since using such features can be cumbersome, it's easier just to implement an x64 platform if more than 4GB of addressable memory is needed for a particular system.
Title: Re: New Monitor - Bad Visuals
Post by: The E on December 30, 2015, 01:24:08 pm
The page file doesn't count against available memory.

Why in hell are you still running an x86 OS anyway?
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 30, 2015, 02:50:18 pm
After more research, I stand corrected. Page file does not count against total addressable memory. So I could conceivably add another 1GB of RAM to my system or just ditch the 2x1GB sticks for a 2x2GB as suggested with a GB going to waste. Oh well, something to consider.

x86 because that's the license I bought when Windows 7 was released.  :nervous:
Title: Re: New Monitor - Bad Visuals
Post by: The E on December 30, 2015, 02:55:20 pm
You do know that keys for the x86 versions are valid for x64 as well, right? And that you can get the x64 install media here (https://www.microsoft.com/en-us/software-download/windows7)?
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 30, 2015, 03:06:24 pm
Interesting - I'll see if my key works on the page later.

Thanks for the tip!  :yes:

EDIT: So getting back to the original issue, I'll just have to adjust my monitor settings as best I can to minimize the banding effect for now since there is no getting around the image compression issue that Fury mentioned - unless using the Advanced vp file might display the image more "gradiently"...
Title: Re: New Monitor - Bad Visuals
Post by: Fury on December 30, 2015, 03:15:38 pm
Or you could upgrade to Windows 10. IIRC it was possible to do so till end of the month.
https://www.microsoft.com/en-in/software-download/windows10
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 30, 2015, 03:17:54 pm
Or you could upgrade to Windows 10. IIRC it was possible to do so till end of the month.
https://www.microsoft.com/en-in/software-download/windows10

I actually already have the ISOs for that. I've just been waiting to see how it shakes out with others first (I'm not the "early adopter" type, I suppose - too many past horror stories).
Title: Re: New Monitor - Bad Visuals
Post by: Cobra on December 31, 2015, 12:42:18 am
What are your command line settings? Stuff like -img2dds causes random issues with things.
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 31, 2015, 01:57:05 pm
What are your command line settings? Stuff like -img2dds causes random issues with things.

Nope, just what you see below:

Z:\GAMES\Freespace2\fs2_open_3_7_2.exe -mod mediavps_2014 -nomotiondebris -3dshockwave -soft_particles -fxaa -nolightshafts -cache_bitmaps -dualscanlines -rearm_timer -ship_choice_3d -snd_preload -fps -ambient_factor 50 -spec_exp 5 -spec_point 0.15 -spec_static 1.0 -spec_tube 1.0 -ogl_spec 40 -bloom_intensity 42 -fxaa_preset 9 -fov 0.5 -no_emissive_light

The issue was just more of a visual quality issue, but I understand now it's not my setup or monitor but just texture compression artifacts - I just couldn't see it on my old monitor but on my new HD monitor, I do.
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on December 31, 2015, 02:52:43 pm
I've greatly lessened the "star-banding" effect by doing the following:

1) Using the absolute lowest comfortable brightness and contrast settings on my monitor without making it too dark for the game and other uses (B:30, C:30)

2) Using these graphics settings in the launcher: -ambient_factor 0 -no_emissive_light -spec_exp 11 -spec_point .6 -spec_static .8 -spec_tube .4 -ogl_spec 80 -bloom_intensity 40
Title: Re: New Monitor - Bad Visuals
Post by: Fury on January 01, 2016, 02:47:34 am
Just take care not to take things to such lengths you will strain your eyes when reading text, whether that is a Word document, a website or a game. It is better to live with banding than to have your eyes strained.
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on January 03, 2016, 03:37:01 pm
Thanks, Fury. Although the nice thing about these big (23") HD LCD LED monitors is their inherent brightness - at the "standard" brightness and contrast settings they're ridiculously bright, especially with a white background (you'd better be a brightly lit room or you'll need sunglasses to look at the screen).

Even this brand's "Eco" setting is too bright for my warmly lit office. I finally settled on a brightness setting of 20 and contrast of 30 and it looks splendid in FSO and all of my other games - while still looking good online and in Windows Explorer and such. The above launcher settings for FSO darkened everything in-game a bit (giving a nice look of realism) but it's still possible to see targets at a distance.

Anyway, once I got everything tweaked for this new monitor, I'm quite happy with the results.
Title: Re: New Monitor - Bad Visuals
Post by: Fury on January 04, 2016, 08:57:11 am
While every monitor is more or less unique, you may want to google for your monitor's brand, model and keyword calibration. Depending on popularity of the model, you should hopefully find several sources of settings calibrated by professional tools. Those would be a good starting point for color, gamma and brightness settings for your monitor.
Title: Re: New Monitor - Bad Visuals
Post by: jr2 on January 04, 2016, 02:30:48 pm
In case it's useful:


http://www.makeuseof.com/tag/5-online-tools-calibrate-monitor/

TL;DR:

http://www.photofriday.com/calibrate.php

http://photographerusa.com/screencheck/   << didn't see the link in the article, had to find it myself; here it is

http://www.displaycalibration.com/index.html

http://www.lagom.nl/lcd-test/

http://tft.vanity.dk/monitorTest_scale.html
Title: Re: New Monitor - Bad Visuals
Post by: AV8R on January 09, 2016, 03:40:27 pm
Excellent links, jr2.  :nod:

The PhotoFriday.com link was best for adjusting brightness and contrast values.

The DisplayCalibration.com link was most useful for color/gamma.

Now I have everything just right and looking spot-on. Thanks, everyone. A prosperous New Year to all.