06-27-2017, 01:39 PM | #16 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Code:
$ calibre-debug -g calibre 3.1.1 embedded-python: True is64bit: True Linux-4.8.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF') ('Linux', '4.8.0-54-generic', '#57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017') Python 2.7.12 Linux: ('debian', 'stretch/sid', '') Interface language: None Successfully initialized third party plugins: Quality Check (1, 9, 11) && Barnes & Noble (1, 2, 14) && Import List (1, 1, 5) && Quick Preferences (1, 4, 1) && FictionDB (1, 0, 10) && Consolidate All Library Metadata (2, 0, 29) && Find Duplicates (1, 6, 2) && NormComment (0, 0, 2) && Webscription (1, 1, 0) && Resize Cover (1, 0, 2) && Databazeknih (1, 4, 0) && Modify ePub (1, 3, 13) && Reading List (1, 6, 6) && Goodreads (1, 1, 12) && Diaps Editing Toolbag (0, 3, 4) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: inf x inf physicalDpi: -49587349.6902 x -87694669.8701 Using calibre Qt style: True Starting up... |
|
06-27-2017, 02:11 PM | #17 |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
I want to try setting the CALIBRE_USE_SYSTEM_THEME environmental variable as a test to see if that will work with Calibre 3.1.1. I realize it may cause other problems, but I think it may be worth a shot. I have a system backup...just in case you know!
I am totally confused about where in Mint 18.1 to actually set that variable. I looked in /etc/profiles, ~/.bashrc and others but no nice, pretty entry that says: "Set ENV here"! Ideas? |
06-27-2017, 02:20 PM | #18 | |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Quote:
# env CALIBRE_USE_SYSTEM_THEME=1 calibre |
|
06-27-2017, 02:35 PM | #19 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Anyway, I have an "isolated" version of 3.1.1 set up in the ~/calibre-bin folder. Using that ENV, here is what I got: Code:
~/calibre-bin/calibre $ env CALIBRE_USE_SYSTEM_THEME=1 ~/calibre-bin/calibre/calibre-debug -g calibre 3.1.1 embedded-python: True is64bit: True Linux-4.8.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF') ('Linux', '4.8.0-54-generic', '#57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017') Python 2.7.12 Linux: ('debian', 'stretch/sid', '') Interface language: None Successfully initialized third party plugins: Consolidate All Library Metadata (2, 0, 29) && FictionDB (1, 0, 10) && Barnes & Noble (1, 2, 14) && NormComment (0, 0, 2) && Diaps Editing Toolbag (0, 3, 4) && Goodreads (1, 1, 12) && Quality Check (1, 9, 11) && Databazeknih (1, 4, 0) && Find Duplicates (1, 6, 2) && Webscription (1, 1, 0) && Resize Cover (1, 0, 2) && Quick Preferences (1, 4, 1) && Reading List (1, 6, 6) && Import List (1, 1, 5) && Modify ePub (1, 3, 13) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: inf x inf physicalDpi: -49587349.6902 x -87694669.8701 Using calibre Qt style: False Starting up... Looks like I am going to be stuck with 2.85 for a while, LoL. |
|
06-27-2017, 02:35 PM | #20 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See the lines
logicalDpi: inf x inf physicalDpi: -49587349.6902 x -87694669.8701 in the debug output. They indicate Qt is not able to read the correct monitor size/resolution from the X server. I think that is the underlying reason for the problems. Unfortunately, I have no idea how to resolve it. I dont think using the system theme will make a difference as the monitor data is read before the theme comes into play. Last edited by kovidgoyal; 06-27-2017 at 02:38 PM. |
06-27-2017, 03:12 PM | #21 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Thanks for the help! |
|
06-27-2017, 03:51 PM | #22 | ||
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
You may jest need to reinstall your nvidia drivers. Quote:
bernie |
||
06-27-2017, 07:17 PM | #23 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Well, it was worth a shot but one of the selections screwed the pooch...
Quote:
So, I went for the #1 setting. It did not change anything with or without the ENV setting changed. Then dropped down to #4. No change their either. So, WTF, tried that old legacy driver. That brought me up to a black screen. Some research on my laptop led me to change the grub setting to "nomodeset". That got me video, but I had no mouse control over any of the panel and/or menu items. The desktop itself appeared ok, so I was able to use the folders I had on the desktop to get to "terminal mode" and do some stuff. But still nothing I did got 3.1.1 to run. So now I am back with #1 nvidia driver. For whatever reason, now #2 will not work anymore. And I have all those system startup processes running through the screen before the nvidia driver kicks in. I think that is probably because grub is now bonked, but not sure. Anyway, thanks for the tip, but no change. |
|
10-20-2017, 02:18 AM | #24 | |
Junior Member
Posts: 2
Karma: 78
Join Date: Oct 2017
Device: ipad2
|
I'm not sure if I need to open a new discussion for this matter so I'll reply here.
I'm using openSUSE Leap 42.3 GNOME in a HP laptop and calibre 3.9 runs fine, but if I connect a LED TV that I use as a monitor using HDMI and try to run calibre then it fails showing all the errors posted in #1. Disconnecting the TV an using the integrated screen works fine again. Because I almost use exclusively my laptop connected to the TV, I did not wanted to run calibre in the terminal using Quote:
For my surprise, calibre now runs using the TV connected via HDMI and the launcher, so now I don't need to run it from terminal setting variables. It worked for me, so maybe it can work for you. I don't know why it worked but I'm happy again |
|
10-20-2017, 09:01 AM | #25 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
You the man!! That worked for me as well. I had even put in a newer graphics card (still nVidia tho) and no change. So had been stuck with Calibre 2.85. This old version did not have those settings of course. I still get a couple warnings when I start V3.10: Code:
libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile |
|
10-20-2017, 09:07 AM | #26 |
Junior Member
Posts: 2
Karma: 78
Join Date: Oct 2017
Device: ipad2
|
I'm glad it worked for you too!!!
|
11-04-2017, 06:43 PM | #27 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2012
Location: Portugal
Device: Kobo Clara HD
|
Thanks invisuu.
It worked for me too. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre and Linux Mint 18.0 | enuddleyarbl | Calibre | 9 | 07-23-2016 08:17 PM |
Calibre on Linux Mint | kjetil1001 | Calibre | 1 | 01-09-2015 03:46 PM |
Linux Mint, iPhone 4 and Calibre | ertpresso | Devices | 6 | 03-30-2012 05:38 AM |
Calibre in Linux mint | Cy1clown | Calibre | 6 | 05-18-2011 02:16 PM |
Calibre can't see prs350 on linux mint | domromer | Calibre | 2 | 11-24-2010 01:57 PM |