Hi,
I found a problem with NV4x chipsets (GeForce 7300) and SW OT mod, on Ubuntu 16.04 with oibaf mesa git;
the problem is that some models produce full screen z-culling shaders artifact (resulting in X-Wing model in Tech Room occupying all screen an overlapping to game menu/GUI, which disappears completely when selecting Tie-Fighter or Tie-Interceptor)
I would like to ask if someone encounterd similar problems on other games/mods with the same NV4x chipsets.
Following indications of mesa developer Ilia Mirkin and Issue on github talking about the need of setting #version 120 header,
I tried that but the result is still the same X-Wing shaders covering all screen in dark artifacts.
The qapitrace showing artifact is at the following link, but just people with Ubuntu and NV4x with gallium nouveau driver would see the artifacts with apitrace-gui retracer:
https://drive.google.com/open?id=0B_OFHiIqgpSFUUtnTXdWSEhoRncNow, the next thing to investigate is the following, a question proposed by Ilia, could you help me to check about combination of color and depth buffers in use by fs2_open (3.7.x and previous versions are all affected with NV4x)?
If you are involved with the development of this application, could you verify that it never uses a 32-bit color buffer with a 16-bit depth buffer, or a 16-bit color buffer with a 24-bit depth buffer? (That's RGBA8 + Z16 or RGB565 + Z24.) Those combinations, while perfectly legal in GL, are not actually supported by the hardware, and the driver "works around it" by just disabling depth, which results in broken rendering (but at least no hangs...).
If that's the case and the driver works around we may argue that it's not doing its best,
but do you know if there may be a way to enhance compatibility in fs2_open?
Or do you know a way to apply to X-Wing model some changes to shaders in order to avoid the problem (as majority of the models in SW OT do not cause any problem)?
Thanks for your attention and feedbacks
Even if NV4x may seem obsolete there are still some fellows playing with that.
Mauro