Board index FlightGear Support Graphics

runways are either blue or black patches scenery too  Topic is solved

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.

runways are either blue or black patches scenery too

Postby ikedaman » Fri Jul 01, 2016 1:38 am

windows xp
flightgear 2.x.x.x (all 2 versions)
ati radeon xpress 200m
all airports have runways that are just light blue - if i put shader slider to quality they all turn black
output to console window is about glcompileshader failure and all shader objects have not been successfully compiled and version number not supported by 2gl
C:\FlightGear\bin\Win32\fgfs.exe
--fg-root=C:\FlightGear\data
--fg-scenery=C:\FlightGear\data\Scenery;C:\FlightGear\scenery;C:\FlightGear\terrasync
--airport=KSFO
--aircraft=b1900d
--disable-random-objects
--disable-ai-models
--disable-ai-traffic
--disable-real-weather-fetch
--timeofday=noon
Image
ikedaman
 
Posts: 11
Joined: Fri Jul 01, 2016 1:12 am

Re: runways are either blue or black patches scenery too

Postby elgaton » Fri Jul 01, 2016 7:22 am

Hi, and welcome to the forum!

ikedaman wrote in Fri Jul 01, 2016 1:38 am:output to console window is about glcompileshader failure and all shader objects have not been successfully compiled and version number not supported by 2gl

Either your card does not fully support FlightGear, or the drivers are simply old. Could you please:
  • download the latest drivers from the ATI Web site (they are here) and install them;
  • restart FlightGear;
  • if the problem still occurs, post the exact error message shown in the console, as well as the graphics/OpenGL information shown in FlightGear (click on Help -> About and copy the information shown in that section).
Thanks!
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1106
Joined: Tue Mar 19, 2013 5:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: runways are either blue or black patches scenery too

Postby ikedaman » Fri Jul 01, 2016 11:20 am

sorry - i updated my driver it did not help

console window:
Scaling image 'C:\FlightGear\data\Aircraft\b1900d\Models\Liveries\ANZ.png' from
(4096,4096) to (2048,2048)
Could not find at least one of the following objects for animation: 'pilot'
loading scenario 'nimitz_demo'
Electrical System ... ok
system ...Check
Alerts ...Check
KLN-90B GPS ...Check
Flight Director ...Check
Scaling image 'C:/FlightGear/data/Textures.high/Signs/framed.png' from (4096,128
) to (2048,128)
Scaling image 'C:/FlightGear/data/Textures.high/Signs/yellow.png' from (4096,128
) to (2048,128)
Scaling image 'C:/FlightGear/data/Textures.high/Signs/red.png' from (4096,128) t
o (2048,128)
Scaling image 'C:\FlightGear\data\Aircraft\b1900d\Models\Liveries\ANZ.png' from
(4096,4096) to (2048,2048)
VERTEX glCompileShader "C:/FlightGear/data/Shaders/default.vert" FAILED
VERTEX Shader "C:/FlightGear/data/Shaders/default.vert" infolog:
ERROR: 0:10: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/default.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/default.frag" infolog:
ERROR: 0:4: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
VERTEX glCompileShader "C:/FlightGear/data/Shaders/tree.vert" FAILED
VERTEX Shader "C:/FlightGear/data/Shaders/tree.vert" infolog:
ERROR: 0:6: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/tree.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/tree.frag" infolog:
ERROR: 0:1: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/runway.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/runway.frag" infolog:
ERROR: 0:5: '' : Version number not supported by GL2
ERROR: 0:59: '>' : wrong operand types no operation '>' exists that takes a le
ft-hand operand of type 'uniform float' and a right operand of type 'const int'
(or there is no acceptable conversion)
ERROR: 2 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/landmass.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/landmass.frag" infolog:
ERROR: 0:1: '' : Version number not supported by GL2
ERROR: 0:71: '=' : cannot convert from 'const int' to 'float'
ERROR: 2 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
VERTEX glCompileShader "C:/FlightGear/data/Shaders/water.vert" FAILED
VERTEX Shader "C:/FlightGear/data/Shaders/water.vert" infolog:
ERROR: 0:8: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/water_sine.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/water_sine.frag" infolog:
ERROR: 0:11: '' : Version number not supported by GL2
ERROR: 0:257: '==' : wrong operand types no operation '==' exists that takes a
left-hand operand of type 'uniform float' and a right operand of type 'const in
t' (or there is no acceptable conversion)
ERROR: 0:258: 'assign' : cannot convert from 'const int' to 'float'
ERROR: 0:260: '*' : wrong operand types no operation '*' exists that takes a l
eft-hand operand of type 'uniform float' and a right operand of type 'const int'
(or there is no acceptable conversion)
ERROR: 0:284: '>' : wrong operand types no operation '>' exists that takes a l
eft-hand operand of type 'uniform float' and a right operand of type 'const int'
(or there is no acceptable conversion)
ERROR: 0:335: '>' : wrong operand types no operation '>' exists that takes a l
eft-hand operand of type 'uniform float' and a right operand of type 'const int'
(or there is no acceptable conversion)
ERROR: 6 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/urban.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/urban.frag" infolog:
ERROR: 0:7: '' : Version number not supported by GL2
WARNING: 0:9: extension 'GL_ATI_shader_texture_lod' is not supported
WARNING: 0:10: extension 'GL_ARB_shader_texture_lod' is not supported
ERROR: 0:49: 'const' : non-matching types for const initializer
ERROR: 0:50: '=' : assigning non-constant to 'const float'
ERROR: 0:55: '=' : cannot convert from 'const int' to 'float'
ERROR: 0:63: 'texture2DLod' : no matching overloaded function found
ERROR: 0:63: 'w' : field selection requires structure, vector, or matrix on lef
t hand side
ERROR: 0:71: '-' : wrong operand types no operation '-' exists that takes a le
ft-hand operand of type 'const int' and a right operand of type 'float' (or ther
e is no acceptable conversion)
ERROR: 0:71: 'pow' : no matching overloaded function found
ERROR: 0:113: 'texture2DLod' : no matching overloaded function found
ERROR: 0:113: 'w' : field selection requires structure, vector, or matrix on le
ft hand side
ERROR: 0:114: 'texture2DLod' : no matching overloaded function found
ERROR: 0:114: 'w' : field selection requires structure, vector, or matrix on le
ft hand side
ERROR: 12 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
VERTEX glCompileShader "C:/FlightGear/data/Shaders/forest.vert" FAILED
VERTEX Shader "C:/FlightGear/data/Shaders/forest.vert" infolog:
ERROR: 0:1: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/forest.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/forest.frag" infolog:
ERROR: 0:1: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/reflect.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/reflect.frag" infolog:
ERROR: 0:6: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
VERTEX glCompileShader "C:/FlightGear/data/Shaders/ubershader.vert" FAILED
VERTEX Shader "C:/FlightGear/data/Shaders/ubershader.vert" infolog:
ERROR: 0:4: '' : Version number not supported by GL2
ERROR: 1 compilation errors. No code generated.


FRAGMENT glCompileShader "C:/FlightGear/data/Shaders/ubershader.frag" FAILED
FRAGMENT Shader "C:/FlightGear/data/Shaders/ubershader.frag" infolog:
ERROR: 0:6: '' : Version number not supported by GL2
ERROR: 0:67: '*' : wrong operand types no operation '*' exists that takes a le
ft-hand operand of type '2-component vector of float' and a right operand of typ
e 'uniform int' (or there is no acceptable conversion)
ERROR: 0:151: '>' : wrong operand types no operation '>' exists that takes a l
eft-hand operand of type 'uniform int' and a right operand of type 'const float'
(or there is no acceptable conversion)
ERROR: 3 compilation errors. No code generated.


glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.
Scaling image 'C:/FlightGear/data/Aircraft/b1900d/Models/Effects/normalmap.png'
from (4096,4096) to (2048,2048)
Scaling image 'C:/FlightGear/data/Aircraft/b1900d/Models/Effects/lightmap-main.p
ng' from (4096,4096) to (2048,2048)

from help/about:
flight gear version 2.8.0
simgear version 2.8.0
openscenegraph version 3.0.1
build id 2012-08-15_11-10-33
build number 447

by the way flightgear 2016.2.1 run perfect on windows 8.1 64 bit on my other laptop

thanks
ikedaman
 
Posts: 11
Joined: Fri Jul 01, 2016 1:12 am

Re: runways are either blue or black patches scenery too  

Postby Thorsten » Fri Jul 01, 2016 12:20 pm

ERROR: 0:4: '' : Version number not supported by GL2


The OpenGL version we require for the shader isn't supported by your system (which is marginally surprising because it's ancient...) - but then so is XP I guess.

I guess FG with all shader quality sliders to minimum (i.e. fixed pipeline fallback) might still run.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: runways are either blue or black patches scenery too

Postby ikedaman » Fri Jul 01, 2016 1:31 pm

it worked - the runways look great but it locked my cpu at 100% and stutters/hesitates unbearably.
thank you
i use this computer for my old flight simulators that won't run on windows 8.1 no matter what compatibility settings i choose (like ea's chuck yeager)
i will run flightgear on windows 8.1
ikedaman
 
Posts: 11
Joined: Fri Jul 01, 2016 1:12 am

Re: runways are either blue or black patches scenery too

Postby ikedaman » Sun Jul 03, 2016 2:32 pm

i would like to mark this as solved but i have no idea how to
ikedaman
 
Posts: 11
Joined: Fri Jul 01, 2016 1:12 am

Re: runways are either blue or black patches scenery too

Postby elgaton » Sun Jul 03, 2016 3:45 pm

Click on the "checkmark" icon in the top right corner of the post containing the solution (it's next to the "Report" and "Quote" buttons).
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1106
Joined: Tue Mar 19, 2013 5:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: runways are either blue or black patches scenery too

Postby ikedaman » Sun Jul 03, 2016 9:43 pm

thanks
done
ikedaman
 
Posts: 11
Joined: Fri Jul 01, 2016 1:12 am


Return to Graphics

Who is online

Users browsing this forum: No registered users and 5 guests