Table of Contents

Work in progress on updated CRT guide…

Batocera native CRT output

The Batocera-CRT-Script has been developed which shall be used to configure and activate CRT capabilities for the latest x86_64 Batocera version. Use it after reading through this quick guide on how to connect your PC to your CRT.

Batocera has the capability to natively output an analogue signal, should you have the hardware to do so. The specifics are later in this guide, but that basically means you have a VGA/DVI-I port on your graphics card (which is becoming exceedingly rare with modern graphics cards) or on your motherboard (the CPU will need integrated graphics to support it and must not have a DAC altering the signal, probably along with particular BIOS settings). Modern cards with only digital outputs have a minimum bandwidth that's above the acceptable rate that CRTs can interpret, and thus won't be compatible for use in this guide.

You can however use an active converter (glossary below) to convert a digital signal to an analogue one (this will not be native) to use such digital-only graphics cards with a CRT display, however this guide is solely for running the pure analogue signal from the card to your display and the configurations made in this guide will not be compatible with such converters.

Recommended watching:

Recommended reading:

Foreword

It should go without saying, but unlike digital signals, analogue signals and the devices that receive them tend not to have safety limitations on what they are capable of. This can result in breaking displays, blowing old fuses, overheating ancient capacitors, making things catch fire, etc. You should perform adequate research before attempting any of this with your old equipment. Although this guide has safety precautions built into it, the safety of you and your equipment is solely your own responsibility.

This guide would not have been possible without the following people to name a few:

Glossary

The field of analog signals and CRT-related standards is very complex and occasionally misleading. We won't dive into every aspect in this guide but we will explain some relevant terms here (sorted in alphabetical order) to avoid confusion. Feel free to come back to this section at any time throughout this guide:

Prerequisites

To achieve a native analogue signal on your setup, the following elements are needed:

It is highly recommended using an external editor like Notepad++ and WinScp for editing, as they are easier to use than command line tools and respect Unix line terminators (unlike Windows Notepad).

If any of that was confusing here's a professional-grade flowchart explaining what is required for each type of display (on PC):

Two billion hours in mspaint.exe

Component Transcoders

Some appropriate VGA-to-component adapters:

RGB VGA to YPbPr Component transcoder/converter by linuxbot3000

rgb-to-pybyr-transcoder.jpg rgb-to-pybyr-transcoder-back.jpg

GreenAntz RGB to component transcoder

greenantz-transcoder.jpg

Retrotink RGB2COMP (Scart to Component)

RGBS VGA SCART to YPBPR Component Transcoder

rgbs_vga_scart_to_ypbpr_component_transcoder_1.jpg rgbs_vga_scart_to_ypbpr_component_transcoder_2.jpg

Color coding is a little different on this

  • Green → Pb
  • Red → Y
  • Blue → Pr

RGBS / SCART to YCBCR / YPBPR / S-Video converter adapter

rgbs-scart-a-ycbcr-ypbpr-.jpg Convert VGA to Scart cable to YCBCR & S-Video

Can also be found by searching AliExpress for “SCART RGBS to YUV YCBCR Video Converter”

Composite/S-Video Transcoders

If you need composite/S-video/RF, use these transcoders:

s-l1600.jpg s-l1600-back.jpg

RGB to Composite & S-Video Ver2.0

rgb-2yc_1.jpg

DisplayPort to VGA DAC

If you only have a DP connection, use the CableDeconn DP to VGA adapter before sending the signal to the transcoder of your choice:

If you are in a situation where you must use an active adapter, the CableDeconn DP to VGA adapter is one of the best options. It uses a repurposed Realtek RTD 2168 audio chip for its conversion, which doesn't rely on an oscillating crystal (no out-of-sync timing it has to account for) and no automatic deinterlacer (pretty much standard for all other active adapters, this will ruin your signal's quality).

USB-C to VGA DAC

If you only have a USB-C connection, use the StartTech.com USB type C to VGA, 3m, CDP2VGA3MBNL (Note: this 3m cable has the RTD2166 chip. Shorter versions of the same brand use a different chip that may not be compatible) before sending the signal to the transcoder of your choice:

If you are in a situation where you must use an active adapter and only have a USB type C connection the StartTech.com USB type C to VGA adapter is one of the best options. It uses a repurposed Realtek RTD 2166 audio chip for its conversion, which doesn't rely on an oscillating crystal (no out-of-sync timing it has to account for) and no automatic deinterlacer (pretty much standard for all other active adapters, this will ruin your signal's quality).

Connecting the PC to a CRT display

The first step is to safely connect your Batocera computer to the CRT display itself. If using a VGA connection with a EDID CRT monitor, it is as simple as connecting the display, turning it on and then turning the Batocera machine on. Keep reading this section for all other displays. If your CRT monitor does not send an EDID (the standard was introduced in 1994, so monitors manufactured before then do not have EDID), then you should still follow the following instructions just to be safe.

During the boot process and resizing of the partition it will boot up in a non-supported resolution. Keep the CRT TV off for the moment or on another AV channel so it doesn't receive dangerous signals. These signals can destroy your CRT TV.

Also keep in mind that during the BIOS boot process the same rule applies. Have the CRT TV off or on another input when first booting up.

To solve this we have 4 options:

Once everything is safe, you can turn on your Batocera machine. If you'd like to edit files using the Batocera machine itself, you can hook up a secondary digital display in the meantime. If you have multiple ports and use another port, then you'll not be able to do this once you disable the other port outputs in the upcoming section. If you have a modern digital display that can handle older standard signals over older standards cables without blowing up (such as a LCD monitor with both HDMI and VGA ports), you can use that in place of your CRT until everything is configured correctly for it.