我在我的 raspberry pi 4b 8gb ram 上对 ubuntu 21.04 进行了超频。我去了arm_freq=2100
和gpu_freq=750
和over_volt 6
;效果很好。我尝试了arm_freq=2200
和gpu_freq=800
使用相同的超压,但它没有启动。我将其调回第一个超频,甚至尝试完全关闭超频,或恢复到出厂设置,但它没有启动。怎么了?可以做些什么呢?问题是 config.txt 在没有我像这样编辑的情况下发生了变化。这似乎是计算机做的。它应该是这样的(出厂设置)
[pi4]
max_framebuffers=2
[all]
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel
# Enable the audio output, I2C and SPI interfaces on the GPIO header
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on
# Enable the KMS ("full" KMS) graphics overlay, and allocate 128Mb to the GPU
# memory. The full KMS overlay is required for X11 application support under
# wayland
dtoverlay=vc4-kms-v3d
gpu_mem=208
# Uncomment the following to enable the Raspberry Pi camera module firmware.
# Be warned that there *may* be incompatibilities with the "full" KMS overlay
#start_x=1
# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1
# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
#hdmi_drive=2
# If you have a CM4, uncomment the following line to enable the USB2 outputs
# on the IO board (assuming your CM4 is plugged into such a board)
#dtoverlay=dwc2,dr_mode=host
# Config settings specific to arm64
arm_64bit=1
dtoverlay=dwc2
实际情况是这样的。如你所见,config.txt 被自动修改了。
max_framebuffers=2
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel
# Enable the audio output, I2C and SPI interfaces on the GPIO header
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on
# Enable the KMS ("full" KMS) graphics overlay, and allocate 128Mb to the GPU
# memory. The full KMS overlay is required for X11 application support under
# wayland
dtoverlay=vc4-kms-v3d
gpu_mem=208
# Uncomment the following to enable the Raspberry Pi camera module firmware.
# Be warned that there *may* be incompatibilities with the "full" KMS overlay
#start_x=1
# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1
# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
#hdmi_drive=2
# If you have a CM4, uncomment the following line to enable the USB2 outputs
# on the IO board (assuming your CM4 is plugged into such a board)
#dtoverlay=dwc2,dr_mode=host
# Config settings specific to arm64
arm_64bit=1
dtoverlay=dwc2
我尝试添加[pi 4]
和[all]
行,但仍然无法启动。这似乎非常令人困惑,我完全搞不懂。
答案1
我遇到了类似的问题,尽管不同,因为我可以在删除超频设置后恢复系统。此外,我能够登录 tty 会话(尝试了几次 shift-ctrl-f2 - f4 + <return> 才能够访问会话),GUI 没有显示,尽管所有进程似乎都在正常运行 - 我没有检查系统日志。
使用 Pi4B 8GB RAM 上的 Ubuntu 21.10,我可以超频 CPU,但还不能超频 GPU(目前还不能)——似乎 Wayland 不喜欢这个参数变化。
您可以尝试重新安装一个新系统(以防 X/Wayland 配置损坏),然后尝试在没有 GPU 设置的情况下超频。