[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

how can i troubleshoot SPDIF sound output not working in Linux?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 25
Thread images: 3

File: alsamixer_no_spdif.png (29KB, 1014x763px) Image search: [Google]
alsamixer_no_spdif.png
29KB, 1014x763px
how can i troubleshoot SPDIF sound output not working in Linux? PC is hooked up to amp via an optical SPDIF cable, but nothing comes out. analog 3.5mm connection works fine.

pic related is my alsamixer screenshot
>>
>>57847249
When I run into that problem its usually the Desktop environment sound mixer not ticked on. Or some sort of ALSA/PulseAudio conflict.
>>
alsamixer and alsa in general is like too difficult to wrap your head around. i usually torubleshoot using pavucontrol. if you dont have pulse installed/enabled idk
>>
try running
alsactl init
and rebooting, fixed it for me a couple days ago when my sound was kill. if that fixes it, you might want to add it to the autorun for your DE
>>
Install an OS that doesn't use such a retarded sound system.
>>
>>57847273

the desktop's sound setting is set to SPDIF

>>57847326

didn't work :(
>>
Install Microsoft® Windows® 10
>>
File: a2.png (34KB, 1428x765px) Image search: [Google]
a2.png
34KB, 1428x765px
pressed F6 in alsamixer and selected a second sound card (Nvidia), then selected the original Intel one (the one with SPDIF connector) and two SPDIF items showed up, but both are set to "00" and i can't raise them
>>
>>57847498

burn in hell micro$oft fag, templeos 4eva!
>>
>>57847249
I don't have your card and alsa is a bitch so here is all i can offer

in alsamixer:
press F5 to view all settings.
"00" means they are on.
the arrows on the right border of alsamixer "->" of alsamixer means there is more stuff the the right. There might be some setting over there.

Another thing to look at is this:
$ amixer -c # scontents
$ amixer -c # scontrols
where # is the card number of your device
(first column of "cat /proc/asound/cards" shows the card number for a sound card)
There may be a setting for "IEC... Playback Switch" or some stuff about "digital output" to turn on.
See man amixer, man alsactl, and google (someone else with the same card may have had the same problem)

Here is the link to the arch wiki regarding alsa spdif
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Getting_S.2FPDIF_output
>>
>>57847285
Anon is right, you should use pavucontrol.
>>
>>57847249
You can see if the port is giving of signals by unplugging the cable and seeing if it strobes red light
>>
>>57847249
>how can i troubleshoot SPDIF sound output not working in Linux?
You don't. It takes less time to find a distro that works. Linux audio makes me want to kill myself.
>>
>>57847685

> "00" means they are on.

the two SPDIF outputs are on, but i don't understand why they don't show volume bars

> the arrows on the right border of alsamixer "->" of alsamixer means there is more stuff the the right

you're right, there are two more microphone items to the right of the screen
>>
>>57847249
Trial and error pretty much
>>
>>57847685

$ amixer -c 0 scontents

Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]


looks like both are on
>>
>>57847685

$ amixer -c 0 scontrols
Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'PCM',0
Simple mixer control 'Front',0
Simple mixer control 'Front Mic',0
Simple mixer control 'Front Mic Boost',0
Simple mixer control 'Surround',0
Simple mixer control 'Center',0
Simple mixer control 'LFE',0
Simple mixer control 'Side',0
Simple mixer control 'Line',0
Simple mixer control 'Line Boost',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Default PCM',0
Simple mixer control 'Beep',0
Simple mixer control 'Capture',0
Simple mixer control 'Capture',1
Simple mixer control 'Auto-Mute Mode',0
Simple mixer control 'Input Source',0
Simple mixer control 'Input Source',1
Simple mixer control 'Rear Mic',0
Simple mixer control 'Rear Mic Boost',0
>>
>>57847742

doesn't stobe, just a solid red light on the receiver's end
>>
>>57847792
Ok also look at
$ amixer -c 0 controls
$ amixer -c 0 contents
(the scontrols/scontents show simple settings)
>>
File: 1477630014510.jpg (447KB, 1277x1920px) Image search: [Google]
1477630014510.jpg
447KB, 1277x1920px
in Ubuntu the 'PulseAudio Volume Control' app shows IEC958 SPDIF device active, and volume/level bar moves when sound is playing, but the red light in SPDIF connector is not flickering, it stays steady red.

any way to troubleshoot SPDIF output hardware on the motherboard?
>>
>>57847763

>Linux audio makes me want to kill myself.

me2
op
>>
>>57847767
>i don't understand why they don't show volume bars
They don't have volume bars because they spdif is for digital audio. To adjust the "digital volume", adjust the PCM meter
>>
>>57847899
Before you go all "muh hardware" make sure alsa isn't borked.
Pulseaudio uses alsa as a backend so if alsa is fucked, so is pulse.


First make sure Pulseaudio is out of the way.
Alsa can only handle one program sending it audio at a time (one of the reasons for pulse) so make sure pulse is not running before you test any of this out for simplicity.

$ aplay -l
Find out the device number for the digital device of your card.

$ aplay -D plughw:0,1 /usr/share/sounds/alsa/Front_Center.wav
(or any nearby wav file)
where "0" is card number and "1" is device number obtained from "aplay -l"

If you hear sound, it works.

If you do not hear sound,
make sure everything is unmuted in alsamixer.

If you still do not hear sound,
$ amixer -c 0 contents
$ amixer -c 0 controls
view all settings for your card (scontents/scontrols is for simple settings)
Look for "IEC" and "Digital Output" settings and make sure they are good.
Use "amixer set ...." to fix settings
Example:
$ amixer set 'IEC958 Optical' 100 unmute
$ amixer set 'Audigy Analog/Digital Output Jack' on


If you still do not hear sound,
yea your fucked.


Also, you might want to check your BIOS if it is onboard sound.


Here is the link to ubuntu's sound troubleshooting page
https://help.ubuntu.com/community/SoundTroubleshootingProcedure
>>
>>57848425

thx, will give it a shot
>>
>>57847507
>"00"
That's "OO", it means it's not muted. You can't control the volume of these.
Thread posts: 25
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.