still cant make it work on mine...funny part? retroarch on android works without any issues!
the best would be porting emulationstation to android.
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:
# 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 ;;
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
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-22.214.171.124.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-126.96.36.199.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:
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
- fbset -fb /dev/fb0 -g 1280 960 1280 1920 32
- fbset -fb /dev/fb1 -g 32 32 32 32 32
- echo 0 0 1279 959 > /sys/class/graphics/fb0/free_scale_axis
- echo 30 10 669 469 > /sys/class/graphics/fb0/window_axis
- echo 640 > /sys/class/graphics/fb0/scale_width
- echo 480 > /sys/class/graphics/fb0/scale_height
- 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?
I don't see why that would matter, you don't need another TV just a computer/mobile connected to the same network.
Anyways you can use various add-ons that use RetroArch, one of them is the IARL launcher GitHub - zach-morris/plugin.program.iarl: Internet Archive ROM Launcher (IARL) will download ROMs from the Internet Archive and launch them with Kodi
there is another one called "Bolts-On!" but its banned on this forum.
you could also use Lakka Lakka - The DIY open source retrogaming emulation console directly and hopefully they have made the changes to output CVBS, it doesn't use EmulationStation tho.
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 am afraid not, for starters I have no such TV to test, nor a system that can output CVBS my device only has HDMI.
I assume the reason is because my distribution has no logo that works on that resolution.
After you get the black screen, can you connect to Samba share and load the autostart.sh to make your necessary changes? and reboot?
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-188.8.131.52.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.
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
I need to find a way to change emulationstation and retroarch resolution! now the libreelec works but those systems gives me bad image and they are the main reason im trying libreelec
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.
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
You can add this line to the autostart.sh file in the .config folder (create the file if it doesn't exist).
Then this command will be applied at boot.
Thank you so much, made my day!
Just to stick it here to the ones that may need:
setting it to 480cvbs by using echo 480cvbs > /sys/class/display/mode made the trick!
now i need to know if there is a way to set it to 480cvbs before the first boot so i wouldnt need to enter ssh every time i boot on
Is there anyway to set it to 480cvbs before the first boot? i think it would fix my issues!