You are not logged in.

#1 2023-04-19 09:21:03

ethern00b
Member
From: my desktop
Registered: 2023-03-03
Posts: 6

[SOLVED] No sound from HDMI on LG tv monitor

Hi,
after reading the wiki and some previous questions like this one: https://bbs.archlinux.org/viewtopic.php?id=268116
I come asking for help. I have a desktop computer with arch on it, connected to an LG tv as monitor by HDMI. It has been working on the past,
but after an update and some issues with the booting process after the update I no longer have sound over it.

This is my aplay -l output
http://0x0.st/H83O.txt

And this is the latest .asoundrc file I've try
http://0x0.st/H83V.txt

edit:
this is my journalctl -b
http://0x0.st/H833.txt

edit again:
this is my journalctl
http://0x0.st/H830.txt

If more information is needed, please let me know.

Last edited by ethern00b (2023-04-20 08:26:30)


ἓν οἶδα ὅτι οὐδὲν οἶδα, hèn oîda hóti oudèn oîda

Offline

#2 2023-04-19 10:24:06

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 170

Re: [SOLVED] No sound from HDMI on LG tv monitor

Please post the output of

pactl list cards
pactl list sinks

If you have installed bumblebee try to remove or reinstall the package

Last edited by Khere (2023-04-19 10:25:04)


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#3 2023-04-19 13:11:22

ethern00b
Member
From: my desktop
Registered: 2023-03-03
Posts: 6

Re: [SOLVED] No sound from HDMI on LG tv monitor

The output of pactl list commands says conection refused
http://0x0.st/H8YI.txt

The output of pacman -Qe doesn't show bumblebee.

I dont know if its relevant, but it says between others
alsa-firmware 1.2.4-3
alsa-utils 1.2.8-1
xf86-video-vesa 2.6.0-1


ἓν οἶδα ὅτι οὐδὲν οἶδα, hèn oîda hóti oudèn oîda

Offline

#4 2023-04-19 13:30:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: [SOLVED] No sound from HDMI on LG tv monitor

Don't run these as root but as the normal user.

That said, what is actually going on here, what does "doesn't work" actually mean? Is playback started but you don't hear anything or do you see an error message, what's the output on the terminal when you run

speaker-test -Dhw:1,3 -c2

also I note you are running on nouveau is this intentional? I'm not sure whether HDMI has ever worked on nouveau. You are also on a dated kernel and your wlan module crashes due to access conflicts between wpa_supplicant and iwd but that has no relation to your current issue.

Last edited by V1del (2023-04-19 13:32:34)

Offline

#5 2023-04-19 14:20:46

ethern00b
Member
From: my desktop
Registered: 2023-03-03
Posts: 6

Re: [SOLVED] No sound from HDMI on LG tv monitor

I know its not recommended to work as root, but once I achieved to have arch running, I created a user and don't remember why i couldn't install some things or something and
decided to keep using it, and now the Xorg, i3 and so on is only able for root (I'm currently trying to set it to normal user). Also doesn't know why am I running on nouveau, is not intentional
as I don't know what it is. When fresh installed arch I had some struggles to connect to the wifi network so probably I made something wrong while reading documentation and mixed things. should I quit wpa_supplicant?

output of speaker-test
http://0x0.st/H8gq.txt
and sounds came out of the tv speakers

The pactl list commands as non root user
http://0x0.st/H8gD.txt

Last edited by ethern00b (2023-04-19 15:25:20)


ἓν οἶδα ὅτι οὐδὲν οἶδα, hèn oîda hóti oudèn oîda

Offline

#6 2023-04-19 15:37:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: [SOLVED] No sound from HDMI on LG tv monitor

That's all pretty basic config/security stuff that's going wrong here. Do not run your graphical session as root, make a normal user account, if you want it to have elevated privileges configure sudo/sudoers properly and use it on demand for updating packages, start your i3 properly - if with startx make sure you've read and applied - https://wiki.archlinux.org/title/Xinit#xinitrc , assuming you actually want to be using iwd instead of wpa_supplicant disable the wpa_supplicant.service. If you actually want to use nvidia do a proper full system update and install nvidia and nvidia-utils, but all of that is out of scope here.

If that command worked then that means your HDMI audio is working, in which exact case does it "not work"? Chances are quite high this is related to the fact you are running as root and userspace daemons for pulse/pipewire won't start in such a constelation.

How did you change to the other user? If via su in that terminal that's useless. Setup that user, login normally, startx as that user, if that fails instead of flailing with root, repost

sudo journalctl -b

and the xorg log from that i3 starting attempt https://wiki.archlinux.org/title/Xorg#General - which instructions did you follow to install this system? You are making quite a few fundamental mistakes that will make running this system reliably a nightmare.

Last edited by V1del (2023-04-19 15:40:06)

Offline

#7 2023-04-19 15:54:38

ethern00b
Member
From: my desktop
Registered: 2023-03-03
Posts: 6

Re: [SOLVED] No sound from HDMI on LG tv monitor

For example reproducing a video from youtube doesn't reproduce sound. I'm going to set the normal user to look like i3 does on root session so I can check if there is running sound on browser videos, and hopefully will not run the graphical session as root again.
Thanks, and sorry for the mess.


ἓν οἶδα ὅτι οὐδὲν οἶδα, hèn oîda hóti oudèn oîda

Offline

#8 2023-04-19 15:58:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: [SOLVED] No sound from HDMI on LG tv monitor

With what? Firefox? Yes that's somewhat expected - in part due to your setup, but also because of how Firefox integrates with ALSA - which means that it will ignore your .asoundrc and try hw:0,0 unless you keep the default assignment, which your config doesn't do. While we are at it if you do intend to use pulseaudio/pipewire you should remove your .asoundrc and install pulseaudio-alsa/pipewire-alsa instead depending on what you're using.

If you fix your session and start it properly as the normal user pulseaudio/pipewire should be able to start and after that that's what firefox will use and you can configure your playback device in the common pulse mixers like e.g. pavucontrol.

Offline

#9 2023-04-20 08:25:24

ethern00b
Member
From: my desktop
Registered: 2023-03-03
Posts: 6

Re: [SOLVED] No sound from HDMI on LG tv monitor

Solved!

I removed .asoundrc, installed sudo, got the normal user on the wheel group, installed pulseaudio and pulseaudio-alsa, rebooted and firefox is reproducing sound.
Now I'll disable wpa_supplicant and install nvidia an nvidia-utils.

Thankyou very much. Have a nice day.


ἓν οἶδα ὅτι οὐδὲν οἶδα, hèn oîda hóti oudèn oîda

Offline

Board footer

Powered by FluxBB