Re: audio output via DP/hdmi over jack only after restarting xserver?

Fons Adriaensen <[email protected]> Wed, 27 May 2026 13:32:15 +0200
Newsgroups gmane.linux.audio.users
Message-ID <ahbWP8k/[email protected]>
On Wed, May 27, 2026 at 12:29:47AM +0200, Peter P. wrote:

> Playing back audio will not output sound.
> If I exit my Xsession and log back in, while jackd keeps running, audio
> output suddenly works, and I have no idea why.

My setup is different, but maybe this works:

1. Run jack using your non-HDMI card. (Note: I start jackd while
   logged in to an X11 session, don't know if that makes any
   difference.)

2. Connect the HDMI monitor

3. Run 

zita-j2a -d hw:0,3 -j HDMI -p 4096 -v

   in a terminal. 

4. Send some signal to the HDMI:Playback ports.

I'd expect this to work even if the HDMI monitor is
not selected by xrandr.

If things work you can remove the -v and maybe decrease -p.

I don't have an HDMI monitor with audio here, so can't tell
if this works. But I use the same method to switch between
sound cards. I use zita-mu1 to switch between outputs, all
apps connect to it instead of to System:*

Ciao,

-- 
FA