Bug 434462 - Weird horizontal lines in charts
Summary: Weird horizontal lines in charts
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kquickcharts
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.81.0
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: Arjen Hiemstra
URL:
Keywords:
: 469315 478123 479555 481213 482609 483249 483271 483484 483848 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-15 21:56 UTC by medin
Modified: 2024-04-17 20:17 UTC (History)
20 users (show)

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


Attachments
Weird horizontal lines in charts (128.21 KB, image/png)
2021-03-15 21:56 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-03-15 21:56:17 UTC
Created attachment 136712 [details]
Weird horizontal lines in charts

See attached image for more info.
Comment 1 Justin Zobel 2021-03-16 04:09:28 UTC
I've just tested this on git master and I'm unable to reproduce the issue.
Comment 2 David Redondo 2021-03-19 12:24:31 UTC
What kind of GPU are you using? It happens on my Intel iGPU so guessing it's a driver/hardware issue
Comment 3 medin 2021-03-19 12:47:19 UTC
(In reply to David Redondo from comment #2)
> What kind of GPU are you using? It happens on my Intel iGPU so guessing it's
> a driver/hardware issue

Me too, I use intel integrated graphics and modesetting driver. But KSysGuard charts and network/disk activity/cpu widgets and gnome disk benchmark and do not have this problem at all on same machine. Even some heavy JavaFX and Swing apps that display charts do not suffer from this problem.
Comment 4 medin 2021-04-29 11:06:11 UTC
This also happens on 5.81.0
Comment 5 Nate Graham 2021-05-20 14:10:39 UTC
Cannot reproduce on current git master. I vaguely recall a thing to fix this recently. Can you reproduce the issue in Frameworks 5.82, or even better, current git master?
Comment 6 medin 2021-05-20 14:17:32 UTC
With 5.82.0 the problem is still persistent.
Comment 7 Arjen Hiemstra 2021-05-21 09:31:39 UTC
This is a driver bug in the intel driver. One that may be fixed in a more recent version of the driver if I am understanding this correctly.
Comment 8 medin 2021-05-22 09:43:10 UTC
(In reply to Arjen Hiemstra from comment #7)
> This is a driver bug in the intel driver. One that may be fixed in a more
> recent version of the driver if I am understanding this correctly.

No, all other apps that have charts are not suffering from this problem, only the new monitor app is affected, so I don't think it's driver bug.
Comment 9 Ahmad Samir 2022-05-24 09:59:27 UTC
Just to be sure, are you using HiDPI scaling? (especially fractional scaling).
Comment 10 medin 2022-05-24 10:53:15 UTC
(In reply to Ahmad Samir from comment #9)
> Just to be sure, are you using HiDPI scaling? (especially fractional
> scaling).

I'm using 100% without any change.
Comment 11 Nate Graham 2023-12-13 17:04:39 UTC
*** Bug 478123 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2024-01-11 20:48:27 UTC
*** Bug 479555 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2024-02-08 19:47:49 UTC
*** Bug 469315 has been marked as a duplicate of this bug. ***
Comment 14 Arjen Hiemstra 2024-02-12 15:25:16 UTC
*** Bug 481213 has been marked as a duplicate of this bug. ***
Comment 15 Arjen Hiemstra 2024-02-26 13:45:53 UTC
Git commit 3e2b4d1d5114b685e958cac3d5d511cf68718a02 by Arjen Hiemstra.
Committed on 23/02/2024 at 12:10.
Pushed by ahiemstra into branch 'master'.

linechart: Use fwidth of the point instead of sdf to avoid conditional fwidth

Apparently fwidth in conditional contexts can cause glitches, so use
fwidth() of the point instead as that is not conditional.

M  +4    -3    src/shaders/linechart.frag

https://invent.kde.org/frameworks/kquickcharts/-/commit/3e2b4d1d5114b685e958cac3d5d511cf68718a02
Comment 16 Nate Graham 2024-03-07 18:11:22 UTC
*** Bug 482609 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2024-03-11 18:51:10 UTC
*** Bug 483271 has been marked as a duplicate of this bug. ***
Comment 18 Nate Graham 2024-03-11 19:16:58 UTC
*** Bug 483249 has been marked as a duplicate of this bug. ***
Comment 19 Arjen Hiemstra 2024-03-14 09:25:03 UTC
*** Bug 483484 has been marked as a duplicate of this bug. ***
Comment 20 Arjen Hiemstra 2024-03-18 10:09:56 UTC
*** Bug 483848 has been marked as a duplicate of this bug. ***
Comment 21 Ovear 2024-03-18 11:29:04 UTC
Hi,

I encountered this problem after upgrading to KDE Plasma 6 too.

Operating System: EndeavourOS 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9500T CPU @ 2.20GHz
Memory: 62.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 22 medin 2024-04-17 20:17:39 UTC
Fixed with:

Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-MANJARO (64-bit)
Graphics Platform: Wayland