- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i'm using msdk for linux server 2013 , the os is ubuntu 12.04 lts ,and the samples are building and running ok.
now, i write a h264 decoder for my mutithreading programm, the decoder will be initialized in a new thread, and when create hardware device (drm mod), i got this error:
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 1
vaInitialize failed
While, if the decoder is not created in new thread, it's inialized ok
is there any problem like this ??
or give me some tips ,3ks!!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you also see this problem when running as root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes,it's running as root,and the thread attribute is same as the main thread,
can different mfx sessions use one vaapidevice instance when sethandle ?if so i can initialize the hard device instance at the main thread,and then use it in all new threads
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page