all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* No sound - Intel HDA SOF driver and Nvidia HDMI
@ 2021-10-25 22:57 Mameka via
  2021-10-25 23:22 ` Mameka
  0 siblings, 1 reply; 4+ messages in thread
From: Mameka via @ 2021-10-25 22:57 UTC (permalink / raw)
  To: Guix Mailinglist Help

I installed Guix System on my ASUS TuF Gaming 705 GM notebook. There is an Intel / Nvidia Optimus graphics card. The sound modules are Intel HDA and Nvidia HDMI. After a normal boot the Nvidia HDMI is activated and I don't hear any sound out of the speakers. Only the "dummy driver" is loaded.
If I plugin an USB sound card this works fine. But I like to use the internal sound card.

Some logs:

	cat /proc/asound/card*/codec* | grep Codec Codec: Nvidia GPU 84 HDMI/DP sudo dmesg | grep -i snd_hda_intel [ 29.243097] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380 [ 29.243111] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver [ 29.243171] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002) [ 29.243267] snd_hda_intel 0000:01:00.1: Disabling MSI [ 29.243270] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client [ 29.725366] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau]) lspci | grep -i audio 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1) I tried Trisquel 9 before Guix and there the sound was working fine. Trisquel uses the Libre Kernel as well, so I hope that Guix System can do it also. I tried to blacklist the snd_hda_intel in the /etc/config.scm (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) (use-modules (gnu services virtualization)) [...] (kernel-arguments '("modprobe.blacklist=nouveau,snd_hda_intel,snd-hda-intel")) [...] (supplementary-groups '("wheel" "netdev" "audio" "video" "libvirt" "kvm"))) [...] Unfortunately this does not work. I get no sound. Blacklisting the snd_hda_intel worked in Slackware and Debian. Any advice is welcome. Kind regards, Mameka

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No sound - Intel HDA SOF driver and Nvidia HDMI
  2021-10-25 22:57 No sound - Intel HDA SOF driver and Nvidia HDMI Mameka via
@ 2021-10-25 23:22 ` Mameka
  2021-10-28 16:22   ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 4+ messages in thread
From: Mameka @ 2021-10-25 23:22 UTC (permalink / raw)
  To: Mameka, Guix Mailinglist Help

25. Oktober 2021 22:57, "Mameka" <help-guix@gnu.org> schrieb:

> I installed Guix System on my ASUS TuF Gaming 705 GM notebook. There is an Intel / Nvidia Optimus
> graphics card. The sound modules are Intel HDA and Nvidia HDMI. After a normal boot the Nvidia HDMI
> is activated and I don't hear any sound out of the speakers. Only the "dummy driver" is loaded.
> If I plugin an USB sound card this works fine. But I like to use the internal sound card.
> 
> Some logs:
> 
> cat /proc/asound/card*/codec* | grep Codec Codec: Nvidia GPU 84 HDMI/DP sudo dmesg | grep -i
> snd_hda_intel [ 29.243097] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if
> info 0x040380 [ 29.243111] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform,
> using SOF driver [ 29.243171] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002) [
> 29.243267] snd_hda_intel 0000:01:00.1: Disabling MSI [ 29.243270] snd_hda_intel 0000:01:00.1:
> Handle vga_switcheroo audio client [ 29.725366] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops
> nv50_audio_component_bind_ops [nouveau]) lspci | grep -i audio 00:1f.3 Audio device: Intel
> Corporation Cannon Lake PCH cAVS (rev 10) 01:00.1 Audio device: NVIDIA Corporation GP106 High
> Definition Audio Controller (rev a1) I tried Trisquel 9 before Guix and there the sound was working
> fine. Trisquel uses the Libre Kernel as well, so I hope that Guix System can do it also. I tried to
> blacklist the snd_hda_intel in the /etc/config.scm (use-modules (gnu)) (use-service-modules desktop
> networking ssh xorg) (use-modules (gnu services virtualization)) [...] (kernel-arguments
> '("modprobe.blacklist=nouveau,snd_hda_intel,snd-hda-intel")) [...] (supplementary-groups '("wheel"
> "netdev" "audio" "video" "libvirt" "kvm"))) [...] Unfortunately this does not work. I get no sound.
> Blacklisting the snd_hda_intel worked in Slackware and Debian. Any advice is welcome. Kind regards,
> Mameka

Sorry for the bad format. It was a mistake.

cat /proc/asound/card*/codec* | grep Codec
Codec: Nvidia GPU 84 HDMI/DP 

lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)


I tried Trisquel 9 before Guix and there the sound was working
fine. Trisquel uses the Libre Kernel as well, so I hope that Guix System can do it also. I tried to
blacklist the snd_hda_intel in the /etc/config.scm
(use-modules (gnu)) 
(use-service-modules desktop networking ssh xorg) 
(use-modules (gnu services virtualization)) 
[...] 
(kernel-arguments '("modprobe.blacklist=nouveau,snd_hda_intel,snd-hda-intel")) 
[...] 
(supplementary-groups '("wheel" "netdev" "audio" "video" "libvirt" "kvm"))) 
[...] 
Unfortunately this does not work. I get no sound.
Blacklisting the snd_hda_intel worked in Slackware and Debian. 

Any advice is welcome. 
Kind regards,

Mameka


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No sound - Intel HDA SOF driver and Nvidia HDMI
  2021-10-25 23:22 ` Mameka
@ 2021-10-28 16:22   ` pelzflorian (Florian Pelz)
  2021-10-29  9:32     ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2021-10-28 16:22 UTC (permalink / raw)
  To: Mameka; +Cc: Mameka

Hello Mameka,

On Mon, Oct 25, 2021 at 11:22:49PM +0000, Mameka wrote:
> (kernel-arguments '("modprobe.blacklist=nouveau,snd_hda_intel,snd-hda-intel")) 
> [...] 
> (supplementary-groups '("wheel" "netdev" "audio" "video" "libvirt" "kvm"))) 
> [...] 

This seems correct.


> Unfortunately this does not work. I get no sound.
> Blacklisting the snd_hda_intel worked in Slackware and Debian. 


I cannot be of much help, but

you could check with lsmod if
snd_hda_intel really is disabled and

you could check with pavucontrol
if it displays any sound and

you could check with alsamixer if sound is muted.

Best of luck!

Regards,
Florian


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No sound - Intel HDA SOF driver and Nvidia HDMI
  2021-10-28 16:22   ` pelzflorian (Florian Pelz)
@ 2021-10-29  9:32     ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2021-10-29  9:32 UTC (permalink / raw)
  To: Mameka; +Cc: Mameka

You could set a different Linux-libre kernel version in your operating
system declaration, e.g.
(kernel (@ (gnu packages linux) linux-libre-5.10))
or (kernel (@ (gnu packages linux) linux-libre-5.4)).

If you don’t mind recompiling your kernel: Searching in my

/run/current-system/kernel/.config

reveals a few occurrences of HDMI in the kernel configuration.  You
could set in your operating system declaration:

(kernel
 ((@@ (gnu packages linux) make-linux-libre*)
  (@@ (gnu packages linux) linux-libre-5.14-version)
  (@@ (gnu packages linux) linux-libre-5.14-gnu-revision)
  (@@ (gnu packages linux) linux-libre-5.14-source)
  '("x86_64-linux")
  #:configuration-file (@@ (gnu packages linux) kernel-config)
  #:extra-options
  (append
   '(("CONFIG_SND_HDA_INTEL" . #f))
   (@@ (gnu packages linux) %default-extra-linux-options))))

or similar, but this may need to be adapted with future Guix versions.
If it works at all.

Also I suppose you have exactly the same hardware setup as with
Trisquel or Debian.  For example, I remember something advertised as
an HDMI cable but it could not carry sound.

Regards,
Florian


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-29 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 22:57 No sound - Intel HDA SOF driver and Nvidia HDMI Mameka via
2021-10-25 23:22 ` Mameka
2021-10-28 16:22   ` pelzflorian (Florian Pelz)
2021-10-29  9:32     ` pelzflorian (Florian Pelz)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.