Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Audio only stutter
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Audio only stutter
6th Apr, 2018, 09:28 PM
Post: #39
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Audio only stutter
(6th Apr, 2018 08:47 PM)Roy Terhaar Wrote:  
(2nd Jul, 2015 06:28 AM)Nachteule Wrote:  
Quote:FINALLY, what was the problem?
The problem is that kodi requires all, and I mean really ALL CPU power if DPRIORITY is set to Yes.
This behavior came with introducing the new priority handling with schedtool. It's working pretty well if nothing runs in the background.
You can make a test: open a ssh session and then walk through kodi's menus, scroll up and down and parallel try to do anything in your ssh session. You will see, this session does not respond until you stop working with kodi.
The same thing happens with audio drivers, they simply get no cpu

I will change
Quote:2 1. is not enough to turn of DP completely. Unfortunately, kodi.bin will be launched with priority 49 and it will newer changed later. So, to turn it completely off you have to modify the file /etc/init/xbmc.conf. Please change the line exec schedtool -R -p 49 -e sudo -u $USER -g $GROUP -s $DAEMON $DAEMON_ARGS $DAEMON_LIRC $DEBUG 2>&1 | grep -v ES30 || : to sudo -u $USER -g $GROUP -s $DAEMON $DAEMON_ARGS $DAEMON_LIRC $DEBUG 2>&1 || :
in the next days, so kodi will only started by schedtool if DPRIORITY=yes

I am facing a similar stutter audio only issue.
Changing the setting in xbmc.conf helped a bit is my current feeling.
However I could not find the line exec schedtool; maybe it has been replaced or fixed already, I am not sure as this thread is rather old.

Indeed, it has been changed to this line

Quote:Right now I am running kernel 4.14.32+
Kodi 17.6 Git-2017-11-18 433b93a
So far:
- I have checked kodi.log to see if something gets logged when stutter occurs, but no success.
- I have checked with top to see if there is something eating resources or spiking if stutter occurs, but also no results. Everything seems to be normal
Is it possible that the audio driver still does not get enough CPU time to perform it's task?

Can't believe that

Quote:Any way to check this or other things to check/try?
Any suggestions welcome... thx

Unfortunately I do not have other ideas at the moment
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Audio only stutter - mrpi - 20th Mar, 2015, 06:48 AM
RE: Audio only stutter - Skywatch - 20th Mar, 2015, 08:26 PM
RE: Audio only stutter - f1vefour - 22nd Mar, 2015, 08:10 AM
RE: Audio only stutter - mrpi - 22nd Mar, 2015, 06:20 PM
RE: Audio only stutter - mrpi - 23rd Mar, 2015, 01:51 AM
RE: Audio only stutter - rikardo1979 - 23rd Mar, 2015, 03:45 AM
RE: Audio only stutter - mrpi - 23rd Mar, 2015, 06:01 AM
RE: Audio only stutter - Oebelchen - 9th Apr, 2015, 09:43 PM
RE: Audio only stutter - mrpi - 9th Apr, 2015, 09:56 PM
RE: Audio only stutter - Oebelchen - 10th Apr, 2015, 12:02 AM
RE: Audio only stutter - corax - 10th Apr, 2015, 02:16 AM
RE: Audio only stutter - mrpi - 10th Apr, 2015, 03:31 PM
RE: Audio only stutter - SVerstraten - 16th Apr, 2015, 06:18 PM
RE: Audio only stutter - corax - 20th Apr, 2015, 01:48 AM
RE: Audio only stutter - mrpi - 20th Apr, 2015, 01:57 AM
RE: Audio only stutter - Oebelchen - 27th Apr, 2015, 06:46 PM
RE: Audio only stutter - hotkebab99 - 4th May, 2015, 05:06 PM
RE: Audio only stutter - hotkebab99 - 4th May, 2015, 09:57 PM
RE: Audio only stutter - Oebelchen - 6th May, 2015, 09:27 PM
RE: Audio only stutter - slubitz - 8th Jun, 2015, 09:59 PM
RE: Audio only stutter - Skywatch - 9th Jun, 2015, 07:55 AM
RE: Audio only stutter - CurlyMo - 9th Jun, 2015, 05:32 PM
RE: Audio only stutter - Skywatch - 10th Jun, 2015, 06:31 PM
RE: Audio only stutter - CurlyMo - 10th Jun, 2015, 10:10 PM
RE: Audio only stutter - Skywatch - 11th Jun, 2015, 02:59 AM
RE: Audio only stutter - Skywatch - 15th Jun, 2015, 05:26 PM
RE: Audio only stutter - CurlyMo - 15th Jun, 2015, 07:02 PM
RE: Audio only stutter - Skywatch - 15th Jun, 2015, 07:20 PM
RE: Audio only stutter - Oebelchen - 15th Jun, 2015, 10:50 PM
RE: Audio only stutter - Skywatch - 20th Jun, 2015, 07:21 PM
RE: Audio only stutter - f1vefour - 21st Jun, 2015, 06:15 AM
RE: Audio only stutter - Oebelchen - 23rd Jun, 2015, 04:47 PM
RE: Audio only stutter - Skywatch - 24th Jun, 2015, 01:44 AM
Re: RE: Audio only stutter - f1vefour - 24th Jun, 2015, 08:27 AM
RE: Audio only stutter - Skywatch - 24th Jun, 2015, 06:21 PM
RE: Audio only stutter - Nachteule - 2nd Jul, 2015, 06:28 AM
RE: Audio only stutter - Roy Terhaar - 6th Apr, 2018, 08:47 PM
RE: Audio only stutter - Nachteule - 6th Apr, 2018 09:28 PM
RE: Audio only stutter - f1vefour - 3rd Jul, 2015, 10:14 AM
RE: Audio only stutter - Skywatch - 7th Apr, 2018, 03:26 AM
RE: Audio only stutter - Roy Terhaar - 7th Apr, 2018, 09:28 AM
RE: Audio only stutter - Nachteule - 7th Apr, 2018, 10:12 PM
RE: Audio only stutter - Roy Terhaar - 7th Apr, 2018, 10:47 PM
RE: Audio only stutter - Nachteule - 8th Apr, 2018, 04:42 AM
RE: Audio only stutter - Roy Terhaar - 8th Apr, 2018, 10:56 AM
RE: Audio only stutter - Nachteule - 8th Apr, 2018, 09:07 PM
RE: Audio only stutter - Roy Terhaar - 8th Apr, 2018, 11:17 PM
RE: Audio only stutter - Skywatch - 8th Apr, 2018, 10:20 PM
RE: Audio only stutter - Roy Terhaar - 12th Apr, 2018, 09:39 PM
RE: Audio only stutter - Nachteule - 12th Apr, 2018, 10:42 PM
RE: Audio only stutter - Roy Terhaar - 13th Apr, 2018, 08:03 AM
RE: Audio only stutter - Nachteule - 13th Apr, 2018, 10:46 PM
RE: Audio only stutter - Roy Terhaar - 21st Jul, 2018, 03:50 AM
RE: Audio only stutter - Nachteule - 21st Jul, 2018, 04:16 AM
RE: Audio only stutter - Roy Terhaar - 21st Jul, 2018, 04:43 AM
RE: Audio only stutter - Skywatch - 13th Apr, 2018, 04:51 PM
RE: Audio only stutter - Roy Terhaar - 10th Aug, 2018, 07:10 PM
RE: Audio only stutter - Nachteule - 14th Aug, 2018, 04:41 AM
RE: Audio only stutter - Roy Terhaar - 14th Aug, 2018, 04:53 AM
RE: Audio only stutter - Skywatch - 11th Aug, 2018, 12:41 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 09:45 PM Powered By MyBB, © 2002-2025 MyBB Group.