On 08.03.2023 08:49, Felix Miata wrote: I assume "display" here means physical hardware and not X11 $DISPLAY.
...now that YaST2 sound is dead?
And how did you do it with YaST2 sound? I am really curious.
Both DisplayPort display and HDMI-1 display have speakers. I want audio on the DisplayPort, but it's on HDMI-1.
Your desktop environment should normally provide GUI to control it. E.g. in GNOME I can select between output to internal speakers or HDMI connected TV. This has advantage of (theoretically) working with any backend, supported by DE. De-facto standard for audio output today is PulseAudio (even pipewire recommends using PulseAudio on client side) so if you need more fine grained control - install pavucontrol. If you are on bare metal with nothing above kernel - I do not know. I assume it is possible to configure ALSA directly but it was always mystery to me. ...
# zypsei wire puls alsa jack pauv i | alsa | package | 1.2.8-1.1 | x86_64 | OSS i | alsa-ucm-conf | package | 1.2.8-1.1 | noarch | OSS i | alsa-utils | package | 1.2.8-1.1 | x86_64 | OSS i | libjack0 | package | 1.9.21-1.4 | x86_64 | OSS i | libpipewire-0_3-0 | package | 0.3.65-1.3 | x86_64 | OSS i | libpulse0 | package | 16.1-2.1 | x86_64 | OSS i | libwireplumber-0_4-0 | package | 0.4.13-2.1 | x86_64 | OSS i | pipewire-modules-0_3 | package | 0.3.65-1.3 | x86_64 | OSS i | pipewire-spa-plugins-0_2 | package | 0.3.65-1.3 | x86_64 | OSS i | pipewire-spa-tools | package | 0.3.65-1.3 | x86_64 | OSS i | pipewire-tools | package | 0.3.65-1.3 | x86_64 | OSS i+ | pipewire | package | 0.3.65-1.3 | x86_64 | OSS i+ | wireplumber | package | 0.4.13-2.1 | x86_64 | OSS
Well, some software (like mpv) supports pipewire directly, but I guess using pulseaudio as client would be easier.