![]() |
#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 |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,299
Karma: 19703056
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
|
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 07:58 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 237
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
|
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 |
|
![]() |
![]() |
![]() |
#4 | |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,299
Karma: 19703056
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
|
Quote:
(Also, XOrg *really* doesn't like it if you modify the fb state behind its back). |
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 237
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
|
Yeah I think I definitely made the good move by using fbink-xdamage... Pickel is just a curiosity for me
|
![]() |
![]() |
Advert | |
|
![]() |
#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 10:32 AM. Reason: Oversize image. Please read the guidelines. |
|
![]() |
![]() |
![]() |
#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 ». |
![]() |
![]() |
![]() |
#8 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 237
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
|
Quote:
1. Nickel DBus ? 2. Nickel DBus also 3. wget 4. fbink, yes 5. Nickel DBus also I think. 6. nickeldbus also i think |
|
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 691
Karma: 1327340
Join Date: Sep 2008
Location: Auckland - 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. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alternative Display mode is possible? | Emix83 | KOReader | 8 | 05-22-2020 04:37 PM |
Image display problems | roger64 | KOReader | 22 | 05-20-2016 05:30 PM |
pickel dude | boriar | Kobo Developer's Corner | 15 | 10-09-2015 04:55 PM |
image caption display | xmlgirl | ePub | 1 | 05-21-2015 11:24 PM |
Display of a png image linked to a svg image | roger64 | Editor | 6 | 03-13-2015 07:21 AM |