> Hello! > > I am using vaapi for decoding h.264 video in Linux env (only DRM). > > If I an starting several processes, second process can`t > vaInitialize. > Now I am solving it, using several decoding streams in one process > with same VADisplay, setting lock for decoding, so only one thread > really decoding in one time slot. > > How to so it with several independent processes? Should I just share > VADisplay? or are there some trick?
Are you using /dev/dri/card0, not /dev/dri/renderD128 in your APP ? If yes, please try /dev/dri/renderD128 instead. For /dev/dri/card0, you have to get access permission unless you login as root user or your process is the first process to access /dev/dri/card0. Thanks Haihao > > -- > Nikita Orlov > Skype: nik_stet > QQ: 2717846083 > _______________________________________________ > Libva mailing list > Libva@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/libva _______________________________________________ Libva mailing list Libva@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libva