Announcement

Collapse
No announcement yet.

Hardware video acceleration not working on HD4530 (DisablePCIEx1LaneUVD?????)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Skip last post.

    I didn't notice about the moderators revision before posting.

    I apologize.

    Comment


    • #12
      Why do you try webm and not h264 l4.1 or vc1? vp8 is not accellerated.

      Comment


      • #13
        Originally posted by Kano View Post
        Why do you try webm and not h264 l4.1 or vc1? vp8 is not accellerated.
        Excuse me Kano, but I don't even know what's webm.
        Could you tell me the exact instructions ?

        Thanks.

        Comment


        • #14
          One more thing.

          Trying to get it work I was going to compile hwdecode-demos and i got this when configuring:
          Code:
          ...
          checking for gluPerspective in -lGLU... yes
          checking for Crystal HD... no
          checking for old libVA API 0.29... no
          checking for VAAPI_X11_DEPS... yes
          checking for VAAPI_GLX_DEPS... yes
          checking for VDPAU... yes
          checking for VDPAU/MPEG-4 support... yes
          checking for XvBA... no
          configure: creating ./config.status
          config.status: creating Makefile
          config.status: creating src/Makefile
          config.status: creating src/config.h
          config.status: executing depfiles commands
          As you can see, it doesn't detect any xvba support, but it's installed.
          What can be this ?

          Comment


          • #15
            You don't have got xvba headers also the hw decode demos code is without direct xvba code. Well i read webm in your output, but of course you used h264. Well the problem is that not all files are supported, maybe try something with vc1. What usually works are dl files from youtube.

            Comment


            • #16
              Originally posted by Kano View Post
              You don't have got xvba headers also the hw decode demos code is without direct xvba code. Well i read webm in your output, but of course you used h264. Well the problem is that not all files are supported, maybe try something with vc1. What usually works are dl files from youtube.
              Well, let's see.
              Trying to compile hw decode gives me this error:
              Code:
              Making all in src
              make[1]: Entering directory `/home/txboy/Descargas/hwdecode-demos-0.9.4/src'
              make  all-am
              make[2]: Entering directory `/home/txboy/Descargas/hwdecode-demos-0.9.4/src'
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-common.o -MD -MP -MF .deps/ffmpeg_h264-common.Tpo -c -o ffmpeg_h264-common.o `test -f 'common.c' || echo './'`common.c
              mv -f .deps/ffmpeg_h264-common.Tpo .deps/ffmpeg_h264-common.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-debug.o -MD -MP -MF .deps/ffmpeg_h264-debug.Tpo -c -o ffmpeg_h264-debug.o `test -f 'debug.c' || echo './'`debug.c
              mv -f .deps/ffmpeg_h264-debug.Tpo .deps/ffmpeg_h264-debug.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-utils.o -MD -MP -MF .deps/ffmpeg_h264-utils.Tpo -c -o ffmpeg_h264-utils.o `test -f 'utils.c' || echo './'`utils.c
              mv -f .deps/ffmpeg_h264-utils.Tpo .deps/ffmpeg_h264-utils.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-image.o -MD -MP -MF .deps/ffmpeg_h264-image.Tpo -c -o ffmpeg_h264-image.o `test -f 'image.c' || echo './'`image.c
              image.c: In function 'image_convert_libswscale':
              image.c:542: warning: passing argument 2 of 'sws_scale' from incompatible pointer type
              /usr/include/libswscale/swscale.h:195: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **'
              mv -f .deps/ffmpeg_h264-image.Tpo .deps/ffmpeg_h264-image.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-buffer.o -MD -MP -MF .deps/ffmpeg_h264-buffer.Tpo -c -o ffmpeg_h264-buffer.o `test -f 'buffer.c' || echo './'`buffer.c
              mv -f .deps/ffmpeg_h264-buffer.Tpo .deps/ffmpeg_h264-buffer.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-x11.o -MD -MP -MF .deps/ffmpeg_h264-x11.Tpo -c -o ffmpeg_h264-x11.o `test -f 'x11.c' || echo './'`x11.c
              mv -f .deps/ffmpeg_h264-x11.Tpo .deps/ffmpeg_h264-x11.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-utils_x11.o -MD -MP -MF .deps/ffmpeg_h264-utils_x11.Tpo -c -o ffmpeg_h264-utils_x11.o `test -f 'utils_x11.c' || echo './'`utils_x11.c
              mv -f .deps/ffmpeg_h264-utils_x11.Tpo .deps/ffmpeg_h264-utils_x11.Po
              gcc -DHAVE_CONFIG_H -I.     -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DUSE_FFMPEG    -DUSE_VAAPI -DUSE_VAAPI_X11 -DUSE_VAAPI_GLX  -DUSE_H264 -g -O2 -MT ffmpeg_h264-glx.o -MD -MP -MF .deps/ffmpeg_h264-glx.Tpo -c -o ffmpeg_h264-glx.o `test -f 'glx.c' || echo './'`glx.c
              In file included from utils_glx.h:26,
                               from glx.h:25,
                               from glx.c:23:
              glx_compat.h:42: error: conflicting types for 'PFNGLVDPAUREGISTERVIDEOSURFACENVPROC'
              /usr/include/GL/glext.h:11009: note: previous declaration of 'PFNGLVDPAUREGISTERVIDEOSURFACENVPROC' was here
              In file included from utils_glx.h:26,
                               from glx.h:25,
                               from glx.c:23:
              glx_compat.h:43: error: conflicting types for 'PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC'
              /usr/include/GL/glext.h:11010: note: previous declaration of 'PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC' was here
              make[2]: *** [ffmpeg_h264-glx.o] Error 1
              make[2]: Leaving directory `/home/txboy/Descargas/hwdecode-demos-0.9.4/src'
              make[1]: *** [all] Error 2
              make[1]: Leaving directory `/home/txboy/Descargas/hwdecode-demos-0.9.4/src'
              make: *** [all-recursive] Error 1
              Also you say that not all files are supported but I ask, why they work in Windows with same Catalyst version ?
              I still think there's something to configure to do it work on this machine.

              Comment


              • #17
                My vlc script will compile also hw decode demos. Just run that script twice (as root it installs depends, as user it will install everything in ~/dist).
                Code:
                wget -qO- http://kanotix.com/files/fix/vlc-vaapi-local.txt|sudo sh
                wget -qO- http://kanotix.com/files/fix/vlc-vaapi-local.txt|sh

                Comment


                • #18
                  Originally posted by Kano View Post
                  My vlc script will compile also hw decode demos. Just run that script twice (as root it installs depends, as user it will install everything in ~/dist).
                  Code:
                  wget -qO- http://kanotix.com/files/fix/vlc-vaapi-local.txt|sudo sh
                  wget -qO- http://kanotix.com/files/fix/vlc-vaapi-local.txt|sh
                  Compiled everything but didn't find hwdecode. Vlc crash when try to play any h264 video with gpu decode enabled.

                  No luck with this.

                  Comment


                  • #19
                    Maybe you did not get the filenames:

                    vaapi_h264 vaapi_mpeg2 vaapi_mpeg4 vaapi_vc1

                    For nv you could try:

                    vaapi_h264 vaapi_mpeg2 vaapi_mpeg4 vaapi_vc1

                    There are also ffmpeg files but they don't seem to work:

                    ffmpeg_h264 ffmpeg_mpeg2 ffmpeg_mpeg4 ffmpeg_vc1

                    Comment


                    • #20
                      Originally posted by Kano View Post
                      Maybe you did not get the filenames:

                      vaapi_h264 vaapi_mpeg2 vaapi_mpeg4 vaapi_vc1

                      For nv you could try:

                      vaapi_h264 vaapi_mpeg2 vaapi_mpeg4 vaapi_vc1

                      There are also ffmpeg files but they don't seem to work:

                      ffmpeg_h264 ffmpeg_mpeg2 ffmpeg_mpeg4 ffmpeg_vc1
                      Where can I take that files ?
                      What must I do with them ?

                      Sorry and thank you very much for your help again.

                      Comment

                      Working...
                      X