![]() |
#16 |
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
|
Hi,
Today I'm asking for help. After hours of trying to get pure Xorg working (because if it does, the speed will be incredibly increased) without the need to take screenshots, hence displaying directly to the framebuffer, I don't know what to do. I've tried several methods, experienced with my Libra's framebuffer with pickel (showpic) and... even that didn't work, it returned a distorted image on my screen. I also did Code:
cat /dev/urandom | /usr/local/Kobo pickel showpic If you want, please, I'd like help. Just post your ideas below! (or should I start a Git repo?) Thanks, any suggestion is much appreciated. ![]() |
![]() |
![]() |
![]() |
#17 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
https://www.youtube.com/watch?v=w_eO...icolasMailloux
NiMa has released a video! |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,783
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
One way would be to compile parts of Xorg from source with some modifications to use the fb. Another way would be to use tigervnc+libvnc+FBInk to display the current screen. libx11+fbink would be another option, but although the code may be easier to work with, you might need to deal with damage tracking and optimization manually. |
|
![]() |
![]() |
![]() |
#19 | |
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:
Another idea that I had this morning waking up was that I could (maybe) write a script (ex./dev/fb1) which would "divert" xf86-video-fbdev to output there instead. This script would point to (maybe) FBInk displaying the raw stream. Speaking of raw stream, do you know how to print one with FBInk? I saw Python scripts to print raw RGBA images and it worked, but what I'd really need is just a "framebuffer" at /dev/fb1 which could act exactly if it was real... Thanks! |
|
![]() |
![]() |
![]() |
#20 | |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,491
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Err, you *did* look at that link, did you not?
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
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
|
|
![]() |
![]() |
![]() |
#22 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
I've attached a picture of the output. Code:
[root@pixie root]# uname -p unknown |
![]() |
![]() |
![]() |
#23 | |
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:
Code:
uname -a Edit: just did this on my Libra. Reported unknown too. Definitely change this to Code:
uname -a |
|
![]() |
![]() |
![]() |
#24 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
I've attached a screenshot of the output.
|
![]() |
![]() |
![]() |
#25 |
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
|
|
![]() |
![]() |
![]() |
#26 |
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
|
Ok now I *kind of* understand what it does. If I'm correct: this watches for Xorg to update a window's content (xdamage) and then prints it to the screen with FBInk.
Then I *might* be able to do that with an existing X server, might I? ![]() |
![]() |
![]() |
![]() |
#27 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,783
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
![]() Any specific part, or just where to start? |
||
![]() |
![]() |
![]() |
#28 | |
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:
If someone could maybe guide me or if a similar Python method exists, that would be awesome! Thanks! |
|
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,783
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Yes, basically. You would run this on an existing X server (e.g. tigervnc, Xvfb, etc), and it would use XDAMAGE to watch for changes and pass them to FBInk. You'd still need to deal with input, though.
|
![]() |
![]() |
![]() |
#30 | |
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:
Thanks for the explanation, I think I am nearing even further my goal. Any idea how to set this up in Python? Is it possible? Thanks |
|
![]() |
![]() |
![]() |
Tags |
kobo, linux, xorg |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW3 Can run full blown Chromium browser on up-to-date Alpine Linux | schuhumi | Kindle Developer's Corner | 59 | 06-11-2024 04:45 AM |
Native [WIP]replacement firmware for Kindle/Kobo? | zaoqi | Kindle Developer's Corner | 0 | 03-03-2019 04:38 AM |
X apps run on native touch Xorg. | geekmaster | Kindle Developer's Corner | 88 | 05-14-2014 07:58 AM |
Kobo Support Nightmare: Aura with Blown Pixels | geekspertise | Kobo Reader | 23 | 12-09-2013 10:25 PM |
Portable Firefox (Run it off a USB Drive) | Colin Dunstan | Lounge | 3 | 11-22-2004 07:42 PM |