星期日, 12月 04, 2011

前進到openSUSE 12.1 (Ati 硬解測試篇2)

延續前一篇的結論,似乎使用vlc硬解播放1080P的影片,效能非常不理想,


但無意中在網路上發現這篇,Using SMPlayer with hardware video acceleration such as VAAPI - Fixing various crashes etc. with VAAPI

於是我把KDE的特效關閉,再來測試一下vlc播放影片,觀察CPU與GPU 的變化
尚未開啟硬解時:
CPU-使用率大約落在30~40%左右!
GPU-

watch -n 1 aticonfig --odgc
Default Adapter - ATI Radeon HD 4250 
                            Core (MHz)    Memory (MHz)
           Current Clocks :    196           667
             Current Peak :    560           667
  Configurable Peak Range : [200-560]     [667-667]
                 GPU load :    7%
開啟硬解時:

CPU-使用率大約落在15~25%左右!
GPU-
watch -n 1 aticonfig --odgc
Default Adapter - ATI Radeon HD 4250 
                            Core (MHz)    Memory (MHz)
           Current Clocks :    562           667
             Current Peak :    560           667
  Configurable Peak Range : [200-560]     [667-667]
                 GPU load :    73%

另外如果使用mplay-vaapi -va vaapi -vo vaapi url 播放,CPU使用率則落在10%以下左右,這的確蠻驚人的!!

但播放一下就會自己自動關閉,也許是我自己操作(編譯的)有些問題。
播放快轉或是播放一下就會出現錯誤訊息:
mplayer: xvba_image.c:453: commit_hw_image: Assertion `hw_image_hooks_glx.create' failed.              

MPlayer interrupted by signal 6 in module: flip_page
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
結論:如果可以還是買N卡使用VPDAU,但使用A卡似乎慢慢的看到黎明的曙光...(希望^^)