Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11 on-screen rendering don't work in runtime only environment #150

Closed
dvrogozh opened this issue Apr 18, 2018 · 0 comments
Closed

X11 on-screen rendering don't work in runtime only environment #150

dvrogozh opened this issue Apr 18, 2018 · 0 comments

Comments

@dvrogozh
Copy link
Contributor

See:

This is a linker name which is not available if end-user will install only runtime environment (i.e. libva.rpm without libva-devel.rpm). Thus, onscreen rendering will not work. This can be easily tried with:
sample_decode h264 -i input.264 -r
where sample_decode is a mediasdk sample (see https://github.com/Intel-Media-SDK/MediaSDK).

dvrogozh added a commit to dvrogozh/media-driver that referenced this issue Apr 18, 2018
libva-x11.so is a linker name and is not available in the runtime
environment (if libva-devel package is not installed). Thus, on-screen
rendering with X Server will not work. This patch changes to use
soname instead.

Fixes: intel#150

Change-Id: I82b9943c10a9d8f0e7d12c824ebcddd9c6b6b0bd
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
dvrogozh added a commit to dvrogozh/media-driver that referenced this issue Apr 20, 2018
libva-x11.so is a linker name and is not available in the runtime
environment (if libva-devel package is not installed). Thus, on-screen
rendering with X Server will not work. This patch changes to use
soname instead.

Fixes: intel#150

Change-Id: I82b9943c10a9d8f0e7d12c824ebcddd9c6b6b0bd
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
oliver-sang pushed a commit that referenced this issue Apr 25, 2018
libva-x11.so is a linker name and is not available in the runtime
environment (if libva-devel package is not installed). Thus, on-screen
rendering with X Server will not work. This patch changes to use
soname instead.

Fixes: #150

Change-Id: I82b9943c10a9d8f0e7d12c824ebcddd9c6b6b0bd
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
jonrecker added a commit to jonrecker/media-driver that referenced this issue Jun 6, 2018
libX11.so is a linker name so it is not available if the
libX11-dev package is not installed. As a result, attempting to
render to screen with X server will fail (e.g. sample_decode -r)

This fix changes the code to dlopen the actual library name
instead: libX11.so.6

The same patch has been applied to MediaSDK samples:
Intel-Media-SDK/MediaSDK#210

And a similar issue was addressed in media-driver:
intel#150
intel-mediadev pushed a commit that referenced this issue Aug 13, 2018
libX11.so is a linker name so it is not available if the
libX11-dev package is not installed. As a result, attempting to
render to screen with X server will fail (e.g. sample_decode -r)

This fix changes the code to dlopen the actual library name
instead: libX11.so.6

The same patch has been applied to MediaSDK samples:
Intel-Media-SDK/MediaSDK#210

And a similar issue was addressed in media-driver:
#150
czhou26 pushed a commit to VCDP/media-driver that referenced this issue Sep 28, 2018
libva-x11.so is a linker name and is not available in the runtime
environment (if libva-devel package is not installed). Thus, on-screen
rendering with X Server will not work. This patch changes to use
soname instead.

Fixes: intel#150

Change-Id: I82b9943c10a9d8f0e7d12c824ebcddd9c6b6b0bd
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
TianmiChen pushed a commit to TianmiChen/media-driver that referenced this issue Dec 14, 2018
libX11.so is a linker name so it is not available if the
libX11-dev package is not installed. As a result, attempting to
render to screen with X server will fail (e.g. sample_decode -r)

This fix changes the code to dlopen the actual library name
instead: libX11.so.6

The same patch has been applied to MediaSDK samples:
Intel-Media-SDK/MediaSDK#210

And a similar issue was addressed in media-driver:
intel/media-driver#150

Change-Id: Ib3caee895dccaaa48528c6c9ce179854034825b9
taowan1 pushed a commit to projectceladon/media-driver that referenced this issue Sep 4, 2019
libX11.so is a linker name so it is not available if the
libX11-dev package is not installed. As a result, attempting to
render to screen with X server will fail (e.g. sample_decode -r)

This fix changes the code to dlopen the actual library name
instead: libX11.so.6

The same patch has been applied to MediaSDK samples:
Intel-Media-SDK/MediaSDK#210

And a similar issue was addressed in media-driver:
intel/media-driver#150

Change-Id: Ib3caee895dccaaa48528c6c9ce179854034825b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant