LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2019, 08:35 AM   #1
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,218

Rep: Reputation: 51
Nvidia HDMI devices unplugged in pavucontrol


I've been searching all over here and Google for two days now and haven't found an answer that works for me. On a fresh install of Slackware64 14.2 on a new ssd. So far I have installed only slackpkg+, multilib and compat32 files, alienBob's libreoffice and chromium, and jre, and used slackpkg to fetch all updates to date. The first time I tried to do something with sound I discovered this problem. Slack is installed with XFCE, Fluxbox and using the default LILO. None of the KDE stuff is installed.

I have a SB0350 Audigy2 and a GTX750Ti reference card and the computer is a desktop connected to an HDTV via HDMI. In pavucontrol I can see both cards and all of their devices in the configuration tab; but for the HDMI all of the devices are marked unplugged. When a stream is playing I can see the activity on the output tab but there is no sound from the speaker.

Previously in 32-bit Slackware 14.2 it worked perfectly, and I can still swap the ssd with the old hdd to boot the old os and it still works there. I have connected the hdd in a usb enclosure to compare files, and I see that /etc/asound.conf and all files under /etc/pulse are the same, in fact they are not changed from stock. I have also compared rc.alsa and rc.pulseaudio. Alsamixer shows all of the devices on both cards and nothing is muted. I copied the asound.state from the old hdd to var/lib/alsa and alsactl restore says no state is present for card Nvidia, which is true as it state.Audigy but no state.Nvidia.

speaker-test on hw:0,3 shows the left and right channels being tested, and aplay -L shows all of the devices with the Audigy as sysdefault. I have copied my minimal but working ~/.asoundrc from the hdd and also deleting the ~/.config/pulse.
Code:
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}
I've also tried adding lines to /etc/asound.conf:
Code:
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 3
This makes pavucontrol show an option of Analog stereo for the HDMI but it still does not make sound.

The only change I have tried that I have not reverted is copying my /etc/modprobe.d/alsa-base.conf and blacklist.conf which did not yet exist. blacklist.conf is from 2011 and the only changes from stock were a couple lines I'd added to help with ndiswrapper and a usb video capture. This is the alsa-base.conf:
Code:
options snd_hda_intel enable=1 index=0
options snd_emu10k1 enable=1 index=1
options snd slots=snd_emu10k1,snd_hda_intel
If I set snd_emu10k1 to enable=0 it disappears from pavucontrol but the HDMI remains unplugged. I have tried removing my user from the audio group as I'd seen suggested somewhere. I briefly tried logging in as root but it is the same for root. After adding myself back to audio I also added myself and root to the pulse group but still no luck. The last thing I tried was adding append = "irqpoll" in the lilo.conf. I always used it in 32-bit before using GRUB.

For now I can plug separate speakers into the SB but I would really like to get the HDMI audio working. Thanks in advance for any ideas.
 
Old 07-31-2019, 11:56 AM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,218

Original Poster
Rep: Reputation: 51
Forgot to add that I am using the latest official kernel, 4.4.186. Also, when I first noticed this I was using an unmodified xorg.conf with the nouveau driver. When I installed the proprietary nvidia driver I allowed it to blacklist nouveau and change xorg.conf automatically, so I still had not made any manual changes. Finally I made a backup of it and copied the file from the old hdd. I didn't expect anything in xorg.conf to affect audio but it doesn't hurt to try.
 
Old 08-11-2019, 10:16 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,218

Original Poster
Rep: Reputation: 51
This still isn't solved. In the past week I've tried a few more things: I briefly removed the SB card long enough to find that it doesn't affect the HDMI audio; added nomodeset to append= in lilo.conf; added probe_mask=0xf to the options in alsa-base.conf; rolling back to nvidia driver 390.x; in ~/.asoundrc set pcm!.default hdmi:CARD=NVidia,DEV=3

While in an X session I have checked in /proc/asound. cards lists 0 as HDA-Intel - HDA NVidia, and devices lists 0-3, 0-7, and 0-8 as digital audio playback. Under card0 directory codec#0 has Nodes 0x08 - 0x0b listed as Audio Output. There are eld#0.0, eld#0.1 and eld#0.2. .0 and .2 contain
Code:
monitor_present		0
eld_valid		0
but .1 contains
Code:
monitor_present		1
eld_valid		1
monitor_name		NS-19D310NA19
connection_type		HDMI
eld_version		[0x2] CEA-861D or below
edid_version		[0x3] CEA-861-B, C or D
manufacture_id		0x5908
product_id		0x50
port_id			0x200
support_hdcp		0
support_ai		0
audio_sync_delay	0
speakers		[0xffff] FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH
sad_count		2
sad0_coding_type	[0x2] AC-3
sad0_channels		6
sad0_rates		[0xe0] 32000 44100 48000
sad0_max_bitrate	640000
sad1_coding_type	[0x1] LPCM
sad1_channels		2
sad1_rates		[0xe0] 32000 44100 48000
sad1_bits		[0x20000] 16
There is also pcm3p, pcm7p and pcm8p directories. Within each is a info file and all have the stream field as PLAYBACK. In 3p the id field is HDMI 0, in 7p the id is HDMI 1 and in 8p the id is HDMI 2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pavucontrol blinking output devices chiendarret Linux - Software 0 12-17-2016 03:44 AM
Sound from external DAC not detected; can't unmute devices in pavucontrol Mintonite Linux Mint 9 05-23-2015 07:55 AM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
Ubuntu 12.04 w/ Nvidia HDMI - no sound devices JohnLocke Linux - Newbie 4 07-16-2012 06:55 PM
HDMI cable to TV must be unplugged and re-plugged moorecf Linux - Hardware 1 02-13-2010 07:15 PM

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

All times are GMT -5. The time now is 01:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration