Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user:rion [2021/09/15 11:00] atariuser:rion [2024/11/30 15:15] (current) rion
Line 1: Line 1:
-<WRAP center round important 90%> +Work in progress on updated CRT guide... 
-Under Construction!</WRAP>+
  
-===== Switchres - minimum dot clock ===== 
  
-Fun fact about CRTs: they receive more data than they actually display and keep those extra bits outside of the frame at the top and the bottom. This will be relevant for the next paragraph.+====== Batocera native CRT output ======
  
-The dot clock. Essentially, the amount of pixels drawn per secondYou can work this out by multiplying your width, your amount of horizontal lines (this is your height, but a bit larger than it) and frames per secondFor example, a theoretical resolution of 320x240 at 60 FPS would be calculated by 320x262.5x60, which equals 5,040,000 pixels per second. This is typically measured in MHz (dot clock), but that's confusing so I'm just going to stick with pixels per second (p/s) for the unit and "bandwidth" for the noun.+<WRAP center round alert> 
 +[[https://github.com/ZFEbHVUE/Batocera-CRT-Script|The Batocera-CRT-Script]] has been developed which shall be used to configure and activate CRT capabilities for the latest x86_64 Batocera versionUse it after reading through this quick guide on how to connect your PC to your CRT. 
 +</WRAP>
  
-The issue with modern graphics cards is that they have a **minimum** required bandwidth to function, anything below that will simply not render (or in some cases, lock up the hardware). Typical minimum bandwidths for these cards are 8 p/s, 12 p/s and 25 p/s. Sometimes the minimum bandwidths will differ depending on which ports are used, digital ports tend to have an even higher minimum bandwidth. 
  
-So what can we do about this? The answer is simple:+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.
  
-=== Super resolutions ===+<WRAP center round tip> 
 +You can however use an active converter ([[#glossary|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. 
 +</WRAP>
  
-CRTs are beautiful in the sense that they don't think in pixels, only lines. So essentially, what we can do is send a **BLOODY HUGE** amount of pixels per line to overcome the minimum required bandwidth for our graphics card. These are what super resolutions are.+Recommended watching: 
 +  * [[https://www.youtube.com/watch?v=zwDPx6hP_4Y|Displaced Gamers' excellent video on the history of 240p]] - This explains the background of the "240p" signal common with early generation consoles and why "scanlines" were a thing.
  
-It'typically good practice to use a //multiple// of what the native width of the original system was in order to not have pixels overlapping into other pixels when shrunk down by our CRT. Howeverwe need to practice bit of caution, as the transistors and other components in CRT can only handle so much p/s before becoming overloaded and unresponsiveor possibly even damaged!+Recommended reading: 
 +  * [[https://www.retrorgb.com/rgbguide.html|RetroRGB'RGB guide]] - This focuses more on the aspect of connecting your physical analogue consoles to modern displays, but it covers much of the terminology used throughout this guide and explains particular details about analogue standards. 
 +  * [[https://www.aussiearcade.com/topic/76809-a-guide-to-connecting-your-windows-pc-to-an-sd-crt-tv-pvm-or-arcade-monitor/|buttersoft's AussieArcade forum post: A guide to connecting your Windows PC to an SD CRT TVPVM or Arcade Monitor]] - This focuses more on connecting Windows computers to CRT displays, but it goes over lot of the same things we will have to later on. This is very technical documentmore so than this guide is.
  
-So therefore, we will let Switchres calculate the appropriate super resolution for us. It will work out the super resolution that is both a multiple of the original system's width and that satisfies the minimum required bandwidth for our card. A good starting point is 25 million p/s.+===== Foreword =====
  
-Here's an example: let's say you're playing a game that runs at a native 640x480 at 60 FPS. Our graphics card has a minimum required bandwidth of 25 Mp/sThe bandwidth of that is calculated by 640x480x60 = 18,432,000 p/sThis is close to the required 25 Mp/s but not quiteSwitchres calculates our super resolution as 1280x480as 1280 is a //multiple// of 640 and the total bandwidth is 1280x480x60 = 36,864,000 p/s. This is well above our required minimum, and thus suited for our purposes.+<WRAP center round alert> 
 +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 fusesoverheating ancient capacitorsmaking things catch fire, etcYou should perform adequate research before attempting any of this with your old equipmentAlthough this guide has safety precautions built into itthe safety of you and your equipment is solely your own responsibility. 
 +</WRAP>
  
-Same goes for any other modeline, like 256x224 it would do 512(2x)x224768(3x)x224 and so on until it meets the minimum required bandwidth (dot clock) set in the INI.+This guide would not have been possible without the following people to name a few: 
 +  * jfroco's work to output Batocera on a CRTs. 
 +  * rtissera's knowledgeenthusiasm and willingness to add 15 KHz patches. 
 +  * Calamity for his knowledge, drivers, tools, GroovyMame, Switchres, etc. 
 +  * Substring's work on GroovyArcade, SDL, KMS, etc.    
 +  * D0023R Doozer's continued work at adding 15 KHz support to the Linux kernel. 
 +  * dmanlcf's work on keeping the 15 Khz patches up to date for Batocera. 
 +  * Rion and Atari for compiling this guide.
  
-<WRAP center round tip 60%+===== Glossary ===== 
-Super resolutions are only supported by MAME and Libretro cores.+ 
 +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: 
 + 
 +  * **Active converters** Little boxes that convert one signal to another. These use tiny computers with processors and RAM to process the image digitally and send it out the other side as appropriate. Generally undesirable, as they can introduce lag and other artifacts. This is not considered "native". This guide assumes that you are **NOT** using one of these (as they try to handle the entire conversion themselves, removing Batocera's control over the signal).{{ hardware:at-hd420s_1600x742.jpg?nolink&540 |Box-like in shape, usually require powered input as well (but not always).}} 
 +  * **BNC cables** These are standard aerial coaxial cords that can carry any analogue signal. For our purposes, they will be carrying an RGB video signal. There were not many consumer TVs that utilized this type of connection, but they were common with professional/broadcast reference monitors (PVM/BVM for short). You'll usually need to find a specific passive adapter that has the correct //amount// of BNC cables for your given PVM/BVM.{{ hardware:vga-5bnc-cable.gif?nolink |VGA to 5 BNC passive adapter. Professionals only.}} 
 +  * **Component video cables** The three red blue green cable connection. Not to be confused with the similarly spelled composite cable, as it uses three cables instead of one. Not to be confused with RGB signal, as this uses a YPbPr signal. Them being colored red blue and green is purely coincidental and not related to RGB at all.{{ hardware:330px-component-cables.jpg?nolink&300 |The three component cables. A cable spaghetti waiting to happen.}} 
 +  * **Composite signal** An //analogue// signal. The act of sending both luminance and color channels down a single wire. Utilized by the composite video cable. 
 +  * **Composite video cable** The yellow cable. That's enough, you know what I'm talking about already.{{ hardware:450px-composite-video-cable.jpg?nolink&200 |I miss this little guy like you wouldn't believe.}} 
 +  * **DisplayPort** The modern digital video connection port, common on modern graphics cards. Compatible with both DP and HDMI signals. This port cannot be used to send a native analogue signals so it is not recommended for use with CRT, but this can be worked around if you have the right equipment as explained further on in the guide. 
 +  * **DVI-I port** This is the 29 pin port in your graphics card, capable of analogue signals. You will typically find this port alongside the VGA port. Newer cards no longer include this port. It is of extreme importance to not confuse this with the identical-looking DVI-**D** port, which is only capable of digital signals. The DVI-I port has additional pins above and below the flat tongue, whereas DVI-D doesn't. DVI-A would also work, but that is exceptionally rare.{{ hardware:459px-dvi_connector_types.svg.png?200 |Diagram showing all the DVI connections.}} 
 +  * **EDID** Extended Display Identification Data (EDID) is a //digital// metadata signal used by display devices to describe their capabilities to a video source (in this case, your Batocera computer). Modern digital displays all have this, and Batocera uses that to automatically switch to a compatible resolution. Certain VGA-compatible CRT monitors also use this, but not all of them. This standard was introduced in 1994, so monitors manufactured before then do **not** have EDID. 
 +  * **Horizontal scan rate** Usually expressed in kilohertz. This is the number of times per second that a horizontal line is drawn on a display, as opposed to vertical refresh rate which is the number of times per second that an entire screen of image data is displayed. 
 +  * **Passive adapter/cables** These are simple cables that adapt one interface to another. They don't involve any circuitry, all the work is done by the machine sending out the signal. Passive cables can only go analogue-to-analogue or digital-to-digital, not analogue-to-digital or digital-to-analogue.{{ hardware:vga-to-component.jpg?nolink&300 |Plain and simple wires.}} 
 +  * **RGB video signal** In this context, refers to the //analogue// signal that has an individual channel for each Red, Blue and Green color signal. RGB is not compatible with component/composite/S-video by default, and a transcoder must be used to switch between the signals, but they otherwise are all analogue signals. 
 +  * **SCART** This is the 21 pin port that superseded the standard composite video output. Popular in Europe and Japan, but not many other places. Carries both analog video and audio signals. Natively uses an RGB video signal, but is backwards compatible with YPbPr, composite and S-video signals.{{ hardware:450px-scart_20050724_002.jpg?nolink&200 |The fat SCART connector. Most people missed out on its majesty.}} 
 +  * **S-video port** A slightly better version of composite video. This separated the color and luminance signals into two separate wires each, reducing color bleed and artifacts, but in practice the difference wasn't that significant. Common with DVD players, but not much else.{{ hardware:450px-close-up_of_s-video_female_connector.jpg?nolink&200 |The 4 pin S-video connector.}} 
 +  * **S-video signal** An //analogue// signal. Essentially the exact same signal as a composite signal, but the color and luminance signals are separated. Trivial to switch between this and composite hardware-wise, but ultimately the device needs to understand what type of signal it's receiving to properly display it. 
 +  * **RF modulator** This is a device that can translate composite, component or RGB analogue signals into a radio frequency. This is required for CRT displays that only have an RF input. VCRs usually had one of these built-in to them, and make for a fine substitute.{{ hardware:rf_modulator.jpeg?nolink&240 |This RF modulator converts composite to RF.}} 
 +  * **Three-pole A/V composite cable** A more modern analogue signal cable which violates standards by running a video signal through a 3.5mm headphone jack splitting into RCA cables. This is specifically designed to be used in the Raspberry Pi in its composite video modes, and will not be compatible with other devices/computers. Is only capable of carrying a composite signal, the other plugs are strictly for audio.{{ :three_pole_cable.jpg?nolink&240 |Could also just use it to play your (old) phone on a hi-fi system.}} 
 +  * **Transcoder** A device that can convert an RGB signal into an inferior signal like component/composite/S-video or back. Usually requires its own power source to function, but isn't an active converter (no CPU is involved processing the image).{{ hardware:rgb-to-pybyr-transcoder-back.jpg?nolink&240 |A little square box.}} 
 +  * **Vertical refresh rate** The number you're probably more familiar with, typically measured in just hertz. This is the number of full frames drawn per second. Typically this is 60 Hz for all modern displays, but older CRTs were split between 60 Hz and 50 Hz depending on where you lived. 
 +  * **VGA port** This is the 15 pin port ubiquitous with old computer video output and classroom projectors. It is important to note the distinction between a VGA signal and the DSUB connector used to carry that signal, as not all DSUB connectors actually send a VGA signal. Refer to this console-related [[http://origin.retrorgb.com/vgaconnector.html|article on RetroRGB]] about it for more info. Essentially, a DSUB port is capable of sending out either an RGB or VGA signal, given the right settings.{{ hardware:vgaconnector-02.jpg?400 |A diagram showing how the pinout of an RGB signal differs from a VGA signal, despite them both using the DSUB 15 pin port.}} 
 +  * **VGA signal** A unique hybrid //digital/analogue// signal. This became the standard for computer monitors in the late 80s/early 90s, and became **the** video standard for most devices. Although this signal has slowly begun being phased out, it's still compatible with pretty much every display ever created since its inception (if you can get a port hooked up to the display's interface that is). While the VGA signal itself is analogue, it was designed specifically for computer monitors and relies on digital signalling features absent from most consumer TVs. As such, the signal cannot be transcoded into other analogue video signals without highly specialized hardware. This is outside of the scope of this article, but assuming you can get it all working then you can still apply the later sections of this guide like ES scaling. Unlike other analogue signals, VGA utilizes an EDID to notify the machine of its resolution capabilities, so therefore it cannot be configured in the same manner as described in this guide; instead use the [[:display_issues#how_does_that_work_under_the_hood|general method for changing resolution]]. 
 +  * **YPbPr video signal** A lower-bandwidth form of RGB, which has both the green and luminance channels on one wire. Used by component video cables, but can also be sent through a SCART connection. 
 + 
 +===== Prerequisites ===== 
 + 
 +To achieve a native analogue signal on your setup, the following elements are needed: 
 + 
 +  * A network connection (wired is preferred, as it needs no configuration) 
 +  * For x86_64: 
 +    * A graphics card or integrated graphics with RGB analogue output 
 +      * **AMD**/**ATI** graphics cards with **VGA** or **DVI-I** ports (preferred, **Radeon HD 3000** series and up to **Radeon R5**/**R7**/**R9 300**), these cards are: 
 +        * **Radeon RX** up to the **300** series (excluding the **R9 390**) (**R9 380X** is the newest and most powerful AMD card supporting analogue) 
 +        * **Workstation** up to the **FirePro W5000** 
 +      * **Nvidia** graphics cards with **VGA** or **DVI-I** ports (major flaws and limited to Super Resolutions, cards made before 2008 may not have these limitations), these cards are: 
 +        * **GTX** up to the **900** series cards (**980** is the recommended card to use) <WRAP center round tip> 
 +Cards older than the **GTX 600** series may not be supported by the official Nvidia drivers, though performance with 5th gen systems and below is adequate with the nouveau drivers.
 </WRAP> </WRAP>
 +        * **Titan** cards up to the **Titan X** (but excluding **Titan X Pascal**) (**Titan X** is the most powerful card supporting analogue)
 +        * **Quadro** cards up to the **Quadro K5200**
 +      * **Nvidia** graphics card with **DisplayPort** (no native analog signal, requires disabling low-level driver limitations which are potentially dangerous, requires additional ratnest of cables):
 +        * If opting to go this route, an active converter or the CableDeconn DP to VGA adapter will be required. In general, this is not recommended as it is not a native analogue signal.
 +        * A transcoder will still be required.
 +      * **AMD** APUs with **VGA** or **DVI-I** ports on the motherboard (hit or miss, highly dependent on hardware limitations, older chips have a higher chance of working)
 +      * **Intel** integrated graphics with **VGA** or **DVI-I** ports on the motherboard (has some flaws and limitations, older chips have a higher chance of working)
 +    * If using a TV/PVM/BVM with **SCART**/**BNC** inputs, the appropriate **DVI-I**/**VGA** RGB to **SCART**/**BNC** RGB passive adapter/cable
 +    * If using a computer monitor with **VGA** input, simply a **VGA** cable
 +    * If using a TV with **component**/**composite**/**S-video** inputs, an appropriate **DVI-I**/**VGA** RGB to **component**/**composite**/**S-video** transcoder
 +      * If using a TV that only has **RF** input, you will need a **composite** to **RF** modulator in addition to the transcoder
 +  * A way to [[:access_the_batocera_via_ssh|SSH into the Batocera machine]] (for Windows, PuTTY works fine)
 +  * A way to edit files over the network (for Windows, WinScp and Notepad++ work fine)
  
-===== Testing modelines =====+<WRAP center round tip> 
 +It is highly recommended using an external editor like [[http://notepad-plus-plus.org/|Notepad++]] and [[https://winscp.net/|WinScp]] for editing, as they are easier to use than command line tools and respect Unix line terminators (unlike Windows Notepad). 
 +</WRAP>
  
-{{:user:crt_switchres_grid_test_example.jpg?200|}}+If any of that was confusing here's a professional-grade flowchart explaining what is required for each type of display (on PC):
  
-configure switchres.ini to your monitor (WinScp)+{{ hardware:tree-diagram-explaining-this.png |Two billion hours in mspaint.exe}}
  
-Connect to Batocera via SSH+===== Component Transcoders =====
  
-Have a keyboard connected+Some appropriate VGA-to-component adapters:
  
-Exit Emulation Station +RGB VGA to YPbPr Component transcoder/converter by linuxbot3000
-<code> +
-/etc/init.d/S31emulationstation stop +
-</code>+
  
-or+  * [[https://www.ebay.com/itm/174166352619]] 
 +  * [[http://wakabavideo.com/|homepage]] 
 +{{hardware:rgb-to-pybyr-transcoder.jpg?240}} {{hardware:rgb-to-pybyr-transcoder-back.jpg?240}}
  
-Exit to terminal +GreenAntz RGB to component transcoder
-''ctrl+alt+f3''+
  
-From putty type for this to test modeline 640x480@60 with configured monitor profile +{{hardware:greenantz-transcoder.jpg?240}} 
-<code> +  * [[http://forum.arcadecontrols.com/index.php/topic,164245.0.html]] 
-DISPLAY=:0 switchres 640 480 60 -i switchres.ini -s -l grid +  * [[https://www.facebook.com/groups/444560212348840/permalink/1992573517547494/?mibextid=rS40aB7S9Ucbxw6v]]
-</code> +
-You can change between 2 types of grids with Tab.+
  
-Exit pressing Escape from keyboard to try a new modeline +Retrotink RGB2COMP (Scart to Component)
  
-Go back to Es with command +{{hardware:rgb2comp.jpg?300|}} 
-<code> +  * [[https://www.retrotink.com/product-page/rgb2comp]]
-/etc/init.d/S31emulationstation start +
-</code> +
-or restart with  +
-<code> +
-reboot +
-</code> +
-Modelines to test your switchres.ini settings with  +
-<code>dotclock_min 0 (Default) 0-25 with decimal support 1.1, 8.3, 10.5 and so on</code>+
  
-[[https://gitlab.com/groovyarcade/support/-/wikis/4-Issues-and-Troubleshooting/4.4-Video-Mode-Troubleshooting/15kHz-Horizontal-Arcade-Games|Arcade Modelines]]+RGBS VGA SCART to YPBPR Component Transcoder 
 +   
 +{{hardware:rgbs_vga_scart_to_ypbpr_component_transcoder_1.jpg?240}} 
 +{{hardware:rgbs_vga_scart_to_ypbpr_component_transcoder_2.jpg?240}}   
 +  * [[https://www.aliexpress.com/item/502689543.html]]
  
-For example the Arcade game Dottori Kun ([[http://adb.arcadeitalia.net/dettaglio_mame.php?game_name=dotrikun&arcade_only=0&autosearch=1|dotrikun]]) +<WRAP center round info
-<code+Color coding is a little different on this 
-DISPLAY=:0 switchres 128 192 61.035156 -i switchres.ini --l grid +  * Green -> Pb 
-</code>+  * Red -> Y 
 +  * Blue -> Pr 
 +</WRAP>
  
-===== AMD Troubleshooting Tearfree and Freezes =====+RGBS / SCART to YCBCR / YPBPR / S-Video converter adapter
  
 +{{hardware:rgbs-scart-a-ycbcr-ypbpr-.jpg?240}}
 +Convert VGA to Scart cable to YCBCR & S-Video
 +  * [[https://www.arcadexpress.com/en/video-converters/615-convertidor-de-video-rgbs-scart-a-ycbcr-ypbpr-.html?mot_tcid=75c33dde-5be2-4fc6-ba75-933c02460a9b]]
 +Can also be found by searching AliExpress for "SCART RGBS to YUV YCBCR Video Converter"
  
-If you get uneven frame-pacing and microstutters in Mame and/or Retroarch we need to disable the option **TearFree** in the driver configuration file located at +===== Composite/S-Video Transcoders =====
-''/etc/X11/xorg.conf.d''+
  
-  * 20-amdgpu.conf (GCN 3GCN 4, GCN 5, RDNA & RDNA 2) or download an already fixed [[https://drive.google.com/file/d/1pzJYwK1uUv-eXdOXmkwAW36iVnNVsVnV/view?usp=sharing|20-amdgpu.conf]] +If you need composite/S-video/RFuse these transcoders: 
-<code> +  * [[https://www.ebay.com/itm/174151197805|RGB VGA to NTSC S-video and composite transcoder/encoder by linuxbot3000 (ebay)]] ([[http://wakabavideo.com/|homepage]]) 
-Section "OutputClass" +{{hardware:s-l1600.jpg?240}} {{hardware:s-l1600-back.jpg?240}}
-     Identifier "Fix AMD Tearing" +
-     Driver "amdgpu" +
-     MatchDriver "amdgpu" +
-     Option "TearFree" "false" +
-EndSection +
-</code>+
  
-  * 20-radeon.conf (TeraScale and older, GCN 1 GCN 2) or download an already fixed [[https://drive.google.com/file/d/1iMUUNk6z8i9tPAxHgRFTax4_9OlG6leG/view?usp=sharing|20-radeon.conf]] +RGB to Composite S-Video Ver2.0
-<code> +
-Section "OutputClass" +
-     Identifier "Fix AMD Radeon Tearing" +
-     Driver "radeon" +
-     MatchDriver "radeon" +
-     Option "TearFree" "false" +
-EndSection +
-</code>+
  
-Don't forget to ''batocera-save-overlay'' and reboot.+{{hardware:rgb-2yc_1.jpg?240}} 
  
-**Games freeze or EmulationStation freeze.** +  [[https://www.axunworks.com/product-p341706.html]]
  
-This has been reported by some users and myself included.  +===== DisplayPort to VGA DAC =====
-It's not know yet what is the underlying reason. It could be a driver or kernel issue.+
  
-We need to add **Option "DRI" "2"** in the driver configuration file located  at +If you only have a DP connection, use the CableDeconn DP to VGA adapter before sending the signal to the transcoder of your choice: 
-''/etc/X11/xorg.conf.d''+  * [[http://www.cabledeconn.com/CABLEDECONN-Multi-Function-Displayport-Dp-to-HDMIDVIVGA-Male-to-Female-3-in-1-Adapter-Converter-Cable---M0401_show83.html|Link to official website]] 
 +  * [[https://www.amazon.com/CableDeconn-Multi-Function-Displayport-Adapter-Converter/dp/B0192Y9XSE|Link to Amazon's store page for the adapter]] 
 +{{:cabledeconn_dp_to_vga_shell.jpg?230|}} {{:cabledeconn_dp_to_vga.jpg?130|}}
  
-  * 20-amdgpu.conf (GCN 3GCN 4, GCN 5, RDNA & RDNA 2or download an already fixed [[https://drive.google.com/file/d/1HkysjCg8eq-_Dk6rmPxutRDDtiBOJXhD/view?usp=sharing|20-amdgpu.conf]]+<WRAP center round info> 
 +If you are in a situation where you must use an active adapter, the CableDeconn DP to VGA adapter is one of the best optionsIt 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 adaptersthis will ruin your signal's quality). 
 +</WRAP>
  
-<code> +===== USB-C to VGA DAC =====
-Section "OutputClass" +
-     Identifier "Fix AMD Tearing" +
-     Driver "amdgpu" +
-     MatchDriver "amdgpu" +
-     Option "TearFree" "false" +
-     Option "DRI" "2" +
-EndSection +
-</code>+
  
-  * 20-radeon.conf (TeraScale and olderGCN 1 & GCN 2or download an already fixed [[https://drive.google.com/file/d/1-201t3Q0WLrS4iij_FOzGkQXJT0XEJBx/view?usp=sharing|20-radeon.conf]]+If you only have a USB-C connection, use the StartTech.com USB type C to VGA3m, CDP2VGA3MBNL (Note: this 3m cable has the RTD2166 chip. Shorter versions of the same brand use a different chip that may not be compatiblebefore sending the signal to the transcoder of your choice: 
 +  * [[https://www.startech.com/en-us/audio-video-products/cdp2vga3mbnl|Link to official website]] 
 +  * [[https://www.amazon.com/USB-VGA-Cable-Computer-Monitor/dp/B078MS23PL?th=1|Link to Amazon's store page for the adapter]] 
 +{{:startech.com_-_cdp2vga3mbnl.jpg?230|}}
  
-<code+<WRAP center round info
-Section "OutputClass" +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). 
-     Identifier "Fix AMD Radeon Tearing" +</WRAP>
-     Driver "radeon" +
-     MatchDriver "radeon" +
-     Option "TearFree" "false" +
-     Option "DRI" "2" +
-EndSection +
-</code>+
  
-Don't forget to ''batocera-save-overlay'' and reboot.+===== Connecting the PC to a CRT display =====
  
-  Short explanation of expression mentioned here+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.
  
-//TearFree is tearing prevention option which prevents tearing by using the hardware page flipping mechanism//+<WRAP center round important> 
 +During the boot process and resizing of the partition it will boot up in non-supported resolution. Keep the CRT TV off for the moment or on another AV channel so it doesn't receive <wrap em>dangerous signals</wrap>. **These signals can destroy your CRT TV.**
  
-//Microstutter short irregular frame dips//+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.</WRAP>
  
-//Frame-pacing uneven distribution of frames//+**To solve this we have 4 options:** 
 +  * Do the aforementioned, leaving the CRT TV off or on another channel. 
 +  * Have a look at gambaman's excellent solution [[http://forum.arcadecontrols.com/index.php/topic,160869.0.html|The ultimate VGA to SCART adapter]] over at Build Your Own Arcade Controls Forum (BYOAC). 
 +  * Use buttersoft's passthrough dongle based on gambaman's design in the link above. 
 +  * Flash you AMD/ATI card with [[http://example.com|ATOM-15]].
  
 +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.
  • user/rion.1631703650.txt.gz
  • Last modified: 5 years ago
  • by atari