SageTV Community  

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

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-18-2015, 11:50 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Playback on Windows 8.1

After finally moving my development PC to Windows 8.1 Pro 64 bit, I finally need to ask about how to get smoother video playback in SageTV. The video card is an nVidia GTX 660 with the latest drivers.

I'm having an issue where the video will have a slight pause every 2-3 seconds whether in a window, full screen, or full screen exclusive, but the same video will play smoothly in Windows Media Player and Graph Studio Next.

In both SageTV and Graph Studio Next, I've tried the SageTV, Mirosoft DTV-DVD, and LAV video decoders using VMR9 and EVR. As far as I can tell, I have hardware acceleration enabled (in both SageTV and in the LAV Video Decoder settings) & the result is always the same: smooth in Graph Edit; regular periodic pauses in SageTV.

Any suggestions how to solve this would be appreciated. Thanks!

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #2  
Old 03-18-2015, 12:13 PM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
To get smooth play back on tablets we had to go into the lav filter and turn on dxva2 native under hardware acceleration in the lav settings, maybe try that.
Reply With Quote
  #3  
Old 03-18-2015, 12:29 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Yes -- I've tried that & the other hardware acceleration options in the LAV options. Nothing seems to make any difference. I don't know if it isn't actually getting turned on for some reason or if there is something else different between playback in SageTV & Graph Studio Next.

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #4  
Old 03-18-2015, 06:50 PM
Denali Denali is offline
Sage Advanced User
 
Join Date: Aug 2008
Location: South Florida
Posts: 169
Andy

I found the NVIDIA PureVideo Decoder v1.02.233 with VRM9 helped playback with my limited hardware.

John
__________________
HTPC: Gigabyte GA-Z170XP-SLI, I7-6700, 16GB, Windows 10 Pro x64, Hauppauge HVR-1600, WinTV-dualHD, Colossus 2, Samsung 850 EVO 120GB, Seagate 3TB, WD 3TB, 3TB, 5TB, Java v1.8.0_231, SageTVx64 v9.2.1.826, Samsung UN60EH6003F, Dish ViP222K, ViewHD 1x2 HDMI Splitter.
Reply With Quote
  #5  
Old 03-18-2015, 07:43 PM
amac's Avatar
amac amac is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 107
I've kept my Windows 8.1 pure having learned my lesson on XP with far too may codecs and having to set which one took priority. I never installed anything else and only use Microsoft DTV-DVD. No hiccups ever.

You've set enableDXVA=1 in the registry?
I have it set in the registry here:
HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\Common\DSFilters\MpegDec

and

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\Common\DSFilters\MpegDec

and
HKEY_USERS\S-1-5-21-3007603377-535305365-3997853871-1001\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\Common\DSFilters\MpegDec

and finally
HKEY_USERS\S-1-5-21-3007603377-535305365-3997853871-1001_Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\Common\DSFilters\MpegDec

Don't recall setting the value but probably did at least one of them
__________________
amac's config:
Sage 7.1.9, Java Java 1.7.0_75, Windows 8.1, Athlon X4 620, 4GB, Hauppauge 950Q, ATI 650HD video encoder with IR/Blaster, Radeon 5450, HDMI out, TV is primary monitor, Plex Plug-in serves up to mobile devices/PS3/WiiU just fine

Last edited by amac; 03-18-2015 at 08:05 PM.
Reply With Quote
  #6  
Old 03-18-2015, 09:49 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Thanks for the suggestions... I hadn't checked the registry setting before, but it was already set.

I believe I found the issue, though: garbage collection that coincided with the playback and other UI pauses. This was only noticeable when I had the debug console visible. After upping the java heap size, no more pauses. That is usually one of the first things I change, but apparently I didn't do it right on the 64 bit system.

If that was mentioned in any of the forum's video playback topics I read yesterday, I missed it.

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 03-19-2015, 08:43 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Java heap problems again - let's hope we can get rid of these once and for all with 64 bit, or some other change, and give the Java heap 4GB of memory to play with.
__________________
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
  #8  
Old 03-19-2015, 08:59 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
While having more memory available would be nice in the long run, I think in this case it might be my fault for setting it too low by accident. (either that or I didn't manage to set it at all and it was too low by default)

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #9  
Old 03-19-2015, 07:08 PM
Beaker's Avatar
Beaker Beaker is offline
Sage User
 
Join Date: Oct 2005
Location: Central Iowa
Posts: 70
Quote:
Originally Posted by Opus4 View Post
After upping the java heap size, no more pauses.
Andy
How is that done? I've been having long pauses that coincide with sudden heavy hdd usage. I've tried everything I can think of and this never occurred to me.
__________________
"Worry does not empty tomorrow of its sorrow; it empties today of its strength." Corrie Ten Boom

Core-i5 6600k
16GB RAM
Hauppauge WinTV-QuadHD
Win10
Reply With Quote
  #10  
Old 03-19-2015, 08:13 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by Beaker View Post
How is that done? I've been having long pauses that coincide with sudden heavy hdd usage. I've tried everything I can think of and this never occurred to me.
Have you run any diagnostics on the hard drives and/or checked Windows events for any error messages about the drives? (assuming you are running Windows) What I described wasn't using the hard drive.

Anyway, there is a registry value for SageTV named JVMMaxHeapSizeMB that you can change; the max would be 1024 decimal (400 hex). If that causes problems, set it a little lower. The easiest way to find that in the registry is to run regedit & search for JVMMaxHeapSizeMB. You'll need to restart SageTV for it to take effect.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #11  
Old 03-20-2015, 09:32 AM
valnar valnar is offline
Sage Icon
 
Join Date: Oct 2003
Posts: 1,252
Send a message via ICQ to valnar
Seeing how most people have gigs of memory these days, it might be safe to set that registry entry in the next iteration of SageTV. That wasn't the case 10 years ago.
Reply With Quote
  #12  
Old 03-20-2015, 09:52 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by valnar View Post
Seeing how most people have gigs of memory these days, it might be safe to set that registry entry in the next iteration of SageTV. That wasn't the case 10 years ago.
But the max is 1GB which I believe is a limitation of 32 bit Java. And that is way too little if you run more than three clients with a graphics intensive UI.

So let's get rid of that limitation and allow using several GB.
__________________
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
  #13  
Old 03-20-2015, 10:59 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by wayner View Post
But the max is 1GB which I believe is a limitation of 32 bit Java. And that is way too little if you run more than three clients with a graphics intensive UI.

So let's get rid of that limitation and allow using several GB.
I've had some ideas on the best way to do that, and it actually seems like Jeff already implemented it to some extent with Google Fiber. Each 'extender' is managed by it's own process on the server that acts like SageTVClient. That way each extender can utilize it's entirely available 1GB of 32bit JVM Heap. Hopefully, that part of the code makes its way into the open source release.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #14  
Old 03-20-2015, 12:56 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by wayner View Post
But the max is 1GB which I believe is a limitation of 32 bit Java. And that is way too little if you run more than three clients with a graphics intensive UI.
The max isn't really 1GB, it's just that it can create other issues going above 1GB.

I run at 1.280 GB (0x500) which prevents me maxing out the heap, but it means I can't use the client on my server to play anything.

John
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
Windows 7 HD Codec Playback frizat Hardware Support 40 03-23-2011 07:57 AM
Sage 7.0.22 completely broke Windows 7 x64 Playback sacrament055 SageTV Beta Test Software 1 10-31-2010 08:16 AM
My Setup for Perfect Playback in Windows 7 x64 superdodge SageTV Software 21 04-12-2010 10:01 AM
Linux Server Windows Client DVD Playback harrijay SageTV Linux 2 05-11-2007 08:49 AM
How to playback in Windows Media Player kdlutes General Discussion 3 05-19-2004 10:04 AM


All times are GMT -6. The time now is 04:40 AM.


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