LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-18-2017, 05:31 PM   #1
rastech
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Rep: Reputation: Disabled
no sound from video and audio files on my recent mint installation


greetings all. i recently was helped on linuxquestions to get this computer up and running mint. but i have discovered that my sounds from audio and video files are not working. first i had stuttering sound which cleared, kind of, after a bit but was never perfect. i was fidgeting about to see what i had missed and seemed to have messed it up further cause now i have no sound from youtube and audio players. can anyone help to fix this please? thanks

SYSTEM INFO

System: Host: irock-System-Product-Name Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.2.6 (Gtk 3.18.9-1ubuntu3.1) dm: mdm Distro: Linux Mint 18.1 Serena
Machine: Mobo: ASUSTeK model: M2N4-SLI v: 1.XX Bios: Phoenix v: ASUS M2N4-SLI 0901 date: 03/02/2007
CPU: Dual core AMD Athlon 64 X2 4200+ (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 svm) bmips: 4020
clock speeds: min/max: 1000/2200 MHz 1: 1000 MHz 2: 1000 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] R423 [Radeon X800 XT]
bus-ID: 05:00.0 chip-ID: 1002:5d57
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: 1024x768@60.00hz
GLX Renderer: Gallium 0.4 on ATI R423 GLX Version: 2.1 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card-1 NVIDIA CK804 AC'97 Audio Controller
driver: snd_intel8x0 ports: f000 ec00 bus-ID: 00:04.0 chip-ID: 10de:0059
Card-2 Creative Labs SB Audigy
driver: snd_emu10k1 port: ac00 bus-ID: 01:06.0 chip-ID: 1102:0004
Card-3 Microdia Camera driver: USB Audio usb-ID: 001-003 chip-ID: 0c45:6340
Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network: Card: NVIDIA CK804 Ethernet Controller
driver: forcedeth port: bc00 bus-ID: 00:0a.0 chip-ID: 10de:0057
IF: enp0s10 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 500.1GB (4.0% used)
ID-1: /dev/sda model: WDC_WD5000AAKX size: 500.1GB serial: WD-WCC2E9C9JNEA
Partition: ID-1: / size: 200G used: 16G (9%) fs: ext4 dev: /dev/sda6
ID-2: swap-1 size: 3.18GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: System: supported: N/A
No RAID devices: /proc/mdstat, md_mod kernel module present
Unused Devices: none
Sensors: System Temperatures: cpu: 36.0C mobo: 35.0C
Fan Speeds (in rpm): cpu: 4041 psu: 1433 sys-1: 1388
Repos: Active apt sources in file: /etc/apt/sources.list
deb cdrom:[Linux Mint 18.1 _Serena_ - Release amd64 20161213]/ xenial contrib main non-free
Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/locale.list
deb http: //live.linuxmint.com serena main
deb-src http: //live.linuxmint.com serena main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http: //packages.linuxmint.com serena main upstream import backport #id:linuxmint_main
deb http: //archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http: //archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http: //archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http: //security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http: //archive.canonical.com/ubuntu/ xenial partner
Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
deb [arch=amd64] https: //repo.skype.com/deb stable main
Active apt sources in file: /etc/apt/sources.list.d/spotify.list
deb http: //repository.spotify.com stable non-free
Active apt sources in file: /etc/apt/sources.list.d/yannubuntu-boot-repair-xenial.list
deb http: //ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
deb-src http: //ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
Info: Processes: 179 Uptime: 4:56 Memory: 982.8/4959.1MB
Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
Client: Unknown python2.7 client inxi: 2.2.35
 
Old 07-19-2017, 09:29 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You have two sound cards. What do you see if you open up Pavucontrol, and look at the mixer? Where is the sound being routed?

Quote:
i was fidgeting about to see what i had missed and seemed to have messed it up
And what exactly were you fidgeting with? Remember, we can not see your system, or know what you have done so far. You need to help us, in order to help you.
 
Old 07-19-2017, 10:44 AM   #3
rastech
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
camorri thanks for your reply.
i am very new to linux and i am not sure what or where pavucontrol is. can you point me there so i can tell what i see. i thought after installation i should update stuff so i dug around installing and updating. i cant remember what exactly changed things but at some point i decided to try audio and got no sound from vlc then i went online to youtube and there was no sound also. this all started after successfully installing mint. i got garbled sounds from audio and video files. thats when i thought of updating and installing plugins etc. as i said i am not sure what and when as i did not check after every installation of update or plugin
 
Old 07-19-2017, 07:16 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I hope camorri does not mind me chipping in but I don't use mint

try this....open a terminal and type and enter command showing in code box

Code:
pavucontrol
if you get no GUI opening up, it may not be installed so in terminal try this
Code:
sudo apt install pavucontrol
if GUI opens then go to end tab for config and pull down the options and change them
assuming GUI opens (probably) from hdmi to some type of analog

there are a lot more settings to play with in pulseaudio volume control too

you might like to say how you want sound.....headphones, BT headphones, speakers (analog), speakers via hdmi cable etc
 
Old 07-19-2017, 09:30 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
pavucontrol is the Pulse Audio volume control/sort of mixer. Most distros do not include it out-of-box, but it gives you more information about what Pulse is doing than standard Desktop Environment volume controls.

Klaatu recently did a podcast about trouble-shooting Linux audio. I cannot link directly to the podcast, but if you go here and look for episode 11X5, you may find it helpful.

Much of what I know about Linux I have learned from Klaatu's podcasts over the years.
 
Old 07-20-2017, 07:02 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Aus9, I welcome thoughtful comments from anyone wanting to help, so Thank-you for your thoughts.

Rastech, Sound in linux is not a simple thing to sort out. When I first respond to a thread, ( first responder ) I tend to be careful, as I'm not at all sure the OP's ( you ) knowledge of linux, or of the problem reported. I have a better idea now.

The podcast suggested by Frankbell is very good, and will give you some idea how to adjust pulse audio.

The big picture. To get sound you need working hardware, speakers, cables, and a capable sound card. ( you have two ).

Quote:
Creative Labs SB Audigy
driver: snd_emu10k1 port
This one looks like the main card, note the driver. The hardware needs a driver for it to function. So, this card is at least part way there. Card 3, as listed by your first post also shows 'audio'. Since it is USB, you might consider unplugging it until you sort out the sound problems you have. This simplifies the trouble shooting. Once you get sound working you can plug it back in and understand if it is causing any of your problems.

From the sound card, and driver, there is more software involved. Alsa is the next layer. It is present in most moden systems. To see if it is loaded, open a terminal, and type at the command prompt, 'lsmod | grep snd' ( type just what is between the single quotes ). You should get something like this if alsa is loaded.

Quote:
$ lsmod | grep snd
snd_hda_codec_realtek 73238 1
snd_hda_codec_generic 61189 1 snd_hda_codec_realtek
snd_hda_intel 29531 6
snd_hda_codec 108205 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 52370 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 6656 1 snd_hda_codec
snd_pcm 92738 5 snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer 22109 1 snd_pcm
snd 69051 16 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore 6876 1 snd
You can post that output in this thread, be sure to use the QUOTE tags to keep the data easy to read.

Next is Pulse Audio. This is the next layer to deal with. Best bet here is to listen to the podcast and look at the various tabs in pavucontrol. Just a guess, I suspect you may have muted the sound in pavucontrol. Let us know if you can get pavucontrol ( sound mixer ) visible, and how you make out with it.

Hope this helps.
 
Old 07-20-2017, 12:03 PM   #7
rastech
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
ones and ones at lq thanks for your help.
aus9, thanks for your suggestion. i followed your advice and had pavucontrol installed. sound card checked out. settings you suggested were already enabled.
frankbell, thank you too for your explanation and suggestion. will be heading over to Klaatu's as soon as i have finished posting here.
camorri, thanks again for helping out followed ur instructions and i hope to use the quote feature correctly. here goes ---

Quote:
i-rock@irock-System-Product-Name ~ $ lsmod | grep snd
snd_emu10k1_synth 20480 0
snd_emux_synth 40960 1 snd_emu10k1_synth
snd_seq_midi_emul 16384 1 snd_emux_synth
snd_seq_virmidi 16384 1 snd_emux_synth
snd_emu10k1 159744 10 snd_emu10k1_synth
snd_usb_audio 176128 0
snd_util_mem 16384 2 snd_emux_synth,snd_emu10k1
snd_usbmidi_lib 36864 1 snd_usb_audio
snd_hwdep 16384 3 snd_usb_audio,snd_emux_synth,snd_emu10k1
snd_intel8x0 40960 5
snd_ac97_codec 131072 2 snd_intel8x0,snd_emu10k1
ac97_bus 16384 1 snd_ac97_codec
snd_pcm 106496 10 snd_usb_audio,snd_ac97_codec,snd_intel8x0,snd_emu10k1
snd_seq_midi 16384 0
snd_seq_midi_event 16384 2 snd_seq_virmidi,snd_seq_midi
snd_rawmidi 32768 4 snd_usbmidi_lib,snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_seq 69632 5 snd_seq_midi_event,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi
snd_seq_device 16384 5 snd_seq,snd_rawmidi,snd_emu10k1_synth,snd_emu10k1,snd_seq_midi
snd_timer 32768 3 snd_pcm,snd_seq,snd_emu10k1
snd 81920 35 snd_usb_audio,snd_ac97_codec,snd_intel8x0,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmid i_lib,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_seq_device
soundcore 16384 1 snd
i-rock@irock-System-Product-Name ~ $
 
Old 07-20-2017, 12:44 PM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Alsa is there and running. I see you still have the usb audio plugged in. I do suggest you unplug it while you are getting sound working, unless that is your main sound card.

Where are your speakers connected? Is this a laptop or a desktop?

It appears card 3 is a web cam. Could you confirm that?
 
Old 07-20-2017, 04:05 PM   #9
rastech
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
i dont have any usb sound devices plugged into the pc. the only usb sound related device is the usb mic built into the webcam. this is a desktop and my speakers are connected to the sb audigy sound card. give thanks again for your time and effort to sort i out. thanks
 
Old 07-20-2017, 04:23 PM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Thank-you for the clarification.

Quote:
Card-3 Microdia Camera driver: USB Audio usb-ID: 001-003 chip-ID: 0c45:6340
Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
It is an audio card if it has a mic, even if it doesn't have speakers.
 
Old 07-20-2017, 07:18 PM   #11
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I would suggest OP now eliminates the nvidia ac97 sound device from being able to get sound now that we know OP connects to the sound blaster Creative labs thingee.

you can see that snd has a dependency of ....snd_ac97_codec, snd_intel8x0, snd_emu10k....and related files

More importantly ac97 appears to be used for both cards!

evidence is here
http://alsa.opensrc.org/AudigyMixer

try this

Code:
sudo echo 'blacklist snd_intel8x0' > /etc/modprobe.d/nvidia-sound.conf
do a full reboot....keeps it simple

redo this command

Code:
lsmod | grep snd
list should now be shorter and snd-intel8x0 should disapper

2) now run one or more of these commands until you see the audigy sound device

Code:
alsamixer -c0
alsamixer -c1
note that if Pulseaudio is running and you try that command without a card number....alsamixer by itself you will just see pulseaudio which is not helpful.

now take a screenshot of that terminal output....I suggest you upload it to imgur.com and then link to it


3) your driver is not showing up in the current list of
http://www.alsa-project.org/main/ind...-Creative_Labs

ie if you do a search on that page in your web browser for Audigy....I get no hits for snd_emu10k1....but I do get hits ending in 2....weird

4) I found old page for emu10k1 but I don't want to link to it as it will scare OP

instead can he take a snippet for just his audigy from this command

Code:
lspci -vvv
we may have to give him a modprobe.conf config depending on the matrix and what controls he says in alsamixer
 
Old 07-20-2017, 07:24 PM   #12
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Ok that matrix page appears wrong....if I click into the details of emu10k2 audigy it takes me to emu10k1

weird
 
Old 07-20-2017, 08:49 PM   #13
rastech
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
aus9, check this

Quote:
i-rock@irock-System-Product-Name ~ $ sudo echo 'blacklist snd_intel8x0' > /etc/modprobe.d/nvidia-sound.conf
bash: /etc/modprobe.d/nvidia-sound.conf: Permission denied
i-rock@irock-System-Product-Name ~ $ \
 
Old 07-20-2017, 10:23 PM   #14
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
local user in terminal shows at $.....when you get root it should change to #

try one or more methods to get root as you may not have sudo on your system

1) what is your distro please?

your first post showed the possibility that you had an Ubuntu based distro

once root run the echo command without sudo

eg

Code:
su
#### or 
sudo su
2) if none of those commands give you root terminal then logout and try to login as root

Last edited by aus9; 07-20-2017 at 10:25 PM.
 
Old 07-21-2017, 10:08 PM   #15
rastech
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
greetings all. got strange things to report.first is that in trying to get to root as aus9 suggested my computer locked up and when i restarted i was taken to a black screen asking me to manually fsck the drive.worked out how to do this and got back running but with loads of glitches. but the big surprise was that when i booted i just loaded some mp3s into rhythmbox and tried to play something. when i pressed play there was a pop! and the whole playlist ran down in two seconds. i replayed and there was a garbled sound for about thirty seconds getting clearer and clearer. my songs were playing! my songs are playing. so the noticeable problems now are not no sound but garbled sound at the beginning of playing from launch of player. plays for a few seconds and starts clearing up. some apps wont launch and my color has gone funny. do i post these problems somewhere else? can any one advise me on this? where to post i mean. thanks for all the kind support, help and good advise from all. ah pure good vibes here. give thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HDMI from PC to TV has video but no audio - Mint 16 Cinnamon x64 TSKA Linux - Newbie 8 02-28-2014 01:21 PM
Any s/w to cut/add audio files, convert video to audio? ravisingh1 Linux - Software 17 08-28-2013 03:28 PM
[SOLVED] No sound for most things after recent update & Warp speed for video and audio. Morbid SUSE / openSUSE 1 09-07-2010 01:03 PM
smplayer: video+audio stutters with pulseaudio, audio files play fine GamerX Linux - Desktop 1 02-06-2009 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration