Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jamo

Pages: 1 2 [3] 4 5 ... 31
More info:

The slow SSH connection, in case it's related- when I ssh from core to md, using -vvv option, the delays are as follows:

It immediately gets to this point (below debug info) and then waits
Code: [Select]
debug1: Next authentication method: publickey
debug1: Offering DSA public key: /usr/pluto/keys/id_dsa_pluto
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply

1.5 minutes

Then, after that elapsed time the following info comes quickly:
Code: [Select]
debug1: Server accepts key: pkalg ssh-dss blen 434
debug2: input_userauth_pk_ok: fp 5e:84:34:7b:5c:7f:cb:00:90:09:85:27:62:a7:7b:89
debug3: sign_and_send_pubkey: DSA 5e:84:34:7b:5c:7f:cb:00:90:09:85:27:62:a7:7b:89
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
Authenticated to moon31 ([]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: fd 3 setting TCP_NODELAY
debug2: channel 0: request pty-req confirm 1
debug2: channel 0: request shell confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic i686)

 * Documentation:

You have new mail.
Last login: Thu Feb 13 21:16:17 2014 from

And then it's another 1.5 minutes until you get the prompt.

Any ideas? Any reason the moon waits so long before accepting the public keys? And then the further delay before the login prompt? I expect to ssh into a local machine within 10seconds.

Is anyone else experiencing this behaviour?

I must say, there have been a few aspects of MD setup that have been really slow - part of the AVWizard as I mentioned in another thread, but this too-

I can ssh into the media director from the core but it takes a long time - say a minute - before the login completes.

But on the MD itself, I try to go to a terminal (ctrl-alt-f2) and login and it just hangs after I put in my username... don't even get to password. When I say it hangs, the thing is still running, but that terminal is unresponsive.

Weird.... when I ssh in to the same MD (eventually) I run "top" and the thing is just ticking over at idle... anyone else finding this?

Note- MD worked fine under 10.04.

Installation issues / Re: Videosettings initial setup screen
« on: February 13, 2014, 03:44:32 pm »
Pigdog... where did you find your xorg.conf file? I don't have one... that I can locate.

Installation issues / 12.04 - video config (AVWizard)
« on: February 13, 2014, 03:15:27 pm »
I'm setting up an MD I had basically working in 10.04.

It is an old HP6410b compaq laptop with an intel video card (GM965/GL960) that can do 1280x1024 UI2 without alpha blending (at least on 10.04).

When AvWizard came up in 12.04, I had a couple of issues-

  • Firstly, when selecting an option from the initial screen resolution, connector, frequency page and pressing next (or enter), it can take a really long time to show the screen where you have to confirm. Like 8 minutes! Any idea what's going on there? That's, of course, tricky, because you tend to be doing something else so catching the "yes it's ok" bit in 10 seconds is tricky.

  • Secondly - 1280x1024 doesn't seem to work any more. I select it because it's definitely what I had previously, but
    when it "tests" it, the screen is oversized - ie  lots of the buttons are offscreen. I went through with it anyway, because
    I figure maybe there's something quirky about avwiz and I could guess my way through blindly having done
    it so often ;-) But then when I finally get to a running system it's the same problem - the menu bar is offscreen.
    And when I check the monitor it says it's receiving 1024x768, not 1280x1024 which I chose.

    I can confirm that in webadmin the media director video settings are 1280 1024/60.

    I can't see any Xorg.conf file. Do we use one anymore? How to troubleshoot?

  • And then finally, just a question - Does the frequency still matter in the AVWiz screen setup? Especially for LCD screens? Is there a default? I'm assumig 50 or 60 Hz? Will it make much difference? Should one experiment with these?

Thanks in advance


Users / Re: Following upgrade, media on MD starts at maximum volume
« on: December 09, 2013, 07:47:58 am »
Awesome... thanks for this l3 and phenigma. Can't wait to try out 12.04 as well.

Users / Re: problems with medibuntu?
« on: November 12, 2013, 08:15:49 pm »
Did you guys come right with this?

I saw I had a few packages to update so I did an apt-get update and also got the medibuntu errors. Is it safe to carry on with the upgrade?
Code: [Select]
W: Failed to fetch  Something wicked happened resolving '' (-5 - No address associated with hostname)

W: Failed to fetch  Something wicked happened resolving '' (-5 - No address associated with hostname)

W: Failed to fetch  Something wicked happened resolving '' (-5 - No address associated with hostname)

W: Failed to fetch  Something wicked happened resolving '' (-5 - No address associated with hostname)

W: Failed to fetch  Something wicked happened resolving '' (-5 - No address associated with hostname)

E: Some index files failed to download, they have been ignored, or old ones used instead.

Users / Re: HDPVR 1212 Settop box capture and streaming
« on: October 30, 2013, 02:45:53 pm »

It's a USB connection.

Users / Re: video issues with mce
« on: October 17, 2013, 08:05:35 am »
unfortunately re-running the av-wizard has not allowed me to switch from vga to pick up my hdmi cable.  i know it works on my tv because i originally installed it using my tv but a friend advised me to re-install with a pc monitor because of resolution issues so i did and now i cant switch back to tv.  if i boot with tv hooked up i see the pc start and then a bunch of lines of txt then nothing even after trying the 12345 and qwert options.  i do not have any orbiters set up yet.  im in process of getting one going on my android but i am unsecessful as of yet.  my phone just keeps trying to connect to the default ip which is correct but wont connect.

Hi... just to get clarity - you say if you boot with tv hooked up... By that, you mean you power on your MD after plugging in your TV? The same MD that currently works with a pc monitor? Are you sure you are re-running Avwizard? It won't happen by default on boot... it only happens if you use one of the methods outlined by the others - "" or the "Video Wizard" from another orbiter or something like that. Can you confirm this *is* the method of reboot you're using?

What is the last of the "lines of text" you see. Also try pressing the "Esc" key when the text has stopped scrolling. That shows detail on what the system is trying to do on boot up which could help us figure out what's going wrong.

It's very surprising that AVWizard is not running fine if it's run before and you've seen it on the TV. Very odd!

If we've tried everything else, you can always rebuild the MD image from the web admin and start again.... but that should be last resort.

Users / Re: CEC - Anyone (for Denon AVR 1909)
« on: October 04, 2013, 09:52:09 am »
Awesome. "CEC-enabled GPU" how sweet those words are to my ears.

We used to use Pulse-8's but now we just use Rpi's as they have a CEC enabled GPU. So if we just need CEC control we use a Rpi to do power ON from stand-by on say a SmartTV or on older TV's with no UPnP we use a Rpi with to also provide UPnP capability as well. We have an in-house developed customised Raspbmc image that we use for both these situations.

All the best


Users / Re: CEC - Anyone (for Denon AVR 1909)
« on: October 03, 2013, 08:44:18 am »
Thanks Andrew, that's good news and interesting info. Are you using the pulse 8 CEC injector to CEC-enable your Rpi's and other devices?

Re CEC Control;

We use CEC in most installs now as pretty much all AV Amplifiers, Blu-Ray players & TV's are CEC enabled. Typically in a 'traditional' CEC installation you will have a chain of devices connected together via HDMI 1.3/1.4. The TV will be the master device at one end of the HDMI chain. All devices in the chain can be controlled from lib-CEC or from the master devices remote. So for example if you hook up a Rpi running Raspbmc to your TV and enable the CEC setting in your TV to 'On' then you can use the TV's remote control to control the XBMC UI running on the Rpi (it feels like magic the first time you see this working!).

All the best


Bushtech had a bit of a problem yesterday which we seem to have resolved with a bit of hacking. Thought I'd post the details here in case it helps anyone else or... if anyone can shed light on why it occurred.

Firstly, due to him running out of space on his root file system, his core froze and after a lot of messing about, he decided to re-install.

He did a clean install from iso image. First reboot brought black screen with cursor hanging (I think) at which point he dropped into command line and did an apt-get update; apt-get upgrade; reboot.
This time it came up with "Failed to start X". messages seemed to indicate that the correct nvidia drivers and alsa backports had been successfully installed.

We tried a lot of stuff- many deletes of xorg.conf and reboots with no luck. In the end, we tried a direct "startx" from the command line. This produced the following:
Code: [Select]
creating new authority file /root/.Xauthority
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-37-generic i686 Ubuntu
Current Operating System: Linux dcerouter 2.6.32-45-generic #104-Ubuntu SMP Tue Feb 19 21:21:41 UTC 2013 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-45-generic root=UUID=6f5b3d7b-8d58-421b-9580-c6fc8418acbf ro vmalloc=256m quiet uvesafb mode_option=1024x768-24 mtrr=3 scroll=ywrap
Build Date: 11 April 2013  01:18:49PM
xorg-server 2:1.7.6-2ubuntu7.12 (For technical support please see
Current version of pixman: 0.16.4
Markers: (--) probed, (**) from config file, (==) default setting,
(==) Using config file: "/etc/X11/xorg.conf" (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct  2 Using config directory: "/usr/lib/X11/xorg.conf.d" 14:58:18 2013
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
Fatal server error:
Failed to activate core devices.
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

We focussed on the critical error - couldn't open rules file /usr/share/X11/kxb/rules/evdev. Confirmed that the folder(s) file(s) didn't exist at all and managed to track down the package that provides them- xkb-data. Package was already installed but folders/files not there so we did a

Code: [Select]
apt-get install --reinstall xkb-data
After which the folders were created, startx worked and took him to kde... a reboot brought up avwiz with badly sized but usable screen.

Not sure what happened but hope this helps someone else who hits the same issue or is trying to figure out the problems.

bushtech - can you post your nvidia card details?


Developers / Re: Improving Performance of Play All
« on: October 02, 2013, 08:29:09 am »
So you're saying that we run a "big" query to get all the files from the datagrid and then we *requery* the database for each one to populate the members of the MediaFile object? Is that right? And you're suggesting that if we pick up the relevant data at the time of the "big" query and just push it straight into the members without having to requery each one....

I saw the constructor of MediaFile in MediaFile.h but where is the actual code for the constructor?

Developers / Re: Improving Performance of Play All
« on: October 01, 2013, 08:27:43 am »
Possibly. you would need to look at the media browser code in Media Plugin Grids, to see how the query is constructed. Take a look at the code and let me know your thoughts.

At least with my current approach, we can see an order of magnitude difference, and I already know how to implement it.


Hi Thom... if the query works, go for it!

Developers / Re: Improving Performance of Play All
« on: September 30, 2013, 11:47:08 am »
Thom...  just a thought, apologies if you've been down this route already...

Should we not go back a level above this? What I'm thinking is that we look at the process that populated the datagrid in the first place. Presumably there is a sql query that is used to return the list that is currently in the DG. If we can dive in there and record that sql query (possibly as a property of the DG object) then when the user hits "Play All" we pull the query and possibly combine it to form a query that returns distinct entries from the "File" table. Then we loop through those rows to populate the playlist queue.

Users / Re: Huge query in pluto_media : taking my disk down to crawling
« on: September 30, 2013, 08:19:59 am »

there should be no space betweekn "PK" and "_Attribute". I think copying and pasting has introduced an error. It should read "ON PK_Attribute=FK_Attribute" or something like that.


Ran jamo's query from your last post:

But I get this error:

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that       corresponds to your MySQL server version for the right syntax to use near 'ON PK      _Attribute=FK_Attribute WHERE FK_File=PK_File),
(select (IFNULL(MAX(LongAtt' at line 22

Pages: 1 2 [3] 4 5 ... 31