Board index FlightGear Support Graphics

Wierd Shader problems

Graphics issues like: bad framerates, weird colors, OpenGL errors etc. Bad graphics ar usually the result of bad graphics cards or drivers.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).
- please upload a screenshot of the problem.

If you experience FlightGear crashes, please report a bug using the issue tracker (can be also used for feature requests).
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article. If you are seeing corrupted/broken textures, please see this article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Wierd Shader problems

Postby openflight » Mon Feb 03, 2014 12:17 am

** Update - it has hapenned before ***

viewtopic.php?f=37&t=18964#p175934




Strange colors and transparencies

*-display
description: VGA compatible controller
product: 82Q963/Q965 Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0


lubuntu12@lubuntu12737AV:~$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby Hooray » Mon Feb 03, 2014 2:09 am

screen shot ?
=> disable texture compression
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11326
Joined: Tue Mar 25, 2008 8:40 am

Re: Wierd Shader problems

Postby saiarcot895 » Mon Feb 03, 2014 2:19 am

@Hooray:
There was a screenshot link, but the OP removed it.

@openflight:
Also, in general, you should state the flightgear version.
Saikrishna Arcot

My FlightGear PPAs: FlightGear Stable, FlightGear Development (Edge)
saiarcot895
 
Posts: 303
Joined: Sat Feb 02, 2013 4:26 pm
Callsign: flyhigh
Version: 2018.3.0
OS: Ubuntu 18.04

Re: Wierd Shader problems

Postby openflight » Wed Feb 05, 2014 12:36 am

Version 2.4 and the graphics are as in the below thread

** Update - it has hapenned before ***

viewtopic.php?f=37&t=18964#p175934
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby Hooray » Wed Feb 05, 2014 12:38 am

=> disable TEXTURE COMPRESSION
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11326
Joined: Tue Mar 25, 2008 8:40 am

Re: Wierd Shader problems

Postby openflight » Wed Feb 05, 2014 11:09 am

Will try that (think I did) anyway the Moyes Dragonfly is fine, some of these aircraft have real texture probs:

C172: Black and transparent parts
B1900D: Black oil
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby Thorsten » Wed Feb 05, 2014 11:13 am

I guess some of these have actual shader effects assigned, which you may want to switch off if they're not running.
Thorsten
 
Posts: 10844
Joined: Mon Nov 02, 2009 8:33 am

Re: Wierd Shader problems

Postby openflight » Thu Feb 06, 2014 12:08 am

fgfs --prop:/sim/rendering/texture-compression=off
Processing command line arguments
....
creating 3D noise texture... DONE
Initializing Nasal Electrical System
power up

same problem.

http://wiki.flightgear.org/Howto:Debugg ... e:_Level_0

did not give the desired effect.

Copying and pasting the PA28 from FG 1.0 was OK, although at high noon I ma not used to seeing one side of the fuselage in darkness, but I guess in northern latitudes at this time of year this happens , I never noticed. 8)
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby openflight » Fri Feb 07, 2014 4:16 pm

Finally: the screenshot:

http://www.flickr.com/photos/115412153@N02/12278535055/

Image

OpenGL gears works fine as far as I can tell.

The other diagnostic is also OK: here is the output.

$ glmark2-es2
libEGL warning: failed to create a pipe screen for i965
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 965Q x86/MMX/SSE2
GL_VERSION: OpenGL ES 2.0 Mesa 8.0.2
=======================================================
[build] use-vbo=false: FPS: 160
[build] use-vbo=true: FPS: 160
=======================================================
glmark2 Score: 160
=======================================================

glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 965Q x86/MMX/SSE2
GL_EXT_vertex_array_bgra, GL_NV_conditional_render,


Next thing is to fgfs with lowest settings
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Weird Shader problems

Postby openflight » Mon Feb 10, 2014 12:30 am

FG 2.0 ( In WINE) also shows the same problems. Trees disappear when material selection is made.

Downloading FG 1.9.1 to check.

Possibly a new graphics card for my PC is in order, and monitor resolution is 1024 x 768

A will also read graphics problems Q and A

viewtopic.php?f=37&t=18951
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby openflight » Mon Feb 10, 2014 12:44 am

Update: 1.9.1 exhibits the same problems, and I have used 1.9.1 previously with another PC and graphics card without seeing any of the strange effects here:

Disabling shader effects in model file for the particular model does not really improve things either.

Hardware Problem. Upgrade Hardware.

Seneca II loads fine:

Code: Select all
Compatibility layer: testing for hard coded support
* can set light saturation:        yes
* can set horizon scattering:      yes
* hard coded terrain presampling:  yes
* terrain presampling initialized: yes
* can disable global weather:      yes
Compatibility layer: tests done.
Loading local weather routines...
KCS55 pictorial navigation system initialized
creating PitotIcingHandler for /systems/pitot[0]
loading scenario 'nimitz_demo'
AL lib: pulseaudio.c:612: Context did not connect: Access denied
AL lib: pulseaudio.c:612: Context did not connect: Access denied
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
creating 3D noise texture... DONE
KI266 dme indicator #0 initialized
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby openflight » Tue Feb 11, 2014 9:40 am

The shader problems only occur with some aircraft - the 172p for example. Apart from frame rates in the teens, everything works well enough for a very nice Flight Sim.

Particularly enjoying the reflected perspex effect, I have never used any game or sim before that has it.

So I will try to re-map the textures or make them 512 x 512 instead of the 2024. Seems a small price to pay for all that functionality.

Just saw this: http://wiki.flightgear.org/Hardware_Recommendations
If you are serious about running FlightGear, you should avoid Intel HD/GMA cards at all costs - these are integrated chipsets that provide only basic OpenGL/GLSL support.
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: Wierd Shader problems

Postby openflight » Fri Sep 18, 2015 6:14 am

Just a note - changed to a HP Notebook and problems disappeared.
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS


Return to Graphics

Who is online

Users browsing this forum: No registered users and 1 guest