You are not logged in.

#26 2026-06-06 07:36:41

Enrico1989
Member
Registered: 2018-07-05
Posts: 336

Re: Audio breaks after every suspend/change of VT

seth wrote:

I assume it had no impact on the output changes?

Nope.

seth wrote:

Does it help to add a strategic nap into your bashrc?

 …
if [[ ! $DISPLAY && ($XDG_VTNR == 1 || $XDG_VTNR == 2) ]]; then
   sleep 3
  case $USER in
    'enrico' )
…

(I assume you meant ~/.bash_profile) Nope, I saw no difference in how the audio behaved.

Offline

#27 Yesterday 07:37:57

Enrico1989
Member
Registered: 2018-07-05
Posts: 336

Re: Audio breaks after every suspend/change of VT

Any chance the existence of these 2 jacks (even with nothing plugged in them) can cause this mess?

Olb38xt1.png

Offline

#28 Yesterday 09:52:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,065

Re: Audio breaks after every suspend/change of VT

Looks like those are the front headphone and microphone jacks.

What is brand & model of your motherboard ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#29 Yesterday 12:40:50

Enrico1989
Member
Registered: 2018-07-05
Posts: 336

Re: Audio breaks after every suspend/change of VT

From my order: Gigabyte X399 AORUS Gaming 7 AMD X399 Socket TR4 ATX motherboard - Motherboards (DDR4-SDRAM, DIMM, 2133,2400,2667 MHz, Quad, 128 GB, AMD). The link currently points at https://www.amazon.it/dp/B0746CT3Y5?th=1, but I'm not sure how much accurate this link is, after 8 years.

Last edited by Enrico1989 (Yesterday 12:41:18)

Offline

#30 Yesterday 13:03:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,838

Re: Audio breaks after every suspend/change of VT

The output change/addition is on the nvidia HDMI card - is this actually now stable after the initial VT switch or do subsequent VT  switches again change the current output device?
Does it help to set the default profile?
https://www.baeldung.com/linux/pulseaud … lt-profile

Offline

#31 Yesterday 16:35:08

Enrico1989
Member
Registered: 2018-07-05
Posts: 336

Re: Audio breaks after every suspend/change of VT

seth wrote:

Does it help to set the default profile?
https://www.baeldung.com/linux/pulseaud … lt-profile

Somewhat. I found I can run these commands to switch between the "non-working" and "working" cards respectively:

pactl set-card-profile alsa_card.pci-0000_08_00.3 output:iec958-stereo+input:analog-stereo
pactl set-card-profile alsa_card.pci-0000_08_00.3 output:analog-stereo+input:analog-stereo

Now I would need a way to script what I do in qpwgraph/pavucontrol in the screencasts linked below.

However, as regards the rest of that blog post you linked, that's about pulseaudio, but I'm using pipewire, right? So that doesn't apply to me, right?

After all, I don't even have a /etc/pulse/default.pa file (I have /etc/pulse/client.conf file, but that seems a different sort of file).

seth wrote:

The output change/addition is on the nvidia HDMI card - is this actually now stable after the initial VT switch or do subsequent VT  switches again change the current output device?

Honestly, I don't see much stability. But I've recorded a couple of sessions here and here and here (4 minutes and a half, 4 minutes, 4 minutes respectively, but I guess you can just scroll through); in the 3rd video I manage to achieve a behavior I had observed before filming the 1st one. I'm not sure why I observe this herratic behaviors.

Last edited by Enrico1989 (Yesterday 17:21:56)

Offline

#32 Yesterday 20:13:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,838

Re: Audio breaks after every suspend/change of VT

However, as regards the rest of that blog post you linked, that's about pulseaudio, but I'm using pipewire, right? So that doesn't apply to me, right?

Right.
https://wiki.archlinux.org/title/PipeWi … _selection

Honestly, I don't see much stability.

Does the active profile still change w/ the VT switch after fixing it for the first time?
I thought it might happen because the new profiles appear.

Offline

Board footer

Powered by FluxBB