XBMC, startx and libgles problems

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

XBMC, startx and libgles problems

Postby MattScherbatsky » Fri Feb 01, 2013 12:50 pm

This is the output:

$this->bbcode_second_pass_code('', '[matt@raspberrypi ~]$ startx


X.Org X Server 1.13.2
Release Date: 2013-01-24
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.34-1-FARM armv6l
Current Operating System: Linux raspberrypi 3.6.11-4-ARCH+ #1 PREEMPT Wed Jan 16 19:06:54 UTC 2013 armv6l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x2 bcm2708.serial=0xa58af0e4 smsc95xx.macaddr=B8:27:EB:8A:F0:E4 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000 sdhci-bcm2708.enable_llm=1 sdhci-bcm2708.sync_after_dma=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 loglevel=2 root=/dev/mmcblk0p2 init=/bin/systemd rootfstype=ext4 rootwait
Build Date: 26 January 2013 12:42:24AM

Current version of pixman: 0.28.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 1 12:22:19 2013
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
XBMC has exited uncleanly 3 times in the last 5 seconds.
Something is probably wrong
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.
')

How can I resolve it? I find nothing on internet.
MattScherbatsky
 
Posts: 34
Joined: Sat Aug 04, 2012 11:04 am

Re: XBMC, startx and libgles problems

Postby pepedog » Fri Feb 01, 2013 1:00 pm

Add this to your ~/.bashrc until glibc is patched to fix the problem (linaro broke ld.so.cache)
$this->bbcode_second_pass_code('', 'export LD_LIBRARY_PATH=/opt/vc/lib')
Logout to take effect
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC, startx and libgles problems

Postby MattScherbatsky » Fri Feb 01, 2013 1:17 pm

It works! Thank you a lot! (:
MattScherbatsky
 
Posts: 34
Joined: Sat Aug 04, 2012 11:04 am

Re: XBMC, startx and libgles problems

Postby moonman » Sun Feb 10, 2013 10:10 pm

Well, this fix does not work for me. I can see they fixed the issue with glibc, kmihelich even added the patch to the PKGBUILD but it's not built yet? I can also see there was a patch to support kernel 3.7. Is that the reason why it is not built for RPi yet? Are we waiting for kernel to be updated to 3.7?
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 » Sun Feb 10, 2013 10:34 pm

$this->bbcode_second_pass_quote('moonman', 'W')ell, this fix does not work for me. I can see they fixed the issue with glibc, kmihelich even added the patch to the PKGBUILD but it's not built yet? I can also see there was a patch to support kernel 3.7. Is that the reason why it is not built for RPi yet? Are we waiting for kernel to be updated to 3.7?

I noticed it wasn't built too, for any arch

.bashrc didn't work for me either, this does
Edit /etc/bash.bashrc and put at bottom
export LD_LIBRARY_PATH=/opt/vc/lib
I have it hashed out in anticipation
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC, startx and libgles problems

Postby moonman » Mon Feb 11, 2013 1:29 am

Well, I put it in the /etc/profile. I'll try your way when I get home. Thanks
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 » Mon Feb 11, 2013 3:36 am

nope, didn't work. Same error shows up still.
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 » Mon Feb 11, 2013 10:17 am

You did reboot?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC, startx and libgles problems

Postby moonman » Mon Feb 11, 2013 6:31 pm

Yes, rebooted, logged out. I use systemctl start xbmc though, not startx. I'll try to recompile things :)
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 » Mon Feb 11, 2013 6:34 pm

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests