Bug 482988 - With intel iGPU, Charts are empty
Summary: With intel iGPU, Charts are empty
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kquickcharts
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.0.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Arjen Hiemstra
URL:
Keywords: qt6
: 483854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-09 14:47 UTC by medin
Modified: 2024-04-17 20:04 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: Frameworks 6.1


Attachments
With intel iGPU, Charts are empty (176.97 KB, image/png)
2024-03-09 14:47 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2024-03-09 14:47:21 UTC
Created attachment 166796 [details]
With intel iGPU, Charts are empty

After launching system monitor, all charts appear empty. See attached image for more info.

Running it from terminal show the following lines:

No GLSL shader code found (versions tried:  QList(120) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(0 Version(100 QFlags()) 0), ShaderKey(1 Version(130 QFlags()) 0), ShaderKey(1 Version(300 QFlags(0x1)) 0), ShaderKey(2 Version(50 QFlags()) 0), ShaderKey(4 Version(12 QFlags()) 0)) desc.isValid=true)
No GLSL shader code found (versions tried:  QList(120) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(0 Version(100 QFlags()) 0), ShaderKey(0 Version(100 QFlags()) 1), ShaderKey(1 Version(130 QFlags()) 0), ShaderKey(1 Version(130 QFlags()) 1), ShaderKey(1 Version(300 QFlags(0x1)) 0), ShaderKey(1 Version(300 QFlags(0x1)) 1), ShaderKey(2 Version(50 QFlags()) 0), ShaderKey(2 Version(50 QFlags()) 1), ShaderKey(4 Version(12 QFlags()) 0), ShaderKey(4 Version(12 QFlags()) 1)) desc.isValid=true)
Failed to build graphics pipeline state



Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-1-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-03-11 22:44:35 UTC
What specific Intel GPU hardware are you using? What CPU generation?
Comment 2 medin 2024-03-12 21:18:07 UTC
(In reply to Nate Graham from comment #1)
> What specific Intel GPU hardware are you using? What CPU generation?


I retested both with Manjaro and KDE Neon User Edition.


Manjaro (fully updated/unstable branch): Plasma 6.0.1/Wayland
Intel T4400: curves in charts don't appear.
Intel i3-5005U: curves in charts don't appear.
Intel i3-1115G3: curves in charts appear with bug434462 present but less aggressive.


KDE Neon (live session/neon-user-20240307-0714.0.iso): Plasma 6.0.0/Wayland
Intel T4400: curves in charts don't appear.
Intel i3-5005U: curves in charts appear with bug434462 present but much aggressive.
Intel i3-1115G3: curves in charts appear with bug434462 present but less aggressive.

It seems that Qt chart library is relying on something only present in new intel CPUs.
https://doc-snapshots.qt.io/qt6-dev/qtquick-visualcanvas-adaptations.html
Comment 3 medin 2024-03-12 21:23:22 UTC
NB: On Plasma 5.27.10, the curves were correctly appearing on the 3 laptops (Intel T4400, 3-5005U and i3-1115G3) running Manjaro with slight distortion coming from bug434462.
Comment 4 Bug Janitor Service 2024-03-13 11:08:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kquickcharts/-/merge_requests/74
Comment 5 Arjen Hiemstra 2024-03-15 21:15:28 UTC
Git commit f6c29f395ecfab908a3a1389cee524b5067ddb06 by Arjen Hiemstra.
Committed on 13/03/2024 at 11:08.
Pushed by cullmann into branch 'master'.

Generate default set of GLSL shaders

If we do not specify versions, the default of `100es,120,150` is used
which is what QtQuick itself uses. To make sure we match that, remove
any manually specified shader version for GLSL generation.

This requires a minor modification to the Pie chart shader as GLES 100
GLSL doesn't support booleans.

M  +0    -1    src/CMakeLists.txt
M  +1    -1    src/scenegraph/PieChartMaterial.cpp
M  +2    -2    src/shaders/piechart.frag
M  +1    -1    src/shaders/piechart.vert

https://invent.kde.org/frameworks/kquickcharts/-/commit/f6c29f395ecfab908a3a1389cee524b5067ddb06
Comment 6 Arjen Hiemstra 2024-03-18 10:10:41 UTC
*** Bug 483854 has been marked as a duplicate of this bug. ***
Comment 7 medin 2024-04-17 20:04:52 UTC
I confirm, it's fixed on my affected laptops.