XBMC, startx and libgles problems

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: XBMC, startx and libgles problems

Postby moonman » Mon Feb 11, 2013 7:29 pm

I was thinking about a script too. I'm compiling glibc atm, will try your scipt as well when it's done. It will probably take a while since distcc is disabled in PKGBUILD for compiling glibc
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: XBMC, startx and libgles problems

Postby moonman » Tue Feb 12, 2013 8:02 pm

Well i gave up on recompiling. Too many thing to recompile for glibc. Ive made a script that i call when i need xbmc. Waiting for the proper fix
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: XBMC, startx and libgles problems

Postby pepedog » Wed Feb 13, 2013 9:53 am

V7 just compiled on my trimslice (2Gb swap), took 18 hours in screen session
Maybe I will try in chroot of V6
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC, startx and libgles problems

Postby moonman » Wed Feb 13, 2013 10:04 pm

Dont you need to recompile binutils as well after compiling a patched glibc
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: XBMC, startx and libgles problems

Postby pepedog » Wed Feb 13, 2013 10:33 pm

$this->bbcode_second_pass_quote('moonman', 'D')ont you need to recompile binutils as well after compiling a patched glibc

I think there is a note at the top of gcc PKGBUILD on what needs reduild, I could have continued with tegra as there is a similar library issue but decided to do for pi
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC, startx and libgles problems

Postby moonman » Thu Feb 14, 2013 4:36 am

Alright, I guess a cleaner workaround ls to symlink all the necessery libs.

$this->bbcode_second_pass_code('', '#!/bin/bash
list=$(ls /opt/vc/lib)
for files in $list do
rm /usr/lib/$files 2> /dev/null
ln -s /opt/vc/lib/$files /usr/lib/$files
done')

Can this be temporarily added in xbmc.install ? I can do it, but wondering if I should and if it's ok.

Also, is there a particaluar reason why systemd service file starts xbmc using xinit? After a clean install installing xbmc and starting it with systemctl start xbmc will result in an ambiguous error (xbmc.service start request repeated too quickly, refusing to start.). xbmc will start fine without xinit. Otherwise xorg-server should be added to the dependency array for xbmc.

Edit: would something like this be ok? https://github.com/moonman/PKGBUILDs/co ... 2e7bff58bc
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: XBMC, startx and libgles problems

Postby pepedog » Thu Feb 14, 2013 9:36 am

I know that would work, but I don't like it, plus symlinks would remain if xbmc was uninstalled.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC, startx and libgles problems

Postby moonman » Thu Feb 14, 2013 4:29 pm

Well, that's easiliy fixed with post_remove(). Alright, I see you don't like it. :)

How about xinit?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: XBMC, startx and libgles problems

Postby tgc » Fri Feb 15, 2013 8:56 am

If this should be fixed in the xbmc PKGBUILD, then I would place LD_LIBRARY_PATH in startup python script, FEH.py, if I remember correctly. Does anybody know the ETA for the new glibc build to hit the repos? No need to change xbmc if glibc is almost ready.
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am

Re: XBMC, startx and libgles problems

Postby WarheadsSE » Fri Feb 15, 2013 1:32 pm

They've readied a patch. We're just waiting on them.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests