[Linux] Odd OpenGL version string in log on optimus laptop
I'm running doomsday on optimus laptop with prime render offload provided by latest nvidia drivers. When I run glxinfo with and without prime offload it gives me different OpenGL versions as it should:
Without offloat (integrated graphics): Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) Ivybridge Mobile (0x166)
Version: 19.2.6
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.2
Max compat profile version: 3.0
With offload (nvidia):
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 740M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 440.36
And here's what doomsday shows in log when I run it on nvidia:
Version: 3.3.0 NVIDIA 440.36
Renderer: GeForce GT 740M/PCIe/SSE2
Vendor: NVIDIA corporation
There's a version mismatch between glxinfo and doomsday, but it causes no problems whatsoever, no performance drops or something. Is it because doomsday specifically requests version 3.3 or is it a problem with my configuration?
Without offloat (integrated graphics): Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) Ivybridge Mobile (0x166)
Version: 19.2.6
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.2
Max compat profile version: 3.0
With offload (nvidia):
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 740M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 440.36
And here's what doomsday shows in log when I run it on nvidia:
Version: 3.3.0 NVIDIA 440.36
Renderer: GeForce GT 740M/PCIe/SSE2
Vendor: NVIDIA corporation
There's a version mismatch between glxinfo and doomsday, but it causes no problems whatsoever, no performance drops or something. Is it because doomsday specifically requests version 3.3 or is it a problem with my configuration?
Comments
OpenGL versions only affect the feature set that is exposed to the application, so it will not affect performance.