1024×600 resolution in Jivelite with Waveshare 7 inch (C) screen

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI 1024×600 resolution in Jivelite with Waveshare 7 inch (C) screen

This topic contains 9 replies, has 8 voices, and was last updated by  flysurfer premium 5 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • 15. January 2016 at 10:53 #17885

    Hi,

    I’ve bought a Raspberry Pi 2 and a waveshare 7 inch capacitive touch screen with a native resolution of 1024×600.
    Max2Play and Jivelite work in principle but I when I choose the Joggler Skin the interface of Jivelite ony fills around
    2/3 of the screen which makes sense because it’s probably made for a 800×480 resolution.

    I found out that I can download the jivelite sources myself and edit
    share/jive/applets/JogglerSkin/JogglerSkinApplet.lua
    I changed the rsolution here:
    Framework:setVideoMode(800, 480, 0, false)
    to 1024×600.
    My only question: Which PREFIX do I have to set when I compile Jivelite s.t. Max2Play can still manage my jivelite installation?

    cheers

    26. January 2016 at 1:00 #18125

    Wish I could see anything on my Waveshare-screen. What did you do to handle that?
    I can see only black screen…

    edit: Ok, just change the \boot\config.txt
    But now I have a flicky display. Could you share your config.txt with me, please?
    And how did you get the touch-function? (if you got it…)

    • This reply was modified 10 months, 2 weeks ago by  jendrik.
    26. January 2016 at 10:23 #18131

    Dear jendrik,

    I don’t have my config.txt at hand right now. But simply google for it. I didn’t do anything different from what I found in the web.
    However, the touch screen I never got to work, not even with the official waveshare raspbian images! So I’m now planning to use the screen for display only and control the device via the Orange Squeeze app for Android.

    The waveshare screens seem to be of poor quality anyway. I’ve got a vertical red line in the middle of the screen already although I’ve really taken good care of it. I just didn’t like the resolution of the official Raspberry pi screen (600×480 or so). That’s why I went for waveshare.

    After a lot of searching the source code, I’ve actually managed to adjust the JogglerSkin to my 1024×600 resolution.

    1. February 2016 at 12:29 #18277

    Hallo jzimmer1000,

    thank you for your question.

    The lua-file is no compiled file and simply be replaced within an existing Jivelite installation. For example, after burning a new Max2Play image, install the pre-compiled Jivelite version we are offering in Max2Play, move to the folder
    opt/jivelite
    and overwrite the existing lua-file with your modified version.

    If your display is working fine, we would like to offer your skin in Max2Play officially. What do you think about it?

    Maximilian from Max2Play

    25. May 2016 at 0:35 #20253

    Hello jzimmer1000

    Where can I find the jivelite sourses?
    I also have a touch with 1024×600.

    Thanks for your help.

    Reards
    Bruno

    17. June 2016 at 10:26 #20709

    Hello Maximilian,
    I also have the waveshare 7″ touch display. To use the full resolution of the display (1024×600)
    I just changed the values in share/jive/applets/JogglerSkin/JogglerSkinApplet.lua from 800×400
    to 1024×600. Now it works perfectly. Maybe you can add another skin using this resolution
    to max2play.

    Many thanks.

    1. July 2016 at 18:30 #21061

    Hello together!

    I’m using an eleduino 7 inch display with a resolution of 1024×600 also. I have changed the applet code and it works good for me so far. Now playing screens are adjusted but analog VU does not work/show. Maybe I will refine the whole thing in the not so near future…
    I append the diff-file below and you can apply the changes yourself with “patch JogglerSkinApplet.lua < 1024x600JogglerSkin.diff” after pasting this in a file named 1024x600JogglerSkin.diff. Make a backup of the original file before!

    Please share your refinements here!

    — Paste into file 1024x600JogglerSkin.diff after this line —
    7a8,9
    > This applet was modified to implement an 1024×600 skin
    > “This applet implements an 800×480 resolution skin.”
    9c11
    < This applet implements an 800×480 resolution skin.

    > Redesigned from StandardJoggler by Martin Schneider.
    96,97c98,99
    < THUMB_SIZE = 40,
    < THUMB_SIZE_MENU = 40,

    > THUMB_SIZE = 50,
    > THUMB_SIZE_MENU = 50,
    103c105
    < POPUP_THUMB_SIZE = 120,

    > POPUP_THUMB_SIZE = 150,
    112c114
    < artworkSize = ‘270×270’,

    > artworkSize = ‘440×440’,
    117c119
    < artworkSize = ‘450×450’,

    > artworkSize = ‘570×570’,
    123c125
    < artworkSize = ‘270×270’,

    > artworkSize = ‘340×340’,
    128c130
    < artworkSize = ‘270×270’,

    > artworkSize = ‘340×340’,
    134c136
    < artworkSize = ‘270×270’,

    > artworkSize = ‘340×340’,
    257c259
    < Framework:setVideoMode(800, 480, 0, false)

    > Framework:setVideoMode(1024, 600, 0, false)
    2775,2776c2777,2778
    < local NP_ARTISTALBUM_FONT_SIZE = 28
    < local NP_TRACK_FONT_SIZE = 30

    > local NP_ARTISTALBUM_FONT_SIZE = 30
    > local NP_TRACK_FONT_SIZE = 36
    2780,2781c2782,2783
    < local volumeBarWidth = 240 — screenWidth – (transport controls + volume controls + dividers + border around volume bar)
    < local buttonPadding = 0

    > local volumeBarWidth = 450 — screenWidth – (transport controls + volume controls + dividers + border around volume bar)
    > local buttonPadding = 10
    2807c2809
    < x = 318,

    > x = 460,
    2886c2888
    < w = 270,

    > w = 440,
    2888,2889c2890,2891
    < x = 20,
    < y = TITLE_HEIGHT + 33,

    > x = 7,
    > y = TITLE_HEIGHT + 7,
    2891c2893
    < h = 270,

    > h = 440,
    2894c2896
    < w = 270,

    > w = 440,
    2999,3000c3001,3003
    < x = 322,
    < y = TITLE_HEIGHT + 29 + 26 + 32 + 32 + 23 + 80,

    > x = 460,
    > –y = TITLE_HEIGHT + 29 + 26 + 32 + 32 + 23 + 80,
    > y = TITLE_HEIGHT + 289,
    3007c3010
    < font = _boldfont(18),

    > font = _boldfont(24),
    3015c3018
    < font = _boldfont(18),

    > font = _boldfont(24),
    3023c3026
    < font = _boldfont(18),

    > font = _boldfont(24),
    3031c3034
    < font = _boldfont(18),

    > font = _boldfont(24),
    3036,3037c3039,3040
    < w = 290,
    < h = 50,

    > w = 400,
    > h = 30,
    3050c3053
    < x = 322,

    > x = 403,
    3143c3146
    < w = 450,

    > w = 570,
    3145c3148
    < x = 172,

    > x = 220,
    3148c3151
    < h = 450,

    > h = 570,
    3150c3153
    < w = 450,

    > w = 570,
    3190,3191c3193,3194
    < x = 50,
    < y = 300,

    > x = 63,
    > y = 375,
    3194c3197
    < w = 80,

    > w = 100,
    3202c3205
    < w = 80,

    > w = 100,
    3210c3213
    < w = 80,

    > w = 100,
    3218c3221
    < w = 80,

    > w = 100,
    3226,3227c3229,3230
    < w = 540,
    < h = 50,

    > w = 675,
    > h = 63,
    3236c3239
    < x = 720,

    > x = 900,
    3272c3275
    < x = 80,

    > x = 100,
    3290c3293
    < h = 60,

    > h = 75,
    3301c3304
    < x = 10,

    > x = 13,
    3303c3306
    < h = 60,

    > h = 75,
    3306c3309
    < w = 80,

    > w = 100,
    3309c3312
    < w = 80,

    > w = 100,
    3312c3315
    < w = 80,

    > w = 100,
    3315c3318
    < w = 80,

    > w = 100,
    3318c3321
    < h = 29,

    > h = 37,
    3332c3335
    < h = 38,

    > h = 48,
    3344,3345c3347,3348
    < w = 800,
    < h = 446 – (2 * TITLE_HEIGHT + 4 + 45),

    > w = 1024,
    > h = 566 – (2 * TITLE_HEIGHT + 4 + 45),
    3353,3354c3356,3357
    < w = 800,
    < h = 446 – (2 * TITLE_HEIGHT + 4 + 45),

    > w = 1024,
    > h = 566 – (2 * TITLE_HEIGHT + 4 + 45),
    3392,3393c3395,3396
    < w = 800,
    < h = 413 – (TITLE_HEIGHT + 38 + 38),

    > w = 1024,
    > h = 533 – (TITLE_HEIGHT + 38 + 38),
    3401,3402c3404,3405
    < w = 800,
    < h = 413 – (TITLE_HEIGHT + 38 + 38),

    > w = 1024,
    > h = 533 – (TITLE_HEIGHT + 38 + 38),
    3421c3424
    < h = 56,

    > h = 70,
    3429,3430c3432,3433
    < w = 56,
    < h = 56,

    > w = 70,
    > h = 70,
    3434,3435c3437,3438
    < w = 56,
    < h = 56,

    > w = 70,
    > h = 70,
    3505c3508
    < h = 50,

    > h = 63,

    1. July 2016 at 18:33 #21062

    Follow up to the Max2Play team: Feel free to include this modification in your distribution.

    Martin

    11. July 2016 at 15:51 #21417

    Hi Ajax,
    Sorry for the late response and thanks for sharing! Unfortunately, the text in this forum is problematic to paste in code. Please send us a file of your patch so that we can include in it a future release.

    12. July 2016 at 14:46 #21501

    Good news – thanks to Marting, there is now an easy way to update the Joggler Skin with the changes from Martin. Just choose the Patch in the dropdown menu for the skins on Jivelite Page of Max2Play web interface and click install.

    This is now available in the Beta of Max2Play and will be part of the official 2.34 release.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Register here