pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.36k stars 81 forks source link

Can't hear sound on laptop HP EliteBook 860 G9 #2619

Open JiSoft opened 1 year ago

JiSoft commented 1 year ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME): pipewire: Installed: 0.3.58-0pop1~1663260508~22.04~8fcf6e2 Candidate: 0.3.58-0pop1~1663260508~22.04~8fcf6e2 Version table: *** 0.3.58-0pop1~1663260508~22.04~8fcf6e2 1001 1001 http://apt.pop-os.org/release jammy/main amd64 Packages 100 /var/lib/dpkg/status 0.3.48-1ubuntu1 500 500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages pulseaudio: Installed: (none) Candidate: 1:15.99.1+dfsg1-1ubuntu1 Version table: 1:15.99.1+dfsg1-1ubuntu1 500 500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k5.19.0-76051900-generic.

Issue/Bug Description: After fresh installation PopOS on new laptop HP EliteBook 860 G9 I can't hear sound both at speakers and at headphones. Seems everything should work

I have been tried to check sound for other Ubuntu-like distros. Sound plays perfect both Linux Mint and Ubuntu 22.04 Live USB Stick and both detect the same audio card as PopOS detects to:

lspci -v|grep Audio
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)

I could say there are some differences :

I guess the problem may be in the kernel. I'm really interesting to try PopOS so help me to fix this problem, please. In general this laptop is certified by Ubuntu

Steps to reproduce (if you know): Install the latest version PopOS on laptop HP EliteBook 860 G9

Expected behavior: Sound should be heart.

Other Notes:

JiSoft commented 1 year ago

I'm trying to downgrade the kernel to 5.15 For sad, I can't find another kernel version in PopOS repos It exists only in Ubuntu repo and there it has grub packages as dependencies which are not in use in PopOS. It would be cool to change kernel in easy way in PopOS.

leviport commented 1 year ago

It would be cool to change kernel in easy way in PopOS.

Use Mainline, it's much easier: https://github.com/bkw777/mainline

jacobgkau commented 1 year ago

Is this still an issue?

piexil commented 1 year ago

Ths happens on my elitebook 845 G9. Always has a kernel panic in dmesg on first sound usage

[   24.054739] BUG: kernel NULL pointer dereference, address: 0000000000000000
[   24.054747] #PF: supervisor instruction fetch in kernel mode
[   24.054749] #PF: error_code(0x0010) - not-present page
[   24.054751] PGD 0 P4D 0 
[   24.054755] Oops: 0010 [#1] PREEMPT SMP NOPTI
[   24.054759] CPU: 13 PID: 2018 Comm: wireplumber Tainted: G           OE      6.1.11-76060111-generic #202302091138~1675975749~22.04~f771a7f
[   24.054762] Hardware name: HP HP EliteBook 845 14 inch G9 Notebook PC/8990, BIOS U82 Ver. 01.04.01 01/12/2023
[   24.054764] RIP: 0010:0x0
[   24.054772] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[   24.054774] RSP: 0018:ffffa28187787a60 EFLAGS: 00010282
[   24.054777] RAX: 0000000000000000 RBX: ffff8c58e8339848 RCX: 0000000000000000
[   24.054779] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8c58c0ff5c20
[   24.054781] RBP: ffffa28187787a80 R08: 0000000000000000 R09: 0000000000000000
[   24.054782] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8c58e8339938
[   24.054784] R13: 0000000000000000 R14: ffff8c592790c008 R15: ffff8c58e2d2ec00
[   24.054786] FS:  00007fe24a04c800(0000) GS:ffff8c67deb40000(0000) knlGS:0000000000000000
[   24.054788] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   24.054790] CR2: ffffffffffffffd6 CR3: 0000000115e76000 CR4: 0000000000750ee0
[   24.054792] PKRU: 55555554
[   24.054793] Call Trace:
[   24.054795]  <TASK>
[   24.054799]  comp_generic_playback_hook+0x3b/0x60 [snd_hda_codec_realtek]
[   24.054813]  playback_pcm_open+0x84/0xc0 [snd_hda_codec_generic]
[   24.054823]  azx_pcm_open+0x23e/0x3e0 [snd_hda_codec]
[   24.054839]  snd_pcm_open_substream+0x90/0x170 [snd_pcm]
[   24.054853]  ? _raw_spin_lock_irqsave+0xe/0x20
[   24.054860]  snd_pcm_open.part.0+0xe1/0x210 [snd_pcm]
[   24.054868]  ? wake_up_q+0xa0/0xa0
[   24.054873]  snd_pcm_playback_open+0x56/0x90 [snd_pcm]
[   24.054885]  snd_open+0xbc/0x1f0 [snd]
[   24.054893]  chrdev_open+0xc7/0x250
[   24.054898]  ? __unregister_chrdev+0x60/0x60
[   24.054901]  do_dentry_open+0x16a/0x450
[   24.054905]  vfs_open+0x2d/0x40
[   24.054908]  do_open+0x223/0x490
[   24.054911]  path_openat+0x11d/0x2a0
[   24.054913]  ? snd_pcm_control_ioctl+0x108/0x2a0 [snd_pcm]
[   24.054921]  do_filp_open+0xb2/0x160
[   24.054923]  ? __check_object_size+0x23/0x30
[   24.054926]  ? alloc_fd+0xad/0x180
[   24.054930]  do_sys_openat2+0xb3/0x180
[   24.054933]  __x64_sys_openat+0x55/0xa0
[   24.054934]  do_syscall_64+0x5c/0x90
[   24.054939]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[   24.054943] RIP: 0033:0x7fe249f14764
[   24.054945] Code: 24 20 eb 8f 66 90 44 89 54 24 0c e8 26 c3 f7 ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 68 c3 f7 ff 8b 44
[   24.054948] RSP: 002b:00007ffeef79c990 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
[   24.054950] RAX: ffffffffffffffda RBX: 0000000000080802 RCX: 00007fe249f14764
[   24.054952] RDX: 0000000000080802 RSI: 00007ffeef79ca30 RDI: 00000000ffffff9c
[   24.054953] RBP: 00007ffeef79ca30 R08: 0000000000000000 R09: 00007ffeef79c7a7
[   24.054954] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000080802
[   24.054956] R13: 00007fe2464a7eb2 R14: 00007ffeef79ca30 R15: 0000000081204101
[   24.054958]  </TASK>
[   24.054959] Modules linked in: bnep snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 btusb btrtl btbcm btintel xt_tcpudp btmtk nft_compat bluetooth ecdh_generic uvcvideo ecc videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 qrtr_mhi nf_tables nfnetlink bridge stp llc overlay joydev binfmt_misc snd_soc_dmic snd_acp6x_pdm_dma snd_soc_acp6x_mach nls_iso8859_1 snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_ctl_led qrtr snd_sof snd_hda_codec_realtek snd_sof_utils snd_hda_codec_generic ath11k_pci snd_soc_core ledtrig_audio ath11k snd_compress ac97_bus snd_hda_codec_hdmi snd_pcm_dmaengine intel_rapl_msr snd_pci_ps snd_rpl_pci_acp6x intel_rapl_common qmi_helpers snd_acp_pci snd_hda_intel edac_mce_amd snd_pci_acp6x snd_hda_scodec_cs35l41_i2c(+) snd_intel_dspcfg snd_seq_midi snd_intel_sdw_acpi snd_hda_scodec_cs35l41 snd_seq_midi_event
[   24.055012]  snd_pci_acp5x mac80211 kvm_amd snd_hda_codec snd_rn_pci_acp3x input_leds snd_hda_core snd_rawmidi snd_acp_config snd_hwdep snd_hda_cs_dsp_ctls kvm cfg80211 snd_soc_acpi cs_dsp hp_wmi snd_pcm hid_multitouch ccp snd_seq sparse_keymap k10temp wmi_bmof snd_soc_cs35l41_lib serio_raw bfq snd_pci_acp3x rapl libarc4 mhi snd_seq_device ucsi_acpi snd_timer typec_ucsi typec snd soundcore amd_pmf mac_hid platform_profile serial_multi_instantiate amd_pmc acpi_tad wireless_hotkey sch_fq_codel kyber_iosched ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp parport ramoops reed_solomon pstore_blk pstore_zone efi_pstore zstd zstd_compress zram ip_tables x_tables autofs4 dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear system76_io(OE) system76_acpi(OE) amdgpu iommu_v2 gpu_sched drm_buddy i2c_algo_bit drm_ttm_helper ttm drm_display_helper cec crct10dif_pclmul rc_core crc32_pclmul polyval_clmulni
[   24.055078]  polyval_generic ghash_clmulni_intel drm_kms_helper sha512_ssse3 nvme aesni_intel syscopyarea sysfillrect nvme_core sysimgblt hid_generic crypto_simd fb_sys_fops cryptd drm thunderbolt i2c_piix4 xhci_pci amd_sfh xhci_pci_renesas nvme_common video i2c_hid_acpi i2c_hid wmi hid
[   24.055100] CR2: 0000000000000000
[   24.055102] ---[ end trace 0000000000000000 ]---
[   24.134234] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   24.223590] RIP: 0010:0x0
[   24.223617] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[   24.223620] RSP: 0018:ffffa28187787a60 EFLAGS: 00010282
[   24.223626] RAX: 0000000000000000 RBX: ffff8c58e8339848 RCX: 0000000000000000
[   24.223630] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8c58c0ff5c20
[   24.223633] RBP: ffffa28187787a80 R08: 0000000000000000 R09: 0000000000000000
[   24.223634] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8c58e8339938
[   24.223636] R13: 0000000000000000 R14: ffff8c592790c008 R15: ffff8c58e2d2ec00
[   24.223638] FS:  00007fe24a04c800(0000) GS:ffff8c67deb40000(0000) knlGS:0000000000000000
[   24.223640] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   24.223642] CR2: ffffffffffffffd6 CR3: 0000000115e76000 CR4: 0000000000750ee0
[   24.223644] PKRU: 55555554