libva icon indicating copy to clipboard operation
libva copied to clipboard

Too many logs in the va initialization

Open hongbolv opened this issue 3 years ago • 3 comments

When every process initializes the media driver, there are always fine lines log in the terminal. In the server side, if we have multiple channels, the log size will increase to n*5 lines. Then it is not easy to find the useful log.

hongbolv avatar Sep 01 '21 05:09 hongbolv

@hongbolv , what you mentioned is these log? libva info: VA-API version 1.13.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /home/intel/carl/open_driver/build/media_driver/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0

XinfengZhang avatar Sep 13 '21 13:09 XinfengZhang

@XinfengZhang I see the same logs during my gstreamer app initialization. Is there some env var should I use to disable this output?

pyldin601 avatar Apr 12 '22 14:04 pyldin601

yes, you could use LIBVA_MESSAGING_LEVEL to set the level, also , there are one discussion about default message level https://github.com/intel/libva/pull/564

XinfengZhang avatar Apr 13 '22 05:04 XinfengZhang