Re: Kernelshark v2 all-black plots area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Solomon,

There are few things you can do.
The way KernelShark build finds the font file is by running the following command in a shell:

fc-list FreeSans |grep FreeSans.ttf | cut -d':' -f 1 -z

So run the same command in a terminal and try to figure out why it fails.
If it fails because the 'FreeSans.ttf' does not exist, you can manually provide a path to some other font file to be used.

cd kernel-shark/build
./cmake_clean.sh
cmake -DTT_FONT_FILE=/path/to/some/font/YourFont.ttf ..

Please let me know if this works.
Thanks!
Yordan


On 20.04.22 г. 3:38 ч., Solomon Tan wrote:
On Tue, Feb 09, 2021 at 03:06:14PM +0200, Yordan Karadzhov (VMware) wrote:

Hi Yordan!

I have the same issue of an all-black plots area.

Ciao Dario,

There is a bug in one of the patches from the last patch-set I sent. This
bug was reported by Tzvetomir. My guess is that you are hitting the same
issue. If this is the case you must also have an error message saying
"Unable to find FreeSans font".

I have the same error message. I tried installing the `gnu-free-fonts`
package on Arch, but it does not get rid of the error.

You can manually do the fix suggested by Tzvetomir (see his reply to [PATCH
15/24] kernel-shark: Update KsDualMarker and KsGLWidget) or just get a
corrected (rebased) version of the code from
https://github.com/yordan-karadzhov/kernel-shark-v2.beta

I tried installing from your github repo, but the same error still
shows. I have all other dependencies installed. FreeSans is the only
complaint from the cmake .. command. Is there another potential fix I
could try?


Please let me know if this fixes your issue.
Thank you very much for testing and reporting!

Best
Yordan

Thank you!
Cheers,
Solomon



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux