• 陪伴互联网运营小白共同探索成长,与IT爱好者共享探索乐趣
  • 建站只为分享,欢迎在PC端文章面打赏支持
  • 使用Ctrl+D 可收藏本站

pve8-lxc音画直通HDMI VGA输出系列:声卡篇之无法识别暨PVE指定内核安装

好玩有趣 陆子方 1周前 (03-24) 33次浏览 0个评论 扫描二维码
文章目录[隐藏]

卡BUG

卡都识别不到,谈何绑定

root@pve:~# ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116,  1 Mar  6 09:18 seq
crw-rw---- 1 root audio 116, 33 Mar  6 09:18 timer

解决方式

又是漫长的探索时间。我在另一台设备上,是可以直接使用的,我使用了pve8.3的iso安装程序。但回到自己的J5005主板,不管是Debian12套PVE,还是直接使用pve8.3的iso安装程序都无效,一度各种怀疑人生。

我尝试过补充缺失的固件,但是太多了。Debian12在安装完成之后是可以识别到显卡的。

后面我看到国外论坛有提到报错,其中与内核有关。因此,我建议,如果遇到这种情况,不妨更换Linux内核(这里又要说了,能用就别瞎折腾,毛病都是折腾才有的)

pve内核更新

目前我看到最新的是6.11.11-1-pve(需要手动安装),默认是6.8.12-8-pve(测试了仍然无法识别我的声卡),
6.5.13-6(可以识别)。如果是采取Debian上安装pve的,直接指定大版本号,不要使用默认的

root@pve:~# 
# 安装新内核
apt install pve-kernel-6.5
Note, selecting 'proxmox-kernel-6.5' instead of 'pve-kernel-6.5'
proxmox-kernel-6.5 is already the newest version (6.5.13-6).

# 查看内核情况
root@pve:~# proxmox-boot-tool kernel list
Manually selected kernels:
None.

Automatically selected kernels:
6.11.11-1-pve
6.5.13-6-pve
6.8.12-8-pve

Pinned kernel:
6.5.13-6-pve

# 指定内核,这里可以看到要指定到具体的版本号
root@pve:~# proxmox-boot-tool kernel pin 6.5
E: no kernel image found in /boot for '6.5', not setting default.

Possible Proxmox kernel versions are:
6.11.11-1-pve
6.5.13-6-pve
6.8.12-8-pve
root@pve:~# proxmox-boot-tool kernel pin 6.5.13-6-pve
Setting '6.5.13-6-pve' as grub default entry and running update-grub.
Generating grub configuration file ...
done

# 更新
root@pve:~# proxmox-boot-tool refresh
Running hook script 'proxmox-auto-removal'..
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

报错内容

l@pve:~$ alsamixer
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory
snd_soc_skl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i91
5])
[   12.294368] snd_soc_skl 0000:00:0e.0: Direct firmware load for 3198-LENOVO-TC-M1T-4176-tplg.bin failed with error -2
[   12.294380] snd_soc_skl 0000:00:0e.0: tplg fw 3198-LENOVO-TC-M1T-4176-tplg.bin load failed with -2, trying alternative tplg name skl_hda_dsp_generic-tplg.bin
[   12.294717] snd_soc_skl 0000:00:0e.0: Direct firmware load for skl_hda_dsp_generic-tplg.bin failed with error -2
[   12.294723] snd_soc_skl 0000:00:0e.0: tplg skl_hda_dsp_generic-tplg.bin failed with -2, falling back to dfw_sst.bin
[   12.294952] snd_soc_skl 0000:00:0e.0: Direct firmware load for dfw_sst.bin failed with error -2
[   12.294959] snd_soc_skl 0000:00:0e.0: Fallback tplg fw dfw_sst.bin load failed with -2
[   12.294961] snd_soc_skl 0000:00:0e.0: Failed to init topology!
[   12.294963] snd_soc_skl 0000:00:0e.0: ASoC: error at snd_soc_component_probe on 0000:00:0e.0: -2

子方有料原创丨转载请注明原文链接
期待您的评论或捐赠,这是最好的鼓励和支持!
喜欢 (0)
[赞赏使我快乐]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到