Announcement

Collapse
No announcement yet.

yv12 ,xvideo support

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

  • #31
    AMD Athlon 64 x2 4200+ , 1 gega ram , graphic card : ati radeon x1600

    cat /etc/X11/xorg.conf

    # 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"
    VendorName "ATI Proprietary Driver"
    ModelName "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection

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

    Section "Device"
    Identifier "aticonfig-Device[0]"
    Driver "fglrx"
    # Driver "radeon"
    # Option "VideoOverlay" "on"
    Option "TexturedVideo" "on"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    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

    Section "DRI"
    Group 0
    MODE 0666
    EndSection

    Section "Module"
    Load "extmod"
    #Load "v4l"
    # Load "XVideo"
    Load "dri"
    Load "glx"
    #Load "TexturedVideo"
    EndSection
    Section "ServerFlags"
    Option "AIGLX" "off"
    EndSection

    fgl_glxgears
    gives output a moving box

    i can't understand your last question

    Comment


    • #32
      Originally posted by localizer View Post
      AMD Athlon 64 x2 4200+ , 1 gega ram , graphic card : ati radeon x1600

      cat /etc/X11/xorg.conf

      # Xorg configuration created by system-config-display

      ....
      I would try to following first (also related to my last questions. Reduce to xorg.conf to the following:
      Code:
      # Xorg configuration created by system-config-display
      
      Section "ServerLayout"
              Identifier     "single head configuration"
              Screen      0  "aticonfig-Screen[0]" 0 0
      #        Screen         "Screen0"       
              InputDevice    "Keyboard0" "CoreKeyboard"
              Inputdevise    "mouse" "CorePointer" #Please point to your mouse here.
      EndSection
      
      Section "ServerFlags"
             Option      "AIGLX" "off"
      EndSection
      
      Section "InputDevice"
              Identifier  "Keyboard0"
              Driver      "kbd"
              Option      "XkbModel" "pc105"
              Option      "XkbLayout" "us"
      EndSection
      
      Section "InputDevice"
              Identifier "mouse"
              Driver     "mouse" #please fix for your system
              Option     "device" "/dev/input/mice"
      EndSection
      Section "Monitor"
              Identifier   "aticonfig-Monitor[0]"
              ModelName    "Generic Autodetecting Monitor"
              Option      "DPMS" "true"
      EndSection
      
      Section "Device"
              Identifier  "Videocard0"
              Driver      "radeon"
      EndSection
      
      Section "Device"
              Identifier  "aticonfig-Device[0]"
              Driver      "fglrx"
      #         Option     "VideoOverlay" "on"
               Option      "TexturedVideo" "on"
      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
              EndSubSection
      EndSection
      
      Section "Extensions"
              Option      "Composite" "Disable"
      EndSection
      
      Section "DRI"
            Group 0 
            MODE 0666
      EndSection
      Now you can switch between using the radeon driver and the fglrx driver to test whether you are having the problems you described with xine. So, change the flgrx to radeon driver, then reboot and test whether you still get an issue with xvinfo and xine. Hope that was coherent.
      fgl_glxgears
      gives output a moving box
      So, 3D is working. That is good.
      i can't understand your last question
      [/QUOTE]
      Is it clearer now?

      HTH,

      Partha
      www.partha.com

      Comment


      • #33
        Originally posted by partha View Post
        I would try to following first (also related to my last questions. Reduce to xorg.conf to the following:
        Code:
        # Xorg configuration created by system-config-display
        
        Section "ServerLayout"
                Identifier     "single head configuration"
                Screen      0  "aticonfig-Screen[0]" 0 0
        #        Screen         "Screen0"       
                InputDevice    "Keyboard0" "CoreKeyboard"
                Inputdevise    "mouse" "CorePointer" #Please point to your mouse here.
        EndSection
        
        Section "ServerFlags"
               Option      "AIGLX" "off"
        EndSection
        
        Section "InputDevice"
                Identifier  "Keyboard0"
                Driver      "kbd"
                Option      "XkbModel" "pc105"
                Option      "XkbLayout" "us"
        EndSection
        
        Section "InputDevice"
                Identifier "mouse"
                Driver     "mouse" #please fix for your system
                Option     "device" "/dev/input/mice"
        EndSection
        Section "Monitor"
                Identifier   "aticonfig-Monitor[0]"
                ModelName    "Generic Autodetecting Monitor"
                Option      "DPMS" "true"
        EndSection
        
        Section "Device"
                Identifier  "Videocard0"
                Driver      "radeon"
        EndSection
        
        Section "Device"
                Identifier  "aticonfig-Device[0]"
                Driver      "fglrx"
        #         Option     "VideoOverlay" "on"
                 Option      "TexturedVideo" "on"
        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
                EndSubSection
        EndSection
        
        Section "Extensions"
                Option      "Composite" "Disable"
        EndSection
        
        Section "DRI"
              Group 0 
              MODE 0666
        EndSection
        Now you can switch between using the radeon driver and the fglrx driver to test whether you are having the problems you described with xine. So, change the flgrx to radeon driver, then reboot and test whether you still get an issue with xvinfo and xine. Hope that was coherent.

        So, 3D is working. That is good.
        Is it clearer now?

        HTH,

        Partha
        www.partha.com[/QUOTE]

        when i used the above xorg.conf code the xserver didn't even start ....

        Comment

        Working...
        X