How to run program developed by Media SDK for linux without X11 active session?

How to run program developed by Media SDK for linux without X11 active session?

I found the demo do not work without active X11 session. Could it possible to run program developed by the SDK without installing X11?

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

With Media SDK for Linux Servers there is no need to install X11.  For most purposes installing the DRM (direct rendering manager) version of the driver is recommended.  This will work if run from an X11 environment as well as if X11 is not even installed on the machine.  The DRM mode allows headless operation, while X11 mode does not.  The main reason to install X11 mode is to support decode rendering, but there are many other ways to display output from Media SDK.

Please re-install without pressing 'Y' for X11, then try the DRM samples.  

Thanks! 

Hello Jeffrey,

Media sdk start guide state to verify that VGA adapter is Intel type.

Is it just for the decode rendering which you mentioned above or is it also used with other demos ?

Thank you,

Ran 

Hi Ran,

Yes, there should be an Intel VGA adapter at 00:02.0.  You can check like this:

$ lspci -nn -v -s 00:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:162a] (rev 0a) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Device [8086:2010]
        Flags: bus master, fast devsel, latency 0, IRQ 53
        Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
        Memory at a0000000 (64-bit, prefetchable) [size=512M]
        I/O ports at 5000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915

However, this does not mean that a monitor needs to be attached or that an active X-session needs to be running.  The only place X11 mode is expected to help is rendering, otherwise the DRM mode is a newer replacement for X11.  DRM mode should be used in most cases.

Leave a Comment

Please sign in to add a comment. Not a member? Join today