Announcement

Collapse
No announcement yet.

yv12 ,xvideo support

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

  • yv12 ,xvideo support

    i have ati x1600 on amd x86_64 i've installed the driver 8.33.06
    but when i run xine-check i get

    Your X server doesn't support YV12 overlays.

    and

    Your X server doesn't have any XVideo support.

    how can i fix this ?

  • #2
    In your modules section of your xorg.conf does it show module extmod? What is the output of xvinfo ?
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      Originally posted by Michael View Post
      In your modules section of your xorg.conf does it show module extmod? What is the output of xvinfo ?

      i can't find extmod in xorg.conf

      when i type
      xvinfo
      X-Video Extension version 2.2
      screen #0
      no adaptors present

      Comment


      • #4
        Add the following to your xorg.conf:

        Section "Module"
        Load "extmod"
        EndSection
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #5
          Originally posted by Michael View Post
          Add the following to your xorg.conf:

          Section "Module"
          Load "extmod"
          EndSection

          i've added the above line in xorg.conf to be as follows :

          # Xorg configuration created by system-config-display

          Section "ServerLayout"
          Identifier "single head configuration"
          Screen 0 "aticonfig-Screen[0]" 0 0
          InputDevice "Keyboard0" "CoreKeyboard"
          EndSection

          Section "Files"
          ModulePath "/usr/lib64/xorg/modules"
          EndSection

          Section "InputDevice"
          Identifier "Keyboard0"
          Driver "kbd"
          Option "XkbModel" "pc105"
          Option "XkbLayout" "us"
          EndSection

          Section "Monitor"
          Identifier "aticonfig-Monitor[0]"
          Option "VendorName" "ATI Proprietary Driver"
          Option "ModelName" "Generic Autodetecting Monitor"
          Option "DPMS" "true"
          EndSection

          Section "Device"
          Identifier "Videocard0"
          Driver "radeon"
          EndSection

          Section "Device"
          Identifier "aticonfig-Device[0]"
          Driver "fglrx"
          EndSection

          Section "Screen"
          Identifier "Screen0"
          Device "Videocard0"
          DefaultDepth 24
          SubSection "Display"
          Viewport 0 0
          Depth 24
          EndSubSection
          EndSection

          Section "Screen"
          Identifier "aticonfig-Screen[0]"
          Device "aticonfig-Device[0]"
          Monitor "aticonfig-Monitor[0]"
          DefaultDepth 24
          SubSection "Display"
          Viewport 0 0
          Depth 24
          Modes "1280x1024"
          EndSubSection
          EndSection

          Section "Extensions"
          Option "Composite" "Disable"
          EndSection

          Section "DRI"
          Group 0
          MODE 0666
          EndSection

          Section "Module"
          Load "extmod"
          EndSection

          and reboot , but the problem still exist

          found xvinfo: X-Video Extension version 2.2
          [ hint ] Your X server doesn't support YV12 overlays.
          That means xine will have to do color space transformation and scaling
          in software, which is quite CPU intensive. Maybe upgrading your
          X server will help here.
          If you have an ATI card, you'll find accelerated X servers on
          http://www.linuxvideo.org/gatos/

          Your X server doesn't have any XVideo support...
          XVideo is an X server extension introduced by XFree86 4.x. This
          extension provides access to hardware accelerated color space
          conversion and scaling, which gives a great performance boost.
          If you have a fast (>1GHz) machine, you may be able to watch all
          kinds of video, anyway. You will waste lots of CPU cycles, though...

          Comment


          • #6
            Originally posted by localizer View Post
            i have ati x1600 on amd x86_64 i've installed the driver 8.33.06
            but when i run xine-check i get

            Your X server doesn't support YV12 overlays.

            and

            Your X server doesn't have any XVideo support.

            how can i fix this ?
            Try this:

            In the Device section of /etc/X11/xorg.conf add the following option:
            Code:
            Option   "VideoOverlay" "on"
            So, this sections should read:
            Code:
            Section "Device"
                    Identifier  "aticonfig-Device[0]"
                    Driver      "fglrx"
                    Option     "VideoOverlay" "on"
            EndSection
            HTH,

            Partha
            www.partha.com

            Comment


            • #7
              Originally posted by partha View Post
              Try this:

              In the Device section of /etc/X11/xorg.conf add the following option:
              Code:
              Option   "VideoOverlay" "on"
              So, this sections should read:
              Code:
              Section "Device"
                      Identifier  "aticonfig-Device[0]"
                      Driver      "fglrx"
                      Option     "VideoOverlay" "on"
              EndSection
              HTH,

              Partha
              www.partha.com
              i've added the above line , but still the problem exist

              Comment


              • #8
                Add the following line to the Module section of your xorg.conf file:

                Code:
                	Load  "XVideo"

                If it can help you, here's my xorg.conf file:

                Code:
                # Xorg configuration created by system-config-display
                
                Section "ServerLayout"
                	Identifier     "single head configuration"
                	Screen      0  "aticonfig-Screen[0]" 0 0
                	InputDevice    "Keyboard0" "CoreKeyboard"
                EndSection
                
                Section "Files"
                	FontPath     "unix/:7100"
                EndSection
                
                Section "Module"
                	Load  "extmod"
                	Load  "v4l"
                	Load  "XVideo"
                	Load  "dri"
                	Load  "glx"
                EndSection
                
                Section "ServerFlags"
                	Option	    "AIGLX" "off"
                EndSection
                
                Section "InputDevice"
                	Identifier  "Keyboard0"
                	Driver      "kbd"
                	Option	    "XkbModel" "pc105"
                	Option	    "XkbLayout" "ca(fr)"
                EndSection
                
                Section "InputDevice"
                	Identifier  "Mouse0"
                	Driver      "mouse"
                	Option	    "Protocol" "IMPS/2"
                	Option	    "Device" "/dev/input/mice"
                	Option	    "ZAxisMapping" "4 5"
                	Option	    "Emulate3Buttons" "yes"
                EndSection
                
                Section "Monitor"
                	Identifier   "Monitor0"
                	ModelName    "NEC Multisync"
                	Option	    "dpms"
                EndSection
                
                Section "Monitor"
                	Identifier   "aticonfig-Monitor[0]"
                	Option	    "VendorName" "ATI Proprietary Driver"
                	Option	    "ModelName" "Generic Autodetecting Monitor"
                	Option	    "DPMS" "true"
                EndSection
                
                Section "Device"
                	Identifier  "Videocard0"
                	Driver      "radeon"
                EndSection
                
                Section "Device"
                	Identifier  "aticonfig-Device[0]"
                	Driver      "fglrx"
                #	Option	    "DesktopSetup" "horizontal"
                	Option	    "VideoOverlay" "on"
                EndSection
                
                Section "Screen"
                	Identifier "Screen0"
                	Device     "Videocard0"
                	Monitor    "Monitor0"
                	DefaultDepth     24
                	SubSection "Display"
                		Viewport   0 0
                		Depth     24
                		Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
                	EndSubSection
                EndSection
                
                Section "Screen"
                	Identifier "aticonfig-Screen[0]"
                	Device     "aticonfig-Device[0]"
                	Monitor    "aticonfig-Monitor[0]"
                	DefaultDepth     24
                	SubSection "Display"
                		Viewport   0 0
                		Depth     24
                		Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
                	EndSubSection
                EndSection
                
                Section "Extensions"
                	Option	    "Composite" "Disable"
                EndSection
                And here's my outpout from xvideo command

                Code:
                [[email protected] ~]$ xvinfo
                X-Video Extension version 2.2
                screen #0
                  Adaptor #0: "video4linux"
                    number of ports: 1
                    port base: 59
                    operations supported: PutVideo
                    supported visuals:
                      depth 24, visualID 0x23
                      depth 24, visualID 0x24
                      depth 24, visualID 0x25
                      depth 24, visualID 0x26
                    number of attributes: 15
                      "XV_ENCODING" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_BRIGHTNESS" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_CONTRAST" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_SATURATION" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_HUE" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_MUTE" (range 0 to 1)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_FREQ" (range 0 to 16000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_SET_DEFAULTS" (range 0 to 1)
                              client settable attribute
                      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
                              client settable attribute
                              client gettable attribute (current value is 1)
                      "XV_COLORKEY" (range 0 to -1)
                              client settable attribute
                              client gettable attribute (current value is 66051)
                      "XV_DOUBLE_BUFFER" (range 0 to 1)
                              client settable attribute
                              client gettable attribute (current value is 1)
                      "XV_COLOR" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_RED_INTENSITY" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_GREEN_INTENSITY" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_BLUE_INTENSITY" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                    number of encodings: 14
                      encoding ID #0: "PAL-television"
                        size: 768 x 576
                        rate: 0.020000
                      encoding ID #1: "NTSC-television"
                        size: 640 x 480
                        rate: 0.016683
                      encoding ID #2: "SECAM-television"
                        size: 768 x 576
                        rate: 0.020000
                      encoding ID #3: "PAL-Nc-television"
                        size: 640 x 576
                        rate: 0.020000
                      encoding ID #4: "PAL-M-television"
                        size: 640 x 576
                        rate: 0.020000
                      encoding ID #5: "PAL-N-television"
                        size: 768 x 576
                        rate: 0.020000
                      encoding ID #6: "NTSC-JP-television"
                        size: 640 x 480
                        rate: 0.016683
                      encoding ID #7: "PAL-composite1"
                        size: 768 x 576
                        rate: 0.020000
                      encoding ID #8: "NTSC-composite1"
                        size: 640 x 480
                        rate: 0.016683
                      encoding ID #9: "SECAM-composite1"
                        size: 768 x 576
                        rate: 0.020000
                      encoding ID #10: "PAL-Nc-composite1"
                        size: 640 x 576
                        rate: 0.020000
                      encoding ID #11: "PAL-M-composite1"
                        size: 640 x 576
                        rate: 0.020000
                      encoding ID #12: "PAL-N-composite1"
                        size: 768 x 576
                        rate: 0.020000
                      encoding ID #13: "NTSC-JP-composite1"
                        size: 640 x 480
                        rate: 0.016683
                  Adaptor #1: "ATI Radeon Video Overlay"
                    number of ports: 1
                    port base: 60
                    operations supported: PutImage
                    supported visuals:
                      depth 24, visualID 0x23
                      depth 24, visualID 0x24
                      depth 24, visualID 0x25
                      depth 24, visualID 0x26
                      depth 24, visualID 0x27
                      depth 24, visualID 0x28
                      depth 24, visualID 0x29
                      depth 24, visualID 0x2a
                    number of attributes: 12
                      "XV_SET_DEFAULTS" (range 0 to 1)
                              client settable attribute
                      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
                              client settable attribute
                              client gettable attribute (current value is 1)
                      "XV_COLORKEY" (range 0 to -1)
                              client settable attribute
                              client gettable attribute (current value is 66051)
                      "XV_DOUBLE_BUFFER" (range 0 to 1)
                              client settable attribute
                              client gettable attribute (current value is 1)
                      "XV_BRIGHTNESS" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 353)
                      "XV_CONTRAST" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_SATURATION" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_COLOR" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_HUE" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 77)
                      "XV_RED_INTENSITY" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_GREEN_INTENSITY" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                      "XV_BLUE_INTENSITY" (range -1000 to 1000)
                              client settable attribute
                              client gettable attribute (current value is 0)
                    maximum XvImage size: 2048 x 2048
                    Number of image formats: 4
                      id: 0x32595559 (YUY2)
                        guid: 59555932-0000-0010-8000-00aa00389b71
                        bits per pixel: 16
                        number of planes: 1
                        type: YUV (packed)
                      id: 0x59565955 (UYVY)
                        guid: 55595659-0000-0010-8000-00aa00389b71
                        bits per pixel: 16
                        number of planes: 1
                        type: YUV (packed)
                      id: 0x32315659 (YV12)
                        guid: 59563132-0000-0010-8000-00aa00389b71
                        bits per pixel: 12
                        number of planes: 3
                        type: YUV (planar)
                      id: 0x30323449 (I420)
                        guid: 49343230-0000-0010-8000-00aa00389b71
                        bits per pixel: 12
                        number of planes: 3
                        type: YUV (planar)
                [[email protected] ~]$
                Last edited by glussier; 03-22-2007, 10:54 PM.

                Comment


                • #9
                  Originally posted by glussier View Post
                  Add the following line to the Module section of your xorg.conf file:

                  Code:
                  	Load  "XVideo"

                  If it can help you, here's my xorg.conf file:

                  Code:
                  # Xorg configuration created by system-config-display
                  
                  Section "ServerLayout"
                  	Identifier     "single head configuration"
                  	Screen      0  "aticonfig-Screen[0]" 0 0
                  	InputDevice    "Keyboard0" "CoreKeyboard"
                  EndSection
                  
                  Section "Files"
                  	FontPath     "unix/:7100"
                  EndSection
                  
                  Section "Module"
                  	Load  "extmod"
                  	Load  "v4l"
                  	Load  "XVideo"
                  	Load  "dri"
                  	Load  "glx"
                  EndSection
                  
                  Section "ServerFlags"
                  	Option	    "AIGLX" "off"
                  EndSection
                  
                  Section "InputDevice"
                  	Identifier  "Keyboard0"
                  	Driver      "kbd"
                  	Option	    "XkbModel" "pc105"
                  	Option	    "XkbLayout" "ca(fr)"
                  EndSection
                  
                  Section "InputDevice"
                  	Identifier  "Mouse0"
                  	Driver      "mouse"
                  	Option	    "Protocol" "IMPS/2"
                  	Option	    "Device" "/dev/input/mice"
                  	Option	    "ZAxisMapping" "4 5"
                  	Option	    "Emulate3Buttons" "yes"
                  EndSection
                  
                  Section "Monitor"
                  	Identifier   "Monitor0"
                  	ModelName    "NEC Multisync"
                  	Option	    "dpms"
                  EndSection
                  
                  Section "Monitor"
                  	Identifier   "aticonfig-Monitor[0]"
                  	Option	    "VendorName" "ATI Proprietary Driver"
                  	Option	    "ModelName" "Generic Autodetecting Monitor"
                  	Option	    "DPMS" "true"
                  EndSection
                  
                  Section "Device"
                  	Identifier  "Videocard0"
                  	Driver      "radeon"
                  EndSection
                  
                  Section "Device"
                  	Identifier  "aticonfig-Device[0]"
                  	Driver      "fglrx"
                  #	Option	    "DesktopSetup" "horizontal"
                  	Option	    "VideoOverlay" "on"
                  EndSection
                  
                  Section "Screen"
                  	Identifier "Screen0"
                  	Device     "Videocard0"
                  	Monitor    "Monitor0"
                  	DefaultDepth     24
                  	SubSection "Display"
                  		Viewport   0 0
                  		Depth     24
                  		Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
                  	EndSubSection
                  EndSection
                  
                  Section "Screen"
                  	Identifier "aticonfig-Screen[0]"
                  	Device     "aticonfig-Device[0]"
                  	Monitor    "aticonfig-Monitor[0]"
                  	DefaultDepth     24
                  	SubSection "Display"
                  		Viewport   0 0
                  		Depth     24
                  		Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
                  	EndSubSection
                  EndSection
                  
                  Section "Extensions"
                  	Option	    "Composite" "Disable"
                  EndSection
                  And here's my outpout from xvideo command

                  Code:
                  [[email protected] ~]$ xvinfo
                  X-Video Extension version 2.2
                  screen #0
                    Adaptor #0: "video4linux"
                      number of ports: 1
                      port base: 59
                      operations supported: PutVideo
                      supported visuals:
                        depth 24, visualID 0x23
                        depth 24, visualID 0x24
                        depth 24, visualID 0x25
                        depth 24, visualID 0x26
                      number of attributes: 15
                        "XV_ENCODING" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_BRIGHTNESS" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_CONTRAST" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_SATURATION" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_HUE" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_MUTE" (range 0 to 1)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_FREQ" (range 0 to 16000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_SET_DEFAULTS" (range 0 to 1)
                                client settable attribute
                        "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
                                client settable attribute
                                client gettable attribute (current value is 1)
                        "XV_COLORKEY" (range 0 to -1)
                                client settable attribute
                                client gettable attribute (current value is 66051)
                        "XV_DOUBLE_BUFFER" (range 0 to 1)
                                client settable attribute
                                client gettable attribute (current value is 1)
                        "XV_COLOR" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_RED_INTENSITY" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_GREEN_INTENSITY" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_BLUE_INTENSITY" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                      number of encodings: 14
                        encoding ID #0: "PAL-television"
                          size: 768 x 576
                          rate: 0.020000
                        encoding ID #1: "NTSC-television"
                          size: 640 x 480
                          rate: 0.016683
                        encoding ID #2: "SECAM-television"
                          size: 768 x 576
                          rate: 0.020000
                        encoding ID #3: "PAL-Nc-television"
                          size: 640 x 576
                          rate: 0.020000
                        encoding ID #4: "PAL-M-television"
                          size: 640 x 576
                          rate: 0.020000
                        encoding ID #5: "PAL-N-television"
                          size: 768 x 576
                          rate: 0.020000
                        encoding ID #6: "NTSC-JP-television"
                          size: 640 x 480
                          rate: 0.016683
                        encoding ID #7: "PAL-composite1"
                          size: 768 x 576
                          rate: 0.020000
                        encoding ID #8: "NTSC-composite1"
                          size: 640 x 480
                          rate: 0.016683
                        encoding ID #9: "SECAM-composite1"
                          size: 768 x 576
                          rate: 0.020000
                        encoding ID #10: "PAL-Nc-composite1"
                          size: 640 x 576
                          rate: 0.020000
                        encoding ID #11: "PAL-M-composite1"
                          size: 640 x 576
                          rate: 0.020000
                        encoding ID #12: "PAL-N-composite1"
                          size: 768 x 576
                          rate: 0.020000
                        encoding ID #13: "NTSC-JP-composite1"
                          size: 640 x 480
                          rate: 0.016683
                    Adaptor #1: "ATI Radeon Video Overlay"
                      number of ports: 1
                      port base: 60
                      operations supported: PutImage
                      supported visuals:
                        depth 24, visualID 0x23
                        depth 24, visualID 0x24
                        depth 24, visualID 0x25
                        depth 24, visualID 0x26
                        depth 24, visualID 0x27
                        depth 24, visualID 0x28
                        depth 24, visualID 0x29
                        depth 24, visualID 0x2a
                      number of attributes: 12
                        "XV_SET_DEFAULTS" (range 0 to 1)
                                client settable attribute
                        "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
                                client settable attribute
                                client gettable attribute (current value is 1)
                        "XV_COLORKEY" (range 0 to -1)
                                client settable attribute
                                client gettable attribute (current value is 66051)
                        "XV_DOUBLE_BUFFER" (range 0 to 1)
                                client settable attribute
                                client gettable attribute (current value is 1)
                        "XV_BRIGHTNESS" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 353)
                        "XV_CONTRAST" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_SATURATION" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_COLOR" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_HUE" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 77)
                        "XV_RED_INTENSITY" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_GREEN_INTENSITY" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                        "XV_BLUE_INTENSITY" (range -1000 to 1000)
                                client settable attribute
                                client gettable attribute (current value is 0)
                      maximum XvImage size: 2048 x 2048
                      Number of image formats: 4
                        id: 0x32595559 (YUY2)
                          guid: 59555932-0000-0010-8000-00aa00389b71
                          bits per pixel: 16
                          number of planes: 1
                          type: YUV (packed)
                        id: 0x59565955 (UYVY)
                          guid: 55595659-0000-0010-8000-00aa00389b71
                          bits per pixel: 16
                          number of planes: 1
                          type: YUV (packed)
                        id: 0x32315659 (YV12)
                          guid: 59563132-0000-0010-8000-00aa00389b71
                          bits per pixel: 12
                          number of planes: 3
                          type: YUV (planar)
                        id: 0x30323449 (I420)
                          guid: 49343230-0000-0010-8000-00aa00389b71
                          bits per pixel: 12
                          number of planes: 3
                          type: YUV (planar)
                  [[email protected] ~]$


                  i've used you xorg.conf file changed only the location of files in modulepath and the type of monitor to be "Generic Autodetecting Monitor"
                  in section monitor but still no luck , same problem exist

                  Comment


                  • #10
                    Originally posted by localizer View Post
                    i've used you xorg.conf file changed only the location of files in modulepath and the type of monitor to be "Generic Autodetecting Monitor"
                    in section monitor but still no luck , same problem exist
                    Do the OpenGL output modes of mplayer, xine work?
                    e.g. mplayer -vo gl <file>
                    xine -V gl <file>

                    (post the _complete_ xorg.log too, please)

                    Comment

                    Working...
                    X