Official XBian 1.0 Beta 1 thread
|
2nd Jul, 2013, 07:31 AM
Post: #211
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
yes you can. I was not playing with versioning much, so maybe not all packages will be offered to update. so do:
apt-get clean apt-get update apt-get -s upgrade (to see what's is offered to upgrade). critical update was to 1) xbian-package-initramfs-tools the hotplugging stuff related to xbmc is related to 2) xbian-package-xbmc, xbian-update, xbian-package-usbmount the zetoconf stuff (browsing networks) is going down to random generator and frandom 3) xbian-package-kernel other small updates to 4) xbian-package-zram-swap (related only to ext4 filesystem), xbian-package-splash (cosmetic issues, nice to have), xbian-package-config-shell (nice to have) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
2nd Jul, 2013, 03:45 PM
Post: #212
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
Yesterday the cache was stuck at <=1MB and 100% so I assumed cache was too low.
(I mean o key while video plays; third line) Today cache started rising while at 100% and frozen video. I stopped the video at cache 47MB. After I apt-get clean/update/upgraded the situation is the same. The updating was a clean process! I have seen this problem before long time ago on my xbox but was solved in a later release. When I get home I'll make a debug log and look for clues and perhaps a video of what it looks like. No other tuxbox users? |
|||
2nd Jul, 2013, 04:51 PM
Post: #213
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
Hi Guys,
I've been a long time user of xbian. I've loved it so far. Like others on this thread - I am having massive performance issues with this new beta, slow gui, bad video playback etc... I have the early rpi model with only 256mb ram. I have installed it from scratch. I don't know if anyone's pointed this out yet, but I think the new performance problems come from having a swap file on a btrfs partition. Swap performance is going to be extremely bad on a copy-on-write file system like btrfs. (Don't take my word for it, more reading here: https://btrfs.wiki.kernel.org/index.php/FAQ#Does_btrfs_support_swap_files.3F ) Swap on an sd card is generally a bad idea, but if we need so much memory that we need swap, then we should create a new partition on the sd card for it, and not have the /var/swapfile file in the btrfs file system that xbian has now. Thanks for the great work so far! |
|||
2nd Jul, 2013, 05:22 PM
Post: #214
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
@mk01
Just to clarify.. to help in the debugging, I should install vanilla 1.0B1, then apt-get the update (hotfix)? |
|||
2nd Jul, 2013, 05:39 PM
Post: #215
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
I'm trying to run xbian on a 1GB sdcard, but mounting /usr and /var from a 2GB USB stick. This configuration used to work with alpha5, where I put the relevant entries for /usr and /var in /etc/fstab.
However, with beta1, the same configuration fails, with xbian remaining stuck at boot on the "system init" splash screen. Am I missing something, some additional configuration? Or the current initrd does not honor fstab? Or maybe btrfs is getting in the way? Thanks! |
|||
2nd Jul, 2013, 05:48 PM
Post: #216
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
(2nd Jul, 2013 03:14 AM)ilgrank Wrote:Fair enough, I understand. I just threw the workaround advice in there in case anyone experiencing this problem really wants their media back. I agree it's a problem that should be fixed more comprehensively. I'm pretty sure I've seen the same problem in the past.Quote:You can work around it if you know your network details. Just go to "Add network location ..." and manually enter the details. |
|||
2nd Jul, 2013, 05:52 PM
Post: #217
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
(2nd Jul, 2013 05:39 PM)alfredo Wrote: Am I missing something, some additional configuration? Or the current initrd does not honor fstab? Or maybe btrfs is getting in the way? Thanks! generally answer, there is no change it that logic for beta1. beta1 even mounts /home as different subvolume, what is the same as your /var or /usr. you told very little about how you tried this. downloaded image of beta1, copied /usr and /var to the other card, changed /etc/fstab and rebooted? if so, try without "splash" on cmdline. at the end of initramfs stage, there is splash re-run from /rootfs (real root partition as specified on cmdline), what can be problem, because your /usr is not within this /rootfs. so splash won't get know about rootfs change and will stay on screen for ever. so disable it and tell how it's going. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
2nd Jul, 2013, 05:54 PM
Post: #218
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
(2nd Jul, 2013 04:26 AM)mk01 Wrote:(2nd Jul, 2013 03:48 AM)ilgrank Wrote: My intention was to try to contribute and install the hotfix to further test the SMB issue,but If I can be more useful with the 'plain' 1.0B1, no problem, as I've the image already in local ready for a fresh-reimaging.btw: what we now need, is all those people who reported and have issues or consider as issues for them, to grab the packages and test. otherwise it makes no progress. If we distribute to the same people as before, no benefit, because the testgroup found no issues already for beta1. Ok, what do we have to do? Sorry but I am only able to access these forums on an erratic basis. I would rather spend time testing that reading. Please provide instructions for how to upgrade to your updated packages, even if that's just a link to another post already explaining it. |
|||
2nd Jul, 2013, 05:54 PM
Post: #219
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
(2nd Jul, 2013 05:22 PM)ilgrank Wrote: @mk01 yes. but use mine repo, i don't know is koen already merged to his one and yesterday there were the wrong files. (2nd Jul, 2013 04:51 PM)niftydude Wrote: Hi Guys, ha, this is report I like. even with background study self performed. i like it ! yes, you are right. that's why CoW is turned off for the swapfile. you can check that with "lsattr /var/swapfile". should look like: ---------------C /var/swapfile if it's so then let's try the partition: shrink the btrfs, shrink the partition, create new one, mkswap it and activate swap. let's see about the results. if you confirm it's cure, I'm definitelly willing to put it into some early updates (actually I had this dilemma long ago, but noone was able to discuss on this level, nevertheless testing it). what is your swap usage during operations? (swapon -sa). it's should not be so much. what you forgot to analyze is the impact of btrfs on sqlite db files inside .xbmc folder. let's focus on the swap first, let's look at the sqlite later. mk Wrote:(2nd Jul, 2013 05:54 PM)raspberry_pd Wrote: mk http://forum.xbian.org/thread-1031-post-12249.html#pid12249 + some comments http://forum.xbian.org/thread-1031-post-12268.html#pid12268 there is the address, you can use it as deb repo in sources: "deb http://ivka57.dyndns-ip.com wheezy main" Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
2nd Jul, 2013, 06:33 PM
Post: #220
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
tuxbox HD .ts streaming....
A bit of an old thread but is it possible the Pi falls back to software decoding?... http://forum.xbmc.org/showthread.php?tid=95495 Will the debug log show this? |
|||
2nd Jul, 2013, 06:38 PM
Post: #221
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
.ts is most probably MPEG1 so yes (assumption)
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
2nd Jul, 2013, 06:42 PM
Post: #222
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
Quote:yes, you are right. that's why CoW is turned off for the swapfile. you can check that with "lsattr /var/swapfile". should look like: Hi MK, unfortunately turning CoW off isn't enough - from the btrfs wiki: "Just making a file NOCOW does not help, swap file support relies on one function that btrfs intentionally does not implement due to potential corruptions." I'm at work now, but I'll try creating a swap partition and changing the zram script to use it when I get home later tonight. You are right - I haven't looked at btrfs and the sqlite db file performance to see if that's causing a big slowdown as well. One problem at a time is enough for me |
|||
2nd Jul, 2013, 06:46 PM
Post: #223
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
(2nd Jul, 2013 06:42 PM)niftydude Wrote: You are right - I haven't looked at btrfs and the sqlite db file performance to see if that's causing a big slowdown as well. One problem at a time is enough for me perfect. thanks. if you would need help with the resize and part create, et me know. but I have the feeling you will manage just a remark, be sure to create the 3rd partition (for swap) before restart. if not, initramfs will resize again back. with the 3rd partition existing, initramfs will not resize, somehow I was having this option in mind for future - or use "noresizesd" parameter in cmdline.txt) mk Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
3rd Jul, 2013, 12:04 AM
Post: #224
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread
Hey mk,
I resized the btrfs partition, added a 256 mb linux-swap partition at the end of the sd card, edited /etc/fstab to mount that swap partition, and edited /etc/init/zram-swap.conf so that it doesn't create of mount /var/swapfile. Thanks for letting me know about the resize on reboot thing - it would've taking me ages to figure out what was going on! This seems to be working quite nicely! I haven't seen the slowdowns and hangs that I was getting with swap set up the other way. Also - using pvr to stream high def 1080p video channels from my mythtv server is now working! This would also hang with swap the other way. Note that I am just using the original beta for this - I haven't installed any of your other hotfixes yet. I really think we need to make this change! I'll let it run overnight and try it again in the morning to see if anything bad happens, but I think we are good. |
|||
3rd Jul, 2013, 12:50 AM
Post: #225
|
|||
|
|||
RE: Official XBian 1.0 Beta 1 thread | |||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Official XBian Raspberry B+ models thread | IriDium | 4 | 21,223 |
23rd Nov, 2014 09:14 PM Last Post: 0xFF |
|
Official XBian 1.0 RC 2 Gotham (XBMC 13) thread | IriDium | 167 | 567,005 |
10th Sep, 2014 04:41 AM Last Post: weezer |
|
Official XBian 1.0 RC 2 thread | IriDium | 61 | 193,265 |
16th Aug, 2014 03:10 PM Last Post: mehlvogel |
|
Official XBian 1.0 RC 1 thread | IriDium | 173 | 586,924 |
1st May, 2014 02:44 PM Last Post: dharmabm |
|
Official XBian 1.0 Beta 2 thread | IriDium | 411 | 1,391,950 |
7th Mar, 2014 09:56 PM Last Post: leadergr |
|
Official XBian 1.0 Alpha 5 thread | Koenkk | 366 | 1,437,783 |
15th Aug, 2013 07:35 AM Last Post: anthonyonions |
|
Official XBMC 12.2 Thread | Koenkk | 118 | 465,610 |
4th Jul, 2013 09:11 AM Last Post: mk01 |