# 系统安装与体验
烧写系统
下载好系统烧写到SD卡。
上电体验
直接上电启动。
第一次启动时间有点久,可能和SD卡速度有关系,SD的速度和固态硬盘比起来还是差很多。
等待一段时间进入系统后,初步体验了一下系统,和Ubuntu几乎一样。
打开浏览器看看百度新闻。浏览器还是相当费资源的,总体而言刚打开页面有点卡顿,页面加载完后就比较流畅了。
本地编译测试
基于CMake
工程的baresip
测试一下本地编译速度。
编译依赖re
库
sudo apt-get install libssl-dev
git clone https://github.com/baresip/re
cd re
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
sudo cmake --install build
sudo ldconfig
由于启用了多线程编译,编译速度还是非常快的。但是最近链接阶段比较慢,估计和使用的SD卡有关系。
编译baresip
$ sudo apt install libpipewire-0.3-dev libopus-dev libasound2-dev
$ cmake -B build -DCMAKE_BUILD_TYPE=Release
$ cmake --build build -j
编译时,可以看到CPU满载
声卡
查看了一下声卡好像有点问题
➜ ~ wpctl status
PipeWire 'pipewire-0' [1.0.5, bruce@bruce-desktop, cookie:2092829671]
└─ Clients:
32. pipewire [1.0.5, bruce@bruce-desktop, pid:1516]
34. WirePlumber [1.0.5, bruce@bruce-desktop, pid:1514]
35. WirePlumber [export] [1.0.5, bruce@bruce-desktop, pid:1514]
64. wpctl [1.0.5, bruce@bruce-desktop, pid:1775]
Audio
├─ Devices:
│
├─ Sinks:
│ * 33. Dummy Output [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Video
├─ Devices:
│ 39. Linlon Video device [v4l2]
│ 40. Unknown device [v4l2]
│ 41. Unknown device [v4l2]
│ 42. Unknown device [v4l2]
│ 43. Unknown device [v4l2]
│ 44. Unknown device [v4l2]
│ 45. Unknown device [v4l2]
│ 46. Unknown device [v4l2]
│ 47. Unknown device [v4l2]
│ 48. Unknown device [v4l2]
│ 49. Unknown device [v4l2]
│ 50. Unknown device [v4l2]
│ 51. Unknown device [v4l2]
│ 52. Unknown device [v4l2]
│ 53. Unknown device [v4l2]
│ 54. Unknown device [v4l2]
│ 55. Unknown device [v4l2]
│ 56. Unknown device [v4l2]
│ 57. Unknown device [v4l2]
│ 58. Unknown device [v4l2]
│ 59. spacemit vivi [v4l2]
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
0. Audio/Sink alsa_output.platform-snd-card_1.stereo-fallback
➜ ~ pw-cli list-objects | grep "node.name"
node.name = "Dummy-Driver"
node.name = "Freewheel-Driver"
node.name = "auto_null"
pw-cli
也找不到声卡节点。但是内核启动时看到es8326
已经成功加载,但是aplay
和arecord
都识别不到声卡,有点奇怪。
[ 5.826030] ALSA device list:
[ 5.829040]
➜ ~ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
➜ ~ aplay -l
aplay: device_list:277: no soundcards found...
➜ ~ arecord -l
arecord: device_list:277: no soundcards found...
这样的话暂时没法用命令测试音频播放了,后面有空再看这个问题。