Forum

Full Version: Official XBian 1.0 RC 1 thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
(7th Mar, 2014 04:50 PM)mk01 Wrote: [ -> ]
(7th Mar, 2014 05:58 AM)woferon Wrote: [ -> ]The problem is: movies that are coded in 2.0 have sound but movies that are for example in 5.1 doesn't have sound AT ALL.

is it not "only" the case when XBMC on version change (so maybe also a slightly different structure of config file) will delete settings around pass through, number of decoding channels on your HW setup etc?

can you check / confirm that ?

What exacly do you want me to check?

My setup is: RPi sends sound through HDMI to TV, then TV sends it through optical cable straight to my soundbar. There's pretty much nothing to set up. Sound in Xbian works pretty much out of box without setting anything up at all (unless updating from B2 to RC1, that is).

I've tried changing sound settings in XBMC to no avail. Plus as I said earlier, I only don't have sound in videos that are coded in AAC with more than 2.0 sound channels (so for example video with 2.0 have normal sound while video with 5.1 doesn't have any sound at all).

If I'll put Beta 2 on my SD card again, sound works again without any problem so it clearly must be a problem with RC1. I might check if this problem persist if I change RPi's to my second one, but I'm pretty sure I've tried it before and it still didn't work.

Any suggestions?
I find the Xbian copier very useful, it copied my system to NFS, and it even changed my cmdline.txt.

However some problems are there after doing this:

- Xbian notices that it isn't running on btrfs anymore and I can't use Xbian copier anymore to make a system image.
- after moving the system to NFS, some folders are not there, for example /run/lock/ :
Terminal
/usr/local/sbin/xbian-config: line 203: /run/lock/xbian-config.gui: No such file or directory
after doing
Terminal
sudo mkdir /run/lock/
xbian-config works again, but after a reboot this folder is lost again
- xbmc doesn't start anymore. The last lines of my xbmc.log are:
Quote:07:12:17 T:3041587920 ERROR: Error: Requested setting (audiooutput.guisoundmode) was not found. It must be case-sensitive
07:12:18 T:3041587920 NOTICE: Running database version Addons15
07:12:20 T:3039106096 NOTICE: Thread XBMC Peripherals start, auto delete: false
07:12:20 T:3041587920 NOTICE: Previous line repeats 1 times.
07:12:20 T:3041587920 ERROR: DBus: Could not get system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
07:12:20 T:3041587920 ERROR: HAL: no Hal context
It turns out that the folder /var/run/dbus/ does not exist and that dbus is not running. Manually creating /var/run/dbus/ and starting the dbus service in xbian-config makes xbmc try to mount my SD card, but it says it is not root (although I ran xbian-config with sudo). This way xbmc.log ends with:
Quote:07:19:03 T:3038434352 NOTICE: Thread XBMC Peripherals start, auto delete: false
07:19:03 T:3040916176 NOTICE: Previous line repeats 1 times.
07:19:03 T:3040916176 ERROR: DBus: Error org.freedesktop.UDisks.Error.PermissionDenied - Not Authorized
07:19:04 T:3040916176 ERROR: DBus: Error org.freedesktop.UDisks.Error.Failed - Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/mmcblk0p1 on /boot
Can I do something to make these things work?
This is how I did
http://forum.xbian.org/showthread.php?tid=2113
I had no problems after migrating to NFS
I removed all old mount points from fstab and disabled any brtfs snapshotting option in xbmc

Copying using rsync copies everything needed to run xbian from NFS
(9th Mar, 2014 12:07 AM)Fabio72 Wrote: [ -> ]This is how I did
http://forum.xbian.org/showthread.php?tid=2113
Thank you

(9th Mar, 2014 12:07 AM)Fabio72 Wrote: [ -> ]I had no problems after migrating to NFS
I removed all old mount points from fstab and disabled any brtfs snapshotting option in xbmc
It seems that /etc/fstab is not used at all for some reason. Contents of my /etc/fstab:
Code:
/dev/mmcblk0p1        /boot                   xbian   rw,nobootwait                              0       1
/dev/root             /home                   xbian   subvol=home/@,noatime,nobootwait           0       0
/dev/root             /lib/modules            xbian   subvol=modules/@,noatime,nobootwait        0       0
/dev/root             /                       xbian   noatime,nobootwait                         0       0
none            /run/lock                       tmpfs                   noauto                  0       0
none            /run/shm                        tmpfs                   noauto                  0       0
none            /run/user                       tmpfs                   noauto                  0       0
But /boot is empty and tmpfs folders are not created. However I see no errors in dmesg. Any ideas?
I have problem with CPU/Memory usage of XBMC in screensaver, it's going down with priority after change to screensaver but still it takes a lot of resources (after few hours of screensaver I can see in task manager that it's about 40% of CPU and 10-20% Memory.
it's not the % of cpu you have too look but idle cpu time. (100% - idle cpu) = usage of cpu.
(9th Mar, 2014 12:42 AM)wind-rider Wrote: [ -> ]But /boot is empty and tmpfs folders are not created. However I see no errors in dmesg. Any ideas?

this is my fstab
Code:
/dev/mmcblk0p1        /boot                   xbian   ro,nobootwait                              0       1
none            /run/lock                       tmpfs                   noauto                  0       0
none            /run/shm                        tmpfs                   noauto                  0       0
none            /run/user                       tmpfs                   noauto                  0       0
boot is obviously not empty but I choose to mount it ro and remount rw only when I run updates

this is the output of mount
Code:
root@xbian:/etc# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
udev on /dev type devtmpfs (rw,relatime,size=256k,nr_inodes=47108,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,noatime,size=38304k,mode=755)
192.168.1.8:/srv/Xbian on / type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,nolock,proto=tcp,t​imeo=600,retrans=2,sec=sys,mountaddr=192.168.1.8,mountvers=3,mountproto=tcp,loca​l_lock=all,addr=192.168.1.8)
/etc/auto.net on /net type autofs (rw,relatime,fd=12,pgrp=295,timeout=300,minproto=5,maxproto=5,indirect)
none on /sys/kernel/debug type debugfs (rw,relatime)
192.168.1.8:/srv/Xbian on / type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,nolock,proto=tcp,t​imeo=600,retrans=2,sec=sys,mountaddr=192.168.1.8,mountvers=3,mountport=44903,mou​ntproto=tcp,local_lock=all,addr=192.168.1.8)
and
Code:
root@xbian:/etc# stat /run/lock/
  File: "/run/lock/"
  Dim.: 60              Blocchi: 0          Blocco di IO: 4096   directory
Device: eh/14d  Inode: 2455        Coll.: 2
Accesso: (1777/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
Accesso  : 2014-03-07 18:30:34.169000000 +0100
Modifica : 2014-03-08 17:55:01.331069020 +0100
Cambio   : 2014-03-08 17:55:01.331069020 +0100
Creazione: -
root@xbian:/etc# stat /run/shm/
  File: "/run/shm/"
  Dim.: 40              Blocchi: 0          Blocco di IO: 4096   directory
Device: eh/14d  Inode: 2461        Coll.: 2
Accesso: (1777/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
Accesso  : 2014-03-07 18:30:34.319000000 +0100
Modifica : 2014-03-07 18:30:34.319000000 +0100
Cambio   : 2014-03-07 18:30:34.467000000 +0100
Creazione: -
root@xbian:/etc#
maybe something was wrong with your copy process
(9th Mar, 2014 01:01 AM)belese Wrote: [ -> ]it's not the % of cpu you have too look but idle cpu time. (100% - idle cpu) = usage of cpu.
Maybe this screen will tell more:

Is it normal to xbmc to usage like this in screensaver?
you said you wait for a bit time after screensaver is on, so no it didn't look normal, i don't have theses values,
but during the, let say 5 first minutes max after screen saver is on, it's possible to have theses values as xbian can do some background task.

do you have scrolling text on screen when screensaver is activate?
"do you have scrolling text on screen when screensaver is activate? " ? What do you mean by that? On my TV or in top?
I have similar output's in top after few hours, but will make few screenshots.
And is there anyway to remove xbmc fully (not uinstalling any other application from my xbian and reinstalling it? I think I may corrupted it somehow in one upgrade.
(9th Mar, 2014 02:59 AM)Fabio72 Wrote: [ -> ]maybe something was wrong with your copy process

Maybe, but I found some other people who had the same problem as I:
http://www.ifc0nfig.com/running-xbian-from-a-usb-hard-drive/
http://forum.xbian.org/thread-1515-post-20038.html#pid20038
http://gathering.tweakers.net/forum/list_message/41367872#41367872

all after moving their system to USB or NFS. Is this a coincidence?

They wrote that the solution is to manually create /run/lock/, but everytime it is gone after a reboot for me..
@koper89 - What screensaver are you using? How did you get that screenshot? Did you put the screensaver on with preview? 80% is excessive if Xbian is not doing anything. Are you using visualization at all?

@wind-rider + @Fabio72 I'm not too sure the clone function is working correctly in RC1 - it works well in Beta 2 but since the tidy up of the display output there seems to be errors. One I have seen is that is just repeats - gets to 99% and then restarts. Maybe it's just me.

The rsync option should still work as detailed in the Boot from USB thread.
(9th Mar, 2014 05:13 AM)IriDium Wrote: [ -> ]@wind-rider + @Fabio72 I'm not too sure the clone function is working correctly in RC1 - it works well in Beta 2 but since the tidy up of the display output there seems to be errors. One I have seen is that is just repeats - gets to 99% and then restarts. Maybe it's just me.

The rsync option should still work as detailed in the Boot from USB thread.

Can it be that autofs is giving causing this? It gives trouble during the upgrade process to RC1... (I tried it restarting freshly from beta2)

Terminal

Setting up autofs (5.0.7-3) ...
[....] Starting automount...^[[?25l^[7^[[1G[^[[31mFAIL^[[39;49
invoke-rc.d: initscript autofs, action "start" failed.
dpkg: error processing autofs (--configure):
subprocess installed post-installation script returned error
Errors were encountered while processing:
autofs
after days I'm not yet able to launch xbian-config gui version
Code:
DEBUG: XBian-config : xbian-config updates progress : ['0']
21:23:46 T:2793256000   ERROR: Traceback (most recent call last):
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py", line 222, in <module>
21:23:46 T:2793256000   ERROR:     win.show()
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py", line 94, in show
21:23:46 T:2793256000   ERROR:     self.onShow()
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py", line 125, in onShow
21:23:46 T:2793256000   ERROR:     catmodule = __import__('%s.%s'%(CATEGORY_PATH,module), globals(), locals(), [module])
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 201, in <module>
21:23:46 T:2793256000   ERROR:     class packagesManager(Setting) :
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 202, in packagesManager
21:23:46 T:2793256000   ERROR:     CONTROL = PackagesControl()
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 165, in __init__
21:23:46 T:2793256000   ERROR:     xbmcxml.__init__(self,*args,**kwargs)
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 51, in __init__
21:23:46 T:2793256000   ERROR:     self.onInit()
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 178, in onInit
21:23:46 T:2793256000   ERROR:     self.packages.append(PackageCategory(package,self._onPackage,self._onGetMore))
21:23:46 T:2793256000   ERROR:   File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 37, in __init__
21:23:46 T:2793256000   ERROR:     self.available = int(tmp[1])
21:23:46 T:2793256000   ERROR: IndexError: list index out of range
21:23:46 T:2793256000   ERROR: Exception in xbianSettingWindow None
21:23:46 T:2793256000    INFO: Scriptresult: Success
21:23:46 T:3041473056   ERROR: ClearBlock: Trying to clear non existent block /usr/local/share/xbmc/addons/plugin.xbianconfig
21:23:46 T:2793256000 WARNING: The python script "/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py" has left several classes in memory that we couldn't clean up. The classes include: Addon
21:23:46 T:2793256000    INFO: Python script stopped
21:23:46 T:2793256000   DEBUG: Thread XBPyThread 2793256000 terminating
21:23:46 T:3041473056   DEBUG: waiting for python thread 6 (/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py) to stop
21:23:46 T:3041473056   DEBUG: python thread 6 (/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py) destructed
I tried xbian-config packages updatedb from shell (exit 1) but nothing changed
xbian-apt-show-versions give me all packages uptodate

xbian-package-config-shell 2.1.6-60c
(9th Mar, 2014 05:13 AM)IriDium Wrote: [ -> ]@koper89 - What screensaver are you using? How did you get that screenshot? Did you put the screensaver on with preview? 80% is excessive if Xbian is not doing anything. Are you using visualization at all?

@wind-rider + @Fabio72 I'm not too sure the clone function is working correctly in RC1 - it works well in Beta 2 but since the tidy up of the display output there seems to be errors. One I have seen is that is just repeats - gets to 99% and then restarts. Maybe it's just me.

The rsync option should still work as detailed in the Boot from USB thread.

Screensaver - it's darker xbmc, no visualization (How can I change that?).
Screenshot from ssh putty - root: top
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Reference URL's