Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Black Sliver on September 12, 2009, 10:38:33 AM

Title: XBMC + VDPAU
Post by: Black Sliver on September 12, 2009, 10:38:33 AM
Hi!

I'd like to run XBMC (http://xbmc.org/) plus VDPAU (http://en.wikipedia.org/wiki/VDPAU) on Tiny Core.

1. XBMC installs into /usr/bin (startup script) and into /usr/share/xbmc (everything else). As /usr/share/xbmc is about 130MB in size, so it might not be a good idea to run this as PPR. Any suggestions what to do best? Can the PPI Mode be extended to load /usr/share, not just /usr/local?

2. VDPAU is part of the latest nvidia drivers (since 185.xx). What's the best way to integrate them? Remaster the core maybe?
Title: Re: XBMC + VDPAU
Post by: curaga on September 12, 2009, 11:47:46 AM
1. TCZ mounting is rather fast; I doubt you'll find the speed of it lacking :D

2. I would create an extension. Makes easier updates when no need to re-remaster.
Title: Re: XBMC + VDPAU
Post by: Black Sliver on September 13, 2009, 03:17:08 PM
Sorry for my late reply, I'm kinda busy with other things...

1. Is there a way to create uncompressed TCZ extensions?
2. Is it really possible to put nvidia drivers into an TCZ extension? Can you put everything in there, no path restrictions?
Title: Re: XBMC + VDPAU
Post by: curaga on September 13, 2009, 03:34:41 PM
1. Yes. You are free to use any format supported by the core, including ext2. However, please only submit compressed extensions in the preferred format (squashfs) to the repo ;)

2. Why not? There are very few restrictions 'round here. Xorg itself is an extension, as are the 3D kernel modules.
Title: Re: XBMC + VDPAU
Post by: Black Sliver on September 13, 2009, 04:04:55 PM
I fear XBMC including the skin I use is kinda large. Even gzipped it's around 80M. Is there a size restriction? I can't find it in the guidelines (http://forum.tinycorelinux.net/index.php?topic=2072.0).
Is there a way to make uncompressed images public? I see that it's not allowed to publish extensions here in the forums, but what's about uncompressed images, that I may not add to the repos?
Title: Re: XBMC + VDPAU
Post by: ^thehatsrule^ on September 13, 2009, 08:28:44 PM
There is no size restriction (as long as the format supports it).

Perhaps the question should be: why do you require an uncompressed one?
Title: Re: XBMC + VDPAU
Post by: curaga on September 14, 2009, 03:15:49 AM
I believe it is for speed, for no need to uncompress accessed files.
Title: Re: XBMC + VDPAU
Post by: Black Sliver on September 14, 2009, 03:31:16 AM
Yes, right. The Atom 230 CPU I use is *very* slow and I have a lot of disk space free (4GB USB Key), so I see no point in compressing those files.
Is there another way than dd + mkfs + mount to create an ext2 image? That way I would have to guess the size to get no free Blocks...

^thehatsrule^, how do I submit an 80MB file via mail? The squashfs will be that big, I think. And what's about publishing the uncompressed version?
Title: Re: XBMC + VDPAU
Post by: curaga on September 14, 2009, 03:37:49 AM
Yes, you'll need to guess at first. After that you can use resize2fs to get it to approx. right size, then use dd to get the used part of the file. There will be some free blocks left.
Title: Re: XBMC + VDPAU
Post by: skare on November 27, 2009, 06:01:09 AM
Did you have any luck getting XBMC + VDPAU running on TinyCore?

Yes, right. The Atom 230 CPU I use is *very* slow and I have a lot of disk space free (4GB USB Key), so I see no point in compressing those files.
Is there another way than dd + mkfs + mount to create an ext2 image? That way I would have to guess the size to get no free Blocks...

^thehatsrule^, how do I submit an 80MB file via mail? The squashfs will be that big, I think. And what's about publishing the uncompressed version?