Galleon development restarting

Discussion in 'Developers Corner' started by jtkohl, Jun 3, 2007.

  1. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    try this makefile and see if it works for you. now, make install doesn't backup your configuration.xml. Instead I made a make upgrade target that does that.
     

    Attached Files:

  2. windracer

    windracer joined the 10k club

    12,267
    218
    Jan 3, 2003
    St. Pete, FL
    Well, my Mandrake 10 is kinda old ... based on the 2.6.3 kernel. Maybe that parameter was added more recently?

    No worries ... I was able to fix it. :) And yes, having a makefile is very nice!
     
  3. morac

    morac Cat God TCF Club

    12,791
    1,416
    Mar 14, 2003
    NJ
    There's something definitely wrong with 2.5. In 2.5 Galleon starts using 99% of the CPU whenever I attach to it on my TiVo or using the simulator. I reverted to 2.4.1 and didn't have any problems.

    This problem occurs even if there are no configured addons (meaning the menu is blank) so the problem has nothing to do with the new addons.

    There is also nothing in the log file to indicate why the cpu is being used that much, even when debugging is turned on.

    It's something in galleon.jar because when I took version 2.4.1 and overwrote galleon.jar with the one in 2.5, the java.exe started using 99% of the cpu when the Galleon menu loaded on the TiVo when previously it used 0-1%.

    Similarly if I take 2.5 and replace galleon.jar with the one from 2.4.1, the problem goes away (though none of the new functionality works obviously).
     
  4. windracer

    windracer joined the 10k club

    12,267
    218
    Jan 3, 2003
    St. Pete, FL
    An interesting thought.

    Over in this thread someone was trying to get the Videocasting app to do this, but I don't think that was its original intent (and the instructions are for using VLC). I wonder if this app could be broadened to work like those. Or maybe even a plug-in for them instead?
     
  5. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    Good find. I don't know how I missed this one. I found out what the problem is and it's a logic bug that causes an infinite loop with no wait in between like it should be.
     
  6. jtkohl

    jtkohl Member

    170
    0
    Feb 6, 2004
    Arlington,...
    New release coming soon to fix this.
     
  7. morac

    morac Cat God TCF Club

    12,791
    1,416
    Mar 14, 2003
    NJ
    Good work, 2.5.1 works better, but there are still problems.

    Comments on 2.5.1:

    1. 2.5.1 fixes the 99% CPU usage problem at connection, but it still occurs once the generic screen saver kicks in. I tested this by going into the Galleon menu and just sitting there for 2 minutes. The TV screen dimmed and the PC's cpu jumped to 99%. This only affects the generic screen saver, the music (bouncing image) one worked fine.

    2. When the screen saver kicks in, it re-enables the TiVo's built in timeout functionality so the TiVo will time out to live TV after the screen saver kicks in (on S3 that's about 2 minutes later). Once again this only affects the generic screen saver, the bouncing one didn't time out.

    3. The HD Photos app will never run or appear if Galleon is set to run in Menu mode (ie: shows the Galleon app in the MP&M menu instead of all the individual apps). Checking the code this appears to be because the HDPhotos app isn't coded to run in the Galleon Menu, but if the Galleon menu is configured to load, no other apps will load.

    4. The bouncing image screen saver doesn't start bouncing when it appears until the next song starts playing.

    5. The bouncing images screen saver doesn't move smoothly around the screen. It stutters. about (S2 and S3).

    6. I'm seeing overlay display issues on my S3. These problems don't appear on my S2. I've seen the following:
    • The bouncing screen saver doesn't look exactly right - Can see the box that the TiVo image is in.
    • In the Galleon Photo app slide show, when the photos transitions to a new once by moving diagonally or horizontally off the screen the moving image flashes as it moves and frequently leaves a trail of black borders on the new image. When the image moves vertically or fades in/out, there is no issue. Here's an example of this.
    I tried other TiVo apps that move images around such as SameGame and the games on playteevee.com's HME app and they don't have this problem.


    Feature Request:

    1. In the To Do application, could you add something to the GUI on the TiVo to say which TiVo a specific show is on? Right now it's impossible to tell which TiVo the program is on if there are multiple TiVos.
     
  8. windracer

    windracer joined the 10k club

    12,267
    218
    Jan 3, 2003
    St. Pete, FL
    Just wanted to say the 'make upgrade' target on Linux worked great for upgrading to 2.5.1. :up:
     
  9. cassiusdrow

    cassiusdrow Member

    130
    0
    May 21, 2003
    NJ
    I'm seeing the same behavior as outlined in point 1. I'd like to add to point 2 that Galleon no longer respects the Music Player Enable Screensaver setting. Instead of turning the screensaver off completely, the off setting enables the generic dimming screensaver and the on setting enables the new bouncing TiVo screensaver.
     
  10. seanatki

    seanatki New Member

    5
    0
    Sep 27, 2007
    I'm having an issues with the wrapper in Ubuntu.

    I see "Galleon 2.5.1 is starting," but after 2 minutes, it spits out alot of mess. The beginning of that mess is indicated in the log file as:

    "Startup failed: Timed out waiting for signal from JVM."

    The wrapper then tries again with a different JVM. This continues unless I stop it.

    Any ideas on what would cause this error?

    Edit: Hear is a txt file of the jvm dump after the hang
     

    Attached Files:

  11. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    morac,
    Nice bug list. I guess that make you our QA guy. ;) As for #3, HD photos won't be in the Galleon submenu because the HD photos app runs as a separate process. It should be a root item as if it were not in a menu. I might be able to add a transition link to the Galleon menu, but I don't think I can remove it from the main menu. A comment on the timeout for the dim screensaver, I guess it times out because there are no events being sent to the tivo. I suppose I can send an event to keep it alive. That would probably happen even if there wasn't a screensaver on the menu screen. I might just add the keep alive to the screensaver.

    As for #5, I'm not sure there is anything I can do about that. I'm just using the animation api to animate from one edge to the next so the actual animation is jumpy because there is music playing in the background. I might change it from a bouncing screen saver to just randomly moving the image without animation every few seconds.
     
  12. morac

    morac Cat God TCF Club

    12,791
    1,416
    Mar 14, 2003
    NJ
    I'm a programmer by trade so testing comes naturally. I used to know how Galleon worked back when Leon was still coding it, but haven't looked at the code in years. I could probably fix the bugs myself but I'm already spread too thin on a number of other personal projects as it is. You probably know the feeling. :)

    My actual point was not that I think the HD photos app to be in the Galleon submenu (though it might be nice), but that if the Galleon submenu is enabled, the HD Photo app doesn't appear any where at all (it's never instantiated). I did a quick once over of the code and the problem appears to be in AppManager.java since loadApps() doesn't appear to actually initiate any apps other than "org.lnicholls.galleon.apps.menu.Menu" is the menu option is chosen. The HD Photos app should probably be excluded from that check.
     
  13. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    I sure do.

    Yeah, that sounds like it's probably the problem. I had to hack it as it was just to get Galleon to have a plugin that didn't create an application. I guess I didn't test it in a menu.
     
  14. Oct 1, 2007 #134 of 137
    jtkohl

    jtkohl Member

    170
    0
    Feb 6, 2004
    Arlington,...
    Can you file these as trackers on sourceforge--just to be sure we get them all?
     
  15. Oct 1, 2007 #135 of 137
    Towerboss

    Towerboss New Member

    5
    0
    Jan 3, 2007
    Tx
    I'm trying to run the new version of Galleon but I can't get it to connect to the server. I use COMODO Firewall and can't get anything to work. I tried uninstalling an reinstalling my old version of Galleon now that one isn't working anyone know hwo to get it to work with this firewall?

    TB
     
  16. Oct 3, 2007 #136 of 137
    MPAC

    MPAC New Member

    12
    0
    Nov 14, 2006
    I had a similar problem when installing, however I determined it had nothing to do with the firewall (Zonealarm) . In order to get G to install I did the following.

    1. Uninstalled Galleon service at cmd line c:\program files\galleopn\bin.....uninstall
    2. Uninstalled Galleon via control panel
    3. Deleted the Galleon folder in program files
    4. Reboot and clean install.
     
  17. Oct 3, 2007 #137 of 137
    windracer

    windracer joined the 10k club

    12,267
    218
    Jan 3, 2003
    St. Pete, FL

Share This Page