XBMC PKGBUILD for raspberry pi

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

Re: XBMC PKGBUILD for raspberry pi

Postby gregd72002 » Sat Oct 27, 2012 4:12 pm

re resolution issue - I had the same problem again and removing .xbmc folder from my home directory solved it..
gregd72002
 
Posts: 15
Joined: Wed May 09, 2012 2:57 pm

Re: XBMC PKGBUILD for raspberry pi

Postby guisacouto » Sun Oct 28, 2012 9:08 pm

I've tried to remove the xbmc config folder but it didn't solve the libcec problem.. I can get it to work by setting to default configuration in the system>input menu, but it stops working as soon as I restart xbmc..

Any clue?
guisacouto
 
Posts: 44
Joined: Thu May 17, 2012 1:29 pm

Re: XBMC PKGBUILD for raspberry pi

Postby stele » Mon Oct 29, 2012 5:48 pm

Here is the just compiled package after the updated patch link on aur.
stele
 
Posts: 1
Joined: Sat Oct 27, 2012 11:15 pm

Re: XBMC PKGBUILD for raspberry pi

Postby Magikarp » Tue Nov 06, 2012 5:33 pm

XBMC on my Pi gets upscaled to 1080p and looks really bad.

I have found following:

"if you want to get rid of the upscale, you will have to compile it from source.
follow the compile guide and let it compile after it is done goto the sources/xbmc folder uncompress the xbmc tar.xz
In file xbmc/windowing/egl/WinEGLPlatformRaspberryPI.cpp change the limits in the ClampToGUIDisplayLimits function to 1920x1080 instead of 1280x720.
compress the folder again and change the md5
remove the .stamp/xbmc from the rpi build dir
compile again, should take like 5 mins everything was allready compiled, it will only compile the file changed.
install on the SD"

http://forum.xbmc.org/showthread.php?ti ... pid1218029

Is it possible to create patch and edit PKGBUILD to do just that since there is no WinEGLPlatformRaspberryPI.cpp in src dir?
Magikarp
 
Posts: 22
Joined: Thu Oct 25, 2012 1:18 pm

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Wed Nov 07, 2012 1:33 pm

$this->bbcode_second_pass_quote('Magikarp', 'X')BMC on my Pi gets upscaled to 1080p and looks really bad.

I have found following:

"if you want to get rid of the upscale, you will have to compile it from source.
follow the compile guide and let it compile after it is done goto the sources/xbmc folder uncompress the xbmc tar.xz
In file xbmc/windowing/egl/WinEGLPlatformRaspberryPI.cpp change the limits in the ClampToGUIDisplayLimits function to 1920x1080 instead of 1280x720.
compress the folder again and change the md5
remove the .stamp/xbmc from the rpi build dir
compile again, should take like 5 mins everything was allready compiled, it will only compile the file changed.
install on the SD"

http://forum.xbmc.org/showthread.php?ti ... pid1218029

Is it possible to create patch and edit PKGBUILD to do just that since there is no WinEGLPlatformRaspberryPI.cpp in src dir?

Patching the source to avoid the upscaling is possible, and shouldn't be too difficult. Unfortunately I'm in the process of moving, so my own Pi is unavailable, so I won't be releasing new PKGBUILDs for the next week or so. But feel free to contribute and I'll push it the the AUR.
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am

Re: XBMC PKGBUILD for raspberry pi

Postby Magikarp » Sun Nov 11, 2012 12:28 pm

After learning tha git basics, I made a patch based on http://svn.stmlabs.com/svn/raspbmc/patc ... ggle.patch.

Source tarball.

EDIT: Don't know why, but it's not working. Still getting upscaled.
EDIT2: I guess nolimit file path can't be $HOME/.xbmc/userdata/nolimit but /home/username/.xbmc/userdata/nolimit.

Also i have a question. When I run makepkg again, this happens:
$this->bbcode_second_pass_code('', '
==> Starting build()...
-> Connecting to GIT server...
Already up-to-date.
-> The local files are updated.
-> GIT checkout done or server timeout.
patching file configure.in
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file configure.in.rej
patching file lib/libsquish/Makefile.in
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/libsquish/Makefile.in.rej
patching file tools/TexturePacker/Makefile.in
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tools/TexturePacker/Makefile.in.rej
==> ERROR: A failure occurred in build().')

How can I get it to build, I don't want to do fresh repository clone every time.
And is it possible to compile only changes?
Magikarp
 
Posts: 22
Joined: Thu Oct 25, 2012 1:18 pm

Re: XBMC PKGBUILD for raspberry pi

Postby Magikarp » Sat Nov 17, 2012 5:35 pm

Finally I got the time to play with RPi.
Patch works with hard-coded paths, everything is much sharper, but possible performance impact
is yet to be seen.
I'm not sure what would be the best place to put nolimit file in to avoid everybody editing path to their own home.
/usr/share/xbmc/ maybe?

Cec didn't work with my TV (LG 32LH5000), but building libcec-rpi 2.0.4 fixed it.
2.0.1 in repos is quite old.
Magikarp
 
Posts: 22
Joined: Thu Oct 25, 2012 1:18 pm

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests