Announcement

Collapse
No announcement yet.

[VDPAU] Can only get MPEG1/2 decoding to work

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

  • bridgman
    replied
    radeon: The kernel rejected CS, see dmesg for more information.
    Can you look in dmesg output and pick up some of the detailed "CS rejected" messages ?

    If you're missing microcode files (per previous post) you'll get some clues from dmesg about that as well.

    Leave a comment:


  • Bushido_root
    replied
    Do you have updated *_rlc.bin? If you don't that might be the problem...
    Download this and move it to /lib/firmware/radeon
    Make sure you have the *_uvd.bin too and move it to the same location.
    Reboot and run vdpauinfo to see if you have decoder support for other formats (h264 etc.)
    Last edited by Bushido_root; 28 October 2013, 06:54 PM.

    Leave a comment:


  • tiredoffglrx
    started a topic [VDPAU] Can only get MPEG1/2 decoding to work

    [VDPAU] Can only get MPEG1/2 decoding to work

    After arguing back and forth whether I should do it or not, today I eventually decided to drop FGLRX for good see what the FOSS drivers have to offer. I upgraded my system to Linux 3.12RC7, updated the graphics stack with Oibaf's fantastic PPA and did all the configurations necessary to get the new DPM and VDPAU support to work. It has been a great experience so far and I regret not having switched to radeon earlier. And I'd also like to thank everyone here on the forum. Your detailed posts have been of tremendous help to me

    The one thing I've been struggling with though, is getting VDPAU to work properly. I am using
    Code:
    libg3dvl-mesa
    from oibaf's PPA but VLC and mplayer will only use VDPAU with MPEG videos.

    Here are some diagnostics I did:

    Code:
    vdpauinfo
    gives me the following output:

    Code:
    $ vdpauinfo
    display: :0   screen: 0
    API version: 1
    Information string: G3DVL VDPAU Driver Shared Library version 1.0
    
    Video surface:
    
    name   width height types
    -------------------------------------------
    420    16384 16384  NV12 YV12 
    422    16384 16384  UYVY YUYV 
    444    16384 16384  Y8U8V8A8 V8U8Y8A8 
    
    Decoder capabilities:
    
    name               level macbs width height
    -------------------------------------------
    MPEG1                 0 1048576 16384 16384
    MPEG2_SIMPLE          3 1048576 16384 16384
    MPEG2_MAIN            3 1048576 16384 16384
    
    Output surface:
    
    name              width height nat types
    ----------------------------------------------------
    B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
    R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
    R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
    B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
    
    Bitmap surface:
    
    name              width height
    ------------------------------
    B8G8R8A8         16384 16384
    R8G8B8A8         16384 16384
    R10G10B10A2      16384 16384
    B10G10R10A2      16384 16384
    A8               16384 16384
    
    Video mixer:
    
    feature name                    sup
    ------------------------------------
    DEINTERLACE_TEMPORAL             -
    DEINTERLACE_TEMPORAL_SPATIAL     -
    INVERSE_TELECINE                 -
    NOISE_REDUCTION                  y
    SHARPNESS                        y
    LUMA_KEY                         -
    HIGH QUALITY SCALING - L1        -
    HIGH QUALITY SCALING - L2        -
    HIGH QUALITY SCALING - L3        -
    HIGH QUALITY SCALING - L4        -
    HIGH QUALITY SCALING - L5        -
    HIGH QUALITY SCALING - L6        -
    HIGH QUALITY SCALING - L7        -
    HIGH QUALITY SCALING - L8        -
    HIGH QUALITY SCALING - L9        -
    
    parameter name                  sup      min      max
    -----------------------------------------------------
    VIDEO_SURFACE_WIDTH              y        48    16384
    VIDEO_SURFACE_HEIGHT             y        48    16384
    CHROMA_TYPE                      y  
    LAYERS                           y         0        4
    
    attribute name                  sup      min      max
    -----------------------------------------------------
    BACKGROUND_COLOR                 y  
    CSC_MATRIX                       y  
    NOISE_REDUCTION_LEVEL            y      0.00     1.00
    SHARPNESS_LEVEL                  y     -1.00     1.00
    LUMA_KEY_MIN_LUMA                y  
    LUMA_KEY_MAX_LUMA                y
    This is the output I get with qvdpautest:

    Code:
    qvdpautest 0.5.2
    Intel(R) Core(TM) i5 CPU       M 450  @ 2.40GHz
    Unknown GPU
    
    VDPAU API version : 1
    VDPAU implementation : G3DVL VDPAU Driver Shared Library version 1.0
    
    FATAL: get_bits failed : No backend implementation could be loaded.!!
    
    MPEG DECODING (1920x1080): 146 frames/s
    MPEG DECODING (1280x720): 309 frames/s
    Profile unsupported.
    Profile unsupported.
    Profile unsupported.
    Profile unsupported.
    
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    radeon: The kernel rejected CS, see dmesg for more information.
    [...]
    Output of glxinfo.

    Some more information on my machine:

    - Ubuntu 12.04.3 LTS with Kernel 3.12RC7, precise Xorg stack and Oibaf's Mesa packages
    - AMD HD5650 Mobility Radeon
    - back on FGLRX I was able to get hardware accelerated H264 playback with
    Code:
    xvba-va-driver



    Do you guys have any idea what could be wrong here? Did I muss anything while switching to the FOSS drivers? Is there something I still need to install/configure?

    I'd really appreciate any input on this. At this point I am pretty much lost.


    P.S.: Just in case this is related: Whatever flags I set in Chrome, I can't get webgl to work. It will work fine in FF but not in Chrome/Chromium. Any idea what could be wrong?
Working...
X