Dummy output on kernel 5.6.7

Now, this is not ask for help in the general sense, but more like an idea to collaborate in making kernel 5.6 better. I am now back on kernel 5.4.35-1 (so I don't have a problem with sound).

While on kernel 5.6.7 I did search for answers, these are few of the threads I went through to find answers:

This one suggested to put parameter into grub, I did not do that, because I have bad experience of doing that (something else usualy brakes making the solution not really worth it).

Now, I did copy all of the inputs and outputs on kernel 5.6 and kernel 5.4, I tried to have them the same to get the best results of what could be different.

I did check etc/modprobe.d/ in both cases (kernel 5.6 and 5.4) there was one file nvidia-drm.conf which only has one line of "code" options nvidia_drm modeset=1

Output of kernel 5.6.7

Summary
[olividir@HP ~]$ systemctl --user restart pulseaudio
[olividir@HP ~]$ sudo systemctl --user restart pulseaudio
[sudo] password for olividir: 
Failed to connect to bus: No such file or directory
[olividir@HP ~]$ inxi -Fxz
System:
  Host: HP Kernel: 5.6.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Gnome 3.36.1 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-cx0xxx 
  v: Type1ProductConfigId serial: <filter> 
  Mobo: HP model: 8478 v: 70.36 serial: <filter> UEFI: Insyde v: F.08 
  date: 06/11/2018 
Battery:
  ID-1: BAT1 charge: 37.5 Wh condition: 37.5/52.8 Wh (71%) 
  model: Hewlett-Packard PABAS0241231 status: Full 
CPU:
  Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 36812 
  Speed: 800 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 832 2: 832 
  3: 839 4: 839 5: 886 6: 891 7: 839 8: 839 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard 
  driver: nvidia v: 440.82 bus ID: 01:00.0 
  Display: x11 server: X.org 1.20.8 driver: modesetting,nvidia 
  unloaded: intel,nouveau resolution: <xdpyinfo missing> 
  OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 440.82 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard 
  driver: sof-audio-pci bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.6.7-1-MANJARO 
Network:
  Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  vendor: Hewlett-Packard driver: rtw_pci v: N/A port: 4000 bus ID: 02:00.0 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 05:00.0 
  IF: eno1 state: down mac: <filter> 
Drives:
  Local Storage: total: 1.60 TiB used: 467.06 GiB (28.6%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-000H1 
  size: 238.47 GiB 
  ID-2: /dev/sda type: USB vendor: Western Digital 
  model: WD My Passport 0740 size: 465.73 GiB 
  ID-3: /dev/sdb type: USB vendor: Toshiba model: External USB 3.0 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 233.44 GiB used: 139.60 GiB (59.8%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 58.0 C mobo: 29.8 C gpu: nvidia temp: 50 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 310 Uptime: 3m Memory: 15.53 GiB used: 1.57 GiB (10.1%) 
  Init: systemd Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 inxi: 3.0.37 
[olividir@HP ~]$ aplay -l
aplay: device_list:274: no soundcards found...
[olividir@HP ~]$ systemctl list-units | grep sound
[olividir@HP ~]$ lspci |grep Audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
[olividir@HP ~]$ cat /proc/asound/cards
--- no soundcards ---
[olividir@HP ~]$ cat /proc/asound/devices
 33:        : timer
[olividir@HP ~]$ lspci -vv | grep HD
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller])
	DeviceName: Intel(R) UHD Graphics 630
	Subsystem: Hewlett-Packard Company UHD Graphics 630 (Mobile)
[olividir@HP ~]$ sudo journalctl -b0 | grep snd_hda
[sudo] password for olividir: 
apr 30 08:24:48 HP kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
apr 30 08:24:48 HP kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[olividir@HP ~]$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
aplay: device_list:274: no soundcards found...

Output of kernel 5.4.35-1:

Summary
[olividir@HP ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  
[olividir@HP ~]$ systemctl list-units | grep sound
sys-devices-pci0000:00-0000:00:1f.3-sound-card0.device                                                                loaded active plugged   Cannon Lake PCH cAVS                                                                                                               
sound.target                                                                                                          loaded active active    Sound Card                                                                                                                         
[olividir@HP ~]$ lspci |grep Audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
[olividir@HP ~]$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb4618000 irq 141
[olividir@HP ~]$ cat /proc/asound/devices
  2: [ 0- 0]: digital audio playback
  3: [ 0- 0]: digital audio capture
  4: [ 0- 3]: digital audio playback
  5: [ 0- 7]: digital audio playback
  6: [ 0- 8]: digital audio playback
  7: [ 0- 9]: digital audio playback
  8: [ 0-10]: digital audio playback
  9: [ 0- 0]: hardware dependent
 10: [ 0- 2]: hardware dependent
 11: [ 0]   : control
 33:        : timer
[olividir@HP ~]$ lspci -vv | grep HD
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller])
	DeviceName: Intel(R) UHD Graphics 630
	Subsystem: Hewlett-Packard Company UHD Graphics 630 (Mobile)
[olividir@HP ~]$ sudo journalctl -b0 | grep snd_hda
[sudo] password for olividir: 
apr 30 09:03:54 HP kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0:    inputs:
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
apr 30 09:03:54 HP kernel: snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[olividir@HP ~]$ aplay -lL
surround21
    2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC295 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Like I said, I am more than willing to help find a solution to this problem if someone wants to fix it in kernel 5.6, I can easily change kernels at boot.

Thanks in advanced and thank you for awesome OS :slight_smile:

P.S. Wasn't really sure where to put this thread, so I have it in Newbies Corner

Kernel development is not in scope for the Manjaro project:

  • Linus Torvalds is much smarter than anyone on the Manjaro project the one that is responsible for the Linux Kernel :grin:
  • The Manjaro team pulls the kernels from "upstream" and incorporates them into the Manjaro project without correcting bugs and sending them upwards (AFAIK, please correct me if I'm wrong)

so if you want to raise bugs in the kernel itself, go here first:

https://kernelnewbies.org

and then start contributing the the kernel itself.

Alternatively, download the 5.7 kernel which is in RC2 status and supported by the Manjaro project already.

:innocent:

Solution for me is to use kernel 5.4, just so that is clear.

Wooooh,,,, kernel 5.7,,,, isn't that a bit unstable? I only have one machine :slight_smile:

But thanks for the link, I will probably raise a bug there. I remember the dummy output popping up sometimes on 5.4 kernel when I switched from POP OS, but it has been polished out now.

BTW, what does RC2 status mean?

5.7 is in Release Candidate 3 status in the meantime, so out of Alpha (RC1), Out of beta (RC2), and nearly ready to go to the masses....

See above...

:innocent:

I also get dummy output on the sound in kernel 5.7,,,, and the internet connection is a bit wonky.... but else, seems to be fine :slight_smile:

Thanks for clearing the RC stuff out for me :smile:

1 Like

I think I am good on 5.4 :laughing: I suspect them to have this sound stuff sorted in a month or two on 5.6...... but 5.7 is a bit too wonky for my liking, being more of an "end user"

But I'll try to contribute to the kernel thingy.

1 Like

Sorry to not have been able to resolve your issue...

:sob:

It's fine, like you said, Manjaro pulls the kernels from upstream,,,,, and is there a "problem" when I already have a solution? :wink:

my post linked from OP did not suggest adding a GRUB parameter for v5.6 kernel

for a laptop with Cannon Point audio device and Intel SST DMIC array
support for internal microphone array kernel >5.4

suggestion to add boot parameter was quoted from an Arch wiki to get audio working on v5.4 kernel disabling the Intel SST DMIC allows the rest of the audio to function normally
at the time of that discussion the v5.5 kernel for sof-firmware support was not available in Manjaro stable repository
boot parameter was enough for a temporary workaround until new kernel was available

2 users have managed to get Sound Open Firmware working with some additional fixes from Arch wiki
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_7)#Audio

if you still want to help users for a solution suggest you get full ALSA diagnostic
boot from v5.6 kernel and check sof-firmware is installed
sudo alsa-info.sh --no-upload
attach the data to a full report of any problems
and post it to - https://github.com/thesofproject/sof/issues

1 Like

Sorry for saying the boot parameter was grub,,, was maybe a bit too fast on my toes.

Thanks for the information on where to post report.

1 Like

Sound works after updating BIOS on my machine.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by