<table><tr><td style="">alexeymin added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12003">View Revision</a></tr></table><br /><div><div><p>On wayland, without this patch with OpenGL 3.2 version requested, it fails with error: <br />
<a href="https://phabricator.kde.org/F5796592" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5796592: wayland before.png</a><br />
and outputs in terminal:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">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)</pre></div>

<p>With this fix, it loads, and shows that opengl version is only 2.1:<br />
<a href="https://phabricator.kde.org/F5796598" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5796598: wayland after.png</a></p>

<p>With this fix, on X11:<br />
<a href="https://phabricator.kde.org/F5796603" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5796603: kinfocenter X11 after.png</a></p>

<p>This code in kinfocenter was added 4 years ago in commit: <a href="https://cgit.kde.org/kinfocenter.git/commit/?id=dc62d965ff21c9840b3284acbb91f7b44bd9e394" class="remarkup-link" target="_blank" rel="noreferrer">https://cgit.kde.org/kinfocenter.git/commit/?id=dc62d965ff21c9840b3284acbb91f7b44bd9e394</a> from review: <a href="https://git.reviewboard.kde.org/r/115952/" class="remarkup-link" target="_blank" rel="noreferrer">https://git.reviewboard.kde.org/r/115952/</a> but I don't understand why 3.2 is required. :)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R102 KInfoCenter</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12003">https://phabricator.kde.org/D12003</a></div></div><br /><div><strong>To: </strong>alexeymin<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>