CRTSwitchRes Lakka RPi 4 composite AV

You should use the resolution that comes “out of the box”. We have updated the article regarding PAL. So select the resolution that is 720x576 (the most top one) and set vertical refresh rate to 50.08 Hz. This mode is 720x288 scaled to 720x576. Also make sure to switch off vertical automatic refresh rate -> OFF.

If you set refresh rate below 50.04 Hz (e.g. 50.039), it will switch to interlaced mode (refresh rate for interlaced mode is 50.0 Hz, so as soon as the requested refresh rate gets closer to the other one, it switches to that mode).

1 Like

Yes after searching I found the “headphones” is for rpi3 jack, I entered text mode with retroarch=0 and textmode or something on cmdline.txt.

https://www.lakka.tv/doc/Accessing-Lakka-command-line-interface/

Then aplay -L gives a list of cards, the USB card is named CARD=Device=DEV0 then I write sound_device=“CARD=Device=DEV0”. Reboot and still no sound. The card also is not listed on audio-output (if i press devices there is nothing), while it is on audio-microphone. That should be a 7.1 card, I see a big list with surround with aplay - L. There are controls also if I run alsamixer

here is what i get on MX Linux with aplay -L, kept only the usb card info. Same list on Lakka too on Pi Zero 2W

hw:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    Hardware device with all software conversions
sysdefault:CARD=Device
    USB PnP Sound Device, USB Audio
    Default Audio Device
front:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    Front output / input
surround21:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    Direct sample mixing device
usbstream:CARD=Device
    USB PnP Sound Device
    USB Stream Output

Try with sysdefault:CARD=Device.

1 Like

That did the trick!

On lakka textmode

audio_device=“sysdefault:CARD=Device”

And on retroarch.cfg inside ./config/retroArch also enter the same as audio device!

I’m glad you have it fully working now!

Mind to share your UAE4ARM config, if you made any adjustments to the defaults, especially related to video output (e.g. aspect ratio correction)? We can include it in the next update, so it works out of the box.

Thank you!

Every TV is different, I have two sets, a 14 and 20 inch. When I did adjustments it looked perfect on the small one and it was zoomed in on the large one. One rule I have is load Pacmania, adjust it to fill the screen, not miss any info like lives score etc, and you 're done. Had this on 1084s too so I know it is one game that fills the screen completely.

That lr-uae4arm is an interesting core, almost all games run at full speed on pi zero 2w if no intense copper usage, even banshee Amiga 1200. But on games with heavy copper (that rainbow sky effect) like venus the flytrap etc run full speed at 90 fps but with artifacts (some have heavy artifacts other not so much) . If switch off fast copper then artifacts are gone but fps drop to 40s. There is room for improvement. Maybe an intermediate copper option with less artifacts and closer to 50fps. I will look at the code to see what it does

1 Like

One of the heaviest OCS Amiga games, lionheart, running very well rock solid 50 fps on pi zero 2w uae4arm, a500 profile. Sound and everything. Incredible performance for what it costs. Max speed 56 fps, nothing overclocked. Image quality is better in real life

1 Like

Sorry to bump an old thread. Is this possible yet? I’m on Rpi 4B stock connected directly to CRT via composite. Retroarch compiled and running. What all do I need?

I’m not sure. I tried out the 240p composite fork of Lakka mentioned earlier in the thread and, while 240p worked great out of the box, CRTSwitchRes still did not. I might be mistaken but I think it’s as @hunterk said and there’s just no way to get that level of control over the AV jack because of the firmware.

1 Like

I made a new thread for this but maybe it’s better if I ask here. I’ve moved on from using the AV port on the Pi, since apparently the RPi firmware makes Switchres via the AV port impossible. However, I now have a Retrotink 4K, so HDMI is possible. Through what little information I’ve been able to find, setting HDMI Group 1 and HDMI mode 8 in the Pi’s config.txt should give me 240p. This seems to work at boot, however the output seems to switch back to 720p as soon as the Lakka boot logo appears. I would love some guidance on setting up 240p output and CRT Switchres via the HDMI out. Thanks in advance.

Note, I’m using a Lakka Nightly build because there’s a bug in the release build that causes a filesystem corruption at first boot on the RPi 4.