View Single Post
Old 06-30-2017, 01:30 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,449
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is some incompatibility between Qt 5.6 which calibre 3 uses and your X server. Basically, Qt for some reason gets the wrong/missing DPI information for the screen, which in trun causes it to use absurd/negative sizes for windows, and that causes those errors.

Unfortunately, I know of no way to find the root cause of this. If I had to guess, I'd say it is related to the new high DPI support in Qt. You can running calibre like this, it might work:

QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1 calibre
kovidgoyal is offline   Reply With Quote