Skip to contentSkip to conversation

libvncserver: disable libva support

PATCH New Floris Bos 3 participants 3 messages Dec 27, 2014

lore
Share & tools
lore

Floris Bos

author
#0 lore raw

PATCH 1/1 libvncserver: disable libva support

The libvncclient library (part of libvncserver) has optional support for HW accelerated H264 video playback using libva

However there are currently two problems with it:

1) it only supports libva compiled with X11 support enabled, but it does not verify that is the case, resulting in compile errors.

2) it only supports the libva 1.0.x API, and not newer libva versions, like 1.4.x we include with buildroot.

https://github.com/LibVNC/libvncserver/issues/11

Disabling libva support for now.

---
 package/libvncserver/libvncserver.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/libvncserver/libvncserver.mk +4 -0
index ced6689..a8389b4 100644
@@ -17,6 +17,10 @@ LIBVNCSERVER_DEPENDENCIES = host-pkgconf
 # tarball, so we need to generate them.
 LIBVNCSERVER_AUTORECONF = YES
 
+# libvncserver does not get along with newer libva versions
+# https://github.com/LibVNC/libvncserver/issues/11
+LIBVNCSERVER_CONF_OPTS += --without-libva
+
 # only used for examples
 LIBVNCSERVER_CONF_OPTS += --with-sdl-config=/bin/false
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 libvncserver: disable libva support

Floris, All,

On 2014-12-27 18:01 +0100, Floris Bos spake thusly:

Quoted 8 lines

The libvncclient library (part of libvncserver) has optional support for HW accelerated H264 video playback using libva

However there are currently two problems with it:

1) it only supports libva compiled with X11 support enabled, but it does not verify that is the case, resulting in compile errors.

Quoted 8 lines

2) it only supports the libva 1.0.x API, and not newer libva versions, like 1.4.x we include with buildroot.

https://github.com/LibVNC/libvncserver/issues/11

Disabling libva support for now.

Regards,
Yann E. MORIN.

Quoted 26 lines
---
 package/libvncserver/libvncserver.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/libvncserver/libvncserver.mk +4 -0
index ced6689..a8389b4 100644
@@ -17,6 +17,10 @@ LIBVNCSERVER_DEPENDENCIES = host-pkgconf
 # tarball, so we need to generate them.
 LIBVNCSERVER_AUTORECONF = YES
 
+# libvncserver does not get along with newer libva versions
+# https://github.com/LibVNC/libvncserver/issues/11
+LIBVNCSERVER_CONF_OPTS += --without-libva
+
 # only used for examples
 LIBVNCSERVER_CONF_OPTS += --with-sdl-config=/bin/false
 
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 libvncserver: disable libva support

In reply to Floris Bos

Dear Floris Bos,

Quoted 8 lines · Floris Bos

The libvncclient library (part of libvncserver) has optional support for HW accelerated H264 video playback using libva

However there are currently two problems with it:

1) it only supports libva compiled with X11 support enabled, but it does not verify that is the case, resulting in compile errors.

Quoted 8 lines

2) it only supports the libva 1.0.x API, and not newer libva versions, like 1.4.x we include with buildroot.

https://github.com/LibVNC/libvncserver/issues/11

Disabling libva support for now.

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com