No Audio After New Monitor & GFX Card

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
luxorium

No Audio After New Monitor & GFX Card

Post by luxorium »

Hi there! I recently bought a new monitor that uses HDMI and a new graphics card. Prior to this new monitor, I was using an old monitor that uses VGA with no graphics card. My audio worked fine while I had no new monitor and no graphics card. I don't know what's wrong with my computer. I've tried to do things with pulseaudio and it doesn't seem to work. I'm using Apple earbuds. They're the same earbuds I used with my old monitor. If you need any logs or other information, please feel free to ask.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Hi luxorium, and welcome to the forum.

You're probably just playing sound to the wrong place. One way to check that is to start something with sound, then run pacmd list-sinks in the terminal. At the end of the output, it will tell you the active port it is (attempting) playing to.

To configure things properly, I suggest installing and running PulseAudio Volume Control (pavucontrol.)

If you need help with this, just paste the terminal output you got in your next reply.

When pasting large blocks of text, please enclose the results in-between [ⅽode] and [/ⅽode] code markers by selecting </> from the mini toolbar above the textbox where you type your reply.

Good luck.
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

This is the output. I hope this provides some useful information. Also, I have my earbuds plugged in right now and as I ran the command.

Code: Select all

1 sink(s) available.
  * index: 6
	name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9030
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 6
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
	card: 0 <alsa_card.pci-0000_01_00.1>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xf3000000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fb8"
		device.product.name = "GP108 High Definition Audio Controller"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "GP108 High Definition Audio Controller Digital Stereo (HDMI)"
		alsa.mixer_name = "Nvidia GPU 81 HDMI/DP"
		alsa.components = "HDA:10de0081,1458375d,00100100"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
	active port: <hdmi-output-0>
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Okay. I think we need pavucontrol here. Install and run it, then go to the Configuration tab. The Profile that has HDMI settings will probably have multiple options. Hopefully, only one will NOT say (unplugged) that should get you going.

If that doesn't help, first try deleting the files in your ~/.config/pulse directory then run pulseaudio -k in the terminal and wait a few seconds before testing.

If still nothing, paste back the results of inxi -Fxz and aplay -l please.
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

I've already had pavucontrol. http://i.imgur.com/Cmbw34P.png And for the inxi -Fxz command,

Code: Select all

System:    Host: *my name*-desktop Kernel: 4.15.0-20-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: Hewlett-Packard product: HP Compaq dc7800p Small Form Factor serial: N/A
           Mobo: Hewlett-Packard model: 0AA8h serial: N/A
           BIOS: Hewlett-Packard v: 786F1 v01.32 date: 07/21/2011
CPU:       Dual core Intel Core2 Duo E6750 (-MCP-) 
           arch: Conroe rev.11 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 10640
           clock speeds: max: 2667 MHz 1: 1995 MHz 2: 1995 MHz
Graphics:  Card: NVIDIA GP108 bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce GT 1030/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.77 Direct Render: Yes
Audio:     Card NVIDIA GP108 High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Intel 82566DM-2 Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: 2100 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter
           driver: r8188eu v: v4.1.4_6773.20130222 usb-ID: 002-002
           IF: wlx00726320603f state: N/A mac: N/A
Drives:    HDD Total Size: 160.0GB (76.0% used)
           ID-1: /dev/sda model: WDC_WD1600AAJS size: 160.0GB temp: 31C
Partition: ID-1: / size: 146G used: 114G (82%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.0C mobo: N/A gpu: 0.0:42C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 200 Uptime: 5:34 Memory: 1243.7/3864.8MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
.

For the aplay -l command,

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Go to the Configuration tab (two to the right of Output Devices) and try HDMI 1.
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

HDMI without the 2? http://i.imgur.com/EPOrlyH.png
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Damn, they're all saying unplugged. Try disconnecting the HDMI cable and reconnecting it.
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

I tried unplugging the cable from both the monitor itself and the graphics card, still saying unplugged.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Did you delete the files in ~/.config/pulse and run pulseaudio -k as well?
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Well, I'm stuck at the moment. A kernel upgrade might fix it.

I am very late to bed, so I'll check in tomorrow morning to see if there's any progress.

Good luck.
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

Thank you for your effort. As soon as my Linux Mint finishes downloading for my USB stick I'm going to try restarting my PC and see if that works. Have a good night.
User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1491
Joined: Tue Apr 26, 2016 3:28 pm

Re: No Audio After New Monitor & GFX Card

Post by Arch_Enemy »

Go to ALSA control (if you have the volume on your slider, right click and choose "Sound Preferences"
On the Input tab select the Monitor of (your graphics card).
On the Output tab select the graphics card audio, and see if one says "plugged in" in the Selector drop down.
Go to the Hardware Tab and select the HDMI audio source. Try "Test Speakers and see if you hear anything.

Open Pulse Audio Volume Control. In Output Devices tab you should see, or be able to select the HDMI output. If you need to, at the bottom Show: All Output Devices

If no joy here, select the Configuration tab and see if there is an HDMI device in the list that does NOT say "Plugged in". Select that one.

Play something. Go to Playback tab and see if there is any output anywhere. If not, head to the Input tab and see if the "plugged in" HDMI device is selected. Play something again and check again. Go through the tabs again and see if there is any playback showing up anywhere.

Report back with your findings.
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Your inxi results did not show any onboard sound. Did you intentionally disable that in the BIOS? It might be worth a shot to go into the BIOS and re-enable sound if possible. The onboard sound can still be disabled in pavucontrol on the Configuration tab by just setting the proper Profile to Off.

Another thing that could help is a full shutdown as opposed to a reboot. Wait a full minute before powering back up.

The inxi results also showed you were still on the default kernel from your install. Like I said above, upgrading the kernel (to the latest 4.15 series kernel) may get this working.

I doubt this is going to work, but does aplay -Dhw:0,3 /usr/share/sounds/alsa/Front_Center.wav produce sound?

Does Driver Manager say you're using the recommended driver for that graphics card?

If you run the live dvd/USB you used to install Mint, does sound work there? If not, see if making one with 18.3 works. The thinking here is maybe your system needs an older kernel. If this works when all else failed, we'll need to get you to install the latest 4.4 kernel on your Linux Mint 19 Xfce system.

I have to head to work soon. Will check back in this afternoon/evening sometime.

Good luck.
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

Sorry from the late response, but the aplay command produces:

Code: Select all

Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1305: Channels count non available
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

Arch_Enemy wrote: Tue Dec 11, 2018 11:55 pm Go to ALSA control (if you have the volume on your slider, right click and choose "Sound Preferences"
On the Input tab select the Monitor of (your graphics card).
On the Output tab select the graphics card audio, and see if one says "plugged in" in the Selector drop down.
Go to the Hardware Tab and select the HDMI audio source. Try "Test Speakers and see if you hear anything.

Open Pulse Audio Volume Control. In Output Devices tab you should see, or be able to select the HDMI output. If you need to, at the bottom Show: All Output Devices

If no joy here, select the Configuration tab and see if there is an HDMI device in the list that does NOT say "Plugged in". Select that one.

Play something. Go to Playback tab and see if there is any output anywhere. If not, head to the Input tab and see if the "plugged in" HDMI device is selected. Play something again and check again. Go through the tabs again and see if there is any playback showing up anywhere.

Report back with your findings.
I'm trying to get audio to play through some earbuds that used to work before I bought a new graphics card and monitor. The earbuds work with my phone and other devices. I've tried a speaker on my PC and that doesn't seem to work either. There isn't a HDMI device in the list that says "Plugged in", sadly. There isn't a thing called "Sound Preferences" in ALSA control, either. If you need any screenshots, don't be afraid to ask.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

As a test, does sudo aplay -Dhw:0,3 /usr/share/sounds/alsa/Front_Center.wav do anything different?
luxorium

Re: No Audio After New Monitor & GFX Card

Post by luxorium »

MrEen wrote: Sat Dec 15, 2018 7:51 pm As a test, does sudo aplay -Dhw:0,3 /usr/share/sounds/alsa/Front_Center.wav do anything different?
Well, here's the output. I didn't hear anything.

Code: Select all

Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1305: Channels count non available
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Audio After New Monitor & GFX Card

Post by MrEen »

Have you tried upgrading the kernel? If the newer kernel causes problems, we can walk you through getting back to the one you're using.
Locked

Return to “Sound”