SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 02-09-2017, 10:45 AM
Evil_Attorney's Avatar
Evil_Attorney Evil_Attorney is offline
Sage Expert
 
Join Date: Sep 2004
Posts: 632
Quote:
Originally Posted by sacrament055 View Post
I was seeing a similar issue yesterday after having upgraded my client to the latest version and it turned out the Sage Client app didn't have proper permission to the REG keys so it was ignoring my change to max out the memory at 400h and my disabling of the sagetv demux.

I tried opening it as administrator and noticed it worked correctly then I changed reg permissions to give "everyone" full control and it works fine now without needing to open as administrator.
OK, I finally got mine working. Previously, I had set the "Frey Technologies" registry key to allow "everyone" full control. That didn't work, so today I tried setting the sub registry entry "SageTV" to allow "Users" full control. That seemed to do the trick, as JVM is at 1038. I think the installer needs to be tweaked to address this registry permission issue.
Reply With Quote
  #42  
Old 02-09-2017, 11:20 AM
thomaszoo thomaszoo is offline
Sage Aficionado
 
Join Date: Jun 2004
Location: Sacramento, CA
Posts: 487
I don't know if this helps, but I just looked at mine. My server is Win10 32 bit. Placeshifter (on a 64 bit PC) shows JVM at 1038. Running the client on the same 64 bit PC shows JVM at 779.
__________________
i5-6400, MSI B150M Micro ATX MB, 16GB DDR3 1600, 2 - WD Green 2TB SATA Drives, Lite-On SATA 4X Blu-ray Reader, Corsair 400W 80+ Power Supply, Silverstone Sugo SG02-BF MicroATX Case, Windows 10 (64), HDHR Dual X2, Quatro and Prime, 5 x HD300 + 2 x HD100
Reply With Quote
  #43  
Old 02-09-2017, 12:24 PM
SDeGonge's Avatar
SDeGonge SDeGonge is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: NY
Posts: 253
Quote:
Originally Posted by Evil_Attorney View Post
OK, I finally got mine working. Previously, I had set the "Frey Technologies" registry key to allow "everyone" full control. That didn't work, so today I tried setting the sub registry entry "SageTV" to allow "Users" full control. That seemed to do the trick, as JVM is at 1038. I think the installer needs to be tweaked to address this registry permission issue.
This worked for me also.

Great job figuring this out
__________________
SageTV User Since 2009
Server Hardware: AMD FX6100, 6 Cores, 3.3GHz, 8GB RAM, TA970XE MB, 3TB HD, HVR-2250, HD-PVR, nVidia 9600GT 512MB
Server Software: SageTV 9, Windows 10 64bit, EventGhost
Client Hardware: HD200 x2, INT-422-3 & WR7 Remote
Service Provider: Cablevision (QAM to 2250, SamsungBox to HDPVR)
Reply With Quote
  #44  
Old 02-09-2017, 01:22 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by thomaszoo View Post
I don't know if this helps, but I just looked at mine. My server is Win10 32 bit. Placeshifter (on a 64 bit PC) shows JVM at 1038. Running the client on the same 64 bit PC shows JVM at 779.
Placeshifter reports the heap of the server where a local client reports it's own heap.

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #45  
Old 02-09-2017, 01:34 PM
Evil_Attorney's Avatar
Evil_Attorney Evil_Attorney is offline
Sage Expert
 
Join Date: Sep 2004
Posts: 632
I should add that my Sage service is logged in as my Windows user name, not a local account. My user account is an admin, so I would think that the "user" setting in the registry wouldn't matter, but I guess it does.
Reply With Quote
  #46  
Old 02-09-2017, 01:39 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Quote:
Originally Posted by jusjoken View Post
What were you upgrading from/to?

k
I started on sage 7 with upgraded jar files and used the largest windows installer to upgrade.
Reply With Quote
  #47  
Old 02-09-2017, 01:42 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Quote:
Originally Posted by Evil_Attorney View Post
I should add that my Sage service is logged in as my Windows user name, not a local account. My user account is an admin, so I would think that the "user" setting in the registry wouldn't matter, but I guess it does.
I had that issue as well. When I upgraded my server the service reset to local system and I had to move it back to my user account to get things working again.
Reply With Quote
  #48  
Old 02-09-2017, 03:09 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by sacrament055 View Post
I had that issue as well. When I upgraded my server the service reset to local system and I had to move it back to my user account to get things working again.
That issue is corrected in 9.0.13...R1.010 so if you used that version let me know as it should no longer change the service settings on an upgrade.

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #49  
Old 02-09-2017, 07:15 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by Evil_Attorney View Post
OK, I finally got mine working. Previously, I had set the "Frey Technologies" registry key to allow "everyone" full control. That didn't work, so today I tried setting the sub registry entry "SageTV" to allow "Users" full control. That seemed to do the trick, as JVM is at 1038. I think the installer needs to be tweaked to address this registry permission issue.
This is now - hopefully - fixed in the latest installer that is uploading tonight. Same version of SageTV 9.0.13.536 but the installer is now at R1.011 which should fix this registry issue.

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #50  
Old 02-09-2017, 10:26 PM
jgsouthard jgsouthard is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 143
Talking

Quote:
Originally Posted by jusjoken View Post
This is now - hopefully - fixed in the latest installer that is uploading tonight. Same version of SageTV 9.0.13.536 but the installer is now at R1.011 which should fix this registry issue.

k
Thanks! It looks like I upgraded from v7 to v9 two days too early. The fix was easy for me - just a registry edit with no permission changes involved - but from the comments it looks like this will help significantly with the upgrade process.
__________________

Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's
SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121
Server operating headless with 3 HD300 extenders as clients
Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware
Comcast cable TV, two cablecards in HDHRP's
OpenDCT 0.5.28 network encoder
Reply With Quote
  #51  
Old 02-10-2017, 09:59 AM
Evil_Attorney's Avatar
Evil_Attorney Evil_Attorney is offline
Sage Expert
 
Join Date: Sep 2004
Posts: 632
Quote:
Originally Posted by jusjoken View Post
This is now - hopefully - fixed in the latest installer that is uploading tonight. Same version of SageTV 9.0.13.536 but the installer is now at R1.011 which should fix this registry issue.

k
Your work on this (along with everyone else's) is much appreciated!
Reply With Quote
  #52  
Old 02-13-2017, 06:34 AM
SDeGonge's Avatar
SDeGonge SDeGonge is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: NY
Posts: 253
FYI - Just ran into another issue with the heap. For days now I've been running with the heap set to 400h on Windows 10. Today when I attempted to start the SageTV client I got the following message...

"Java Missing. Could not create JVM. Please reinstall Java Runtime Environment 1.4"

Odd that it all of a sudden started failing.

I reduced the heap to 399h and was able to start up without any problems.
__________________
SageTV User Since 2009
Server Hardware: AMD FX6100, 6 Cores, 3.3GHz, 8GB RAM, TA970XE MB, 3TB HD, HVR-2250, HD-PVR, nVidia 9600GT 512MB
Server Software: SageTV 9, Windows 10 64bit, EventGhost
Client Hardware: HD200 x2, INT-422-3 & WR7 Remote
Service Provider: Cablevision (QAM to 2250, SamsungBox to HDPVR)
Reply With Quote
  #53  
Old 02-13-2017, 12:32 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
One issue is that the Java heap requires the specified size in contiguous memory. Depending on what else is running, you could have a large amount of available memory, but not have a block of 1024MB available.

John
Reply With Quote
  #54  
Old 02-18-2018, 09:41 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
Raising this thread from the dead to ask if any of you are using this info to run Gemstone and multiple Android clients from a windows server?
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
Reply With Quote
  #55  
Old 02-18-2018, 10:19 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
How many mini-clients are you trying to run simultaneously? You can and should set JVM heap size to 1GB or 400h. But unRAID is the way to go so that you can use way larger heap sizes. I have mine set to 3GB and just for fun I connected over a dozen mini-clients.

You appear to be running Sage in a Win VM on unRAID. Why not also install it in a docker? Even if you don’t install tuners I that version you could use it as a server for additional clients to play non-live TV content?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #56  
Old 02-18-2018, 10:34 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
Updated my sig. It's always outdated as I have been trying so many different configs just to get back to a stable combination on unraid. You've seen and tried to help with most of my issues. I've been on docker for a few months.

My most stable sage setup included my dish r5000 boxes, which never required any attention. Channel changes were perfect, always had 5.1 sound, no nightly reboots, etc. It just worked and I had any channel I wanted to pay for in Sage. Unfortunately there appears to be no way to get them to work in UNRAID using a windows VM as the ancient software can't translate a linux filepath. I want to use Gemstone, but that requires UNRAID for java heap purposes, so it would seem to be impossible to have both. I was hoping that this thread indicated the possibility of increasing the windows java heap to make gemstone work better.

I only own 2 mi boxes, but assumed I would need more as the sage boxes die over time.
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
Reply With Quote
  #57  
Old 02-19-2018, 01:02 PM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
I don't know if this is even advisable in a single-box configuration, but IIRC SageTV's server can be "slaved" as an external tuner to yet another SageTV server. Perhaps configure unraid as the primary(for extender/client java heap), and then configure a "bare-bones" slaved version of SageTV running on Windows to support the R5000's?

Sounds like a nightmare to configure, even on separate boxes where port/ip conflicts shouldn't be plentiful. But might be something for someone who wants to hit their head against a wall for a bit to investigate.

Particularly given I seem to recall that the SageTV functionality in question might not be working as advertised in 9.x
Reply With Quote
  #58  
Old 02-19-2018, 01:21 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
That's how my Colossus tuners are currently running (albeit not stable). They are installed on the windows VM along with a sage instance which is set up as a network encoder. It works, but for some reason sage won;t leave the usbuirt ir files as is. It switches back and forth between them meaning channel changes don't work and the dish boxes are usually asleep. I have it set up to emit "SELECT" before any channel changes, but it doesn't matter if it's using the wrong ir file.

This is why I miss r5000, which was vip211->usb cable->server. Colossus requires hdmi/component, splitter for hdcp, optical, usbuirt with the correct zones. So many moving parts need to function in unison, and THEN you have to worry about it all surviving nightly reboots.

The r5000 is already a network tuner. Even though it's physically installed on the winvm sagetv server, it still has to find the vm's sagetv instance with a loopback ip. I have tried giving it the docker IP. Docker is able to find it and tune it, but the r5000 software complains that it can't find docker's recordings directory because it's looking for UNC \\ paths not linux / paths.
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java HEAP Size NoodleNT Gemstone for v7 4 11-14-2012 12:20 PM
Java Heap Max Message Question kcjack SageTV Software 4 06-13-2011 08:03 AM
Debugging the Java Heap tmiranda SageTV Studio 4 10-19-2010 05:55 PM
HD-PVR and java heap dead_ferrets Hardware Support 11 12-10-2009 09:54 AM
Java Heap help gibsonpa SageTV Software 3 08-06-2008 03:11 PM


All times are GMT -6. The time now is 05:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.