Using viking-maps to generate an large image file

I am trying to generate a large openstreetmap map with viking but I can only generate it at 8000x8000 px, although I can put a larger number this does not work because it only generates a white image with black lines diagonally.

I have seen here:

the limit is 50000 x 50000, but this fails. Any solution? I’m on gentoo so maybe it’s some missing dependency but I can’t find anything out of place, I have vinking-maps 1.10
Thank you.