Investigation on GL 3.1 core profile usage on Windows and Nvidia / Linux.

Discussion in 'Support!' started by SXX, July 26, 2014.

  1. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    I just find out some weird behavior related to context initialization on Windows in one player log:
    Code:
    [12:36:48.359] INFO OpenGL Vendor: NVIDIA Corporation
    [12:36:48.359] INFO OpenGL Renderer: GeForce GTX 670/PCIe/SSE2
    [12:36:48.359] INFO OpenGL Version: 3.1.0
    [12:36:48.359] INFO OpenGL Shader Language Version: 1.40 NVIDIA via Cg compiler
    [12:36:48.359] INFO Vendor flag set to NVidia
    [12:36:48.359] INFO Gamma correct pipeline enabled.
    [12:36:48.359] INFO Ranged mapping enabled.
    [12:36:48.359] INFO Advanced instancing enabled.
    [12:36:48.359] INFO Advanced shader models disabled.
    [12:36:48.359] INFO Compute shaders enabled.
    [12:36:48.359] INFO Persistent buffer mapping enabled.
    [12:36:48.359] INFO Buffer textures enabled.
    For example on Linux game request OpenGL 3.1 core profile, but get OpenGL 3.3 context when available, e.g:
    Code:
    [14:00:39.979] INFO OpenGL Vendor: Intel Open Source Technology Center
    [14:00:39.979] INFO OpenGL Renderer: Mesa DRI Intel(R) Haswell Desktop
    [14:00:39.979] INFO OpenGL Version: 3.3 (Core Profile) Mesa 10.3.0-devel (git-fb237ba trusty-oibaf-ppa)
    [14:00:39.979] INFO OpenGL Shader Language Version: 3.30
    [14:00:39.979] INFO Vendor flag set to Intel.
    [14:00:39.979] INFO Gamma correct pipeline enabled.
    [14:00:39.979] INFO Ranged mapping enabled.
    [14:00:39.979] INFO Advanced instancing enabled.
    [14:00:39.979] INFO Advanced shader models enabled.
    [14:00:39.979] INFO Compute shaders disabled.
    [14:00:39.979] INFO Persistent buffer mapping disabled.
    [14:00:39.979] INFO Buffer textures enabled.
    For me it's looks really weird that "advanced shader models" disabled on Windows / Nvidia...

    So I just want to check few more game logs from Mac and Windows players (AMD and Intel HD4XXX+ needed).
    You can check game log directories in this topic.


    UPD: All data needed collected! Thanks to everyone who participated!
    Though some log from AMD graphics card on Mac OS X would be great. ;)
    Last edited: July 27, 2014
  2. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Code:
    [11:39:19.172] INFO OpenGL Vendor: ATI Technologies Inc.
    [11:39:19.172] INFO OpenGL Renderer: AMD Radeon R9 200 Series
    [11:39:19.172] INFO OpenGL Version: 3.1.12967 Compatibility Profile Context 14.200.1004.0
    [11:39:19.172] INFO OpenGL Shader Language Version: 4.40
    [11:39:19.172] INFO Vendor flag set to AMD/ATI
    [11:39:19.172] INFO Gamma correct pipeline enabled.
    [11:39:19.172] INFO Ranged mapping enabled.
    [11:39:19.172] INFO Advanced instancing enabled.
    [11:39:19.172] INFO Advanced shader models enabled.
    [11:39:19.172] INFO Compute shaders enabled.
    [11:39:19.172] INFO Persistent buffer mapping enabled.
    [11:39:19.172] INFO Buffer textures enabled.
    R9 290 on 14.7 RC drivers

    Code:
    [12:09:05.234] INFO OpenGL Vendor: Intel
    [12:09:05.234] INFO OpenGL Renderer: Intel(R) HD Graphics 4600
    [12:09:05.234] INFO OpenGL Version: 3.1.0 - Build 10.18.10.3621
    [12:09:05.234] INFO OpenGL Shader Language Version: 1.40 - Build 10.18.10.3621
    [12:09:05.234] INFO Vendor flag set to Intel.
    [12:09:05.234] INFO Gamma correct pipeline not currently supported on this platform.
    [12:09:05.234] INFO Ranged mapping enabled.
    [12:09:05.234] INFO Advanced instancing enabled.
    [12:09:05.234] INFO Advanced shader models disabled.
    [12:09:05.234] INFO Compute shaders enabled.
    [12:09:05.234] INFO Persistent buffer mapping enabled.
    [12:09:05.234] INFO Buffer textures enabled.
    Switched to Intel HD4600 with unknown drivers :p
    SXX likes this.
  3. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    Thanks a lot! Now some Mac / Linux report needed. :)
    Though if anyone have different output on Windows it's would be great to see it. ;)
  4. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    I do have a bootable USB key with parted magic, would that be possible to install PA on such distribution ?
    SXX likes this.
  5. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    I need output from proprietary drivers and bootable USBs don't have them for sure.
    And don't worry, there is enough Linux players who can do that. ;)
    Fr33Lancer likes this.
  6. wondible

    wondible Post Master General

    Messages:
    3,279
    Likes Received:
    2,084
    OS X
    Code:
    [21:23:03.352] INFO OpenGL Vendor: Intel Inc.
    [21:23:03.352] INFO OpenGL Renderer: Intel HD Graphics 5000 OpenGL Engine
    [21:23:03.352] INFO OpenGL Version: 4.1 INTEL-8.28.30
    [21:23:03.352] INFO OpenGL Shader Language Version: 4.10
    [21:23:03.352] INFO Vendor flag set to Intel.
    [21:23:03.352] INFO Gamma correct pipeline not currently supported on this platform.
    [21:23:03.352] INFO Ranged mapping disabled
    [21:23:03.352] INFO Advanced instancing enabled.
    [21:23:03.352] INFO Advanced shader models enabled.
    [21:23:03.352] INFO Compute shaders disabled.
    [21:23:03.352] INFO Persistent buffer mapping disabled.
    [21:23:03.352] INFO Buffer textures enabled.
    
    SXX likes this.
  7. gerii

    gerii Member

    Messages:
    90
    Likes Received:
    32
    Same here on Linux
    Code:
    [16:17:57.377] INFO OpenGL Vendor: NVIDIA Corporation
    [16:17:57.377] INFO OpenGL Renderer: GeForce GT 750M/PCIe/SSE2
    [16:17:57.377] INFO OpenGL Version: 3.1.0 NVIDIA 340.24
    [16:17:57.377] INFO OpenGL Shader Language Version: 1.40 NVIDIA via Cg compiler
    [16:17:57.377] INFO Vendor flag set to NVidia
    [16:17:57.380] INFO Gamma correct pipeline enabled.
    [16:17:57.380] INFO Ranged mapping enabled.
    [16:17:57.380] INFO Advanced instancing enabled.
    [16:17:57.380] INFO Advanced shader models disabled.
    [16:17:57.380] INFO Compute shaders enabled.
    [16:17:57.380] INFO Persistent buffer mapping disabled.
    [16:17:57.380] INFO Buffer textures enabled.
    
    SXX likes this.
  8. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    Now it's actually interesting. Looks like GL context creation work differently on different drivers. :eek:
    Or this just problem with output in log devs have to clarify, but I doubt it.

    PS: Would be pretty cool to see AMD Catalyst on Linux and Nvidia / AMD on Mac.
  9. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    For example some random log files before SDL update:
  10. Imsvale

    Imsvale Active Member

    Messages:
    139
    Likes Received:
    58
    Code:
    [17:11:28.374] INFO OpenGL Vendor: NVIDIA Corporation
    [17:11:28.374] INFO OpenGL Renderer: GeForce GTX 670/PCIe/SSE2
    [17:11:28.374] INFO OpenGL Version: 3.1.0
    [17:11:28.374] INFO OpenGL Shader Language Version: 1.40 NVIDIA via Cg compiler
    [17:11:28.374] INFO Vendor flag set to NVidia
    [17:11:28.374] INFO Gamma correct pipeline enabled.
    [17:11:28.374] INFO Ranged mapping enabled.
    [17:11:28.374] INFO Advanced instancing enabled.
    [17:11:28.374] INFO Advanced shader models disabled.
    [17:11:28.374] INFO Compute shaders enabled.
    [17:11:28.374] INFO Persistent buffer mapping enabled.
    [17:11:28.374] INFO Buffer textures enabled.
    Mine is identical to the one you already had (really identical, hehe). Windows 7, Nvidia drivers 337.88. Sooo, at least it's consistent. :p
    SXX likes this.
  11. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    OSX MacBook Pro Retina Late 2013 (MacBookPro11,3):

    Code:
    [03:14:01.197] INFO OpenGL Vendor: NVIDIA Corporation
    [03:14:01.197] INFO OpenGL Renderer: NVIDIA GeForce GT 750M OpenGL Engine
    [03:14:01.197] INFO OpenGL Version: 4.1 NVIDIA-8.26.26 310.40.45f01
    [03:14:01.197] INFO OpenGL Shader Language Version: 4.10
    [03:14:01.197] INFO Vendor flag set to NVidia
    [03:14:01.197] INFO Gamma correct pipeline enabled.
    [03:14:01.197] INFO Ranged mapping disabled
    [03:14:01.197] INFO Advanced instancing enabled.
    [03:14:01.197] INFO Advanced shader models enabled.
    [03:14:01.197] INFO Compute shaders disabled.
    [03:14:01.197] INFO Persistent buffer mapping disabled.
    [03:14:01.197] INFO Buffer textures enabled.
    SXX likes this.
  12. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    Thanks.

    So it's looks really interesting:
    • Linux open source drivers and Mac drivers create highest available core profile.
    • Nvidia drivers on Windows and Linux stick to 3.1 core profile which result in disabled "advanced shaders".
    • Intel drivers on Windows is stick to 3.1 core profile too.
    • AMD drivers on Windows create 3.1 Compatibility Profile, WTF WHY?
      So all features used because it's compatibility profile.
    So if this information is correct guys who stuck with 3.1 core profile might get performance loss. o_O
  13. SonicAndSmoke

    SonicAndSmoke New Member

    Messages:
    15
    Likes Received:
    4
    NV 340.43 Windows 8.1
    Code:
    [04:04:32.812] INFO OpenGL Vendor: NVIDIA Corporation
    [04:04:32.812] INFO OpenGL Renderer: GeForce GTX 670/PCIe/SSE2
    [04:04:32.812] INFO OpenGL Version: 3.1.0
    [04:04:32.812] INFO OpenGL Shader Language Version: 1.40 NVIDIA via Cg compiler
    [04:04:32.812] INFO Vendor flag set to NVidia
    [04:04:32.812] INFO Gamma correct pipeline enabled.
    [04:04:32.812] INFO Ranged mapping enabled.
    [04:04:32.812] INFO Advanced instancing enabled.
    [04:04:32.812] INFO Advanced shader models disabled.
    [04:04:32.812] INFO Compute shaders enabled.
    [04:04:32.812] INFO Persistent buffer mapping enabled.
    [04:04:32.812] INFO Buffer textures enabled.
    
    NV 340.24 Ubuntu 14.04
    Code:
    [21:54:18.612] INFO OpenGL Vendor: NVIDIA Corporation
    [21:54:18.612] INFO OpenGL Renderer: GeForce GTX 670/PCIe/SSE2
    [21:54:18.612] INFO OpenGL Version: 3.1.0 NVIDIA 340.24
    [21:54:18.612] INFO OpenGL Shader Language Version: 1.40 NVIDIA via Cg compiler
    [21:54:18.613] INFO Vendor flag set to NVidia
    [21:54:18.613] INFO Gamma correct pipeline enabled.
    [21:54:18.613] INFO Ranged mapping enabled.
    [21:54:18.613] INFO Advanced instancing enabled.
    [21:54:18.613] INFO Advanced shader models disabled.
    [21:54:18.613] INFO Compute shaders enabled.
    [21:54:18.613] INFO Persistent buffer mapping disabled.
    [21:54:18.613] INFO Buffer textures enabled.
    
    AMD 14.7 RC Windows 8.1
    Code:
    [04:48:29.547] INFO OpenGL Vendor: ATI Technologies Inc.
    [04:48:29.547] INFO OpenGL Renderer: AMD Radeon HD 6700 Series
    [04:48:29.547] INFO OpenGL Version: 3.1.12967 Compatibility Profile Context 14.200.1004.0
    [04:48:29.547] INFO OpenGL Shader Language Version: 4.40
    [04:48:29.547] INFO Vendor flag set to AMD/ATI
    [04:48:29.547] INFO Gamma correct pipeline enabled.
    [04:48:29.547] INFO Ranged mapping enabled.
    [04:48:29.547] INFO Advanced instancing enabled.
    [04:48:29.547] INFO Advanced shader models enabled.
    [04:48:29.547] INFO Compute shaders enabled.
    [04:48:29.547] INFO Persistent buffer mapping enabled.
    [04:48:29.547] INFO Buffer textures enabled.
    
    AMD 14.6 Ubuntu 14.04
    Code:
    [21:39:22.322] INFO OpenGL Vendor: ATI Technologies Inc.
    [21:39:22.322] INFO OpenGL Renderer: AMD Radeon HD 6700 Series
    [21:39:22.322] INFO OpenGL Version: 3.1.12967 Compatibility Profile Context 14.20
    [21:39:22.322] INFO OpenGL Shader Language Version: 4.40
    [21:39:22.322] INFO Vendor flag set to AMD/ATI
    [21:39:22.323] INFO Gamma correct pipeline enabled.
    [21:39:22.323] INFO Ranged mapping enabled.
    [21:39:22.323] INFO Advanced instancing enabled.
    [21:39:22.323] INFO Advanced shader models enabled.
    [21:39:22.323] INFO Compute shaders enabled.
    [21:39:22.323] INFO Persistent buffer mapping disabled.
    [21:39:22.323] INFO Buffer textures enabled.
    
    Last edited: July 26, 2014
    SXX likes this.
  14. sechastain

    sechastain Member

    Messages:
    84
    Likes Received:
    22
    Ubuntu 13.10

    Code:
    [16:24:25.550] INFO OpenGL Vendor: NVIDIA Corporation
    [16:24:25.550] INFO OpenGL Renderer: GeForce GT 640M/PCIe/SSE2
    [16:24:25.550] INFO OpenGL Version: 3.1.0 NVIDIA 319.32
    [16:24:25.550] INFO OpenGL Shader Language Version: 1.40 NVIDIA via Cg compiler
    [16:24:25.550] INFO Vendor flag set to NVidia
    [16:24:25.550] INFO Gamma correct pipeline enabled.
    [16:24:25.550] INFO Ranged mapping enabled.
    [16:24:25.550] INFO Advanced instancing enabled.
    [16:24:25.550] INFO Advanced shader models disabled.
    [16:24:25.550] INFO Compute shaders enabled.
    [16:24:25.550] INFO Persistent buffer mapping disabled.
    [16:24:25.550] INFO Buffer textures enabled.
    
    SXX likes this.
  15. bgolus

    bgolus Uber Alumni

    Messages:
    1,481
    Likes Received:
    2,298
    Curious. We dropped down to 3.1 from 3.2 as standard because of compatibility issues with some Linux and Mac systems. It is certainly unintended for 3.1 core to loose advanced shader model support.
  16. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    I was the guy who asked for this switch to 3.1 as minimal because both Intel Sandy Bridge on Windows and many Linux open source drivers (include one for Intel SNB) and mostly all out-of-box drivers (in latest distributions) lack OpenGL 3.2 support. E.g it's can be achieved with some additional effort, but out of box it's just don't work.

    As far as I understand SDL code request 3.1 core profile or above and it's pretty strange that on Windows it's create exactly 3.1 and not 4.4. On Windows It's worked properly after switch to 1.40 GLSL because context init code remain the same till SDL2 happen so it's looks like @jorgenpt will need to investigate this.

    I suppose nobody of Linux Nvidia users actually noticed that because even without advanced shader models driver work well enough. :D

    And other drivers didn't lose any functionality: Intel and other open just use 3.3 core profile and AMD Catalyst create some mess-like compatibility that have all features. AMD.... o_O
    Last edited: July 27, 2014
  17. ooshr32

    ooshr32 Active Member

    Messages:
    749
    Likes Received:
    141
    FYI - The FAQ still says 3.2.
    http://support.uberent.com/kb/faq.php?id=11
  18. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
  19. MCXplode

    MCXplode Active Member

    Messages:
    196
    Likes Received:
    28
    Getting a lot more errors on this build lxdm.log grows over 100MB

    Attached Files:

    SXX likes this.
  20. SXX

    SXX Post Master General

    Messages:
    6,897
    Likes Received:
    1,811
    Thanks! Yeah, looks like you have exactly same behaviour as other guy above:
    Code:
    OpenGL Vendor: ATI Technologies Inc.
    OpenGL Renderer: AMD Radeon HD 7700 Series
    OpenGL Version: 3.1.12874 Compatibility Profile Context 14.10.1006
    OpenGL Shader Language Version: 4.30
    Vendor flag set to AMD/ATI
    Gamma correct pipeline enabled.
    Ranged mapping enabled.
    Advanced instancing enabled.
    Advanced shader models enabled.
    Compute shaders enabled.
    Persistent buffer mapping disabled.
    Buffer textures enabled.
    Everything same except "Persistent buffer mapping" that disabled for Linux due to some Nvidia blob bugs. :mad:

    PS: WTF? Why does time missing in log? :eek:

Share This Page