UVD fails to init on rv790

Dieter Nützel dieter at nuetzel-hh.de
Wed Apr 3 16:20:10 PDT 2013


Am 2013-04-03 23:06, schrieb Alex Deucher:
> On Wed, Apr 3, 2013 at 4:45 PM, Dieter Nützel <dieter at nuetzel-hh.de> 
> wrote:
>> Am 2013-04-03 15:21, schrieb Alex Deucher:
>> 
>>> On Wed, Apr 3, 2013 at 7:29 AM, Christian König 
>>> <deathsimple at vodafone.de>
>>> wrote:
>>>> 
>>>> Hi Andy,
>>>> 
>>>> crap! I feared that something like this would happen. IIRC we never
>>>> tested
>>>> UVD on an rv790, and this hardware isn't easy to get any more.
>>>> 
>>>> RV770/RV790 have a separate UVD hardware generation (that's why 
>>>> they have
>>>> their own firmware) and there possible is some bug or something 
>>>> like this
>>>> that we haven't implemented. You couldn't give me SSH access to 
>>>> that
>>>> system?
>>> 
>>> 
>>> I tested on an RV770 earlier in development and it was working ok at
>>> the time I think.  I'll give it another try today.
>>> 
>>> Alex
>> 
>> 
>> 
>> Hello Alex,
>> 
>> time goes by so fast --- wife, home, 2 children...
>> 
>> but what do I need:
>> I'll test it on my 2 HD4650/RV730 AGP (!) low speed Duron and dual 
>> Athlon
>> MP.
>> 
>> git:// drm-fixes kernel
>> git:// mesa
>> patches
>> 
>> R700_rlc.bin
>> RV710_uvd.bin
>> 
>> BTW Any hints for libvdpau_r600.so.1.0.0?
>> I get wrong colors (red is like blue, blue is like yellow, etc.)
>> 
> 
> What are you testing with?

Only mplayer (defaults to vdpau, really?) of course without UVD, 
currently.
Works much better on the slow children's Duron. I have ~10% idle left 
on our Duron 1800. Without vdpau lib together with HD4650 unplayable on 
this system.

/home/dieter> mplayer /data/Filme/Serenity\ -\ HD\ DVD\ Trailer.mp4
MPlayer dev-SVN-r35127-4.7-openSUSE Linux 12.2 (i586)-Packman (C) 
2000-2012 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /data/Filme/Serenity - HD DVD Trailer.mp4.
libavformat version 54.25.104 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8aba6e0]max_analyze_duration 5000000 
reached at 5005000
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
[lavf] stream 2: video (mjpeg), -vid 1
VIDEO:  [H264]  1280x720  24bpp  23.976 fps  4674.1 kbps (570.6 
kbyte/s)
Clip info:
  major_brand: isom
  minor_version: 1
  compatible_brands: isomavc1
  creation_time: 1937-04-23 22:52:15
  genre: Trailer
  artist: Universal Pictures
  title: Serenity - HD DVD Trailer
  date: 2005
Load subtitles in /data/Filme/
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.54.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 127.5 kbit/8.30% (ratio: 15942->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 
Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
A:   3.5 V:   2.6 A-V:  0.903 ct:  0.018   0/  0 56% 72%  0.6% 50 0


            ************************************************
            **** Your system is too SLOW to play this!  ****
            ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the 
lavdopts,
     e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:   9.6 V:   7.1 A-V:  2.434 ct:  0.011   0/  0 58% 69%  1.0% 156 0

Exiting... (Quit)


> The adobe flash vdpau implementation
> reverses the channels.  IIRC, newer versions of libvdpau have a
> workaround for it.

I know, but I can't use this crappy stupid software since summer 2012, 
'cause they do NOT offer any current linux player (even with their 
hardware acceleration) without SSE2...

...Duron/AthlonMP => AMD could you help, PLEASE?!

In the meantime I use an older libflash taken from Chrome without 
hardware acceleration, too. But it is compiled without SSE2. Due to this 
the Duron is on it's limits with flash stuff 8-(((

lib/browser-plugins> l *flash*
lrwxrwxrwx 1 root root       19 14. Mär 22:07 libflashplayer.so -> 
libgcflashplayer.so
-rwxr-xr-x 1 root root 17351000  7. Jun 2012  libgcflashplayer.so
lib/browser-plugins> l SSE2/
insgesamt 17029
drwxr-xr-x 2 root root       88 14. Mär 22:06 .
drwxr-xr-x 3 root root      328 22. Mär 01:47 ..
-rwxr-xr-x 1 root root 17418724  1. Mär 01:30 libflashplayer.so

Why can't everybody use runtime CPU detection like Mesa (;-) or 
mplayer?

OpenCV with OpenCL (digikam) would be my next disaster.
But former can I recompile without SSE2 to use it with digikam, today.

>  I've generally been testing with mplayer.  mplayer
> -vo vdpau -vc ffh264vdpau <file>

Tried that:

/home/dieter> mplayer -vo vdpau -vc ffh264vdpau /data/Filme/Serenity\ 
-\ HD\ DVD\ Trailer.mp4

[-]
[VD_FFMPEG] Trying pixfmt=0.
[vdpau] Failed creating VDPAU decoder: An invalid/unsupported 
VdpDecoderProfile value was supplied.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0x8b3db80]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8b3db80]ff_MPV_common_init() failed.
[h264_vdpau @ 0x8b3db80]decode_slice_header error
[h264_vdpau @ 0x8b3db80]no frame!
Error while decoding frame!

Too many audio packets in the buffer: (4096 in 1401092 bytes).
Maybe you are playing a non-interleaved stream/file or the codec 
failed?
For AVI files, try to force non-interleaved mode with the -ni option.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)

=> See log file

Any further hint?

-Dieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.log.bz2
Type: application/x-bzip2
Size: 3647 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/840de867/attachment.bin>


More information about the dri-devel mailing list