02-08-2020, 01:21 AM | #1 |
Custom User Title
Posts: 8,625
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Any way to disable hardware rendering in the new reader?
The new Calibre reader apparently uses some kind of hardware rendering/acceleration, which results in FRAPS hooking into it and a giant FPS counter in the top right corner. A bit distracting, that.
Rather not turn off FRAPS or the counter overlay entirely as I like to read while waiting for games to load. No way to disable it per-application. Is there some option I missed to disable hardware rendering in the reader? Thanks in advance. |
02-08-2020, 01:23 AM | #2 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
https://doc.qt.io/qt-5/qtwebengine-debugging.html
use --disable-gpu via the environment variable as described there. |
Advert | |
|
02-08-2020, 01:45 AM | #3 |
Custom User Title
Posts: 8,625
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you
|
02-08-2020, 08:52 PM | #4 |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Given that the latest version of FRAPS is ~6 years old, might it be time to give it a decent burial? I seem to remember my son deep-sixing it when he moved to Windows 8.1 in early 2014 though I'm not sure if that was due to incompatibilities with his new computer or just not wanting it anymore.
|
02-10-2020, 08:29 PM | #5 | |
Custom User Title
Posts: 8,625
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
Advert | |
|
02-26-2020, 11:15 PM | #6 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
How or where exactly do you apply this environment variable? I find myself needing to disable acceleration as well, though for me it's because g-sync causes havoc and makes my screen flicker when I'm trying to read due to the low refresh rate. Not a pleasant experience.
As for the question about fraps, if you use it for video recording, consider shadowplay through geforce experience if you have an nvidia gpu. If you use it for a framerate counter, rivatuner works great. |
03-09-2020, 01:22 PM | #7 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
Bumping this up. I've tried editing the path environment but that didn't do anything for me. I'm at a loss as to where I actually apply this environment variable.
|
03-09-2020, 01:27 PM | #8 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A quick google will tell you how to set environment variables in windows. Or read the bottom of https://manual.calibre-ebook.com/cus...ment-variables
|
03-09-2020, 04:44 PM | #9 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
Right, I've read those, but maybe I'm missing a step or piece of info in between everything because I am not sure what to put. Assuming I need a specific name that I dont know that calibre checks? And then --disable-gpu is the value? I don't want to disable all hardware acceleration, only that for calibre's reader.
|
03-09-2020, 05:16 PM | #10 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
The environment variable you want is: QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" |
|
03-09-2020, 06:02 PM | #11 | |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" ebook-viewer to disable using the GPU only for the calibre's ebook viewer. |
|
03-09-2020, 10:14 PM | #12 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
The environment variable itself is what you need to set wherever Kuram's OS stores those things (https://www.computerhope.com/issues/ch000549.htm if it's some version of Windows). If you really want to have it affect only the ebook-viewer and not other QTWEBENGINE_CHROMIUM programs, you could make a batch file that sets it and runs ebook-viewer and set that as your default program to open epubs. It's fairly unlikely he's got any other QTWEBENGINE_CHROMIUM programs installed other than calibre, though, so that's probably overkill (especially since he's having trouble just setting the environment variable). |
|
03-10-2020, 03:49 PM | #13 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
Well I don't know what else is qtwebengine_chromium so I can't say for certain. The viewer is already my default, but you're correct I typically just open books through calibre itself. This is my first time fiddling with environment variables so yes it's pretty new to me, I wouldn't consider myself a power user in any form (win10)
So does this make sense? Or the value has to be true? Or something else still flying over my head? . |
03-10-2020, 03:53 PM | #14 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
Variable name should be QTWEBENGINE_CHROMIUM_FLAGS. Variable value should be --disable-gpu. You don't need the "ebook-viewer" there; that's from an example of running the viewer from the commandline. |
|
03-10-2020, 05:59 PM | #15 |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Which is where I quite often run the ebook viewer from. You mean everyone else doesn't use calibre and it's bits and pieces the same way I do? Shock and horror!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hardware Disable Wifi | knc1 | Kindle Developer's Corner | 0 | 12-25-2016 09:09 AM |
Onyx T68: How to easily disable the frontlight hardware physically (Small tutorial) | cicabum | Onyx Boox | 4 | 08-18-2016 03:38 AM |
Sony Reader for PC -- not rendering 16-color png | GrannyGrump | Workshop | 27 | 10-16-2013 03:25 PM |
mobipocket creator/reader rendering jpegs poorly... | rayted32 | Kindle Formats | 0 | 06-12-2012 07:13 PM |
About eBook reader devices rendering engine | bercago | News | 3 | 10-01-2009 11:11 PM |