SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Linux (http://forums.sagetv.com/forums/forumdisplay.php?f=38)
-   -   Ubuntu Setup Questions (http://forums.sagetv.com/forums/showthread.php?t=65664)

tmiranda 09-07-2018 11:29 AM

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.

tmiranda 09-07-2018 12:56 PM

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.

stuckless 09-10-2018 03:13 PM

Quote:

Originally Posted by tmiranda (Post 616709)
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.

tmiranda 09-10-2018 04:30 PM

Quote:

Originally Posted by stuckless (Post 616741)
#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.

tmiranda 09-13-2018 02:07 PM

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.

seglertx 11-28-2018 06:28 PM

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.

wnjj 11-28-2018 06:31 PM

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.

tmiranda 11-28-2018 06:34 PM

Quote:

Originally Posted by wnjj (Post 618030)
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.

seglertx 11-29-2018 12:14 AM

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.

seglertx 11-29-2018 12:24 AM

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.


All times are GMT -6. The time now is 01:34 AM.

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