Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3058 Discussions

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

fei_y_
Beginner
279 Views

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

0 Kudos
3 Replies
Jeffrey_M_Intel1
Employee
279 Views

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! 

0 Kudos
rshal2
New Contributor II
279 Views

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 

0 Kudos
Jeffrey_M_Intel1
Employee
279 Views

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.

0 Kudos
Reply