SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-07-2018, 11:29 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Ubuntu Setup Questions

I am in the process if setting up Sage on a new Ubuntu machine. (LTS 18.4) Some questions:
  1. So far I have not been able to get the client to come up. The splash screen shows up then it crashes. Are there any known issues getting the client to work? (I don't plan on using it to play video, only to setup and configure things.)
  2. Next, what's the best way to ensure opendct starts when the machine is rebooted? Adding it to init.d?
  3. How do I determine the "sweet spot" for the heap size? I've read that more heap is not necessarily better because garbage collection slows things down.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #2  
Old 09-07-2018, 12:56 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
This is the error from the miniclient log

Thu 9/6 16:15:16.281 reshape 0,0 714,455
Thu 9/6 16:15:16.441 initpbuffer
Thu 9/6 16:15:16.441 initpbuffer2
Thu 9/6 16:15:16.441 initpbuffer3
Thu 9/6 16:15:16.449 initpbuffer4: pbuffers is null? false
Thu 9/6 16:15:16.455 initpbuffer5
Thu 9/6 16:15:16.458 initpbuffer6
Thu 9/6 16:15:16.458 initpbuffer7
i965: Failed to submit batchbuffer: Invalid argument

Edit - Got the miniclient working by disabling 3D acceleration.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.

Last edited by tmiranda; 09-07-2018 at 06:57 PM.
Reply With Quote
  #3  
Old 09-10-2018, 03:13 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tmiranda View Post
I am in the process if setting up Sage on a new Ubuntu machine. (LTS 18.4) Some questions:
  1. So far I have not been able to get the client to come up. The splash screen shows up then it crashes. Are there any known issues getting the client to work? (I don't plan on using it to play video, only to setup and configure things.)
  2. Next, what's the best way to ensure opendct starts when the machine is rebooted? Adding it to init.d?
  3. How do I determine the "sweet spot" for the heap size? I've read that more heap is not necessarily better because garbage collection slows things down.
#2 - init.d should work, or look into upstart (https://help.ubuntu.com/community/UbuntuBootupHowto)

#3 - On linux the GC, especially on Java 8+ likely won't be noticed much. You can probably start with 2gig and see if you need more.

If you are familar with docker, you can try using the docker container (for unRAID) under ubuntu to quickly get a sagetv up and running.
Reply With Quote
  #4  
Old 09-10-2018, 04:30 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
#2 - init.d should work, or look into upstart (https://help.ubuntu.com/community/UbuntuBootupHowto)

#3 - On linux the GC, especially on Java 8+ likely won't be noticed much. You can probably start with 2gig and see if you need more.

If you are familar with docker, you can try using the docker container (for unRAID) under ubuntu to quickly get a sagetv up and running.
Thanks Sean. I could not get init.d to work but I got it working the first time using upstart. Basically needed a few lines in a conf file in the /etc/init directory. Way easier than update-rc.d

As for the heap, 2GB seems to work well.

Now i just need to see why opendct is stuttering very badly. Is ENE around? I posted in his thread a few days ago and haven't heard back.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #5  
Old 09-13-2018, 02:07 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Fixed my stuttering problems. It ends up that the ntfs-3g file system is extremely slow on Ubuntu. I switched my recording drives to ext4 and the stuttering has stopped.

I'm finally up and running.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #6  
Old 11-28-2018, 06:28 PM
seglertx seglertx is offline
Sage User
 
Join Date: Mar 2011
Location: Texas, USA
Posts: 21
Has anyone figured out the issue with the Linux Client just having a black screen in Ubuntu 18.04 or Mint 19 yet?

I just bought an NVIDIA shield to bypass the issue as I shift from Windows 10 to Linux on the SageTV server but it would be nice if we could still use a direct HDMI link from our servers to a TV to cut out having to buy an additional box. I have nice looking HTPC cases that I bought years ago and continue using. I don't like a lot of cable clutter.
__________________
Core-2-Quad Q9550, 8GB RAM, Win10 OS on 120GB SSD, 2x2 TB recording HDDs, 3 Hauppauge 2250s, 1xHDHR3, 1xHDHR4, nMedia 2000B Case, NVIDIA Shield extender, Win10 on 2xXeon E5-2670 server for archived videos, video compression, Emby Server, and PlayOn
Reply With Quote
  #7  
Old 11-28-2018, 06:31 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
I don't know if your moving to Ubuntu had anything to do with 64-bit, but in case you didn't see the Windows 64-bit version is on its way.

Sorry I can't help with your issue otherwise.
Reply With Quote
  #8  
Old 11-28-2018, 06:34 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by wnjj View Post
I don't know if your moving to Ubuntu had anything to do with 64-bit, but in case you didn't see the Windows 64-bit version is on its way.

Sorry I can't help with your issue otherwise.
That's precisely why I moved to Ubuntu, plus is seems many of the developers are using it. I really was hoping to get away from Windows but a Windows machine that makes watchable recordings is better than an Ubuntu machine that doesn't Very frustrating.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #9  
Old 11-29-2018, 12:14 AM
seglertx seglertx is offline
Sage User
 
Join Date: Mar 2011
Location: Texas, USA
Posts: 21
The 32-bit Java heap has been a major constraint on my systems for about eight years. I did see that there's work to compile SageTV to 64-bit in Windows. I have one system that has Avermedia Duet tuners that doesn't have Linux support so I will still run Windows 10 on it.

My other DVR has three Hauppauge 2250 tuners that are supported in Linux. I also have some HDHomeRun tuners that are shared between them.

I have already changed my Windows Home Servers systems to Linux because I need a stable OS that will still be supported and not abandoned.

I've been doing the same on my desktop and laptop systems. Windows 10 is OK for games but I'm shifting to Linux and running Window 7 as a VM.
__________________
Core-2-Quad Q9550, 8GB RAM, Win10 OS on 120GB SSD, 2x2 TB recording HDDs, 3 Hauppauge 2250s, 1xHDHR3, 1xHDHR4, nMedia 2000B Case, NVIDIA Shield extender, Win10 on 2xXeon E5-2670 server for archived videos, video compression, Emby Server, and PlayOn
Reply With Quote
  #10  
Old 11-29-2018, 12:24 AM
seglertx seglertx is offline
Sage User
 
Join Date: Mar 2011
Location: Texas, USA
Posts: 21
BTW, I use Mint with the Cinnamon desktop instead of Ubuntu. I switched when Ubuntu shifted to the Unity desktop.

I am running Mint 19 which is bases on Ubuntu 18.04 LTS and I'm familiar with both.
__________________
Core-2-Quad Q9550, 8GB RAM, Win10 OS on 120GB SSD, 2x2 TB recording HDDs, 3 Hauppauge 2250s, 1xHDHR3, 1xHDHR4, nMedia 2000B Case, NVIDIA Shield extender, Win10 on 2xXeon E5-2670 server for archived videos, video compression, Emby Server, and PlayOn
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
Setup questions wayner SageTV for unRAID/Docker 6 01-08-2017 01:21 PM
Some HD-PVR setup questions... nickster Hardware Support 9 04-19-2010 06:45 PM
A few sky setup questions John@TunerUK SageTV United Kingdom 4 03-31-2008 01:48 PM
Setup questions Willy Mammoth Hardware Support 5 01-19-2007 11:00 PM
Network Setup questions Crowdx42 SageTV Software 7 04-03-2004 04:50 PM


All times are GMT -6. The time now is 12:29 PM.


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