'stuttering' on playback of Video or Audio clips

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
LeighSharpe
Level 1
Level 1
Posts: 3
Joined: Mon May 08, 2017 3:36 am

'stuttering' on playback of Video or Audio clips

Post by LeighSharpe » Mon May 08, 2017 3:47 am

Hi All,
I have a brand new Lenovo H30 which I've just installed Mint 18 on. When playing either a video or an audio clip, I get a random stuttering, where it will go back roughly 200ms or so. Sometimes it happens once, sometimes it happens several times.
The clips I'm playing play fine on another PC. The CPU is only sitting at about 50% usage, and there's nothing else happeining on the machine.
It happens on xplayer, VLC and even when playing youtube clips.
There's nothing out of the ordinary in the syslog, or in Xorg.log.
Opening vlc or xplayer from the terminal shows no errors printed to the terminal when it plays up.
Any suggestions what might be causing it?

Hoser Rob
Level 12
Level 12
Posts: 4333
Joined: Sat Dec 15, 2012 8:57 am

Re: 'stuttering' on playback of Video or Audio clips

Post by Hoser Rob » Tue May 09, 2017 8:49 am

Model names don't tell you much so you need to generate some useful info. Copy/paste this into the temrinal and copy/paste the text output back:

Code: Select all

inxi -Fxz

LeighSharpe
Level 1
Level 1
Posts: 3
Joined: Mon May 08, 2017 3:36 am

Re: 'stuttering' on playback of Video or Audio clips

Post by LeighSharpe » Wed May 10, 2017 5:32 am

Code: Select all

me@Lenovo ~ $ inxi -Fxz
System:    Host: Lenovo Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.1 Serena
Machine:   System: LENOVO product: 90BJ00AJAU v: Lenovo H30-05
           Mobo: LENOVO model: N/A v: SDK0J40700 WIN Bios: LENOVO v: O1WKT27AUS date: 04/20/2016
CPU:       Dual core AMD E1-7010 APU with AMD Radeon R2 Graphics (-MCP-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 5988
           clock speeds: max: 1500 MHz 1: 1500 MHz 2: 1500 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Mullins [Radeon R2 Graphics] bus-ID: 00:01.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1680x1050@59.88hz
           GLX Renderer: Gallium 0.4 on AMD MULLINS (DRM 2.43.0, LLVM 3.8.0)
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2
           Card-2 Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio driver: snd_hda_intel bus-ID: 00:01.1
           Card-3 Plantronics driver: USB Audio usb-ID: 002-004
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be port: e000 bus-ID: 01:00.0
           IF: wlp1s0 state: down mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (19.1% used) ID-1: /dev/sda model: ST1000DM003 size: 1000.2GB
Partition: ID-1: / size: 845G used: 172G (22%) fs: ext4 dev: /dev/sda7
           ID-2: swap-1 size: 7.97GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 48.9C mobo: 35.0C gpu: 49.0
           Fan Speeds (in rpm): cpu: 3054 fan-2: 0 fan-3: 0
Info:      Processes: 202 Uptime: 1:38 Memory: 1664.4/7399.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35 

LeighSharpe
Level 1
Level 1
Posts: 3
Joined: Mon May 08, 2017 3:36 am

Re: 'stuttering' on playback of Video or Audio clips

Post by LeighSharpe » Fri May 12, 2017 4:57 am

It seems I've hit this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1262957
Turning off WiFi has stopped the stuttering.
I can't say I'm completely happy with the fix, though. It feels more like a bandaid than a cure. My wireless card is different to what is in the bug referenced. I'd like to see this fixed properly. Where's the right place to file a bug report on this?

paulwlin
Level 1
Level 1
Posts: 5
Joined: Fri May 19, 2017 10:49 pm

Re: 'stuttering' on playback of Video or Audio clips

Post by paulwlin » Sat May 20, 2017 12:41 am

LeighSharpe wrote:It seems I've hit this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1262957
Turning off WiFi has stopped the stuttering.
I can't say I'm completely happy with the fix, though. It feels more like a bandaid than a cure. My wireless card is different to what is in the bug referenced. I'd like to see this fixed properly. Where's the right place to file a bug report on this?

I found that my scenario here viewtopic.php?f=48&t=245907 is relating to the bug you posted. Instead of DISABLING the Wireless Network, you can try to connect to Internet during playback of video and see if you still encounter stutter. Just to prove if we're facing the same problem caused by the bug.

Liltoot1
Level 1
Level 1
Posts: 1
Joined: Sun Jul 02, 2017 6:27 am

Re: 'stuttering' on playback of Video or Audio clips

Post by Liltoot1 » Sun Jul 02, 2017 6:36 am

I had this problem on a desktop computer running Linux Mint 18.2 xfce with kernel 4.10.0-26

Complete cure by updating Audacious to version 3.8.2 and VLC to version 2.2.7 Umbrella

Hope this helps

TimB
Level 1
Level 1
Posts: 4
Joined: Fri Jul 27, 2018 7:55 am

Re: 'stuttering' on playback of Video or Audio clips

Post by TimB » Tue Sep 11, 2018 8:07 pm

LeighSharpe wrote:
Fri May 12, 2017 4:57 am
It seems I've hit this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1262957
Turning off WiFi has stopped the stuttering.
I can't say I'm completely happy with the fix, though. It feels more like a bandaid than a cure. My wireless card is different to what is in the bug referenced. I'd like to see this fixed properly. Where's the right place to file a bug report on this?
I ran into a similar problem with stutter when playing audio and video.

I loaded Linux Mint 19 Tara 64 bit on two different machines and one has no stutter and the other does.

I first noticed periodic stuttering while using Clementine.
Then I noticed the same problem when streaming videos from Netflix and Amazon.
Then I also noticed the problem with YouTube videos.


So I did some searching and followed some of the suggestions I found, which are listed below the sys info for the 2 machines.
I just ran into your post above and checked to see if I turned off the Wireless function on the HP machine.
I currently don't use wireless, but I hadn't turned the wireless function off.
Once I turned it off, the stuttering stopped.
Is this supposed to be a required action when not using wireless? To turn it off?
It looks like a problem with the Realtek wireless adapter allowing it to continue to try and connect, which interrupts audio and video processing.
I would be interested to know the the developers are looking at this.

Cheers
Tim

The machine that had the stuttering issue is a HP Slimline- Desktop -260-p026:

inxi -Fxz:
stutter
System: Host: tim-260-p026 Kernel: 4.15.0-33-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: desktop System: HP product: 260-p026 serial: N/A
Mobo: HP model: 81B4 v: 00 serial: N/A
UEFI [Legacy]: AMI v: F.13 date: 08/02/2016
CPU: Dual core Intel Core i3-6100T (-MT-MCP-)
arch: Skylake-S rev.3 cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12768
clock speeds: max: 3200 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz
4: 800 MHz
Graphics: Card: Intel HD Graphics 530 bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio: Card-1 Intel Sunrise Point-H HD Audio
driver: snd_hda_intel bus-ID: 00:1f.3
Card-2 Logitech HD Webcam C525 driver: USB Audio usb-ID: 001-003
Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
driver: rtl8723be port: d000 bus-ID: 02:00.0
IF: wlp2s0 state: down mac: <filter>
Drives: HDD Total Size: 1031.6GB (6.1% used)
ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB
ID-2: USB /dev/sdb model: Cruzer_Glide size: 31.4GB
Partition: ID-1: / size: 916G used: 49G (6%) fs: ext4 dev: /dev/sda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 30.0C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 203 Uptime: 1:22 Memory: 2169.5/7839.0MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56

The other machine is a Dell 3847 Inspiron and does not stutter at all:

inxi -Fxz:

System: Host: tim-Inspiron-3847 Kernel: 4.15.0-33-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tarastutter
Machine: Device: desktop System: Dell product: Inspiron 3847 serial: N/A
Mobo: Dell model: 088DT1 v: A01 serial: N/A
UEFI: Dell v: A04 date: 04/03/2014
CPU: Dual core Intel Core i3-4150 (-MT-MCP-)
arch: Haswell rev.3 cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13968
clock speeds: max: 3500 MHz 1: 1336 MHz 2: 1459 MHz 3: 1281 MHz
4: 1308 MHz
Graphics: Card: Intel 4th Generation Core Integrated Graphics Controllerstutter
bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel Haswell
version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Def. Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
driver: ath9k bus-ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Card-3: Atheros usb-ID: 003-006
IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives: HDD Total Size: 1000.2GB (5.3% used)
ID-1: /dev/sda model: ST1000DM003 size: 1000.2GB
Partition: ID-1: / size: 916G used: 50G (6%) fs: ext4 dev: /dev/sda2stutter
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 197 Uptime: 6:02 Memory: 2681.6/7894.4MBstutter
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
p { margin-bottom: 0.1in; line-height: 115%; }

I didn't have this issue when the HP machine was running Windows 10.

I don't use wireless to view YouTube videos or for streaming Netflix or Amazon on line.

I suspected that the issue was related to the new install of Mint since the thing I noticed was a stuttering when using Clementine.
So I made config changes to Clementine, that were suggested on line, to decrease processor use and had same issue.
So I switched to Rhythymbox and had the same issue.
So I switched audio and video player preference to VLC and had same issue.
So I decreased 'swappiness' to 10 as suggested by Joe Collins and had same issue.
So I tried turning on 'Write Cache' and had same issue.

So I tried reloading Mint 19 Tara on the HP machine with no improvement.

I researched the issue on the Mint Forum and on line, and made changes to Firefox preferences just to stuttersee if this would improve stutter for YouTube videos or Netflix streaming including:
Turning off Hardware Acceleration
Increasing 'browser.sessionstore.interval' from 15000 to 60000 as suggested in the video 'Speed up Firefox: Remove YouTube stuttering!'
Changing other config settings as suggested in the video 'How To Speed Up Mozilla Firefox - 2018'

None of these changes helped.

So I tried using Chrome to play YouTube and Netflix videos with no improvement.

TimB
Level 1
Level 1
Posts: 4
Joined: Fri Jul 27, 2018 7:55 am

Re: 'stuttering' on playback of Video or Audio clips

Post by TimB » Wed Sep 19, 2018 7:55 pm

I took a look at the Ezee-Talk forum and one of the threads discussed the same problem.
One of the posters said that turning off wireless in System Settings stopped the stutter.
I had turned this off on the Dell machine but forgot on the HP machine.
Once I turned it off on the HP machine, the stuttering stopped.
This isn't currently a problem since all of my machines are hardwired.
Does anyone know if turning off wireless is necessary if the machine is hardwired?
If it's not required, then it might be that the wireless adapter is still trying to connect and causes audio and or video stutter.
Any ideas here?

Post Reply

Return to “Sound, Multimedia, & Codecs”