Announcement

Collapse
No announcement yet.

VAAPI blue skin: the solution

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

  • VAAPI blue skin: the solution

    I have no idea where to post this. I hope people will find this here and find it useful.

    As reported at http://www.hkepc.com/forum/viewthread.php?tid=1385589 and http://www.phoronix.com/forums/showp...&postcount=498 I can run mplayer -vo vaapi -va vaapi but then everyone's face / skin is blue. Very nice effect

    You want mplayer -vf rgb2bgr=swap,scale -vo vaapi -va vaapi

  • #2
    Ubuntu Karmic build instructions are at http://drupal4hu.com/node/244

    Comment


    • #3
      Still only mpeg2 acceleration, am I right?
      ## VGA ##
      AMD: X1950XTX, HD3870, HD5870
      Intel: GMA45, HD3000 (Core i5 2500K)

      Comment


      • #4
        Absolutely not, I have an AVC1 1080p mkv which pretty much does not play on my laptop without VA API and plays acceptable w it.

        Comment


        • #5
          And what does

          vainfo

          show you?

          Comment


          • #6
            Btw. my script enables 965 driver on the fly too, maybe you did not notice it...

            Comment


            • #7
              i965 seems to only support MPEG2 at the moment:

              Code:
              libva: libva version 0.31.0
              libva: va_getDriverName() returns 0
              libva: Trying to open /usr/lib/dri/i965_drv_video.so
              libva: va_openDriver() returns 0
              vainfo: VA API version: 0.31
              vainfo: Driver version: i965 Driver 0.1
              vainfo: Supported profile and entrypoints
                    VAProfileMPEG2Simple            :	VAEntrypointVLD
                    VAProfileMPEG2Main              :	VAEntrypointVLD

              Comment


              • #8
                Yes, i know, that's why bean's comments are a bit curious.

                Comment


                • #9
                  Too bad, I was already patching my mplayer ebuild
                  It seems I will have to use mplayer-mt for a while...
                  ## VGA ##
                  AMD: X1950XTX, HD3870, HD5870
                  Intel: GMA45, HD3000 (Core i5 2500K)

                  Comment


                  • #10
                    Originally posted by bean View Post
                    I have no idea where to post this. I hope people will find this here and find it useful.

                    As reported at http://www.hkepc.com/forum/viewthread.php?tid=1385589 and http://www.phoronix.com/forums/showp...&postcount=498 I can run mplayer -vo vaapi -va vaapi but then everyone's face / skin is blue. Very nice effect

                    You want mplayer -vf rgb2bgr=swap,scale -vo vaapi -va vaapi
                    I don't understand your problem, please be more specific. The second link you mention is not relevant at all since this is a Radeon HD 5x00 specific problem. Ah, I probably forgot to fix the V/U planes in G45? You'd probaby want to replace all VA_FOURCC('Y','V','1','2') occurrences with VA_FOURCC('I','4','2','0') in i965_drv_video.c.

                    Comment

                    Working...
                    X