Running simply "xvinfo" causes the program to print the information it should, then exit with code 1, i.e. an error code.
This is not documented, and causes programs that call xvinfo to think there's a problem when there isn't.
The fix would seem to be as simple as changing "return 1" to "return 0" at the bottom of xvinfo.c.
Looking at other programs in the x11-utils suite, they seem to return 0 (as they should) on normal exit, so as far as I can tell this is a one-off error, not an undocumented convention.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xvinfo/issues/1.