Audio/Video Stuttering issues in LM15 Mate x64

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read this

Audio/Video Stuttering issues in LM15 Mate x64

Postby salanw on Wed Sep 18, 2013 2:12 pm

My disclaimer; I am a very green newbie who apparently is a glutton for punishment, lol.
I have set up LM15 Mate on a second system which is running better than the little HP/Compaq DC7700s which was my first attempt. The only issue I am having with this one is the stuttering of the audio/video when streaming movies or listening to music. This is a 'built from used parts' computer I got from a friend so I don't have all the specs and have not learned how to really use terminal yet. It seems I have become brain dead and none of my old DOS stuff comes to remembrance to help me there.(basically I have a lot of reading to do on it and haven't had the time yet, sorry) If you give me the command line to throw in there I can run it for the exact specs, but for now here is what I have.
MSI motherboard(IIRC it is an MS-7058) with integrated audio(I think it is Realtek based) w/ Intel chipset running a Pentium 4 3.0 GHz at 400MHz and 2Gb DDR RAM also at 400MHz. 2 PATA drives(80Gb and 40Gb) with a DVD/RW burner(IDE), multi card reader, PCI video card with SVGA/S-video/DVI ports. Don't know the maker.

Anyway, not sure most of that matters as I did do my searches and it sounds, from all the threads I read, like I need to remove Pulseaudio and install Alsamixer. Problem is not knowing how to do it through either terminal or, preferably, Package Manager. If someone could walk me through it I'd be very grateful.
On the Package manager I am not sure if I need to highlight to remove everything 'Pulseaudio-xxx' or just the main folder which will then automatically remove everything else? I am also thinking I should be removing Pulseaudio first then install alsamixer???

Thanks in advance
salanw
Level 1
Level 1
 
Posts: 11
Joined: Tue Sep 03, 2013 3:34 pm

Linux Mint is funded by ads and donations.
 

Re: Audio/Video Stuttering issues in LM15 Mate x64

Postby salanw on Sat Sep 21, 2013 1:33 am

Okay, no replies, but I did mess around some on it. Don't know if I did it correctly, but I got pulseaudio deleted and installed alsamixer. My issue has improved in that the stuttering now only occurs when I have a given video in full screen mode.

Any thoughts anybody???
salanw
Level 1
Level 1
 
Posts: 11
Joined: Tue Sep 03, 2013 3:34 pm

Re: Audio/Video Stuttering issues in LM15 Mate x64

Postby AvanOsch on Fri Nov 01, 2013 4:51 pm

I was having some problems with stuttering sound too.
In my case, the stutter only happened the first few seconds when playing any sound.
After about 5 seconds, playback would be normal.

I also almost got to the point of uninstalling PulseAudio.
However, after reading some more about it online, it seemed like PA was not the problem.

Turns out, my Speaker settings were wrong!
Using "PulseAudio Volume Control", Configuration tab, I had set my speakers to "Surround 4.1 Output"
Switching to "Surround 4.0 Output" totally solved my problems!

I haven't seen this posted anywhere, so I hope it helps someone...

P.S.
"PulseAudio Volume Control" is a must-have when using PulseAudio.
Excellent piece of software!
AvanOsch
Level 1
Level 1
 
Posts: 7
Joined: Fri Sep 21, 2012 3:47 pm

Re: Audio/Video Stuttering issues in LM15 Mate x64

Postby jmalon on Tue Nov 05, 2013 6:43 pm

Edit: Number 5 resolved the issue for me in Firefox, Chrome, Banshee, and VLC!!!!! See below.

I had the same issue with LM15 Mate x64 and stepped down to LM13 Mate x64 and I'm having trouble with any flash video in the browser (Firefox 25.0 or Chrome 30.0.1599.114), especially YouTube videos. Playing audio CDs in Banshee has the same issue. Playing CDs seems to do much better without the browser being loaded. After the browser is loaded, playing CDs is much, much worse. I've also tried using VLC (2.0.8) to play CDs. It skips/stutters as well.

I think the issue is with the sound card driver. Also, this PC is practically new and was just sitting around and has just had LM 15 and then LM 13 installed to it.

One thing that I've found that "fixes" the issue ALL of the time is to MOVE THE PS/2 MOUSE while the video is playing!!!! I don't know why, but it seems to work. Maybe the mouse and sound card are using the same interrupt and having issues???? Sounds crazy, but it really works for me!!!!

My O/S: Linux Mint 13 Mate x64, kernel 3.2.0-55-generic with all updates installed.
My hardware: HP/Compaq 6005 Pro Small Form Factor (LA051UT#ABA) w/ AMD Phenom II X3 B75 processor, and 4 GB of RAM, BIOS v01.17. HD Audio Device = IRQ11. - http://h18000.www1.hp.com/products/quic ... 412_na.PDF I believe the audio controller is a Realtek ALC261. Processor utilization is typically less than 13% on each of the cores. I tried installing 8 more GB of memory (up to 12 GB). That did not help the issue.

Configuration:

lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32
Capabilities: <access denied>

00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00001000-00001fff
Memory behind bridge: f0000000-f01fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
Capabilities: <access denied>
Kernel modules: shpchp

00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=3f, subordinate=3f, sec-latency=0
Memory behind bridge: f0200000-f02fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 22
I/O ports at 2110 [size=8]
I/O ports at 2120 [size=4]
I/O ports at 2118 [size=8]
I/O ports at 2124 [size=4]
I/O ports at 2100 [size=16]
Memory at f0309000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
Memory at f0304000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
Memory at f0305000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
Memory at f0309400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at f0306000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at f0307000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19
Memory at f0309500 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
Subsystem: Hewlett-Packard Company Device 3047
Flags: 66MHz, medium devsel
Capabilities: <access denied>
Kernel driver in use: piix4_smbus
Kernel modules: sp5100_tco, i2c-piix4

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at f0300000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=0f, subordinate=0f, sec-latency=64

00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at f0308000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
Flags: fast devsel
Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
Flags: fast devsel
Kernel modules: amd64_edac_mod

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
Flags: fast devsel
Capabilities: <access denied>
Kernel driver in use: k10temp
Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
Flags: fast devsel

01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at e0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 1100 [size=256]
Memory at f0100000 (32-bit, non-prefetchable) [size=64K]
Memory at f0000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon

3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10)
Subsystem: Hewlett-Packard Company Device 3047
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at f0200000 (64-bit, non-prefetchable) [size=64K]
Memory at f0210000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: tg3
Kernel modules: tg3

pulseaudio --version
pulseaudio 1.1

Things I've tried:
1. Make the change below from this post, viewtopic.php?f=48&t=104870&p=607540#p607540 but it didn't help.

Added this line to the bottom of /etc/modprobe.d/alsa-base.conf
Code: Select all
options snd-hda-intel model=generic


Result: It did not fix the issue. I lost output to my internal speaker after this step??? I undid it and my external speaker is working again.

2. Uninstalling mint-flashplugin and installing adobe-flashplugin.

Result: It did not fix the issue.

3. Setting the flash control panel Global Storage Setting to Unlimited to allow more room for the video to buffer.

http://www.macromedia.com/support/docum ... ger03.html

Result: It did not fix the issue.

4. Add echo N> /sys/module/drm_kms_helper/parameters/poll to /etc/rc.local from this post:

http://souriguha.wordpress.com/2011/03/ ... 2-35-2-36/

Result: It did not fix the issue.

5. Added tsched=0 in the /etc/pulse/default.pa file - https://wiki.archlinux.org/index.php/Pu ... _crackling -- in the Glitches, skips or crackling section.

The line load-module module-udev-detect becomes load-module module-udev-detect tsched=0. Save the file.

Then:
pulseaudio -k (to kill pulseaudio)
pulseaudio --start (to start pulseaudio)

Result: Number 5 resolved the issue for me in Firefox, Chrome, Banshee, and VLC!!!!! Slacker.com works great too!
jmalon
Level 1
Level 1
 
Posts: 1
Joined: Tue Nov 05, 2013 6:14 pm

Re: Audio/Video Stuttering issues in LM15 Mate x64

Postby yoss on Sun Feb 02, 2014 4:53 am

Thanks, jmalon!
Number 5 did it for me too.
My netbook Aspire One had the same problem, stuttering audio with streaming video like Youtube.
Adding tsched=0 and restarting pulse got rid of that.
Yoss
yoss
Level 1
Level 1
 
Posts: 1
Joined: Sun Feb 02, 2014 4:38 am

Re: Audio/Video Stuttering issues in LM15 Mate x64

Postby ben2talk on Sun Feb 16, 2014 10:44 pm

I'm in LM16 Mate x64

This didn't work for me - sound is still pumping with switching noises, exaggerated if I go to the 5.1 section and select the balance and slide it to the side...
ben2talk
Level 1
Level 1
 
Posts: 37
Joined: Tue Jun 28, 2011 12:46 am

Re: Audio/Video Stuttering issues in LM15 Mate x64

Postby jeg1972 on Sun Apr 06, 2014 12:11 pm

This also works on a Dell Inspiron Netbook running Mint 16, 32 bit (XFCE).

Thanks very much. A top little tip.

John
jeg1972
Level 1
Level 1
 
Posts: 1
Joined: Sun Apr 06, 2014 12:08 pm

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: WesternSlope and 3 guests