•   
  • 1
  • 43
  • 44
  • 45(current)
  • 46
  • 47
  • 189
  •   
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs
Hi again fritsch, I have no luck, it is failing with the same kind of error :


19:09:03 T:2939108160 NOTICE: (XVBA::Open) opening xvba decoder, id: 0
19:09:03 T:3023035200 DEBUG: Initialize - using alsa device plug:'hdmi'
19:09:03 T:2939108160 NOTICE: XVBA::CreateContext - creating decoder context
19:09:03 T:3023035200 DEBUG: CALSADirectSound::Initialize - frame count:512, packet count:16, buffer size:8192
19:09:03 T:3023035200 DEBUG: CALSADirectSound::Initialize - Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - IsMusic false - IsPassthrough 0 - audioDevice: hdmi
19:09:03 T:3023035200 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
19:09:03 T:3014642496 DEBUG: CDVDPlayer::HandleMessages - player started 1
19:09:04 T:2939108160 NOTICE: XVBA::CreateContext - opening xvba version: 76
19:09:04 T:2939108160 NOTICE: (XVBA) using decoder capability id: 256 flags: 3
19:09:04 T:2939108160 NOTICE: (XVBA) using surface type: 3231564e
19:09:04 T:2939108160 ERROR: XVBA::CreateSession - failed to create decoder session, line 648
19:09:04 T:2939108160 ERROR: Decoder failed with following stats: m_surfaceWidth 1920, m_surfaceHeight 1088, m_vidWidth 1920, m_vidHeight 1080, coded_width 1920, coded_height 1088
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] get_buffer() failed (-1 0 0 (nil))
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] decode_slice_header error
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] get_buffer() failed (-1 0 0 (nil))
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] decode_slice_header error
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] get_buffer() failed (-1 0 0 (nil))
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] decode_slice_header error
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] get_buffer() failed (-1 0 0 (nil))
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] decode_slice_header error
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] get_buffer() failed (-1 0 0 (nil))
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] decode_slice_header error
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] get_buffer() failed (-1 0 0 (nil))
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] decode_slice_header error
19:09:04 T:2939108160 ERROR: ffmpeg[AF2F3B40]: [h264] no frame!
19:09:04 T:2939108160 ERROR: Decode - avcodec_decode_video returned failure

@alexinthesky
what window manager do you use?
I am observing strange problems with e.g. Unitiy2d/3d when having xbmc in full screen mode. Running xmbc in Fluxbox seems to be fine. Not sure if your problem is related, so I would ask you to try with Fluxbox.
Hi FernetMenta,

I have no window manager installed. Xbmc is launched directly from lightdm as in the howto from the first post
(from /usr/share/xsessions/XBMC.desktop ).
maybe there is something wrong with the fglrx driver for my GFX card. It a a PCI HD4350... I will try to install a light window manager ( xfce ) and see if I can have xvba accelerated video with another video player.
Can mplayer do this? or VLC?

thanks
Alex

alexinthesky, judging from your previous posts, I assume something is wrong with your driver.
try reinstalling it like this:

Code:
sudo service lightdm stop
sudo apt-get remove --purge fglrx*
[ -d /etc/ati ] && sudo rm /etc/ati/*
sudo apt-get install fglrx
sudo amdconfig --initial -f
sudo reboot
Hi,

I'm trying this. now I have the fglrx-updates from the ubuntu repos. Unfortunatly, as I have already seen in the past, X fails to start with the following message in Xorg.0.log :

[ 29.263] ukiOpenByBusid: ukiOpenMinor returns 18
[ 29.263] ukiOpenByBusid: ukiGetBusid reports PCI:2:0:0
[ 29.925]
Backtrace:
[ 29.926] 0: /usr/bin/X (xorg_backtrace+0x37) [0x92e627]
[ 29.926] 1: /usr/bin/X (0x7a6000+0x18c3aa) [0x9323aa]
[ 29.926] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xf9f410]
[ 29.926] 3: /usr/lib/dri/fglrx_dri.so (0x1dc4000+0x1c786eb) [0x3a3c6eb]
[ 29.926] 4: ?? [0x746e6543]
[ 29.926] Illegal instruction at address 0x3a3c6eb
[ 29.926]
Caught signal 4 (Illegal instruction). Server aborting
[ 29.926]

/usr/lib/dri/fglrx_dri.so is a symlink to /etc/alternatives/i386-linux-gnu_fglrx_dri which is a symlink to /usr/lib/fglrx/dri/fglrx_dri.so which is installed with the fglrx-updates package.

dmesg are here : http://paste.ubuntu.com/1001555/

-BTW,nice just discovered pastebinit -
.......


The only way I found for the Xorg to start was with compiling myself the 11.12 version of the fglrx driver.

Do you have any idea/ experience about the Xorg failure?


Sorry for posting a lot - too much

A bug is open for this issue :
https://bugs.launchpad.net/ubuntu/+sourc...bug/990436
I always create the fglrx packages myself. As long as this does work I wouldn't bother too much with failing installations of standard ubuntu packages.
I am trying to match known issues to your problem. Your card supports multi-screen setup, right. We are currently broken on this. Might be related, I don't know yet. What port have you connected your monitor to? hdmi? Can you pastebin the output of:
xbmc-xrandr -q
Yes, I also did the "myway" for the creation of the fglrx packages.... saw that the firegl_public.c had to be patched in order to compile the module against kernels 3.2.........

yes the card supports multi-screen and is connected to the hdmi port.
here the output of the xbmc-xrandr -q comand :


<screen id="0" minimum_w="320" minimum_h="200" current_w="1280" current_h="800" maximum_w="4096" maximum_h="4096">
<output name="LVDS-1" connected="true" w="1280" h="800" x="0" y="0" wmm="261" hmm="163">
<mode id="0x94" name="1280x800" w="1280" h="800" hz="60.00376" current="true" preferred="true"/>
<mode id="0x95" name="1024x768" w="1024" h="768" hz="59.92013" current="false" preferred="false"/>
<mode id="0x96" name="800x600" w="800" h="600" hz="59.86140" current="false" preferred="false"/>
</output>
<output name="VGA-1" connected="false">
</output>
<output name="TV-1" connected="false">
</output>
</screen>



OK this is the output though ssh..... you got the info of my laptop....arg


since X will not start, this command is failing right?
OK, I went back to the fglrx driver 11.12. here is the output of xbmc-xrandr :
http://paste.ubuntu.com/1001734/
@fritsch

thanks for the information. I hope amd will fixed the "2-channel" problem in their linux driver (Due to the way the fglrx drivers are implemented in Linux, ATI based cards cannot stream HD audio via HDMI).

But as i see, how they are handling the stuff with xvba, i don't think this will happen quick, but the hope dies last Smile
My E350 is still crashing whenever at idle. I've upgraded to Ubuntu 12.04 32 bit and installed the AMD drivers from the repos. I've installed xbmc xvba also from the PPA(non-eden version). It plays flawlessly every time, but consistently crashes when at idle. I'm running the full desktop environment, but compositing isn't available since Ubuntu says I'm using VESA wrestler as my graphics driver. However xbmc sees that I'm using the AMD APU, and plays back 1080p video w/ less than 40% cpu usage. On top of this, I also have an Airvideo java server running in the background to stream to my iPad. It crashed before I had Airvideo installed as well. When I say crash, what I mean is when I turn on my projector, all I get is a blank screen, and xbmc commander on my iPod is unresponsive and also the Airvideo server is unresponsive. As well, I get no response via kb/mouse; I am forced to SSH into it from my iPod and sudo reboot it from there.

Here is the latest crash log. I can't make heads or tails of it. I'm hoping there's someone that's a lot more clever than I that can help.

http://paste.ubuntu.com/1004022/
(2012-05-22, 22:35)alexinthesky Wrote: OK, I went back to the fglrx driver 11.12. here is the output of xbmc-xrandr :
http://paste.ubuntu.com/1001734/

Hmm, I don't see any problems there. Grasping for straws: Do you have a chance to try other outputs?

Quote:what I mean is when I turn on my projector

How is your setup? multi-screen setups may not work correctly.
(2012-05-24, 08:38)FernetMenta Wrote:
(2012-05-22, 22:35)alexinthesky Wrote: OK, I went back to the fglrx driver 11.12. here is the output of xbmc-xrandr :
http://paste.ubuntu.com/1001734/

Hmm, I don't see any problems there. Grasping for straws: Do you have a chance to try other outputs?

Hi FernetMenta,

thank you for jumping in,
yes I have tried the VGA output also and the behavior is identical.

I also tried the modified xbmcbuntu from xbmcfreak.nl.
it has the kernel v3.0 and fglrx v8.960 drivers from xedgers...no luck

Unfortunatly I cannot boot any of the openelec live imgs because the kernel they are bundled with need a CPU with PAE and mine has not.

There is still 1 thing that I cannot do is have a system with kernel 3.2 + fglrx v8.960 because Xorg fails to start ( as I mention is post #665 - https://bugs.launchpad.net/ubuntu/+sourc...bug/990436 ).

Since the problem comes from XVBA::CreateSession ( XVBACreateDecodeProc from the libXvBAW.so.1 library ), I tend to think something is no working correctly in the fglrx driver ( libXvBAW.so.1 is included in the package), but I don't really if it is useful to fill in a bug [email protected], and more important how to describe the problem to them....

I don't know where to keep digging, so I will have to stick to noHD video on my system for now... a pity.
.... unless you guys have more suggestion to make?

Alex
Alex,

Can you send me the output of `/usr/share/fglrx/atigetsysteminfo.sh'. Execute from local shell. That's what AMD requests when you open a bug report.
(2012-05-24, 08:45)FernetMenta Wrote:
Quote:what I mean is when I turn on my projector

How is your setup? multi-screen setups may not work correctly.

It's a single screen. FWIW, I left the system on overnight without xbmc running(just ubuntu desktop), and today it's still OK.
  •   
  • 1
  • 43
  • 44
  • 45(current)
  • 46
  • 47
  • 189
  •   



Logout Mark Read Team Forum Stats Members Help
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs23
This forum uses Lukasz Tkacz MyBB addons.