Raspberry Pi Composite Video Output
Apparently the configuration options in Raspberry Pi OS have changed, so most of
the information you will find online about this is outdated and won’t fully work. I
think this is because of a change to the video driver.
I’m using the Raspberry Pi OS version released July 4th 2024.
The instructions might be slightly different for a Pi 4 – I only have a Pi 3 B+.
What I had to do is edit two files in the “bootfs” partition of the SD card. You
can do this with a PC running Windows.
I haven’t experimented to find the key changes that actually fixed it, so you might
not need absolutely all of these changes.
In “config.txt”, change the section titled “# Enable DRM VC4 V3D driver” to match
the following:
# Enable DRM VC4 V3D driver
enable_tvout=1
dtoverlay=vc4-kms-v3d,composite
max_framebuffers=2
Don’t bother trying to configure the overscan in that file, it won’t work.
Now open “cmdline.txt”. This file only contains one long line, so make sure you
append to that line rather than trying to add a new one underneath.
Mine looks like this:
console=serial0,115200 console=tty1 root=PARTUUID=<your-part-uuid-here>
rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-
consoles cfg80211.ieee80211_regdom=GB vc4.tv_norm=PAL video=Composite-
1:720x576@50,margin_left=64,margin_right=64,margin_top=64,margin_bottom=64
You will have a different value for PARTUUID. I’m in GB. If you’re in a different
region, you’ll have a different selection for ieee80211_regdom, and you need to pay
attention to what analogue TV format you’ve got selected. Check the documentation
here to find the right values for your TV:
https://www.raspberrypi.com/documentation/computers/config_txt.html
Note that overscan is set in the cmdline.txt file now, not config.txt. I set my
overscan up so that the whole desktop is visible on the CRT, with black borders
around it. I wouldn’t recommend that if you’re going to watch videos, I only set it
up this way so I could use the whole desktop.