TW: Sound lost after switch to Nvidia & connecting external monitor

Hi, right at year end I ran into a serious problem on TW: Operating System: openSUSE Tumbleweed 20201228 KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Kernel Version: 5.10.1-1-default In order to use an external monitor I used-prime select wo switch to nvidia - driver nvidia-glG05-460.27.04 (with just the intel driver, no expternal HDMI- Monitor can be connected). Switch to external monitor worked well with everything, but suddenly sound is gone! Neither KDE audio module nor pavucontrol detect any sound devices anymore. Switched back to intel graphics, rebooted - no change, Any ideas what to try? Thanks Axel X1E:/home/docb # lspci | grep Audio 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) 01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev ff) X1E:/home/docb # journalctl -xb | grep audio Dez 31 17:43:33 X1E kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Dez 31 17:43:33 X1E kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D0: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D1: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D2: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D3: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D4: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D5: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D6: no AFG or MFG node found Dez 31 17:43:33 X1E kernel: hdaudio hdaudioC1D7: no AFG or MFG node found Dez 31 17:43:50 X1E plasma_session[1682]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start- pulseaudio-x11") Dez 31 17:43:50 X1E dbus-daemon[1032]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.34' (uid=1001 pid=1904 comm="/usr/bin/pulseaudio -- daemonize=no --log-target=jo") Dez 31 17:43:50 X1E rtkit-daemon[1912]: Successfully made thread 1904 of process 1904 (/usr/bin/pulseaudio) owned by 'docb' high priority at nice level -11. Dez 31 17:43:50 X1E pulseaudio[1904]: Failed to find a working profile. Dez 31 17:43:50 X1E pulseaudio[1904]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed. Dez 31 17:43:50 X1E rtkit-daemon[1912]: Successfully made thread 1929 of process 1904 (/usr/bin/pulseaudio) owned by 'docb' RT at priority 5. Dez 31 17:43:55 X1E plasmashell[1858]: org.kde.plasma.pulseaudio: No object for name "auto_null.monitor" Dez 31 17:43:59 X1E systemd[1415]: pulseaudio.socket: Succeeded. Hardware: ThinkPad X1 Extreme Gen2

Hi, I suggest to try booting in an older kernel if you have one and see if it works. Regards, Sergio On Thu, 31 Dec 2020 at 13:54, Axel Braun <axel.braun@gmx.de> wrote:
-- *Sergio Cuéllar* KIO NETWORKS Mexico City Phone (52) 55 8503 2600 ext. 5161 Mobile: 5544844298 www.kionetworks.com -- ************************************************************************************************************************* *“Este mensaje es confidencial. Si usted no es el destinatario de este mensaje, le suplicamos se lo notifique al remitente mediante un correo electrónico y que borre el presente mensaje y sus anexos de su computadora sin retener una copia de los mismos. No debe copiar este mensaje o usarlo para cualquier propósito ni divulgar su contenido. KIO Networks se reserva el derecho de monitorear todas las comunicaciones de correo electrónico (relacionadas o no con KIO Networks) que se transmitan a través de su sistema. **Muchas gracias.* *This email is confidential and may also be privileged. If you are not the intended recipient please immediately advise the sender by reply e-mail and delete this message and its attachments from your computer without retaining a copy. You should not copy it or use it for any purpose nor disclose its contents to any other person. KIO Networks reserves the right to monitor all email communications (whether related to the business of KIO Networks or not) through its networks. Thank you.”* *************************************************************************************************************************

Hello Sergio, a good hint - I bootet into an older snapshot and sound was back. With no other change I bootet into current snapshot, and sound was there as well using intel driver. In journal the driver initialization shows up as well: Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: CX8070: BIOS auto-probing. Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: hp_outs=1 (0x16/0x0/0x0/0x0/0x0) Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: mono: mono_out=0x0 Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: inputs: Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: Internal Mic=0x1a Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: Mic=0x19 So...will do a step-by-step change , first switch to nvidia driver, then external HDMI monitor and see what happens Happy new year Axel Am Donnerstag, 31. Dezember 2020, 21:06:26 CET schrieb Sergio Cuellar Valdes:
-- Dr.-Ing. Axel K. Braun M: +49.173.7003.154 T: @coogor Matrix: @docb:matrix.org PGP Fingerprint: 2E7F 3A19 A4A4 844A 3D09 7656 822D EB64 A3BA 290D Public Key available at http://www.axxite.com/axel.braun@gmx.de.asc Personal Freedom starts with free/libre Software ThinkPad X1 Extreme running openSUSE Tumbleweed 20201228

On 1/1/21 6:24 AM, Axel Braun wrote:
Hi Axel, I'd politely like to remind you that currently this list is a list for discussing issues that affect a broad range of openSUSE developers or are around openSUSE development processes. Not for support or discussions around one or two packages. Please understand that as a community we expect all our developers to be on top of all the discussions that take place on this list, when we were allowing users to report issues and get tumbleweed support here a number of developers were struggling to keep on top of the core topics that this list is meant to be for, hence having to make the changes we did. So most of all when posting to this list we ask that people are respective of other contributors time and energy and only post about the topics I mentioned and similar. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Fri, Jan 01, 2021 at 03:34:10PM +1030, Simon Lees wrote:
I need to admit I am a bit speechless about this posting. And I would like to express I personally completely disagree with it. I'm not sure about the policy for this list (is there any?), but it would be news to me that every developer needs to be aware of anything written on this list. I'm looking into it when time permits. That's it. And I always try to help, no matter if it's reported via Bugzilla, to me directly or I find a topic affecting my work on one of the SUSE mailing lists. I'm doing this to improve openSUSE (quality) and in the end also SUSE's enterprise products, since that's what I'm being paid for in the end. Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ----------------------------------------------------------------

On 1/4/21 11:26 PM, Stefan Dirsch wrote:
When I say this I am meaning that the primary role of this list is to announce and discuss new development related policies etc, generally the policies in SLE are the same as in Factory. See the "Multi-spec packages only need a single .changes file now" thread as an example. In order to make it as easy possible for people such as yourself to keep up with such changes that will affect your job at times we are respectfully asking people to keep conversation on this list to that of development processes etc or issues that will affect a large number of packages. Rather then as a place for tumbleweed support or issue reporting. Hopefully this will make it easier for people such as yourself to follow the list and be informed of the information you need to know. Thanks -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Thu, Dec 31, 2020 at 08:54:19PM +0100, Axel Braun wrote:
Could it be that you're trying to use HDMI Audio? That would explain the bevaviour. By default suse-prime disabled HDMI audio in order to enable support for DynamicPowerManagement when using NVIDIA's PRIME Render Offload feature. You can get rid of DynamicPowerManagement manually by editing /etc/modprobe.d/09-nvidia-modprobe-pm-G05.conf comment out this one line in the file /usr/lib/udev/rules.d/90-nvidia-udev-pm-G05.rules comment out all the "ACION" lines More information on https://github.com/openSUSE/SUSEPrime https://download.nvidia.com/XFree86/Linux-x86_64/435.21/README/primerenderof... Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ----------------------------------------------------------------

Hello Stefan, Am Montag, 4. Januar 2021, 13:41:08 CET schrieb Stefan Dirsch:
I had actually the jack plugin in use when attaching the HDMI monitor.
Good to know, thanks for the hints. Another good news is that I could not reproduce the issue on several attempts. So I would consider it as one of those magic one-off incidents. (Although I'm a bit worried that sereyl reboots into the same kernel did not bring back sound, whereas booting into 5.9.14 kernel did. Just in case the issue might appear again. Thanks Axel

Hi, I suggest to try booting in an older kernel if you have one and see if it works. Regards, Sergio On Thu, 31 Dec 2020 at 13:54, Axel Braun <axel.braun@gmx.de> wrote:
-- *Sergio Cuéllar* KIO NETWORKS Mexico City Phone (52) 55 8503 2600 ext. 5161 Mobile: 5544844298 www.kionetworks.com -- ************************************************************************************************************************* *“Este mensaje es confidencial. Si usted no es el destinatario de este mensaje, le suplicamos se lo notifique al remitente mediante un correo electrónico y que borre el presente mensaje y sus anexos de su computadora sin retener una copia de los mismos. No debe copiar este mensaje o usarlo para cualquier propósito ni divulgar su contenido. KIO Networks se reserva el derecho de monitorear todas las comunicaciones de correo electrónico (relacionadas o no con KIO Networks) que se transmitan a través de su sistema. **Muchas gracias.* *This email is confidential and may also be privileged. If you are not the intended recipient please immediately advise the sender by reply e-mail and delete this message and its attachments from your computer without retaining a copy. You should not copy it or use it for any purpose nor disclose its contents to any other person. KIO Networks reserves the right to monitor all email communications (whether related to the business of KIO Networks or not) through its networks. Thank you.”* *************************************************************************************************************************

Hello Sergio, a good hint - I bootet into an older snapshot and sound was back. With no other change I bootet into current snapshot, and sound was there as well using intel driver. In journal the driver initialization shows up as well: Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: CX8070: BIOS auto-probing. Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: hp_outs=1 (0x16/0x0/0x0/0x0/0x0) Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: mono: mono_out=0x0 Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: inputs: Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: Internal Mic=0x1a Dez 31 23:22:22 X1E kernel: snd_hda_codec_conexant hdaudioC0D0: Mic=0x19 So...will do a step-by-step change , first switch to nvidia driver, then external HDMI monitor and see what happens Happy new year Axel Am Donnerstag, 31. Dezember 2020, 21:06:26 CET schrieb Sergio Cuellar Valdes:
-- Dr.-Ing. Axel K. Braun M: +49.173.7003.154 T: @coogor Matrix: @docb:matrix.org PGP Fingerprint: 2E7F 3A19 A4A4 844A 3D09 7656 822D EB64 A3BA 290D Public Key available at http://www.axxite.com/axel.braun@gmx.de.asc Personal Freedom starts with free/libre Software ThinkPad X1 Extreme running openSUSE Tumbleweed 20201228

On 1/1/21 6:24 AM, Axel Braun wrote:
Hi Axel, I'd politely like to remind you that currently this list is a list for discussing issues that affect a broad range of openSUSE developers or are around openSUSE development processes. Not for support or discussions around one or two packages. Please understand that as a community we expect all our developers to be on top of all the discussions that take place on this list, when we were allowing users to report issues and get tumbleweed support here a number of developers were struggling to keep on top of the core topics that this list is meant to be for, hence having to make the changes we did. So most of all when posting to this list we ask that people are respective of other contributors time and energy and only post about the topics I mentioned and similar. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Fri, Jan 01, 2021 at 03:34:10PM +1030, Simon Lees wrote:
I need to admit I am a bit speechless about this posting. And I would like to express I personally completely disagree with it. I'm not sure about the policy for this list (is there any?), but it would be news to me that every developer needs to be aware of anything written on this list. I'm looking into it when time permits. That's it. And I always try to help, no matter if it's reported via Bugzilla, to me directly or I find a topic affecting my work on one of the SUSE mailing lists. I'm doing this to improve openSUSE (quality) and in the end also SUSE's enterprise products, since that's what I'm being paid for in the end. Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ----------------------------------------------------------------

On 1/4/21 11:26 PM, Stefan Dirsch wrote:
When I say this I am meaning that the primary role of this list is to announce and discuss new development related policies etc, generally the policies in SLE are the same as in Factory. See the "Multi-spec packages only need a single .changes file now" thread as an example. In order to make it as easy possible for people such as yourself to keep up with such changes that will affect your job at times we are respectfully asking people to keep conversation on this list to that of development processes etc or issues that will affect a large number of packages. Rather then as a place for tumbleweed support or issue reporting. Hopefully this will make it easier for people such as yourself to follow the list and be informed of the information you need to know. Thanks -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Thu, Dec 31, 2020 at 08:54:19PM +0100, Axel Braun wrote:
Could it be that you're trying to use HDMI Audio? That would explain the bevaviour. By default suse-prime disabled HDMI audio in order to enable support for DynamicPowerManagement when using NVIDIA's PRIME Render Offload feature. You can get rid of DynamicPowerManagement manually by editing /etc/modprobe.d/09-nvidia-modprobe-pm-G05.conf comment out this one line in the file /usr/lib/udev/rules.d/90-nvidia-udev-pm-G05.rules comment out all the "ACION" lines More information on https://github.com/openSUSE/SUSEPrime https://download.nvidia.com/XFree86/Linux-x86_64/435.21/README/primerenderof... Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ----------------------------------------------------------------
participants (4)
-
Axel Braun
-
Sergio Cuellar Valdes
-
Simon Lees
-
Stefan Dirsch