Menu

#2090 Moel in KBOS scenery causes 'OpenGL Error' console flood

2020.4
Done
nobody
Scenery (110)
Medium
2024-09-26
2018-12-04
No

Spawn ufo at 42d 20m 26.8s N 71d 01m 11.7s W ( wouldn't it make a little sense to have the HUD show decmal degrees since both scenery files and Lat/Lon startup commands are in decimal degrees ? )

Put Blue or white container cranes/gantries in view, I get a console flood of:
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x4009
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x400a
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x400b
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x4008
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x4009
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x400a
4724.71 [WARN]:OSG Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x400b

In ../Scenery/Objects/w080n40/w072n42/1777999.stg remove lines # 2184-2189 :

OBJECT_SHARED Models/Maritime/Misc/craneblue.ac -71.0230395 42.3416665 1.5 91.37
OBJECT_SHARED Models/Maritime/Misc/craneblue.ac -71.0207022 42.3417065 -0.01 91.4
OBJECT_SHARED Models/Maritime/Misc/cranewhite2.ac -71.0249064 42.3416406 1.82 91.14
OBJECT_SHARED Models/Maritime/Misc/cranewhite2.ac -71.0241918 42.3416456 1.69 91.1
OBJECT_SHARED Models/Maritime/Misc/cranewhite2.ac -71.0185897 42.3417569 -0.01 91.1
OBJECT_SHARED Models/Maritime/Misc/cranewhite2.ac -71.0182076 42.3417597 -0.01 91.1

Reload scenery, OpenGL Error messages disappear.

Nvidia 750Ti(2GBy) Ryzen 1300 4-Core 16Gby RAM SDD

Discussion

  • James Turner

    James Turner - 2018-12-04

    (Btw the HUD lat/lon format is selectable in HUD settings)

    The OpenGL errrors will come from your driver I think, which platform are you on? If possible, ensure you have the most up to date / stable nVidia drivers for your setup. (Depending what your setup is, how you get those drivers will be different, hence why I can't be more specific here, sorry)

     
  • Huntley Palmer

    Huntley Palmer - 2018-12-04

    Sorry,
    Fedora 29 x86_64 NVidia 410.78 ( akmod-nvidia )

    Edit The driver is listed on Nvidia as the latest 'Long Lived' and my last OS update was two days ago, meaning the update process will have pulled in the distro's latest package. Is it appropriate to have some way of limiting the many-per-secon flood of console messages that have just lately been implemented ?

     

    Last edit: Huntley Palmer 2018-12-04
  • James Turner

    James Turner - 2018-12-07

    With apologies, I have been busy this week and am also rather out of ideas on this one, I'll ask on the devel list if anyone else has any clues.

     
  • Huntley Palmer

    Huntley Palmer - 2018-12-07

    np
    Some of the stutters at KBOS seem related to 'model not found' messages that are getting zapped by the console flood. Tks !

     
  • James Turner

    James Turner - 2018-12-07

    The devel list helped me out, there's specific bugs with these models (they include OBJECT_light, which they should not), so we will hopefully update the models in Terrasync and fix the issue.

    In general KBOS scenery is rather too complex and loads slowly for some people, other work we're testing now should improve this but I don't know that it will ever be friendly to lower-spec machines.

     
  • James Turner

    James Turner - 2018-12-07
    • labels: --> Scenery
    • status: New --> Accepted
     
  • xDraconian

    xDraconian - 2023-04-16
    • status: Accepted --> NeedInfo
     
  • xDraconian

    xDraconian - 2023-04-16

    @lightwork, Huntley, can you please confirm that this issue can close? The cranes near KBOS render find for me without any console spam.

     
  • Huntley Palmer

    Huntley Palmer - 2023-04-16

    Much appreciation for your looking at this, and all, tickets.
    I did a quick spin this am and for me the problem still shows, perhaps I still have an early custom scenery. I'll clean out all my scenery and retry, thanks. ! cranes

     
  • Huntley Palmer

    Huntley Palmer - 2023-04-16

    The console flood is still present on today's 2020-3 but is not there ( OK ) after doing a fetch - pull and recompile this morning on 'next' so I should say whatever fixed it was applied to 'next' less than about a week ago. Thanks !

     
  • xDraconian

    xDraconian - 2023-04-16
    • status: NeedInfo --> Done
    • Milestone: 2018.4.0 --> 2020.4
     
  • xDraconian

    xDraconian - 2023-04-16

    @lightwork, Fantastic. Thanks for confirming, Huntley.

     
  • Huntley Palmer

    Huntley Palmer - 2024-09-26

    This error is once again present, now in
    Objects/w080n40/w072n42/1777939.stg at lines 2185 ff
    Models/Maritime/Misc/craneblue.ac and cranewhite2.ac must be removed for the console flood to go away.
    Running osgviewer on the .ac models will also show the continuous error flood.

    Edit, I've submitted both models, without 'Light' entries to the scenery database.

     

    Last edit: Huntley Palmer 2024-09-26

Log in to post a comment.