Created attachment 95644 [details] output off: pulseaudio -vvv and pactl set-card-profile alsa_card.pci-0000_00_1b.0 off when selecting the profile to off the card still appears in the output devices
I was suspecting that setting the profile to "off" wouldn't remove the sink, but it does get removed as it should. So the log doesn't show anything going wrong. If you say that "the card still appears in the output devices", I guess what happens is that when you restart pulseaudio, the card profile isn't "off" any more. I suspect module-switch-on-port-available is to blame. If you comment out module-switch-on-port-available from /etc/pulse/default.pa, does that fix the problem?
Created attachment 95660 [details] initial (non complete) log
It actually does not seem to happen any more. Maybe the procedure that you gave me resetted some stuff? Also the 5.1 option now suddenly gives sound. While before when I selected the off profile it went instant, now sometimes it takes a while. I attached the first log I made which I did not send initially because the terminal history was not long enough.
your are using module-loopback with hdmi I: [alsa-sink-HDMI 2] module-loopback.c: Max request changed D: [alsa-sink-HDMI 2] alsa-sink.c: Requesting rewind due to latency change. D: [alsa-sink-HDMI 2] alsa-sink.c: Latency set to 20.00ms D: [alsa-sink-HDMI 2] alsa-sink.c: hwbuf_unused=62008 D: [alsa-sink-HDMI 2] alsa-sink.c: setting avail_min=15944 D: [alsa-sink-HDMI 2] alsa-sink.c: Requested to rewind 65536 bytes. D: [alsa-sink-HDMI 2] alsa-sink.c: Limited to 8748 bytes. D: [alsa-sink-HDMI 2] alsa-sink.c: before: 2187 D: [alsa-sink-HDMI 2] alsa-sink.c: after: 2187 D: [alsa-sink-HDMI 2] alsa-sink.c: Rewound 8748 bytes. D: [alsa-sink-HDMI 2] sink.c: Processing rewind... D: [alsa-sink-HDMI 2] sink-input.c: Have to rewind 8748 bytes on render memblockq. D: [alsa-sink-HDMI 2] source.c: Processing rewind... D: [pulseaudio] module-loopback.c: Loopback overall latency is 0.83 ms + 30.87 ms + 0.00 ms = 31.71 ms D: [pulseaudio] module-loopback.c: Should buffer 7032 bytes, buffered at minimum 0 bytes D: [pulseaudio] module-loopback.c: [alsa_output.pci-0000_00_1b.0.hdmi-stereo-extra2] Updated sampling rate to 43925 Hz
Is the loopback module a problem? I just have an entry: load-module module-loopback source=VirtualDefault.monitor in default.pa
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/228.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.