View Single Post
Old 02-12-2025, 05:23 AM   #7
ibiza666
Member
ibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with othersibiza666 plays well with others
 
Posts: 16
Karma: 2926
Join Date: Dec 2010
Device: Kindle Keyboard, Voyage, Tolino Vision HD3, PBTouch HD3
Quote:
Originally Posted by Frenzie View Post
You could see if there's an updated firmware version that helps, and otherwise it should work if you change the device definition to hasColorScreen=no.
I think I am on the latest firmware. However most probably Pocketbook does not serve any new FWs for this old device anymore. I Stand corrected, you can download the fw here: https://download.pocketbook-int.com/...riton_user.zip
However it is an older Version, than I have right now and it won't update.

The latest Koreader which is working "better" than 2018.12 is v2019.03.1. After that Koreader ain't gonna start or create a crash.log.

I'll try hasColorScreen=no, however this is not ideal^^
Edit:
Just tested hasColorScreen=no. It works as expected
(however, crashes when opening the top Menu, with touch. Button works -.-
I think this device is flawed)
now it is working...

Koreaders Fileexplorer on the otherhand does use colours nonetheless and works.
How is the Framebuffer handling different between fileexplorer an Reader?

-----
Ok Ok. After changing canHWDither from yes to no color is working again. However I am unable to open the top Menu (with button or touch)
Spoiler:
Code:
---------------------------------------------
                launching...
  _  _____  ____                _
 | |/ / _ \|  _ \ ___  __ _  __| | ___ _ __
 | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__|
 | . \ |_| |  _ <  __/ (_| | (_| |  __/ |
 |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|

 It's a scroll... It's a codex... It's KOReader!
[*] Current time: 02/12/25-13:52:52
has monolibtic? no (libs/libkoreader-monolibtic.so: cannot open shared object file: No such file or directory)
lib_search_path: libs/?
lib_basic_format: lib%s.so
lib_version_format: lib%s.so.%s[*] Version: v2024.11

ffi.load: rt.so.1 (RTLD_GLOBAL)
ffi.findlib: utf8proc [3]
ffi.load: libs/libutf8proc.so.3
ffi.findlib: blitbuffer
ffi.load: libs/libblitbuffer.so
ffi.load: inkview
02/12/25-13:52:52 INFO  SoftwareVersion:  E801.4.1.916 
ffi.load: inkview
----------------> USING A2PLUS MODE <-----------------
ts: loading default calibration values
ffi.load: librt.so
ffi.load: inkview
ffi.findlib: inkview-compat
ffi.load: libs/libinkview-compat.so
ffi.load: inkview
02/12/25-13:52:53 INFO  initializing for device PBColorLux 
02/12/25-13:52:53 INFO  framebuffer resolution: {
  h = 800,
  w = 600
} --[[table: 0x2acc7d08]] 
ffi.findlib: wrap-mupdf
ffi.load: libs/libwrap-mupdf.so
ffi.findlib: sqlite3 [0]
ffi.load: libs/libsqlite3.so.0
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
02/12/25-13:52:54 INFO  opening file /mnt/ext2/01 - Teslas unvorstellbar geniales und verbluffend katastrophales Vermachtnis.epub 
CRE: font Symbol Std regular: updated weight from 500 to 400
CRE: font Courier Std regular: updated weight from 500 to 400
CRE: font Courier Std regular italic: updated weight from 500 to 400
02/12/25-13:52:55 INFO  Inhibiting user input 
02/12/25-13:52:55 INFO  Loading plugins from directory: plugins 
02/12/25-13:52:57 INFO  Restoring user input handling 
./luajit: ./ffi/framebuffer_pocketbook.lua:37: /usr/lib/libinkview.so: undefined symbol: PartialUpdateHQ
stack traceback:
	[C]: in function '__index'
	./ffi/framebuffer_pocketbook.lua:37: in function '_updatePartial'
	./ffi/framebuffer_pocketbook.lua:143: in function <./ffi/framebuffer_pocketbook.lua:142>
	frontend/ui/uimanager.lua:1307: in function '_repaint'
	frontend/ui/uimanager.lua:1482: in function 'handleInput'
	frontend/ui/uimanager.lua:1582: in function 'run'
	./reader.lua:242: in main chunk
	[C]: at 0x00013f51
Segmentation fault
!!!!
Uh oh, something went awry... (Crash n°1: 02/12/25 @ 13:53:01)
Attempting to restart KOReader . . .
!!!!

-----
edit 301:
undefined symbol: PartialUpdateHQ gave a hint, and looking through the code I changed it to the following:
/applications/koreader/ffi/framebuffer_pocketbook.lua Line 36-40
Code:
if fb.device.hasColorScreen() and hq then
        inkview.PartialUpdateHQ(x, y, w, h)
    else
        inkview.PartialUpdate(x, y, w, h)
    end
quick and dirty to
Code:
if fb.device.hasColorScreen() and hq then
        inkview.PartialUpdate(x, y, w, h)
    else
        inkview.PartialUpdate(x, y, w, h)
    end
Now the Menu is working, I'll test it further.

There is inkview.FullUpdateHQ() also. I think this is doing a fullscreen Update e.g. after 6 pageturns. But this is working as expected.

Last edited by ibiza666; 02-12-2025 at 10:49 AM.
ibiza666 is offline   Reply With Quote