切换到 AMD GPU 后互联网和声音无法正常工作

切换到 AMD GPU 后互联网和声音无法正常工作
  • 发行版:Ubuntu 22.04.2 LTS(无双启动)
  • 内核:5.19.0-41-generic
  • 主板:MSI B365M Pro-VDH
  • 处理器:英特尔 i3-9100F
  • 旧 GPU :NVIDIA MSI GTX 1650 LP OC
  • 新的 GPU:AMD Sapphire Radeon RX 6600
  • 无线网络:英特尔AX200

安装新 GPU 后(从 NVIDIA 切换到 AMD)

  • wifi 坏了(解决了)
  • 以太网并不总是正常工作(解决了)
  • HDMI 没有声音(解决了)
  • 白噪音、呜呜声,前后插孔无声音(解决了)

无线上网

  • 清除了所有 nvidia。新 GPU 没有效果。重新安装了 nvidia 驱动程序,但旧 GPU 上的互联网也出现了问题。

遵循 chili555 的建议:

  • 请参见下文sudo dmesg | grep iwl、、和的结果。sudo dmesg | grep wlpiwconfigrfkill list allcat /etc/modprobe.d/iwlwifi.conf
  • sudo iwlist scan看到网络wlp5s0
  • sudo dkms status。 没有结果。
  • sudo modprobe -r iwlwifi && sudo modprobe iwlwifireboot解决了 wifi 问题

以太网

  • 插入以太网电缆。有时能用,有时不能用(使用新旧 GPU)。当无法连接时,参数中列出的速度为 10 Mb/s,而不是 100 Mb/s。
  • sudo lshw -c network以太网接口驱动程序的配置中,r8169但固件rtl8168h。按照答案这个问题(特伦斯说)。这并没有解决问题。
  • 该解决方案是最基本的。我更换了电缆,现在它马上就能正常工作了。我只是笨而已。

HDMI 声音

诊断:

  • 使用新的 gpu,我在 hmdi 上获得了虚拟输出,而使用旧的 gpu 它可以工作。
  • 启动时我有:
hdaudio hdaudioC1D0: no AFG or MFG node found
snd_hda_intel 0000:03:00.1: no codec initialized
  • 回滚至内核 5.19.0-32这个建议还有这个解决了这个问题。
  • 按照 chili555 的建议,23.04 的实时会话也运行良好,所以这是一个内核问题。

杰克斯声音

  • 前后插孔输出有白噪声和呜呜声,没有音频。当我插入耳机时,Ubuntu 检测到了(更改音量时显示)。pulseaudio返回:
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
  • 我尝试更新主板 BIOS,全新安装 Ubuntu,并尝试了所有能找到的修复方法alsa-basepulseaudio问题。但无果。
  • chili555 建议是硬件问题。我尝试更换主板,问题确实消失了。

结论

仍然不明白为什么更换 GPU 会影响 wifi,而且我可能在某个时候损坏了与音频相关的某些东西。

谢谢 chili555!


信息

sudo dmesg | grep iwl

[    3.184945] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
[    3.191765] iwlwifi 0000:05:00.0: api flags index 2 larger than supported by driver
[    3.191774] iwlwifi 0000:05:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[    3.192250] iwlwifi 0000:05:00.0: loaded firmware version 72.daa05125.0 cc-a0-72.ucode op_mode iwlmvm
[    3.319014] iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[    4.177073] iwlwifi 0000:05:00.0: Detected RF HR B3, rfid=0x10a100
[    4.264412] iwlwifi 0000:05:00.0: base HW address: 80:38:fb:8d:14:2c
[    4.286907] iwlwifi 0000:05:00.0 wlp5s0: renamed from wlan0

sudo dmesg | grep iwl当以太网不工作时:

[    3.109771] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
[    3.114398] iwlwifi 0000:05:00.0: api flags index 2 larger than supported by driver
[    3.114411] iwlwifi 0000:05:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[    3.114816] iwlwifi 0000:05:00.0: loaded firmware version 72.daa05125.0 cc-a0-72.ucode op_mode iwlmvm
[    4.072973] iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[    5.099503] iwlwifi 0000:05:00.0: SecBoot CPU1 Status: 0x583b, CPU2 Status: 0x3
[    5.099530] iwlwifi 0000:05:00.0: WFPM_LMAC1_PD_NOTIFICATION: 0x0
[    5.099542] iwlwifi 0000:05:00.0: HPM_SECONDARY_DEVICE_STATE: 0x42
[    5.099554] iwlwifi 0000:05:00.0: WFPM_MAC_OTP_CFG7_ADDR: 0x0
[    5.099565] iwlwifi 0000:05:00.0: WFPM_MAC_OTP_CFG7_DATA: 0x0
[    5.099576] iwlwifi 0000:05:00.0: UMAC PC: 0xc0081da8
[    5.099587] iwlwifi 0000:05:00.0: LMAC PC: 0x4f23fe
[    5.099590] iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    5.100693] iwlwifi 0000:05:00.0: Start IWL Error Log Dump:
[    5.100695] iwlwifi 0000:05:00.0: Transport status: 0x00000042, valid: 6
[    5.100698] iwlwifi 0000:05:00.0: Loaded firmware version: 72.daa05125.0 cc-a0-72.ucode
[    5.100701] iwlwifi 0000:05:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[    5.100704] iwlwifi 0000:05:00.0: 0x002022F0 | trm_hw_status0
[    5.100706] iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status1
[    5.100708] iwlwifi 0000:05:00.0: 0x004FBE16 | branchlink2
[    5.100710] iwlwifi 0000:05:00.0: 0x004F23FE | interruptlink1
[    5.100712] iwlwifi 0000:05:00.0: 0x004F23FE | interruptlink2
[    5.100714] iwlwifi 0000:05:00.0: 0x004FAAD0 | data1
[    5.100716] iwlwifi 0000:05:00.0: 0x01000000 | data2
[    5.100718] iwlwifi 0000:05:00.0: 0x00000000 | data3
[    5.100721] iwlwifi 0000:05:00.0: 0x00000000 | beacon time
[    5.100723] iwlwifi 0000:05:00.0: 0x000F0BB3 | tsf low
[    5.100725] iwlwifi 0000:05:00.0: 0x00000000 | tsf hi
[    5.100727] iwlwifi 0000:05:00.0: 0x00000000 | time gp1
[    5.100729] iwlwifi 0000:05:00.0: 0x000F65AD | time gp2
[    5.100731] iwlwifi 0000:05:00.0: 0x00000001 | uCode revision type
[    5.100734] iwlwifi 0000:05:00.0: 0x00000048 | uCode version major
[    5.100736] iwlwifi 0000:05:00.0: 0xDAA05125 | uCode version minor
[    5.100738] iwlwifi 0000:05:00.0: 0x00000340 | hw version
[    5.100740] iwlwifi 0000:05:00.0: 0x00C89000 | board version
[    5.100743] iwlwifi 0000:05:00.0: 0x8003FC12 | hcmd
[    5.100745] iwlwifi 0000:05:00.0: 0x00020000 | isr0
[    5.100747] iwlwifi 0000:05:00.0: 0x00000000 | isr1
[    5.100749] iwlwifi 0000:05:00.0: 0x08F00002 | isr2
[    5.100751] iwlwifi 0000:05:00.0: 0x00C0000C | isr3
[    5.100753] iwlwifi 0000:05:00.0: 0x00000000 | isr4
[    5.100755] iwlwifi 0000:05:00.0: 0x00000000 | last cmd Id
[    5.100757] iwlwifi 0000:05:00.0: 0x004FAAD0 | wait_event
[    5.100759] iwlwifi 0000:05:00.0: 0x00000000 | l2p_control
[    5.100761] iwlwifi 0000:05:00.0: 0x00000000 | l2p_duration
[    5.100763] iwlwifi 0000:05:00.0: 0x00000000 | l2p_mhvalid
[    5.100765] iwlwifi 0000:05:00.0: 0x00000000 | l2p_addr_match
[    5.100768] iwlwifi 0000:05:00.0: 0x00000009 | lmpm_pmg_sel
[    5.100770] iwlwifi 0000:05:00.0: 0x00000000 | timestamp
[    5.100772] iwlwifi 0000:05:00.0: 0x0000F820 | flow_handler
[    5.100813] iwlwifi 0000:05:00.0: Start IWL Error Log Dump:
[    5.100815] iwlwifi 0000:05:00.0: Transport status: 0x00000042, valid: 7
[    5.100818] iwlwifi 0000:05:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[    5.100821] iwlwifi 0000:05:00.0: 0x00000000 | umac branchlink1
[    5.100823] iwlwifi 0000:05:00.0: 0x80455E3C | umac branchlink2
[    5.100825] iwlwifi 0000:05:00.0: 0x80472146 | umac interruptlink1
[    5.100828] iwlwifi 0000:05:00.0: 0xC008155C | umac interruptlink2
[    5.100830] iwlwifi 0000:05:00.0: 0x01000000 | umac data1
[    5.100832] iwlwifi 0000:05:00.0: 0xC008155C | umac data2
[    5.100834] iwlwifi 0000:05:00.0: 0x00000000 | umac data3
[    5.100837] iwlwifi 0000:05:00.0: 0x00000048 | umac major
[    5.100839] iwlwifi 0000:05:00.0: 0xDAA05125 | umac minor
[    5.100841] iwlwifi 0000:05:00.0: 0x000F65AA | frame pointer
[    5.100843] iwlwifi 0000:05:00.0: 0xC0887F0C | stack pointer
[    5.100846] iwlwifi 0000:05:00.0: 0x00000000 | last host cmd
[    5.100848] iwlwifi 0000:05:00.0: 0x00000004 | isr status reg
[    5.100859] iwlwifi 0000:05:00.0: IML/ROM dump:
[    5.100861] iwlwifi 0000:05:00.0: 0x00000003 | IML/ROM error/state
[    5.100873] iwlwifi 0000:05:00.0: 0x0000583B | IML/ROM data1
[    5.100884] iwlwifi 0000:05:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    5.100892] iwlwifi 0000:05:00.0: Fseq Registers:
[    5.100896] iwlwifi 0000:05:00.0: 0x60000041 | FSEQ_ERROR_CODE
[    5.100900] iwlwifi 0000:05:00.0: 0x00290021 | FSEQ_TOP_INIT_VERSION
[    5.100905] iwlwifi 0000:05:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[    5.100910] iwlwifi 0000:05:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[    5.100914] iwlwifi 0000:05:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[    5.100919] iwlwifi 0000:05:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[    5.100923] iwlwifi 0000:05:00.0: 0x00100530 | FSEQ_CNVI_ID
[    5.100928] iwlwifi 0000:05:00.0: 0x00000532 | FSEQ_CNVR_ID
[    5.100932] iwlwifi 0000:05:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[    5.100939] iwlwifi 0000:05:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[    5.100946] iwlwifi 0000:05:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    5.100953] iwlwifi 0000:05:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    5.100957] iwlwifi 0000:05:00.0: Failed to start RT ucode: -110
[    5.100960] iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    6.395198] iwlwifi 0000:05:00.0: Failed to run INIT ucode: -110
[    6.413244] iwlwifi 0000:05:00.0: retry init count 0
[    6.416688] iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[    6.547744] iwlwifi 0000:05:00.0: Detected RF HR B3, rfid=0x10a100
[    6.613996] iwlwifi 0000:05:00.0: base HW address: 80:38:fb:8d:14:2c
[    6.893704] iwlwifi 0000:05:00.0 wlp5s0: renamed from wlan0

sudo dmesg | grep wlp

[    4.286907] iwlwifi 0000:05:00.0 wlp5s0: renamed from wlan0

iwconfig

lo        no wireless extensions.

enp4s0    no wireless extensions.

wlp5s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=-2147483648 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

rfkill list all

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

cat /etc/modprobe.d/iwlwifi.conf

# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system.  When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

答案1

特别感谢 chili555:

  • sudo modprobe -r iwlwifi && sudo modprobe iwlwifi另外还reboot解决了 wifi 问题。
  • 以太网问题是一个基本电缆问题。
  • HDMI 声音问题是一个内核问题。通过回滚到内核 5.19.0-32 或更新到 Ubuntu 23.04 解决了
  • 插孔声音是主板问题。必须更换主板。

相关内容