音声が弱い、マイクがうるさい

音声が弱い、マイクがうるさい

Windows 11 から Ubuntu 22.04 に移行しました。Thinkpad E15 Gen 4 AMD を使用しています。Windows では、ノート PC にドルビー サウンドが搭載されていたため、スピーカーとマイクの両方が素晴らしかったです。Ubuntu に移行してから、品質が低下しました。以前は、Windows でサウンド ドライバーの更新を Realtek として表示していましたが、Ubuntu の設定では Family 17h Audio controllers と呼ばれています。

使ってみaplay -lALC257のでこれを試してみたhttps://devicetests.com/install-realtek-audio-drivers-ubuntuしかし、実行中に次のエラーが発生しますmake

make -C /lib/modules/6.2.0-31-generic/build SUBDIRS=/home/user/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory '/usr/src/linux-headers-6.2.0-31-generic'
  SYNC    include/config/auto.conf.cmd
  LEX     scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[2]: *** [Makefile:711: syncconfig] Error 2
Makefile:789: include/config/auto.conf.cmd: No such file or directory
make[1]: *** [Makefile:812: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-31-generic'
make: *** [Makefile:167: compile] Error 2

ここで何をすべきか誰か知っていますか?

関連情報