shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Mon May 10, 2021 6:36 pm View unanswered posts
View active topics



Post new topic Reply to topic  [ 226 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Author Message
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 3:33 am 


User avatar

Joined: 31 Oct 2016
Posts: 1439
Location: bmore
Guile wrote:
vol.2 wrote:

You have to set Lakka to RGUI and change the resolution in video settings before you hook it up to the CRT.


I changed it to RGUI and set the resolution to 2048x240 but I got the same result. It's just a bunch of horizontal lines with the lakka flower broken up and looking like it resets and tries to boot. I also tried this config https://www.retrorgb.com/rpi240p.html but again same result.

Maybe my converter isn't compatible or something else is going on.


I don't think super resolutions are going to work with a HDMI converter (on a Pi4). Those worked on the Pi3 with older versions of Lakka/RP. The people in this thread who have had success doing what you are trying to do are using mode 1, 8, which is 720x240, 4:3.

Also, sometimes Lakka gets "confused" and the config file gets corrupted. You may have to periodically wipe the image and start over as you switch settings around. Once you find a setting that works, it should be fairly stable.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 4:24 am 


User avatar

Joined: 15 Oct 2015
Posts: 181
Location: Salem OR
Guile wrote:
Bahn Yuki wrote:
hdmi_group=1
hdmi_mode=8
Works fine for me on the RPI4(latest nightly Lakka) with my HDMI to YPbPr adapter. Colors look a bit washed out due to excessive brightness and I've tried all the pixel encoding modes. I have to turn the brightness down on my TV to compensate.

Let me know if you can get Vulkan working on your end. Seems to fail for me on 240p, shame too because Vulkan gives a nice performance bump since Hard GPU sync is FREE. Using it normally(1080p) made a big difference in some cores.

https://www.youtube.com/watch?v=x85KnZIh4p8


sedavenp wrote:

Thank you Bahn Yuki! This worked for me. I think the issues that came up for me had to do with retropie and the emulationstation front end. Didn't run into any issues running the most recent lakka nightly build and hdmi_group=1 hdmi_mode=8. Can confirm that portta hdmi to vga -> sync combiner works well to get 240p rgbs from the pi 4.

Didn't have any luck with Vulkan, only worked for me with the gl driver.


I put Lakka on a separate SD card to test this out on my pi4 and it worked fine from 1080p hdmi but when I try to edit the config with hdmi_group=1 hdmi_mode=8, it looks like it has trouble booting. I connected it to my StarTech hdmi to ypbpr converter and it shows a garbled image via component. I can see the Lakka flower logo through the garbled mess but it looks like it resets and never gets to the blue retroarch screen.
What's your build date? I using arm 4/26

Sent from my SM-G991U using Tapatalk
_________________
Displays I currently own:
LG 77C1(OLED),TCL 75R635(MiniLED),Apple Studio Monitor 21(PCCRT),JVC I'Art 36(SDCRT),SONY 34XBR960x3(HDCRT),CH-15DXA(TVL800)
CH-17DXA(TVL800),Samsung UBJ590(LED),Panasonic P50VT20(Plasma),JVC RS400(LCoS),Optoma27HDR(DLP)


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 4:50 am 



Joined: 03 Jan 2021
Posts: 60
vol.2 wrote:

I don't think super resolutions are going to work with a HDMI converter (on a Pi4). Those worked on the Pi3 with older versions of Lakka/RP. The people in this thread who have had success doing what you are trying to do are using mode 1, 8, which is 720x240, 4:3.

Also, sometimes Lakka gets "confused" and the config file gets corrupted. You may have to periodically wipe the image and start over as you switch settings around. Once you find a setting that works, it should be fairly stable.


So I should set the resolution to 720x240? It's weird because if I set it to group 1, mode 8 it never even gets to the rgui screen only the lakka flower like it's failing to properly set a resolution in the first place.

Bahn Yuki wrote:
What's your build date? I using arm 4/26


I'm not sure how to check the build date. I got the latest version for the pi4 from lakka.tv version 2.3.2.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 5:03 am 


User avatar

Joined: 31 Oct 2016
Posts: 1439
Location: bmore
Guile wrote:
So I should set the resolution to 720x240?


I think the best way to start off is to set it in Video->Scaling to Integer=On, and make it X1 in both the X and Y directions. That should, in theory, get you a visible image if everything else is setup correctly.

But you should go with whatever Bahn Yuki says here, he has a lot more experience with the HDMI-VGA setup than I do.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 1:26 pm 


User avatar

Joined: 15 Oct 2015
Posts: 181
Location: Salem OR
Guile wrote:
vol.2 wrote:

I don't think super resolutions are going to work with a HDMI converter (on a Pi4). Those worked on the Pi3 with older versions of Lakka/RP. The people in this thread who have had success doing what you are trying to do are using mode 1, 8, which is 720x240, 4:3.

Also, sometimes Lakka gets "confused" and the config file gets corrupted. You may have to periodically wipe the image and start over as you switch settings around. Once you find a setting that works, it should be fairly stable.


So I should set the resolution to 720x240? It's weird because if I set it to group 1, mode 8 it never even gets to the rgui screen only the lakka flower like it's failing to properly set a resolution in the first place.

Bahn Yuki wrote:
What's your build date? I using arm 4/26


I'm not sure how to check the build date. I got the latest version for the pi4 from lakka.tv version 2.3.2.
You'll see it in my video. Looking at the nightly builds they now have 4/29. 2.3.2 uses Linux 4.9, the nightly builds are 5.1.

https://nightly.builds.lakka.tv/by_devices/RPi4.arm/

Sent from my SM-G970U using Tapatalk
_________________
Displays I currently own:
LG 77C1(OLED),TCL 75R635(MiniLED),Apple Studio Monitor 21(PCCRT),JVC I'Art 36(SDCRT),SONY 34XBR960x3(HDCRT),CH-15DXA(TVL800)
CH-17DXA(TVL800),Samsung UBJ590(LED),Panasonic P50VT20(Plasma),JVC RS400(LCoS),Optoma27HDR(DLP)


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 9:58 pm 



Joined: 03 Jan 2021
Posts: 60
Bahn Yuki wrote:
You'll see it in my video. Looking at the nightly builds they now have 4/29. 2.3.2 uses Linux 4.9, the nightly builds are 5.1.

https://nightly.builds.lakka.tv/by_devices/RPi4.arm/

Sent from my SM-G970U using Tapatalk


Thanks I finally got it working with the 4/29 version and hdmi_group=1 hdmi_mode=8.

Still have a few issues though, with my converter it still shows Input:Component permanently on my tv which is very annoying. I don't know if it's an issue with the tv or the converter but I'm leaning towards the converter. I might try a cheap one and see if it fixes it.

I also can't get the scaling quite right. It looks squashed at 4:3 and the closest to normal is oddly 4:1 but it cuts off some of the image on the right. How do you set the actual scaling per core? None of the presets look right at all to me.

The picture looks very nice but I noticed that there are some issues like in Mario Bros. for NES it looks like some of the lines are doubled and too thick like in the bricks of the castle. It was also still stuttering at what looked like exactly once per second when scrolling fast.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 10:04 pm 


User avatar

Joined: 06 Mar 2006
Posts: 12708
Location: Germany
Quote:
I also can't get the scaling quite right. It looks squashed at 4:3 and the closest to normal is oddly 4:1 but it cuts off some of the image on the right. How do you set the actual scaling per core? None of the presets look right at all to me.

Retroarch assumes a square pixel ratio, so when you output in HDMI_MODE=8 Retroarch assumes a 3:1 screen ratio. That's why you have to use a custom viewport setting instead of the predefined aspect ratios. For the majority of classic systems a vertical viewport setting of 224 is fine and the horizontal one should be in the 660 px range.

That fact that you're seeing doubled lines is likely cause by the emuators scaling to full 240 height because you haven't defined the custom viewport setting.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 10:05 pm 



Joined: 14 Aug 2017
Posts: 1391
Guile wrote:
It was also still stuttering at what looked like exactly once per second when scrolling fast.


This part is an inevitable drawback of any kind of output means on a Raspberry Pi. The output modes are all standard 60hz refresh rate, whereas original retro systems like the NES etc. were all slightly above or below 60hz, and so when the output is 60hz some frames will be dropped or doubled, which you see as that periodic stuttering.

Only real hardware and other solutions with full control over the video output like FPGA-based emulation and custom GPU profiles can produce the original non-standard refresh rates.

As to your aspect ratio problem, don't use any of the presets but choose custom with integer scale on, and try 2x or 3x horizontal, 1x vertical.
edit: alternatively, try choosing "core defined" or whatever it's called, or 4:3, and set the picture to 16:9 on the display, sometimes that works to be just right, worth a try.


Top
 Online Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 10:07 pm 


User avatar

Joined: 06 Mar 2006
Posts: 12708
Location: Germany
At least half the blame belongs to Retroarch, since it wouldn't really be too hard to just sync the emu to the output refresh rate instead.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Fri Apr 30, 2021 10:12 pm 



Joined: 14 Aug 2017
Posts: 1391
I think RA is capable of doing that, the limitation is probably all the way down at the OS or whatever dictates the supported video modes, so this would be something to take to the Raspberry Pi Foundation, but they won't care.


Top
 Online Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Sat May 01, 2021 12:10 am 


User avatar

Joined: 31 Oct 2016
Posts: 1439
Location: bmore
If you go into Setting-Video-Output and click on the reported refresh rate, it will try to lock it to that. I found that to be absolutely necessary for some cores. I think the SEGA stuff had sound issues until I monkeyed with the refresh rate settings.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Sat May 01, 2021 2:46 am 



Joined: 14 Aug 2017
Posts: 1391
vol.2 wrote:
If you go into Setting-Video-Output and click on the reported refresh rate, it will try to lock it to that. I found that to be absolutely necessary for some cores. I think the SEGA stuff had sound issues until I monkeyed with the refresh rate settings.


This may help with compatibility or something on the emulator side, but it does nothing for what the Pi actually outputs.


Top
 Online Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Wed May 05, 2021 12:20 am 



Joined: 03 Jan 2021
Posts: 60
I tried the Portta hdmi to component adapter and it's not working for me. If I connect the pi4 with hdmi_group=1 and hdmi_mode=8 I get a bright rolling picture like it's not syncing correctly. So I tested it with 240p passthrough from the ossc and it's just a bunch of lines. So then I reconnect it to the pi4 and the weird thing is it then shows a more stable image with the top distorted but then it quickly loses sync again and goes back to the bright rolling image.

Very weird, did I get a faulty unit or do some of them not do 240p and it depends? It's like it temporarily almost gets correct 240p from the ossc but then reverts and it doesn't work at all when I connect it directly to the ossc.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Wed May 05, 2021 1:22 am 


User avatar

Joined: 31 Oct 2016
Posts: 1439
Location: bmore
Not sure if anyone else has been using the Portta component video adapters besides you. It's possible that it just doesn't work and you are the lucky one to find out first.


Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Wed May 05, 2021 8:24 am 


User avatar

Joined: 06 Mar 2006
Posts: 12708
Location: Germany
I have 3 or 4 of them in actual use and I did recommend them over any other hdmi to component converter I tested, because they're the only ones that did work all the time, with both 480i and 240p. Especially the generic ones (rounded top, no branding) always gave me trouble when booting into 480i and would only work once I switch around resolutions a few times.

I'm currently running one on a Pi setup, one with the Retrotink 5X and another one just as an analogue breakout after a HDMI matrix. All with no problems whatsoever.

I would probably say that yours is faulty, but you could try setting the global resolution to HDMI_MODE=6 instead (so the GUI boots into 480i) to see if that works differently for you - just as a quick test.

Can you post a link to the actual Portta model you bought?


Last edited by Fudoh on Wed May 05, 2021 5:13 pm, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: 240p via HDMI on Raspberry Pi to RGBS, no need for RGB h
PostPosted: Wed May 05, 2021 5:02 pm 



Joined: 03 Jan 2021
Posts: 60
Fudoh wrote:
I have 3 or 4 of them in actual use and I did recommend them over any other hdmi to component converter I tested, because they're the only ones that did work all the time, with both 480i and 240p. Especially the generic ones (rounded top, no branding) always gave me trouble when booting into 480i and would only work once I switch around resolutions a few times.

I'm currently running one on a Pi setup, one with the Retrotink 5X and another one just an analogue breakout after a HDMI matrix. All with no problems whatsoever.

I would probably say that yours is faulty, but you could try setting the global resolution to HDMI_MODE=6 instead (so the GUI boots into 480i) to see if that works differently for you - just as a quick test.

Can you post a link to the actual Portta model you bought?


I'll try setting it to 480i and seeing if that at least works.

Just tried it with mode=6 and it doesn't show a coherent picture, the resolution looks different but it's broken up into many vertical lines and unreadable.

Here is the link to the one I bought.
https://www.amazon.com/Portta-Converter ... 00A8FIQXA/


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 226 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

All times are UTC


Who is online

Users browsing this forum: archimage, arit, arrghus8, bobrocks95, CobraKing, fernan1234 and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group