GLMakie: line segments missing in plot of large data set

Hello,
in plots of large data sets with GLMakie some line segments are missing. This behaviour started from version 0.13.0. I reduced it to the following example:

using GLMakie

# generating data
Δt = 0.02
t_max = 100000.0
t = 0.0:Δt:t_max
f = sin.(2 * π * t)

# plotting data
fig = Figure()
ax = Axis(fig[1,1])
lines!(ax, t, f)
xlims!(ax, t[end] - 1, t[end])
display(fig)

For version 0.13.0 and onwards the resulting figure looks like this:

Whereas, for version 0.12.0 the resulting figure looks normal:

It would be interesting if anyone has observed similar effects or can reproduce this bug on other hardware. I am using the integrated graphics of a AMD 7950X CPU.

Hi,

I cannot reproduce this (i.e. I get the bottom figure) using GLMakie v0.13.3, Julia 1.11.5, an intel i7-7700K CPU, RTX 3070 GPU, and Windows 11.

Maybe related to

?

It seems to be the same issue. Good to know that there is already a pull request. Thanks for sharing this!

I do see something similar using GLMakie v0.13.4.

julia> versioninfo()
Julia Version 1.11.6
Commit 9615af0f26 (2025-07-09 12:58 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × 11th Gen Intel(R) Core™ i7-1185G7 @ 3.00GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, tigerlake)
Threads: 4 default, 0 interactive, 2 GC (on 8 virtual cores)
Environment:
JULIA_EDITOR = code
JULIA_VSCODE_REPL = 1
JULIA_NUM_THREADS = 4

Thanks for testing on your hardware. This issue seems to hardware dependent. Let’s see if the pull request fixes it.