Created attachment 304289 [details] trace.data and screenshot It seem that kernelshark 2.2.0 does not display graph correctly. For example no text or scales are visible, only vertical bars. In the attachment `trace.dat` and screenshot for it. We have it compiled with Qt 5.15.9. Additional screenshot at the link https://attachments.bugzilla.altlinux.org/attachment.cgi?id=13217 for easy viewing.
It's may be possible to reproduce in Docker: When `trace.dat` is in `$PWD/ks/` ``` $ docker run --rm --net=host -it -e DISPLAY --volume="$HOME/.Xauthority:/root/.Xauthority:rw" -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD/ks:/ks alt:sisyphus ``` Then ``` docker# apt-get install -y kernelshark xorg-dri-swrast xorg-dri-intel fonts-ttf-dejavu docker# cd /ks docker# kernelshark ```
Hi Vitaly, Unfortunately I am unable to reproduce the problem on my machine. Nevertheless, I'v been seeing something similar before. See: https://bugzilla.kernel.org/show_bug.cgi?id=203871 At the end the conclusion was that the problems disappears after building Qt from sources instead of using the distro package. You can also try doing the debugging steps suggested in comment 34. thanks! Y.
Thanks that link is really helpful! I am building kernelshark package for ALT Linux so rebuilding Qt from the source is not solution from me. It seems that Tzvetomir Stoyanov suggested right thing about missing `FreeSans.ttf`. After I installed `fonts-ttf-freefont` problem is resolved itself, so I will add it to dependencies. Thanks much again!