You are not logged in.

#51 2009-06-03 19:07:45

Hydroxide
Member
Registered: 2009-04-22
Posts: 4

Re: xbmc-git AUR package: discussion in here please

haggy wrote:

I updated xbmc-svn to 20896. This one has external libraries enabled, so less compile time, less wasted space and better mainline security support. Unfortunately we cannot enable external python due to a mismatch in python's configuration and we cannot use external ffmpeg as this would break VDPAU support.

Please test this pkgbuild as good as you can as it has rather new and untested features enabled (at least on non-ubuntu distros). I tested compilation on i686, but 64bit should do fine.

ONE IMPORTANT NOTE FOR NVIDIA USERS: It seems that compilation breaks if you have binary blob from nvidia installed. To circumvent this you have to run makepkg as root:

sudo makepkg --asroot

This is not beatiful but the only way of compiling these recent versions until pacman 3.3 is out. Further explanation in the CHANGELOG.

/Haggy.

ffmpeg has mainline VDPAU support [1], so why not use ffmpeg-svn [2] or ffmpeg-mt-git [3] from AUR?

[1] http://www.phoronix.com/scan.php?page=n … &px=Njk3MQ
[2] http://aur.archlinux.org/packages.php?ID=5553
[3] http://aur.archlinux.org/packages.php?ID=23958

Last edited by Hydroxide (2009-06-03 19:18:08)

Offline

#52 2009-06-03 19:21:07

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Well, dumping xbmc's internal ffmpeg library in favor of an AUR package won't bring any benefits IMHO. Another package to keep track of (as it is in unsupported), another package which has to be compiled and another possible point of failure.

/Haggy

Offline

#53 2009-06-03 19:46:30

Hydroxide
Member
Registered: 2009-04-22
Posts: 4

Re: xbmc-git AUR package: discussion in here please

haggy wrote:

Well, dumping xbmc's internal ffmpeg library in favor of an AUR package won't bring any benefits IMHO. Another package to keep track of (as it is in unsupported), another package which has to be compiled and another possible point of failure.

/Haggy

It is a very good reason..I didn't think about that one. Please consider removing libass from external-libraries. This one is also in AUR.

Offline

#54 2009-06-03 19:56:31

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

yes. but that was a dependency before external-libraries got merged in. at least i remember xbmc-svn not compiling without having libass installed (though not literally mentioned as a dependency). but in general you're right.

NOTE: i wonder when libass has enough votes to make it into community?!

Last edited by haggy (2009-06-03 19:59:07)

Offline

#55 2009-06-04 00:47:11

zepps
Member
Registered: 2009-06-03
Posts: 4

Re: xbmc-git AUR package: discussion in here please

For peeps starting out on a new xorg.conf for Nvidia this will generate a new base configuration and backup your old (incase) in /etc/X11/xorg.conf.backup  Most of the options that I can set have been taken from haggy's xorg setup (previous post)

Option Notes:

--force-generate          - brand new xorg.conf ( any user mods will be lost)
--no-kernel-modules    - I like loading the required modules as I feel it rips up the xserver that little bit quicker

nvidia-xconfig --force-generate --add-argb-glx-visuals --render-accel --no-logo --no-twinview --no-composite --depth=24 --damage-events --no-dynamic-twinview --no-flip --no-load-kernel-module --use-events --exact-mode-timings-dvi

just add -o [file] to the end of the line to test the output if you wish to compare.

Zepp

Offline

#56 2009-06-04 01:03:29

zepps
Member
Registered: 2009-06-03
Posts: 4

Re: xbmc-git AUR package: discussion in here please

When playing with your xorg.conf (especially on dedicated MC) its sometimes useful to be able to restart the server with CRTL_ALT backspace which has now been disabled in later versions of XORG

Add this to the end of xorg.conf to reenable it

Section "ServerFlags"
     Option      "DontZap"   "off"
EndSection

Offline

#57 2009-06-25 21:42:12

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: xbmc-git AUR package: discussion in here please

xbmc-svn 21123-1 doesn't build here. I always get a python error message:

'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "./setup.py", line 6, in ?
    import sys, os, getopt, imp, re
ImportError: No module named os
make[2]: *** [sharedmods] Fehler 1
make[2]: Leaving directory `/home/christian/aur/xbmc-svn/src/XBMC/xbmc/lib/libPython/Python'
make[1]: *** [../Python/libpython2.4.a] Fehler 2
make[1]: Leaving directory `/home/christian/aur/xbmc-svn/src/XBMC/xbmc/lib/libPython/linux'
make: *** [python] Fehler 2
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...

Is there a way to get rid of this?

Offline

#58 2009-06-27 14:04:05

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

How are you installing? Via makepkg or yaourt? Either case you should do a "make distclean" or even "make reallyclean" before compiling. That gets rid of old objects and clutter left over from previous compilations.

Offline

#59 2009-06-28 09:54:47

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: xbmc-git AUR package: discussion in here please

I'm using makepkg. It works now (had to delete everything and so on. there were more problems than this one above), but aside from that:

- It doesn't see my dvds. (And it doesn't play them.)
- There is no sound. (I had sound before that with 20775 [I think, it was this revision])

Offline

#60 2009-06-28 16:19:13

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Sorry, without a full debug log there's no way have a look at this. Please enable debugging and try to reproduce your issues. Then upload the full debug log to pastebin.com or some other paste site.

/haggy

Offline

#61 2009-06-28 19:54:58

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: xbmc-git AUR package: discussion in here please

Can you tell me, how I enable debug-mode?

Offline

#62 2009-06-28 21:19:26

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

In the settings menu. I think "system". Once enabled xbmc will log a lot of debug info into ~/.xbmc/temp/xbmc.log

Offline

#63 2009-06-29 07:59:53

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: xbmc-git AUR package: discussion in here please

The logfile

http://pastebin.com/m79b22a60

Maybe it is pulseaudio, which I don't use actually. It is installed and the pulseaudio-daemon is running.

I'm using KDE 4.2.4 (kdemod) and phonon/xine as backend, if this is relevant.

And it looks like it detects my dvd (batman - the dark knight), but doesn't want to play it.

Offline

#64 2009-06-29 08:12:44

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Well, according to your log it is using pulseaudio - and apparently without any errors. Strange you don't get to hear anything. Maybe kde is blocking the sounddevice because phonon as well has a sound daemon running. I don't think they play nice together. Could you try to uninstall pulseaudio? That way xbmc will use the ALSA device directly if it's available (and not blocked by kde/phonon).

As for your dvd issues i have no idea. It all looks proper, at least hal detects the drive/disc. Maybe take your pastebin log over to the xbmc forums. Some dev may find a better answer than me.

/Haggy

Offline

#65 2009-06-29 12:17:23

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: xbmc-git AUR package: discussion in here please

If I compile XBMC-svn with external FFmpeg, will I be able to get VDPAU output with subtitles in XBMC? As of now, I can't watch anime with VDPAU in XBMC tongue

Offline

#66 2009-06-29 12:18:58

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

no, that's the very reason for not using Arch's ffmpeg: it has no vdpau support

Offline

#67 2009-06-29 12:21:17

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: xbmc-git AUR package: discussion in here please

I mean ffmpeg-svn. It would perfect my media center setup if it's possible.

Last edited by Themaister (2009-06-29 12:22:48)

Offline

#68 2009-06-29 12:29:26

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Give it a try and report back - but i doubt the subtitle issue has anything to do with ffmpeg itself, i heard it's a problem with vdpau especially. Other than that, why not fall back to GLSL output for those files? or do you need VDPAU acceleration for these?

Offline

#69 2009-06-29 12:33:55

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: xbmc-git AUR package: discussion in here please

I do not spesifically need it, but I would like the media center to not run so hot/noisy when I play HD content. I don't think it's VDPAU, since I play subtitles perfectly with MPlayer/VDPAU (which might have something to do with FFmpeg). I heard that the XBMC crew is working on VDPAU subtitles as their implementation of it doesn't yet support overlays. I'll try it out when I get back from work smile

Offline

#70 2009-06-29 12:39:52

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Yup, as motd2k mentions in here: http://www.xbmc.org/forum/showthread.php?t=45525
But again: how could ffmpeg-svn fix this?

Offline

#71 2009-06-29 12:48:20

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: xbmc-git AUR package: discussion in here please

Well, if I enable VDPAU when I build ffmpeg-svn (or regular ffmpeg for that matter), or won't XBMC use FFmpeg's VDPAU when you do this?

Last edited by Themaister (2009-06-29 12:49:16)

Offline

#72 2009-06-29 12:51:24

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Then you'll get vdpau support in ffmpeg - as you get when using xbmc's internal ffmpeg. This has nothing to do with subtitles. Not being able to use VDPAU and subtitles at the same time in xbmc is due to missing overlay support - which is a problem in xbmc, not ffmpeg.

Offline

#73 2009-06-29 13:00:00

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: xbmc-git AUR package: discussion in here please

I see. So the subtitles and video when using VDPAU are rendered separately?

Offline

#74 2009-06-29 13:03:35

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

Apparently smile But that question may be better answered over at the xbmc forums. Lots of threads handle this topic there.

Offline

#75 2009-06-29 13:31:31

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: xbmc-git AUR package: discussion in here please

Okay, removing pulseaudio and rebuilding xbmc-svn without pulseaudio helped me in getting back my audio. I'll post this dvd-thing later in the xbmc-forums.

Offline

Board footer

Powered by FluxBB