Posts by jasonhelene

    So after my long way on libreelec to make it boot now i gotta fix something!

    i need to fix framebuffer to make retroarch display perfect!

    im using 480cvbs television resolution !

    and ive been trying such things like:

    bpp="16"

    obpp="32"

    # Set framebuffer geometry to match the resolution

    case $hdmimode in

    480*) X=720 Y=480 ;;

    576*) X=720 Y=576 ;;

    720p*) X=1280 Y=720 ;;

    *) X=1920 Y=1080 ;;

    esac

    fbset -fb /dev/fb0 -g $X $Y 1920 2160 $bpp

    fbset -fb /dev/fb1 -g $bpp $bpp $bpp $bpp $bpp

    echo 0 > /sys/class/graphics/fb0/free_scale

    echo 0 > /sys/class/graphics/fb1/free_scale

    echo 1 > /sys/class/video/disable_video

    But i just cant make it work, kodi works flawlessly but emulationstation and retroarch doesnt!

    Any tips on how do i use fbset to make it 720x480 ntsc 60hz refresh rate?
    When i press left or right on controller i see the interface moving on retroarch wich means its running perfect!
    Retroarch runs like the screenshots....kinda blurry blue but kodi works perfect!


    when i do

    nano /storage/.config/autostart.sh

    And inside

    echo 480cvbs > /sys/class/display/mode

    i see the image much better, but it still shows on display config that its 570i cvbs.


    Emulationstation gives me black screen.




    Any help on how to make em properly displayed?




    Thats because mine boots into emulationstation. let me compile a version with Kodi as startup and see if it works for you, then we can test it. It would be better if you had an ethernet cable tho

    No problem i will get an ethernet cable with my brother in 5 minutes i will be ready to test it all out just let me know when you get ready so we can test it all



    obs: ethernet cable working! let me know when you get that special image ready for test heheh

    again thank you so much about all the efford on helping me out, i do really enjoy your work!

    I also saw that after some time it reboots and tries to boot again! ( it crashes after trying to set image and resolution to boot, similar to what happens on windows with bad drivers or unsupported resolution).


    I tested the above stuff on an working libreelec image ( this one is LibreELEC-S905.arm-8.2-8.2.3.1.img) and on this one on display settings it shows resolution 720x570i ..even when on the autostart.sh its :


    This LibreELEC-S905.arm-8.2-8.2.3.1.img also fails to run retroarch and emulationstation, gives the same problem as your OS, the difference is that with this one it boots up and i can see menus and work with it and even work with wireless and ssh, on yours i cant boot, only black screen and the bug happens on this image only when i open emulationstation or retroarch..your's the problem happens on boot.
    Thats how this one is:

    nano /storage/.config/autostart.sh

    And inside

    echo 480cvbs > /sys/class/display/mode


    I see the resolution changes after the echo 480cvbs in there but display settings still blank showing resolution 720x570i..it makes me believe that using echo 480cvbs is not really changing the render resolution but only the menu resolution and thats why i cant make emulation station and other images to run here..

    So any tips on how do we make it change?

    Im ready to help you on testing to make it happen, just give me the directions and i can test it !

    have you tried this ?


    Code
    1. fbset -fb /dev/fb0 -g 1280 960 1280 1920 32
    2. fbset -fb /dev/fb1 -g 32 32 32 32 32
    3. echo 0 0 1279 959 > /sys/class/graphics/fb0/free_scale_axis
    4. echo 30 10 669 469 > /sys/class/graphics/fb0/window_axis
    5. echo 640 > /sys/class/graphics/fb0/scale_width
    6. echo 480 > /sys/class/graphics/fb0/scale_height
    7. echo 0x10001 > /sys/class/graphics/fb0/free_scale

    Unfortunately you will have to run it from SSH to test :/


    i cant run it from ssh because i cant see anything and have black image, so how will i do it? again..is there anyway to set it by editing some file?

    Thank you for your reply, the problem is that i use wifi and cant set wifi connection if i dont see anything on the screen...=x

    dont get me wrong, i would love so much to have your software running here but i dont know why it just doesnt works on my setup =x

    If we could find a way to config it directly on the usb card it could help somehow but as far as you dont support cvbs 480p its almost impossible for me to use it =x


    I tried to boot lakka without success on this box =-x even with the dtb.img that i do use on libreelec.


    Sorry, I meant to say, using another device (computer/mobile) can you connect to the samba share.

    i cant because i do use wireless connection and i cant set anything with black screen and i also dont have other tv.

    without 480p resolution i cant use it.


    Is there anyway to install emulationstation into libreelec as addon and set its resolution instead of using pre made system?

    i cant because i cant see anything, is there a way to use my arch linux install to access the sdcard partition and change some config files to make it work?

    jasonhelene Try to run fw_setenv cvbsmode 486cvbs and fw_setenv outputmode 486cvbs in SSH console.

    Hello, thanks for your reply sir!

    I created an autostart.sh file with: echo 480cvbs > /sys/class/display/mode

    It worked on LibreELEC-S905.arm-8.2-8.2.3.1.img (but with this one the system changes output resolution and the emulation station and retroarch doesnt, i need to find a way to force both to follow the 480p resolution of the tv)....


    but Sx095re i cant even boot, i see the logo total broken and with artifacts and then blackscreen! ( is there a way to set this resolution using file manager on sd card or something? because it wont boot up and give me ssh =x

    I was able to use retropie here with raspberry and rca with 720x480 ntsc mode.

    obs:

    using fw_setenv cvbsmode 486cvbs gave me blackscreen, i was able to get back by using:  echo 480cvbs > /sys/class/display/mode

    Any tips on how do i make 480cvbs mode permanent and make it apply to retroarch and emulationstation without ssh?

    Im using AV output not hdmi

    Not sure about CVBS but check the autostart.sh so you could maybe force it to 480cvbs.


    it is very important to use the correct dtb tho.


    LibreELEC.tv/autostart.sh at Sx05RE_8.2 · shantigilbert/LibreELEC.tv · GitHub

    the problem is not dtb. i already use it on normal libreelec build!

    The problem here is that i need cvbs 480p default installation....cant use the system or enter into autostart.sh to config it...system will not install correctly without proper video mode setted up on install process