• 1
  • 49
  • 50
  • 51(current)
  • 52
  • 53
  • 58
[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform
fritsch Wrote:@chemical:
As I thought this is a locking problem in pvr, nothing to do with this patch concerning 24p playback. Btw. from reading the bugreport there are patches on their way.

Thanks. I will apply the 3 mentioned patches from tsp ( https://github.com/opdenkamp/xbmc/issues...nt-3007267 ) and try to reproduce the vaapi freeze bug again.
Reply
Recently installed Ubuntu 11.10 on my AMD A4 using XBMC from the renniewaldock PPA. After following all steps, I still get errors; the following is reported in xbmc.log (after which it seems to fall back to regular playback):

Code:
ERROR: VAAPI - failed executing vaCreateContext(m_display->get() , m_config , avctx->width , avctx->height , VA_PROGRESSIVE , m_surfaces , m_surfaces_count , &m_hwaccel->context_id) at line 397 with error ffffffff:unknown libva error

Googling this error message (or part of it) doesn't give me anything to go on. Has anyone seen this before?
Reply
Just to be sure, what does:

vainfo tell?

Do you have the packages xvba-va-driver or xvba-driver installed? together with a working fglrx installation?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
I encountered a freeze, xbmc kept logging but was deaf when it comes to commands.

It wasn't waiting for a page flip, so I guess this might be some other deadlock issue. It happened while switching channels (latest git opdenkamp).

I attached gdb and did a full bt: http://paste.ubuntu.com/766118/

There are 2 bt's in it, I continued/breaked and did a second bt. I attached gdb at 18:15, I guess the freeze happened at 18:14:44: http://paste.ubuntu.com/766124/
Reply
chemical Wrote:Thanks. I will apply the 3 mentioned patches from tsp ( https://github.com/opdenkamp/xbmc/issues...nt-3007267 ) and try to reproduce the vaapi freeze bug again.

How can I apply these patches?
Thanks
Reply
kobik Wrote:How can I apply these patches?
Thanks

Do you have a manually compiled version running already or are you using precompiled binaries?

Btw, the current Opdenkamp master works really really great (except from a few hiccups in PVR). Fluid, no crashes, quick reactions ... the deadlock things we encountered a few days ago are also gone.

You do not need to patch those three things in anymore, just git pull on your Opdenkamp git and recompile.

Apart from the git, the only patch you need is this one:

https://github.com/FernetMenta/xbmc/comm...2d70862188
Reply
Thanks for the answer.

I'm compiling from Opdenkamp's git, so as you already mention I'll pass these three patches.
I still have a crash on first time I try to navigate after XBMC starts. I have monit to monitor and restart XBMC process for any case so that's not that bad if it will be the only crash.

Just realized that if I add the suffix .patch on the end of the commit's URL, it takes me to the patch file itself Smile
Downloaded and applied using patch -p1 < filename.
Thanks!
Reply
Anyone else noticing graphic glitches? They are APU specific, I am not experiencing this on my other machines with stand-alone videocard.

If you toggle between fullscreen and window mode, there's a 'ghost-window' with graphic noise at the top left.

Image

Image

Image

If XBMC freezes but the computer is still responding, you go to Ctrl+Alt+F[tty], login and kill xbmc, your tty turns to graphic noise. Cannot make a screenshot of that, but it's like distorted text.

These are not crucial, rather minor annoyances, but I thought I'd mention them in case they are in any way related to the more serious APU problems.
Try Xubuntu. It's the new Ubuntu.
Reply
Hi,
I have the "ASUS E35M1-I DELUXE, AMD E-350", and have tried following this guide on the first page where Robotica has outlined a description on how to get XBMC running with this H/W.

I am however not even able to start up Xorg without problems. Probably/hopefully some easy rookie mistake.

The log output from Xorg.0.log is:

Code:
[    50.429]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[    50.429] X Protocol Version 11, Revision 0
[    50.430] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
[    50.430] Current Operating System: Linux Mattias-HTPC 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64
[    50.430] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=d9a19615-5c67-472e-84cd-116a706bd296 ro splash quiet vt.handoff=7
[    50.430] Build Date: 19 October 2011  05:21:26AM
[    50.430] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
[    50.430] Current version of pixman: 0.22.2
[    50.430]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    50.430] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    50.431] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 12 22:55:21 2011
[    50.433] (==) Using config file: "/etc/X11/xorg.conf"
[    50.434] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    50.439] (==) ServerLayout "aticonfig Layout"
[    50.440] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    50.440] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    50.440] (**) |   |-->Device "aticonfig-Device[0]-0"
[    50.440] (==) Automatically adding devices
[    50.440] (==) Automatically enabling devices
[    50.442] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    50.442]     Entry deleted from font path.
[    50.442] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    50.442]     Entry deleted from font path.
[    50.442] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    50.442]     Entry deleted from font path.
[    50.443] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    50.443]     Entry deleted from font path.
[    50.443] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    50.443]     Entry deleted from font path.
[    50.443] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    50.443]     Entry deleted from font path.
[    50.443] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[    50.443] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    50.443] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    50.443] (II) Loader magic: 0x7e0220
[    50.443] (II) Module ABI versions:
[    50.443]     X.Org ANSI C Emulation: 0.4
[    50.443]     X.Org Video Driver: 10.0
[    50.443]     X.Org XInput driver : 12.3
[    50.443]     X.Org Server Extension : 5.0
[    50.445] (--) PCI:*(0:0:1:0) 1002:9802:1043:84a5 rev 0, Mem @ 0xc0000000/268435456, 0xfeb00000/262144, 0xfe700000/1048576, I/O @ 0x0000f000/256
[    50.445] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    50.445] (II) "extmod" will be loaded by default.
[    50.445] (II) "dbe" will be loaded by default.
[    50.445] (II) "glx" will be loaded by default.
[    50.445] (II) "record" will be loaded by default.
[    50.445] (II) "dri" will be loaded by default.
[    50.445] (II) "dri2" will be loaded by default.
[    50.446] (II) LoadModule: "extmod"
[    50.452] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    50.453] (II) Module extmod: vendor="X.Org Foundation"
[    50.454]     compiled for 1.10.4, module version = 1.0.0
[    50.454]     Module class: X.Org Server Extension
[    50.454]     ABI class: X.Org Server Extension, version 5.0
[    50.454] (II) Loading extension MIT-SCREEN-SAVER
[    50.454] (II) Loading extension XFree86-VidModeExtension
[    50.454] (II) Loading extension XFree86-DGA
[    50.454] (II) Loading extension DPMS
[    50.454] (II) Loading extension XVideo
[    50.454] (II) Loading extension XVideo-MotionCompensation
[    50.454] (II) Loading extension X-Resource
[    50.454] (II) LoadModule: "dbe"
[    50.454] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    50.456] (II) Module dbe: vendor="X.Org Foundation"
[    50.456]     compiled for 1.10.4, module version = 1.0.0
[    50.456]     Module class: X.Org Server Extension
[    50.456]     ABI class: X.Org Server Extension, version 5.0
[    50.456] (II) Loading extension DOUBLE-BUFFER
[    50.456] (II) LoadModule: "glx"
[    50.456] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/extensions/libglx.so
[    50.460] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    50.461]     compiled for 6.9.0, module version = 1.0.0
[    50.461] (II) Loading extension GLX
[    50.461] (II) LoadModule: "record"
[    50.462] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    50.463] (II) Module record: vendor="X.Org Foundation"
[    50.463]     compiled for 1.10.4, module version = 1.13.0
[    50.463]     Module class: X.Org Server Extension
[    50.463]     ABI class: X.Org Server Extension, version 5.0
[    50.464] (II) Loading extension RECORD
[    50.464] (II) LoadModule: "dri"
[    50.464] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    50.466] (II) Module dri: vendor="X.Org Foundation"
[    50.466]     compiled for 1.10.4, module version = 1.0.0
[    50.466]     ABI class: X.Org Server Extension, version 5.0
[    50.466] (II) Loading extension XFree86-DRI
[    50.466] (II) LoadModule: "dri2"
[    50.466] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    50.468] (II) Module dri2: vendor="X.Org Foundation"
[    50.468]     compiled for 1.10.4, module version = 1.2.0
[    50.468]     ABI class: X.Org Server Extension, version 5.0
[    50.468] (II) Loading extension DRI2
[    50.468] (II) LoadModule: "fglrx"
[    50.468] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so
[    50.561] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
[    50.562]     compiled for 1.4.99.906, module version = 8.91.4
[    50.562]     Module class: X.Org Video Driver
[    50.564] (II) Loading sub module "fglrxdrm"
[    50.564] (II) LoadModule: "fglrxdrm"
[    50.564] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/linux/libfglrxdrm.so
[    50.567] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[    50.567]     compiled for 1.4.99.906, module version = 8.91.4
[    50.567] (II) ATI Proprietary Linux Driver Version Identifier:8.91.4
[    50.567] (II) ATI Proprietary Linux Driver Release Identifier: 8.911                                
[    50.567] (II) ATI Proprietary Linux Driver Build Date: Oct 25 2011 21:24:13
[    50.567] (--) using VT number 7

[    50.572] (WW) Falling back to old probe method for fglrx
[    50.593] (II) Loading PCS database from /etc/ati/amdpcsdb
[    50.598] (--) Chipset Supported AMD Graphics Processor (0x9802) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:1:1) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:5) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:0) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:1) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:2) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:3) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:0) found
[    50.600] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:2) found
[    50.602] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[    50.603] (II) AMD Video driver is signed

On the screen when I enter "startx" these are the error messages I get before Xorg decides not to start.
Code:
(WW) fglrx: No matching Device section for instance (BusID PCI:w@x:y:z) found
Any ideas? If I remember correctly I went for these drivers: ati-driver-installer-11-11-x86.x86_64.run
And modified this comand:
Code:
sudo ./ati-installer.sh 8.872 --buildpkg Ubuntu/natty
To say:
Code:
sudo ./ati-installer.sh 8.911 --buildpkg Ubuntu/oneiric
Reply
Quote:[ 50.602] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[ 50.603] (II) AMD Video driver is signed

Should be fine. You cut the log file. How does it continue?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Redsandro Wrote:Anyone else noticing graphic glitches? They are APU specific, I am not experiencing this on my other machines with stand-alone videocard.

If you toggle between fullscreen and window mode, there's a 'ghost-window' with graphic noise at the top left.

If XBMC freezes but the computer is still responding, you go to Ctrl+Alt+F[tty], login and kill xbmc, your tty turns to graphic noise. Cannot make a screenshot of that, but it's like distorted text.

These are not crucial, rather minor annoyances, but I thought I'd mention them in case they are in any way related to the more serious APU problems.


Do you have "sync playback to display" enabled? Currently this does not work on ATI platform and might be related to your observations. Maybe both problems have the same root cause.
Reply
FernetMenta Wrote:Do you have "sync playback to display" enabled? Currently this does not work on ATI platform and might be related to your observations. Maybe both problems have the same root cause.
I have the exact same problem with XBMC freezing and I do not have sync playback to display enabled. I do not have any other ghosting or display issues. And XBMC ( for me ) only freezes when scrolling down the list of tv or movies a lot or randomly if some time has passed.

Does anyone know if Eden will have the vaapi/xvba libraries enabled or will I have to compile from source again?
Reply
MarsianMan Wrote:I have the exact same problem with XBMC freezing and I do not have sync playback to display enabled. I do not have any other ghosting or display issues. And XBMC ( for me ) only freezes when scrolling down the list of tv or movies a lot or randomly if some time has passed.

Does anyone know if Eden will have the vaapi/xvba libraries enabled or will I have to compile from source again?

Eden has vaapi enabled.
If you want xvba you can use FernetMentas branch. Binaries are in my PPA (see my sig)
Reply
Hmm.. seeing as Oneiric is out and newer kernels and newer ATI drivers... think it's maybe time for a new guide? If I have to reinstall I'd be lost Smile

wsnipex: is your PPA used as a replacement for Lars' or nathan's pvr ppa? What's different in yours?


EDIT: Sorry.. Just read your description. So you're using XVBA and the others are using Libva? That it? What's the difference to the end user? (sorry of it's a stupid question but I'm not THAAT technical)
Reply
This is not used as a replacement. We want to get xvba tested, but have seen that most of the AMD users really want PVR support. Lars is informed and helped us yesterday with questions concerning pvr build specialities.

So Fernetmenta synced his branch again with pvr + xvba patches on top. Wsnipex created the ppa.

In order to use it: install fglrx 11.11 packages, which can be created by dem ati installer, add the mentioned ppa. You should remove all other ppa lists first.


After this: apt-get install xbmc xbmc-bin should be enough. In System -> Video Playback enable XVBA and Use shared surfaces (experimental). If it crashes disable the experimental shared surfaces first, which needs more cpu power then, but works more stable with interlaced content.

Good for user: NO xvba-va-driver stuff needed. We do not got through libva anymore, we use direct XVBA API. This should be much more solid and more stable - but remember this is the first (small) call for testing :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
  • 1
  • 49
  • 50
  • 51(current)
  • 52
  • 53
  • 58

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform14