Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2020, 01:21 AM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
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.
ownedbycats is online now   Reply With Quote
Old 02-08-2020, 01:23 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: 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.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-08-2020, 01:45 AM   #3
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,625
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thank you
ownedbycats is online now   Reply With Quote
Old 02-08-2020, 08:52 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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:
Originally Posted by ownedbycats View Post
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.
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.
DNSB is offline   Reply With Quote
Old 02-10-2020, 08:29 PM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,625
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by DNSB View Post
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.
I've been looking at alternatives, honestly, especially since FRAPS doesn't work too great with some newer games that use different rendering modes (e.g. Vulkan).
ownedbycats is online now   Reply With Quote
Advert
Old 02-26-2020, 11:15 PM   #6
Kuram
Enthusiast
Kuram began at the beginning.
 
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.
Kuram is offline   Reply With Quote
Old 03-09-2020, 01:22 PM   #7
Kuram
Enthusiast
Kuram began at the beginning.
 
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.
Kuram is offline   Reply With Quote
Old 03-09-2020, 01:27 PM   #8
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: 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
kovidgoyal is offline   Reply With Quote
Old 03-09-2020, 04:44 PM   #9
Kuram
Enthusiast
Kuram began at the beginning.
 
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.
Kuram is offline   Reply With Quote
Old 03-09-2020, 05:16 PM   #10
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by Kuram View Post
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.
Kovid linked the info above: https://doc.qt.io/qt-5/qtwebengine-debugging.html

The environment variable you want is:

QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
sjfan is offline   Reply With Quote
Old 03-09-2020, 06:02 PM   #11
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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:
Originally Posted by sjfan View Post
Kovid linked the info above: https://doc.qt.io/qt-5/qtwebengine-debugging.html

The environment variable you want is:

QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
Not sure if this works but from the referenced web page, it appears possible that you could use:

QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" ebook-viewer

to disable using the GPU only for the calibre's ebook viewer.
DNSB is offline   Reply With Quote
Old 03-09-2020, 10:14 PM   #12
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by DNSB View Post
Not sure if this works but from the referenced web page, it appears possible that you could use:

QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" ebook-viewer

to disable using the GPU only for the calibre's ebook viewer.
That'd work if you were running the ebook viewer from a command line shell, which he probably isn't.

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).
sjfan is offline   Reply With Quote
Old 03-10-2020, 03:49 PM   #13
Kuram
Enthusiast
Kuram began at the beginning.
 
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?
.
Kuram is offline   Reply With Quote
Old 03-10-2020, 03:53 PM   #14
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by Kuram View Post
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?
.

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.
sjfan is offline   Reply With Quote
Old 03-10-2020, 05:59 PM   #15
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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:
Originally Posted by sjfan View Post
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.
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!
DNSB is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:24 AM.


MobileRead.com is a privately owned, operated and funded community.