Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9
-
None
-
Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 8.1.0 (clang-802.0.42) (Apple)) on "cocoa"
OS: macOS Sierra (10.12) [darwin version 16.5.0]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
Screens: 1, High DPI scaling: inactive
# 0 "iMac" Depth: 24 Primary: yes
Manufacturer:
Model:
Serial number:
Geometry: 2560x1440+0+0 Available: 2560x1343+0+23
Physical size: 596.55x335.56 mm Refresh: 60 Hz Power state: 0
Physical DPI: 109,109 Logical DPI: 72,72 Subpixel_RGB
DevicePixelRatio: 1 Pixel density: 1
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
LibGL Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce GTX 780M OpenGL Engine
Version: 2.1 NVIDIA-10.16.34 355.10.05.35f05
Shading language: 1.20
Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8 Depth buffer: -1 Stencil buffer: -1Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 8.1.0 (clang-802.0.42) (Apple)) on "cocoa" OS: macOS Sierra (10.12) [darwin version 16.5.0] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE Screens: 1, High DPI scaling: inactive # 0 "iMac" Depth: 24 Primary: yes Manufacturer: Model: Serial number: Geometry: 2560x1440+0+0 Available: 2560x1343+0+23 Physical size: 596.55x335.56 mm Refresh: 60 Hz Power state: 0 Physical DPI: 109,109 Logical DPI: 72,72 Subpixel_RGB DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 LibGL Vendor: NVIDIA Corporation Renderer: NVIDIA GeForce GTX 780M OpenGL Engine Version: 2.1 NVIDIA-10.16.34 355.10.05.35f05 Shading language: 1.20 Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8 Depth buffer: -1 Stencil buffer: -1
-
9883dca4714c82079d390da18d1e3ff36f29b5a7
Description
Using the "webenginewidgets/minimal" example, if I add this to the top of main():
QSurfaceFormat format; format.setVersion( 3, 2 ); format.setProfile( QSurfaceFormat::CoreProfile ); QSurfaceFormat::setDefaultFormat( format );
I get the following errors in the console when running the example:
[89072:52755:0505/121425.234697:ERROR:gl_context_cgl.cc(136)] Error creating context. [89072:52755:0505/121425.235515:ERROR:gl_context_cgl.cc(136)] Error creating context. [89072:52755:0505/121425.237231:ERROR:gl_context_cgl.cc(136)] Error creating context. [89072:52755:0505/121425.237695:ERROR:gl_context_cgl.cc(136)] Error creating context. GVA info: Successfully connected to the Intel plugin, offline Gen75
If I change the profile to to QSurfaceFormat::CompatibilityProfile, the errors go away.
(Incidentally, that "GVA Info:" is always output to the console.)
Attachments
For Gerrit Dashboard: QTBUG-60605 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
194924,3 | Add switch option for using OpenGL Core Profile in Chromium | 56-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
194925,9 | [macOS] Use the OpenGL CoreProfile when the global shared context does | 5.9 | qt/qtwebengine | Status: MERGED | +2 | 0 |
202668,4 | Add switch option for using OpenGL Core Profile in Chromium | 60-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
205426,3 | [macOS] Fix creation of shared OpenGL 3.2 Core contexts | 5.10 | qt/qtwebengine | Status: MERGED | +2 | 0 |