FBCBARS(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, meet FBCBARS(1) from BRL-CAD β€” the manual page for fbcbars, aka the little icon that displays standard color bars on a framebuffer. slay. πŸ’…


✨ SYNOPSIS ✨

fbcbars [-e | -f | -s] [-F framebuffer] [-S squarescrsize] [-W scr_width] [-N scr_height] [-h]

🌈 DESCRIPTION 🌈

fbcbars displays a standard color bar scale on the currently selected framebuffer. by default, or when the -s option is provided, SMPTE color bars are displayed. the other supported patterns include FCC/EBU and EIA color bars. ✨

if no framebuffer is explicitly specified, the environment variable FB_FILE is used (see brlcad(1)). ordinarily, the requested framebuffer size is the device default. no cap. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -e β€” display standard EIA color bars, arranged horizontally. the bottom quarter of the screen will be -I, 100% white, Q, black. the upper three-quarters of the screen will be seven colors at 75% intensity: grey, yellow, cyan, green, magenta, red, blue. iconic arrangement tbh 🌸
  • -f β€” display FCC/EBU color bars. the entire screen will contain 8 colors: 100% white, 75% yellow, 75% cyan, 75% green, 75% magenta, 75% red, 75% blue, and black. full-screen color moment πŸ’…
  • -s β€” display SMPTE color bars (the default). this is the EIA pattern with the upper quarter of the bottom quarter of the screen containing a reversed and shifted version of the upper pattern, which is very useful for aligning color demodulators in monitors. using a dichroic blue filter, observe the magenta and cyan bars on the NTSC monitor. adjust the phase of the chroma demodulator until they have visually equal intensity. at this point, all the other color bars will display the correct chroma. this is the main-character testing vibe πŸ”₯
  • -F framebuffer β€” explicitly specify the framebuffer to use. if this option is not provided, the environment variable FB_FILE is used. πŸ¦‹
  • -S squarescrsize β€” set both the height and width of the display device to the given size. square screen era ✨
  • -W scr_width β€” specify the width of each output scanline, in pixels. πŸ“
  • -N scr_height β€” specify the desired height in scanlines of the display device. πŸ“
  • -h, -? β€” print usage information and exit. the classic help-me escape hatch πŸ’–

🌟 EXAMPLES 🌟

Example 1. Capture SMPTE bars to a pix file for later use

fbcbars -s -S 512 -F /tmp/bars.pix

opens the in-memory pix(5) file framebuffer /tmp/bars.pix at 512x512 and writes the default SMPTE color bars into it. the resulting file can be inspected with pix-fb(1) or converted to PNG with pix-png(1), which is a convenient way to generate a reference test pattern without a physical display. obsessed with the no-display workflow πŸŽ€

Example 2. Display FCC/EBU bars at HD resolution on the default framebuffer

FB_FILE=/dev/X fbcbars -f -W 1920 -N 1080

displays full-screen FCC/EBU color bars at 1920x1080 on the framebuffer named by the FB_FILE environment variable, here an X11 display. this is useful for checking the color reproduction and geometry of a newly configured display device. geometry check + color check = responsible queen behavior πŸ‘‘πŸŒˆ


πŸ‘€ SEE ALSO πŸ‘€

brlcad(1), fbclear(1), fbgrid(1), fbframe(1), pix-fb(1), pixbackgnd(1), libfb(3)


πŸ’« INSPIRATIONS πŸ’«

Mike Pique, University of North Carolina

Doris Kochanek, National Film Board of Canada


🫢 AUTHOR 🫢

BRL-CAD Team


This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.


😭 BUG REPORTS 😭

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org


okay that's the whole BRL-CAD fbcbars(1) moment πŸ’– the footer source/version is BRL-CAD, the manual is FBCBARS(1), and this page doesn't show a date, so no made-up date from me 🫢✨

πŸ“¦ where this page comes from