| View previous topic :: View next topic |
| Author |
Message |
virduun n00b

Joined: 02 Jun 2011 Posts: 14
|
Posted: Mon Apr 23, 2012 6:27 pm Post subject: No audio most of the time, but system acts as if there is |
|
|
For about the last month or so (been running this system for almost a year now) I've run into an issue where there will be no audio on about 60-90% of boots, but there are no errors concerning audio, and trying to play back anything results in everything running as if there was audio. Alsamixer reports everything fine and seems to see and use the sound card, restarting alsasound does nothing, and the only apparent solution is to keep rebooting until it happens to actually have audio (and yes, the speakers are turned on--I use them to try gauging the probability of audio actually working by the number of pops they make during boot--3 seems to be the magic number, though there may have been times it worked with only 2 pops, but who knows if it's even related). After I updated my system today, including kernel 3.3.3, I must have gone through about 10 consecutive boots without audio working, so I decided to finally bite the bullet and ask on here. Anybody have an idea what's going on?
According to the manual for my motherboard, the sound card is a VIA VT1708S.
Edit:
Potentially unusual development. About 4 times now, I've rebooted and after verifying that there was no audio, I partially unplugged the speakers and plugged them back in, and every time, audio has worked afterwards. Is it just not automatically noticing that there are speakers plugged in or something? |
|
| Back to top |
|
 |
whig l33t

Joined: 27 Nov 2004 Posts: 970 Location: New Zealand
|
Posted: Tue Apr 24, 2012 2:44 am Post subject: |
|
|
Do you have more than one audio device? Which one gets to be device 0? Check:
|
|
| Back to top |
|
 |
virduun n00b

Joined: 02 Jun 2011 Posts: 14
|
Posted: Tue Apr 24, 2012 4:39 pm Post subject: |
|
|
Results of "aplay -l"
| Code: | **** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT1708S HP [VT1708S HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
|
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4810
|
Posted: Tue Apr 24, 2012 6:19 pm Post subject: |
|
|
Does a trivial test of:
| Code: | | aplay < /dev/urandom | produce noise ?
What's the output of 'amixer' ? |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7021
|
Posted: Tue Apr 24, 2012 6:22 pm Post subject: |
|
|
Check which previous kernel works.
Use the kernel bugzilla. |
|
| Back to top |
|
 |
virduun n00b

Joined: 02 Jun 2011 Posts: 14
|
Posted: Tue Apr 24, 2012 10:45 pm Post subject: |
|
|
| VoidMage wrote: | Does a trivial test of:
| Code: | | aplay < /dev/urandom | produce noise ?
What's the output of 'amixer' ? |
Feeding /dev/urandom to aplay does indeed produce noise, provided I have unplugged the speakers and plugged them back in on that particular boot. Once I have done that, audio seems to work fine. If I were to try that before un-/re-plugging on any given boot, I would get no noise.
amixer:
| Code: | Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 42
Mono: Playback 40 [95%] [-3.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch penum
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 41 [98%] [-1.50dB] [on]
Front Right: Playback 41 [98%] [-1.50dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 41 [98%] [-1.50dB] [on]
Front Right: Playback 41 [98%] [-1.50dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 42
Mono: Playback 41 [98%] [-1.50dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 42
Mono: Playback 41 [98%] [-1.50dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 41 [98%] [-1.50dB] [on]
Front Right: Playback 41 [98%] [-1.50dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [on]
Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [on]
Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [on]
Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Digital',0
Capabilities: cvolume penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Dynamic Power-Control',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Independent HP',0
Capabilities: enum
Items: 'OFF' 'ON'
Item0: 'OFF'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line' 'Stereo Mixer'
Item0: 'Stereo Mixer'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB] |
| PaulBredbury wrote: | | Check which previous kernel works. |
I don't remember when exactly it started doing this, and I generally don't keep old kernels around very long.  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|