Thread: Kobo Start Menu
View Single Post
Old 07-25-2014, 07:19 PM   #415
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by NiLuJe View Post
@tshering: I'm fairly certain this won't be that useful compared to the upstream version since Kobo uses 16bpp fb, but here's the tweaked version I came up with to handle the whole range of weird Kindle fbs

(If you do end up needing to tweak the code, I'd be happy to merge those changes).
Thank you! It is nice that fbgrab outputs already a usable format. Monochrome is also nice for some purposes. The main problem is that nickel changes the fbsettings and this seems to be a problem that we might want to address. I myself do not know sufficiently about fb and graphic formats to do the necessary changes.

Without nickel running the settings are:
Code:
[root@(none) ~]# fbset
mode "800x600-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 800 600 800 1280 16
        timings 0 0 0 0 0 0 0
        accel false
        rgba 5/11,6/5,5/0,0/0
endmode
With nickel running:
Code:
[root@(none) ~]# fbset
mode "600x800-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 600 800 608 1792 16
        timings 0 0 0 0 0 0 0
        accel false
        rgba 5/11,6/5,5/0,0/0
endmode

I attach two screenshots made with fbgrab, and two of the same screens with cat /dev/fb0 and conversion with ffmpeg.

I do not know about the other models, but on the Kobo Touch I need to convert the screenshots of Kobo Start Menu applications with -s 800x600; and the screenshots of nickel with -s 608x800, I have additionally to cut off the 8 pixel on the right border (-vf crop=600:800:0:0).
Attached Thumbnails
Click image for larger version

Name:	ksmwebbrowser_fbgrab.png
Views:	461
Size:	33.2 KB
ID:	125860   Click image for larger version

Name:	nickel_fbgrab.png
Views:	398
Size:	32.0 KB
ID:	125861   Click image for larger version

Name:	nickel_cat.png
Views:	950
Size:	35.0 KB
ID:	125862   Click image for larger version

Name:	ksmwebbrowser_cat.png
Views:	433
Size:	48.0 KB
ID:	125863  
tshering is offline   Reply With Quote