Removing the requirement of 3.2 version just fixes it for my AMD RX560 on amdgpu opensource driver, which only has 2.1 version.
Details
Details
- Reviewers
graesslin davidedmundson - Group Reviewers
Plasma - Commits
- R102:702c7ca86e94: Fix displaying OpenGL info on wayland: do not require OpenGL 3.2
Run kinfocenter, choose Graphical information - OpenGL tab. It should open without errors.
Diff Detail
Diff Detail
- Repository
- R102 KInfoCenter
- Branch
- fix_wayland_opengl
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
and outputs in terminal:
On wayland, without this patch with OpenGL 3.2 version requested, it fails with error:
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:
With this fix, on X11:
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. :)