先说一下我的配置:3600x+微星迫击炮b450 max
- 需要打开主板的Resize BAR和Above 4G功能,否则GPU显存不能被正确识别;
- 在某些不支持PCIe Gen5的主板上,需要把PCIe速率由auto设置为PCIe Gen3速率;
- 在 bios 关闭 secureboot,否则在装ubuntu显卡驱动的时候会卡住
Building for 5.15.0-78-generic
Building initial module for 5.15.0-78-generic
sudo apt install lightdm unity-greeter
选择 lightdm
5.
sudo apt install '/home/flutter/下载/musa_2.1.0-Ubuntu_amd64.deb'
查看一下
flutter@flutter-MS-7B89:~/桌面$ mthreads-gmi
Sun Dec 3 12:37:44 2023
---------------------------------------------------------------
mthreads-gmi:1.6.0 Driver Version:2.1.0
---------------------------------------------------------------
ID Name |PCIe |%GPU Mem
Device Type |Pcie Lane Width |Temp MPC Capable
+-------------------------------------------------------------+
0 MTT S80 |00000000:01:00.0 |0% 751MiB(16384MiB)
Physical |16x(16x) |55C YES
---------------------------------------------------------------
---------------------------------------------------------------
Processes:
ID PID Process name GPU Memory
Usage
+-------------------------------------------------------------+
0 9690 ...152365,1462312090517129915,262144 189MiB
0 3089 ...yin/files/bin/sogoupinyin-service <1MiB
0 4627 N/A 92MiB
0 3740 ...es=SpareRendererForSitePerProcess 84MiB
0 3000 /usr/bin/gnome-shell 284MiB
0 1690 /usr/lib/xorg/Xorg 94MiB
---------------------------------------------------------------