D12003: Fix displaying OpenGL info on wayland: do not require OpenGL 3.2

Alexey Min noreply at phabricator.kde.org
Sat Apr 7 00:00:13 UTC 2018


alexeymin added a comment.


  On wayland, without this patch with OpenGL 3.2 version requested, it fails with error: 
  F5796592: wayland before.png <https://phabricator.kde.org/F5796592>
  and outputs in terminal:
  
    Could not get requested OpenGL profile, requested QSurfaceFormat::OpenGLContextProfile(CoreProfile) got QSurfaceFormat::OpenGLContextProfile(NoProfile)
    Could not get requested OpenGL profile, requested QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile) got QSurfaceFormat::OpenGLContextProfile(NoProfile)
  
  With this fix, it loads, and shows that opengl version is only 2.1:
  F5796598: wayland after.png <https://phabricator.kde.org/F5796598>
  
  With this fix, on X11:
  F5796603: kinfocenter X11 after.png <https://phabricator.kde.org/F5796603>
  
  This code in kinfocenter was added 4 years ago in commit: https://cgit.kde.org/kinfocenter.git/commit/?id=dc62d965ff21c9840b3284acbb91f7b44bd9e394 from review: https://git.reviewboard.kde.org/r/115952/ but I don't understand why 3.2 is required. :)

REPOSITORY
  R102 KInfoCenter

REVISION DETAIL
  https://phabricator.kde.org/D12003

To: alexeymin
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180407/1834e5a5/attachment.html>


More information about the Plasma-devel mailing list