Suggestion: how dos libva knows what driver to load at runtime? Maybe we could check how it is doing that. If the logic is simple, we could use the same code here to pre-load the driver and we might have a chance to get this upstream.