01-12-2021, 06:22 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2021
Device: Kobo NIA − Kindle PW3
|
Display Image with Pickel (or alternative)
Hi,
I have a Kobo Nia and I want to use it as an « Image Viewer (with auto-refresh) », I see many ways to do this, but none seems to work in 2021. I want to do something really simple like the script « /etc/bin/Kobo/demoloop.sh » But, if I do from telnet : Code:
zcat /etc/images/splash.raw.gz | /usr/local/Kobo/pickel showpic And If I do the same from the NickelMenu, I have glitch on screen (like a rotated screen maybe ?). But nothing more. If someone have an idea ? My fbset output : Code:
[root@kobo ~]# fbset mode "758x1024-0" # D: 0.025 MHz, H: 0.029 kHz, V: 0.028 Hz geometry 758 1024 768 1024 32 timings 40000000 12 76 4 5 12 2 accel false rgba 8/16,8/8,8/0,8/24 endmode |
01-12-2021, 06:47 PM | #2 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Oh, hai!
---- FWIW, pickel's showpic expects a raw framebuffer dump. It also expects it in its own framebuffer state, which never matches Nickel's on recent FW versions. It's usually @16bpp, in a broken and device-specific rotation. Last edited by NiLuJe; 01-12-2021 at 06:58 PM. |
01-12-2021, 08:55 PM | #3 | |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
But I ran into issues with Pickel lately (when trying to show Xorg events on screen)... The raw picture wasn't displaying properly and it was distorted. Anyone knowing why? It should work since the Kobo is able to display update/poweron images. Or is it handled internally with another library? @NiLuJe oh thanks I didn't read the last part of your post. Any way to still be able to display a picture with pickel? Thanks |
|
01-12-2021, 09:04 PM | #4 | |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
(Also, XOrg *really* doesn't like it if you modify the fb state behind its back). |
|
01-12-2021, 09:06 PM | #5 |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Yeah I think I definitely made the good move by using fbink-xdamage... Pickel is just a curiosity for me
|
01-13-2021, 02:56 AM | #6 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2021
Device: Kobo NIA − Kindle PW3
|
Quote:
PS: Still early wip project. Last edited by issybird; 01-13-2021 at 09:32 AM. Reason: Oversize image. Please read the guidelines. |
|
01-13-2021, 10:53 AM | #7 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2021
Device: Kobo NIA − Kindle PW3
|
The main idea behind this script is (if its possible)
- Wake up from sleep or similar ? (looks like its not possible) - Enable & Connect to WiFi - Download an image from an HTTP Endpoint - Display the downloaded image (FBink ) - Disconnect Wifi - Put in Sleep or similar (rtcwake maybe…) As I see a CRON is not a great solution, so I will certainly do a « while true ». |
01-13-2021, 11:38 AM | #8 | |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
1. Nickel DBus ? 2. Nickel DBus also 3. wget 4. fbink, yes 5. Nickel DBus also I think. 6. nickeldbus also i think |
|
01-13-2021, 12:10 PM | #9 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2021
Device: Kobo NIA − Kindle PW3
|
Yes downloading image and display it is pretty straight forward (and classic, not a problem).
I will look for the suspend part with « Nickel DBus ». Thanks |
01-13-2021, 02:40 PM | #10 |
Guru
Posts: 867
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Note, suspend/sleep does not (yet) exist in NickelDBus. It was an oversight I forgot to add. Will be in the next version.
Although, not sure about waking from sleep. |
03-02-2024, 04:57 PM | #11 | |
before sleep, read or TV?
Posts: 104
Karma: 10
Join Date: Apr 2008
Location: Australia
Device: Kobo Libra 2
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alternative Display mode is possible? | Emix83 | KOReader | 8 | 05-22-2020 03:37 PM |
Image display problems | roger64 | KOReader | 22 | 05-20-2016 04:30 PM |
pickel dude | boriar | Kobo Developer's Corner | 15 | 10-09-2015 03:55 PM |
image caption display | xmlgirl | ePub | 1 | 05-21-2015 10:24 PM |
Display of a png image linked to a svg image | roger64 | Editor | 6 | 03-13-2015 06:21 AM |