LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-01-2021, 02:56 PM   #1
sasha69
LQ Newbie
 
Registered: May 2020
Posts: 21

Rep: Reputation: Disabled
alsa-lib 1.2.5 broke HDMI and DisplayPort audio


HDMI and DisplayPort devices didn't even show in pavucontrol anymore after updating to alsa-lib 1.2.5 so I had to rollback to 1.2.4. I think it's an upstream bug: https://github.com/alsa-project/alsa-lib/issues/143
 
Old 06-02-2021, 04:27 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,619

Rep: Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492Reputation: 3492
There was a bug reported that required changing the order of PCM devices on /etc/asound.conf and/or ~/.asoundrc but neither of those is required for alsa via pulseaudio to work as long as your kernel detects the right module. I do prefer making pulse be as idle as possible and must have ~/.asoundrc to get the exact performance I demand but I had no issues, so I don't know the details of how and why it is, or rather was (it is fixed now), an ALSA bug.
 
Old 06-03-2021, 11:01 AM   #3
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,668

Rep: Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535
upstream says make new release soon. 1.2.5.1
 
Old 06-03-2021, 11:05 AM   #4
marav
Member
 
Registered: Sep 2018
Location: Paris, France
Distribution: Slackware
Posts: 344

Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by USUARIONUEVO View Post
upstream says make new release soon. 1.2.5.1
Exactly

https://www.linuxquestions.org/quest...ml#post6256116
 
Old 06-03-2021, 02:59 PM   #5
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 265
Blog Entries: 1

Rep: Reputation: Disabled
Is there a way to revert to the previous version that worked? I don't need broken software. I tried two different laptops connected via HDMI on my TV. None play audio anymore. I can hear the faint sound from the laptop speakers, `alsa -L` shows [0-3] HDMI, but it does not appear in System Settings|Audio, VLC|Audio|Audio Device. Soon?....
 
Old 06-03-2021, 03:50 PM   #6
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 265
Blog Entries: 1

Rep: Reputation: Disabled
After a week of wailing and gnashing of teeth, desperately trying everything, I finally restored HDMI audio as follows:

rsync -av rsync://mirrors.xmission.com/slackware/slackware64-current/source/l/alsa-lib .
cd alsa-lib
rm alsa-lib-1.2.5.tar.lz
wget https://www.alsa-project.org/files/p...-1.2.4.tar.bz2
Edit alsa-lib.SlackBuild[/CODE]
Change: VERSION=1.2.4; tar xvf $CWD/alsa-lib-$VERSION.tar.?z?
build and install as advertised.

Copied the alsa-lib-1.2.4-x86_64-1.txz package to the TV laptop and all's right with this world, as the poet Browning put it.

Is there a compelling reason to keep the broken v1.2.5?
 
Old 06-03-2021, 03:57 PM   #7
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 1,367

Rep: Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136
Quote:
Originally Posted by hpfeil View Post
After a week of wailing and gnashing of teeth, desperately trying everything, I finally restored HDMI audio as follows:

rsync -av rsync://mirrors.xmission.com/slackware/slackware64-current/source/l/alsa-lib .
cd alsa-lib
rm alsa-lib-1.2.5.tar.lz
wget https://www.alsa-project.org/files/p...-1.2.4.tar.bz2
Edit alsa-lib.SlackBuild[/CODE]
Change: VERSION=1.2.4; tar xvf $CWD/alsa-lib-$VERSION.tar.?z?
build and install as advertised.

Copied the alsa-lib-1.2.4-x86_64-1.txz package to the TV laptop and all's right with this world, as the poet Browning put it.

Is there a compelling reason to keep the broken v1.2.5?
You could have been just used a cumulative mirror to grab the previous packages.

And yeah, the rollback of ALSA packages to previous version was proposed several days ago on the requests thread, but looks like our BDFL entered on Silenzio Stampa...

Last edited by LuckyCyborg; 06-03-2021 at 04:11 PM.
 
Old 06-03-2021, 05:32 PM   #8
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 265
Blog Entries: 1

Rep: Reputation: Disabled
No, I did not know about cumulative mirrors. I did not know about other threads. I relied upon duckduckgo searches for "hdmi audio", in which none of the referenced discussions appeared in the first two pages. Maybe I could have used more sophisticated search parameters, but I had no idea the problem was with alsa-lib until today.
 
Old 06-03-2021, 05:56 PM   #9
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 1,367

Rep: Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136
Quote:
Originally Posted by hpfeil View Post
No, I did not know about cumulative mirrors. I did not know about other threads. I relied upon duckduckgo searches for "hdmi audio", in which none of the referenced discussions appeared in the first two pages. Maybe I could have used more sophisticated search parameters, but I had no idea the problem was with alsa-lib until today.
Well, a cumulative mirror is a mirror where no package is deleted, always added. Very useful when there's a need to rollback packages. For example, to get the alsa-lib 1.2.4

https://slackware.uk/cumulative/

Regarding the requests thread, probably is better to look to what the users discuss there, when you hit an issue.

https://www.linuxquestions.org/quest...ml#post6255878
 
2 members found this post helpful.
Old 06-04-2021, 10:40 AM   #10
intestinal fortitude
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Rep: Reputation: Disabled
I am so happy I found this thread. I have Logitech Z625 speakers connected to an ASUS Z390A motherboard's built-in optical link. I came here after updating my system yesterday and sound on my system was broken. As soon as I started an X session, the power light on my speaker started blinking and I got a loud error beep from them every 4 or 5 seconds.

Also, thanks to LuckyCyborg for the link to the cumulative archive. I was hoping there was something like that out there, but couldn't find it until I saw your post. I removed 1.2.5, installed 1.2.4, and everything is working again.
 
Old 06-04-2021, 04:26 PM   #11
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,668

Rep: Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535
ALSA upstream ,releases patches to fix 1.2.5

https://github.com/alsa-project/alsa-lib/issues/143
1.2.5-load_all_cards.patch
1 --> https://github.com/alsa-project/alsa...97013090.patch


https://github.com/alsa-project/alsa-lib/issues/142
1.2.5-private_device_prefix1.patch
2 --> https://github.com/alsa-project/alsa...9b1278e6.patch

1.2.5-private_device_prefix2.patch
3 --> https://github.com/alsa-project/alsa...2914ec14.patch
 
3 members found this post helpful.
Old 06-08-2021, 05:06 AM   #12
chrisVV
Member
 
Registered: Aug 2010
Posts: 474

Rep: Reputation: 271Reputation: 271Reputation: 271
HDMI is still broken for me with the latest alsa-lib-1.2.5-x86_64-2. Reverting to alsa-lib-1.2.4-x86_64-3 resolves the issue.

Last edited by chrisVV; 06-08-2021 at 05:08 AM.
 
1 members found this post helpful.
Old 06-08-2021, 05:56 AM   #13
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 442

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Rebuilding alsa-lib-1.2.5 with the patches that USARIONUEVO pointed at solved the HDMI issue for me.
 
Old 06-08-2021, 10:57 AM   #14
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 265
Blog Entries: 1

Rep: Reputation: Disabled
Thank you, USUARIONUEVO and LuckyCyborg for helping us by solving this issue!
Obquote: "Ad hoc, ad hoc, and quid pro quo. Too little time, so much to know." -J. Hillary Boob, Phud
 
Old 06-08-2021, 02:03 PM   #15
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 265
Blog Entries: 1

Rep: Reputation: Disabled
I'm afraid I share the same problem as chrisVV on this.
There must be something about certain older laptops that v1.2.5 doesn't address. The AMD A6-5200 APU, much like Balaam's Ass, planted its hindfeet and refuses to budge. I rebuild v1.2.5 using the above patches, no joy. To v1.2.4 I go, hi-ho.
 
  


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
usb c (3.1) hubs with video hdmi, displayport, vga russellr Linux - Hardware 11 04-06-2019 09:35 AM
[SOLVED] No HDMI/Displayport audio with rx580 on kernel 4.15 gentoo linux rexy712 Linux - Hardware 1 04-02-2018 06:00 PM
pulseaudio, nVidia HDMI/DisplayPort, nothing... dimm0k Slackware 7 11-05-2016 03:31 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM

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

All times are GMT -5. The time now is 12:41 AM.

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
Open Source Consulting | Domain Registration