torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

XBMC on Gentoo - trouble with input devices

Mon Jun 25, 2012 7:37 am

Hi folks,

I successfully compiled the latest xbmc-rbp sources from github on my Gentoo-powered RPi.

XBMC starts up fine. However, neither keyboard nor mouse seem to work as input devices.
I tried several keyboard/mouse combinations already, all of which work flawlessly at the framebuffer console as well as in X11.

To me this looks like an SDL issue. Can someone confirm this? Is there a recommended version of libsdl?

Or is there some trick here to get these input devices working? I really don't want to use LIRC, since I've got one of those nice tiny wireless keyboards. :-)

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Mon Jun 25, 2012 8:26 pm

D'Oh! :-)

To answer my own question: libsdl obviously shouldn't be compiled in for the RPi branch of XBMC. Thus, a --disable-libsdl during configure did the trick.

eppe
Posts: 19
Joined: Mon May 14, 2012 12:23 am

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 12:33 am

torsti76 wrote:D'Oh! :-)
To answer my own question: libsdl obviously shouldn't be compiled in for the RPi branch of XBMC. Thus, a --disable-libsdl during configure did the trick.
Hi torsti76,
I am quite curious about that, what is your full configure command line ?
Thanks.

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 9:48 am

eppe wrote:I am quite curious about that, what is your full configure command line ?
The full configure line would be:

Code: Select all

./configure --prefix=/usr --build=armv6zk-hardfloat-linux-gnueabi --host=armv6zk-hardfloat-linux-gnueabi --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-platform=raspberry-pi --disable-gl --enable-gles --disable-x11 --disable-sdl --docdir=/usr/share/doc/xbmc-rbp-9999 --disable-ccache --enable-optimizations --enable-external-libraries --disable-goom --disable-hal --disable-pulse --disable-vaapi --disable-vdpau --disable-xrandr --disable-airplay --disable-alsa --enable-avahi --enable-libbluray --enable-dvdcss --disable-debug --enable-external-ffmpeg --disable-joystick --enable-mid --enable-nfs --disable-profiling --enable-projectm --enable-rsxs --enable-rtmp --enable-samba --enable-webserver
I've created an ebuild (media-tv/xbmc-rbp) that takes care of everything. Please, feel free to test / improve upon it. :-)
It's to be found in my freshly created overlay:

Code: Select all

git://github.com/tkurbad/raspberrypi-overlay.git
Some additional configuration is needed, however:

In /etc/portage/package.use set:

Code: Select all

media-tv/xbmc-rbp               -alsa -pvr
In /etc/portage/package.keywords set:

Code: Select all

media-libs/libprojectm          **
=media-tv/xbmc-rbp-9999         **
net-fs/libnfs                   **
net-libs/libmicrohttpd          **
Also, (in case you feel adventurous) you can "unlock" some further USE-flags in /etc/portage/profile/package.use.mask:

Code: Select all

media-tv/xbmc-rbp                       -bluray -rtmp
Best,
Torsten

eppe
Posts: 19
Joined: Mon May 14, 2012 12:23 am

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 1:03 pm

Thank you Torsten,
I have been struggling to find a working config, I will give a try to yours.

MrZammler
Posts: 8
Joined: Fri May 18, 2012 9:38 am

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 1:12 pm

Ah, thanks for this!

I'll try it too and let you know how it works out.

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 1:57 pm

Thanks for joining in, guys!

Just wanted to share my findings. Basically, it works, but:
  • Video output stutters every 4 to 5 seconds or so (which is really annoying)
  • I couldn't manage top activate the 3,5" audio jack via Settings → System → Audio. As soon as I try to change some value in that dialog, the GUI hangs forever.
I'll try and investigate the problems and get back. Please report, if you got similar problems.

My educated guess would be that the video stutters either result from using 32 bit framebuffer depth or, even more likely, from compiling XBMC against an external ffmpeg (0.10.4). But let's see...

As for the audio settings: Maybe someone with OpenELEC or the like and properly setup 3,5" jack would be willing to share his ~/.xbmc/userdata/guisettings.xml for comparison?!

mcscruff
Posts: 34
Joined: Thu Sep 22, 2011 5:41 pm

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 3:19 pm

Here is the gui settings from my openelec (.xml not allowed so i have linked it to my dropbox)


http://dl.dropbox.com/u/61746813/guisettings.xml

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Tue Jun 26, 2012 3:33 pm

mcscruff wrote:Here is the gui settings from my openelec (.xml not allowed so i have linked it to my dropbox)
Thank you very much!

The main difference seems to be that my guisettings have

Code: Select all

<audiodevice>Default</audiodevice>
<passthroughdevice>Default</passthroughdevice>
in the audiooutput section.

Will try to delete those entries manually. But won't be able to test for another hour or so...

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Wed Jun 27, 2012 9:27 am

Guys,

sorry, it took me a little longer. :-)

I just watched the beginnings of two movies, one 1080p, the other 720p. Both have DTS 5.1 audio. Video is of stunning clarity! There were only a few minor glitches in playback, nothing compared to the stuttering I saw yesterday.

My findings:
  • Manually editing guisettings.xml gets you nowhere. The respective section is then simply reset to default.
  • 32 bit framebuffer is the killer of smooth playback.
  • One shouldn't activate any swap space. As soon as swapping begins, XBMC becomes almost unusable.
  • Strangely enough, during video playback I can change all the audio output options without crashing XBMC. Thus, I could successfully switch to the 3,5" jack and then set it as default for all movies. Now it's changed in the system settings, too.
I'm still trying some optimizations here and there. But basically, that should be it.

mcscruff
Posts: 34
Joined: Thu Sep 22, 2011 5:41 pm

Re: XBMC on Gentoo - trouble with input devices

Wed Jun 27, 2012 11:12 am

torsti76, thanks for the update, although i don't use gentoo normally, i will be following your progress as i think gentoo with xbmc would be ideal

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Wed Jun 27, 2012 1:24 pm

I think, I've got it now. Playback off an NFS share is flawless.
One major issue was (and still is) the limited main memory in the 128 MB CPU/GPU split.
So, I tried to save every last bit of system memory now by disabling all but the necessary daemons and services. The only daemons running are udevd, dropbear, and busybox ntpd.

Also, I disabled all but the first virtual terminal - and have xbmc started by a very minimalistic /etc/inittab, like so:

Code: Select all

# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot

l0:0:wait:/sbin/rc shutdown 
l0s:0:wait:/sbin/halt -dhp
l1:1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
l6r:6:wait:/sbin/reboot -dk

# new-style single-user
su0:S:wait:/sbin/rc single
su1:S:wait:/sbin/sulogin

# TERMINALS
#
c1:12345:respawn:/usr/lib/xbmc/xbmc.bin
#c1:12345:respawn:/bin/busybox getty 38400 tty1 linux

# SERIAL CONSOLES
s0:12345:respawn:/bin/busybox getty 115200 ttyAMA0 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

x:a:once:/etc/X11/startDM.sh
Putting XBMC in inittab takes care of restarting the process whenever it runs out of memory (and is therefore killed by the kernel).

Also, by switching comments to

Code: Select all

[...]
# TERMINALS
#
#c1:12345:respawn:/usr/lib/xbmc/xbmc.bin
c1:12345:respawn:/bin/busybox getty 38400 tty1 linux
[...]
via ssh I can still re-enable a login VT for debugging, etc.

In addition, I added several tweaks to /etc/sysctl.conf

Code: Select all

# Memory tuning for XBMC
vm.min_free_kbytes = 1024
vm.swappiness = 0
vm.laptop_mode = 0
vm.overcommit_memory = 1
#vm.overcommit_ratio = 100
vm.page-cluster = 0
vm.vfs_cache_pressure = 100
And there's still room for optimization:
  • At the moment, I'm running a very modular kernel, but it's far from minimalistic. I'll soon try to build a kernel that only incorporates the features and modules necessary to run a full fledged XBMC.
  • I tried to enable as many of XBMC's features as possible for this first test. In a new build, I'll leave out things like libbluray... ;-) Thanks to Gentoo's ebuild system, this is easily accomplished by setting the appropriate use flags.
  • Last but not least, building with '-Os' in CFLAGS might still squeeze out some more bytes.
You might wonder why I built such a heavily loaded system in the first place. Well, it might be an odd approach, but I just wanted to have a full-featured system at first, deal with (compilation) issues, and just check out what the RasPI can take.
Now, I can make several copies of that system for different purposes, and then cut those down to a more "sane" level. In consequence, my SD card now holds Gnome3, Mate Desktop, LXDE, Samba, CUPS, Apache, MySQL, etc. - which is pretty amazing for such a small embedded device.

Thank you very much for this awesome device, Raspberry PI Foundation!!!

As for XBMC, I'll keep you posted...

Best,
Torsten

eppe
Posts: 19
Joined: Mon May 14, 2012 12:23 am

Re: XBMC on Gentoo - trouble with input devices

Wed Jun 27, 2012 11:55 pm

Thank you after quite a few hours of fight I finally got xbmc compiled and running.
Strangely I am getting this non working input devices too.
If I quit xbmc (ctrl-c working) I can see my keystrokes in the shell ... I did not have time to figure out what is going on yet.
Thanks.

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Fri Jul 06, 2012 8:39 am

Guys, I'm back with good news. :-)
  • At the moment, I'm running a very modular kernel, but it's far from minimalistic. I'll soon try to build a kernel that only incorporates the features and modules necessary to run a full fledged XBMC.
Update: I got kernel.img down to approximately 3.1 MB, while maintaining a reasonable set of features. And, these are the active modules:

Code: Select all

hase ~ # lsmod 
Module                  Size  Used by
nfs                   249396  1 
nfs_acl                 1856  1 nfs
auth_rpcgss            28956  1 nfs
fscache                24149  1 nfs
lockd                  55820  1 nfs
sunrpc                151744  9 lockd,auth_rpcgss,nfs_acl,nfs
ipv6                  205488  16 
af_packet              19272  0 
sd_mod                 23740  3 
evdev                   6840  2 
usb_storage            32528  2 
mousedev                8052  0 
scsi_mod               65360  2 usb_storage,sd_mod
unix                   20800  10 
As you can see, further memory savings could be achieved by disabling IPv6 (but I want it enabled), and by not using a cheap USB thumbdrive as temporary storage (which warrants for scsi_mod, sd_mod and usb_storage). But I'll leave this in as long as I'm still testing...
  • I tried to enable as many of XBMC's features as possible for this first test. In a new build, I'll leave out things like libbluray... ;-) Thanks to Gentoo's ebuild system, this is easily accomplished by setting the appropriate use flags.
I now came up with something you might call a "minimal feature packed XBMC" setup. It even has Lars Op den Kamp's PVR patches, but I still don't know, whether accessing my VDR at home will work. Will find out tonight. It's in my Overlay, btw.
  • Last but not least, building with '-Os' in CFLAGS might still squeeze out some more bytes.
Rebuilding the whole system with '-Os' brought minimal changes - but took awfully long. Don't know, if it was worth the time.

One issue remains:
  • Playing videos with AC3 5.1 sound via the 3,5 mm jack produces a lot of noise, and one can barely understand a word. Funnily, DTS and even DTS HD work without problems, as does AC3 2.0.
Maybe one of the cracks here has an explanation for that? ;-)

Best,
Torsten

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Sat Jul 07, 2012 1:35 pm

  • I now came up with something you might call a "minimal feature packed XBMC" setup. It even has Lars Op den Kamp's PVR patches, but I still don't know, whether accessing my VDR at home will work. Will find out tonight. It's in my Overlay, btw.
Update: PVR setup using the pvr-xvdr addon does NOT work. XBMC complains at startup that the plugin could not be activated. Okay, I'll live with this minor drawback for now and go with the original xbmc-rbp from github. :-)

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 8:47 am

One issue remains:
  • Playing videos with AC3 5.1 sound via the 3,5 mm jack produces a lot of noise, and one can barely understand a word. Funnily, DTS and even DTS HD work without problems, as does AC3 2.0.
Update: Solved by putting

Code: Select all

<audio>
    <omxhwaudiodecode>1</omxhwaudiodecode>
</audio>
in userdata/advancedsettings.xml.

There are some more values you can tweak here to tickle out the last bit of speed, as the guys from OpenELEC do, too. So mine now looks like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<advancedsettings>
  <destroywindowcontrols>false</destroywindowcontrols>
  <fanartheight>512</fanartheight>
  <thumbsize>256</thumbsize>
  <bginfoloadermaxthreads>2</bginfoloadermaxthreads> 
  <useddsfanart>true</useddsfanart>

  <gui>
    <algorithmdirtyregions>3</algorithmdirtyregions>
    <nofliptimeout>0</nofliptimeout>
    <visualizedirtyregions>off</visualizedirtyregions>
  </gui>

  <audio>
    <omxhwaudiodecode>1</omxhwaudiodecode>
  </audio>

  <network> 
    <cachemembuffersize>30242880</cachemembuffersize> 
  </network>
</advancedsettings>

Cdub
Posts: 7
Joined: Sun Jul 08, 2012 4:42 pm

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 3:29 pm

Looking good so far, thanks for the overlay. I wasn't able to get past compiling addons.c with the default xbmc ebuild in portage. So far it's been going overnight with no issues (didn't get much farther than 10-15 minutes into it before).

Detritus
Posts: 9
Joined: Fri Jul 06, 2012 11:54 pm

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 4:42 pm

torsti76 wrote:Hi folks,

I successfully compiled the latest xbmc-rbp sources from github on my Gentoo-powered RPi.

XBMC starts up fine. However, neither keyboard nor mouse seem to work as input devices.
I tried several keyboard/mouse combinations already, all of which work flawlessly at the framebuffer console as well as in X11.
You have X running? Did you have to go through many contortions to get it compiled and working?

Thanks for the info in these posts. There's gold in them.

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 5:25 pm

Detritus wrote: You have X running? Did you have to go through many contortions to get it compiled and working?
I've had no problems at all! Compiling xorg-server worked just flawlessly. And a new enough portage will even tell you, what packages you need to add to /etc/portage/package.keywords.

Here's my list so far:

Code: Select all

media-libs/libaacplus		**
=app-portage/conf-update-1.0.2 **
dev-db/sqlheavy			**
mail-client/geary		**
<media-gfx/gimp-9999	**
<media-libs/babl-9999	**
<media-libs/gegl-9999	**
app-accessibility/caribou		**
app-admin/apg				**
app-crypt/seahorse			**
app-editors/gedit			**
app-text/yelp-tools			**
dev-libs/folks				**
dev-libs/gjs				**
dev-libs/json-glib			**
dev-libs/libgdata			**
dev-libs/libpeas			**
dev-util/itstool			**
games-board/aisleriot			**
gnome-base/gdm				**
gnome-base/gnome			**
gnome-base/gnome-control-center		**
gnome-base/gnome-core-apps		**
gnome-base/gnome-core-libs		**
gnome-base/gnome-extra-apps		**
gnome-base/gnome-fallback		**
gnome-base/gnome-session		**
gnome-base/gnome-shell			**
gnome-extra/evolution-data-server	**
gnome-extra/gnome-contacts		**
gnome-extra/gnome-games			**
gnome-extra/gnome-power-manager		**
gnome-extra/gnome-screensaver		**
gnome-extra/gnome-system-monitor	**
gnome-extra/gnome-tweak-tool		**
gnome-extra/sushi			**
gnome-extra/yelp			**
gnome-extra/yelp-xsl			**
mail-client/evolution			**
media-gfx/eog				**
media-gfx/shotwell			**
media-libs/clutter			**
media-libs/clutter-gst			**
media-libs/clutter-gtk			**
media-libs/cogl				**
media-libs/gexiv2			**
media-libs/libchamplain			**
media-libs/libgnome-media-profiles	**
media-libs/libgphoto2			**
media-libs/libraw			**
media-libs/memphis			**
media-plugins/gst-plugins-cdparanoia	**
media-plugins/gst-plugins-faac		**
media-plugins/gst-plugins-lame		**
media-plugins/gst-plugins-twolame	**
media-sound/sound-juicer		**
media-video/cheese			**
media-video/gnome-video-effects		**
media-video/totem			**
net-im/empathy				**
net-im/telepathy-connection-managers	**
net-im/telepathy-logger			**
net-im/telepathy-mission-control	**
net-libs/gnome-online-accounts		**
net-libs/gtk-vnc			**
net-libs/liboauth			**
net-libs/libsocialweb			**
net-libs/rest				**
net-libs/telepathy-farsight		**
net-misc/vinagre			**
net-wireless/gnome-bluetooth		**
www-client/epiphany			**
x11-libs/mx				**
x11-themes/gnome-icon-theme-extras	**
x11-wm/mutter				**
=dev-java/ecj-gcj-3.6		**
app-admin/eselect-ecj		**
dev-java/ant-core		**
dev-java/ant-nodeps		**
dev-java/ecj-gcj		**
dev-java/gcj-jdk		**
dev-java/icedtea		**
dev-java/icedtea-web		**
dev-java/javatoolkit		**
=virtual/jdk-1.7*		**
dev-java/jamvm		**
=net-fs/samba-3*		**
sys-libs/ldb			**
games-engines/scummvm			**
app-emulation/e-uae		**
sys-apps/usb_modeswitch		**
<media-libs/x264-9999		**
media-libs/libaacs		**
media-libs/libbluray		**	
media-libs/libprojectm		**
=media-tv/xbmc-rbp-9999		**
net-fs/libnfs			**
net-libs/libmicrohttpd		**
app-text/gocr		**
media-gfx/xsane		**
sys-block/zram-init		**
Not everything is needed, though. :-)

Just note that I build everything on the RPi itself, heavily using distcc to distribute the compile jobs to several Core 2 Duo machines. Nonetheless, an emerge -e world will take approximately one to one and a half weeks, depending on the speed of your storage device. I used an external harddrive to build this world and then transferred everything to an SD card.

Have fun,
Torsten

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 5:31 pm

Cdub wrote:Looking good so far, thanks for the overlay. I wasn't able to get past compiling addons.c with the default xbmc ebuild in portage. So far it's been going overnight with no issues (didn't get much farther than 10-15 minutes into it before).
I'm glad I could help. :-)

The standard ebuild won't get you far, because atm, xbmc has an extra project for RPi support. This will eventually be re-united with the master branch, but for the time being, you need this version for the RPi:

https://www.github.com/xbmc/xbmc-rbp

Note however, that my overlay is in constant flux and sometimes things there don't work as expected. I set it up merely for my own convenience.

Detritus
Posts: 9
Joined: Fri Jul 06, 2012 11:54 pm

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 6:08 pm

torsti76 wrote: I've had no problems at all! Compiling xorg-server worked just flawlessly. And a new enough portage will even tell you, what packages you need to add to /etc/portage/package.keywords.

Just note that I build everything on the RPi itself, heavily using distcc to distribute the compile jobs to several Core 2 Duo machines. Nonetheless, an emerge -e world will take approximately one to one and a half weeks, depending on the speed of your storage device. I used an external harddrive to build this world and then transferred everything to an SD card.

Have fun,
Torsten
Cool. I have just begin the glacial epic journey that is "emerge -v xorg-server" natively on the pi. :lol:

At the moment I'm running the pi at stock speed, with the root on the SD and swap, portage and /var/temp over on a xfs formatted usb stick. Wednesday amazon will be dropping off a sata <> usb bridge and some stick on heatsinks and then I'll move everything but /boot over to a 7200rpm 3.5" drive, and overclock the cpu %25 and continue the build.

Some real quick benchmarking with bonnie showed a significant inprovement with xfs over etx4, I'm sure this was magnified by the slowness of the base device. I looked forward to getting the HHD. :) I wish there was a native sata port tied into the SoC so bad! Maybe something could be done over GPIO or something. I am going to gather up as many storage options as I can and bench mark them on the various filesystems and see if I can't find a sweet spot.

I have one pi now I got off ebay for a large premium, but I don't care, I had to have one. I figgure this first one will end up tied to my bench doing biulds and testing things, and I'll get at least two more that I put into more mobile spots or on the backs of tvs and I just copy bin's over from the bench pi.

This is fun. :) Thanks again!

Cdub
Posts: 7
Joined: Sun Jul 08, 2012 4:42 pm

Re: XBMC on Gentoo - trouble with input devices

Mon Jul 09, 2012 6:14 pm

I just had to say something :P

Code: Select all

-----------------------
XBMC built successfully
-----------------------
>>> Source compiled.
>>> Test phase [not enabled]: media-tv/xbmc-rbp-9999

>>> Install xbmc-rbp-9999 into /var/tmp/portage/media-tv/xbmc-rbp-9999/image/ category media-tv
make -j2 install DESTDIR=/var/tmp/portage/media-tv/xbmc-rbp-9999/image/
Copying XBMC binary to /var/tmp/portage/media-tv/xbmc-rbp-9999/image//usr/lib/xbmc/xbmc.bin
You can run XBMC with the command 'xbmc'
Copying support and legal files...
Done!aveform.vis
Copying system files to /var/tmp/portage/media-tv/xbmc-rbp-9999/image//usr/share/xbmc
 * tools/Linux/xbmc.png is not a valid file/directory!
 * ERROR: media-tv/xbmc-rbp-9999 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_install
 *   environment, line 5903:  Called doicon 'tools/Linux/xbmc.png'
 *   environment, line 1411:  Called _iconins 'doicon' 'tools/Linux/xbmc.png'
 *   environment, line  706:  Called die
 * The specific snippet of code:
 *       fi ) || die
 *
 * If you need support, post the output of `emerge --info '=media-tv/xbmc-rbp-9999'`,
 * the complete build log and the output of `emerge -pqv '=media-tv/xbmc-rbp-9999'`.
 * This ebuild is from an overlay named 'RaspberryPi': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/media-tv/xbmc-rbp-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/xbmc-rbp-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/media-tv/xbmc-rbp-9999/work/xbmc-rbp-9999'
 * S: '/var/tmp/portage/media-tv/xbmc-rbp-9999/work/xbmc-rbp-9999'

Cdub
Posts: 7
Joined: Sun Jul 08, 2012 4:42 pm

Re: XBMC on Gentoo - trouble with input devices

Wed Jul 11, 2012 6:42 am

Corrected a line in the ebuild and managed to get it compiled, but it still doesn't want to start from X.

Mind sharing your xorg configs?

torsti76
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany

Re: XBMC on Gentoo - trouble with input devices

Wed Jul 11, 2012 9:14 am

Cdub wrote:Corrected a line in the ebuild and managed to get it compiled, but it still doesn't want to start from X.
What exactly do you want to start? X or XBMC? Did you build the fbdev driver for X?

You don't need an xorg.conf (and I don't have one, either). If you have the "evdev" input driver and the "fbdev" video driver ready, X will detect everything by itself.

XBMC doesn't (and won't) start from X on the RPi. It directly addresses the GPU. Just start /usr/lib/xbmc/xbmc.bin from the console.

Cdub
Posts: 7
Joined: Sun Jul 08, 2012 4:42 pm

Re: XBMC on Gentoo - trouble with input devices

Wed Jul 11, 2012 4:49 pm

Ahh I get a different error there, I'll look into the fbdev and evdev.

Code: Select all

2617122798: vchiq_lib: Very incompatible VCHIQ library - cannot retrieve driver version
* failed to open vchiq instance
Segmentation fault
You might have to bear with me, as I haven't used X since it was Xfree86 :P

Return to “Media centres”