Зависание с Ubuntu 20.04 64 Bit на Raspberry Pi
Я установил Ubuntu 20.04 64 Bit на свой Raspberry Pi 4 (с 2 ГБ ОЗУ). Я также установил lubuntu-desktop.
Система зависает (даже курсор мыши больше не работает) через некоторое время (несколько минут (до 30 минут)), особенно когда есть некоторая нагрузка на систему (например, установка пакетов требует массивных компиляций (например, python3 -m pip install pandas). Но я также видел эффект без большой нагрузки (но спустя более длительное время).
Я не вижу предупреждения о пониженном напряжении или температуре на экране
1 ответ
не уверен, что это решит проблему, но я думаю, что у меня была такая же проблема, 30 минут назад
я узнал, что 20.04LTS lubuntu-desktop по умолчанию имеет эту опцию
зайдите в настройки, нажмите на питание, по умолчанию опция автоматической приостановки включена, вы можете отключить ее
это исправило мои проблемы, (через некоторое время мой рабочий стол больше не реагировал, только терминал работал по ssh)
Ubuntu Desktop 21.10 freezes when interacting with GUI (desktop environment) on Raspberry Pi 400
I have created SD card with Ubuntu Desktop 21.10 using Pi Imager. It boots fine but when I interact with desktop environment, e.g. re-arrange the icons, the desktop environment freezes. When it’s frozen, I can still ssh into it from another device on the same network and use anything that does not require graphical environment (e.g. I can use htop to see that the system is actually running as usual and the issue is with GUI).
Initially, I used the default DE this Ubuntu image comes with (Gnome shell) and when it got frozen, I was able to ssh into Pi and kill gnome-shell process which got me back to log in screen. I was also able to change some display-related settings (resolution, scaling, etc.) without it freezing but eventually some interaction with the environment is always making it unresponsive.
I figured that maybe a different desktop environment would solve the issue so I installed MATE desktop through tasksel . After re-boot, I started using MATE, but it was even worse: I wasn’t even able to change screen resolution, because when I clicked on the menu and then "Preferences", it froze. In this case I was not able to locate the process which I could kill to restore the environment without a reboot.
In both cases, I can use GUI apps (such as Chromium or kdenlive video editor) as long as I launch them from terminal (in the case of MATE, I was able to right-click on the desktop and select "open in terminal", in the case of the default Gnome shell, I was even able to launch terminal from the usual menu and "Add to favourites").
It’s challenging to determine what exactly triggers the freeze because when I use GUI applications launched via terminal, I will eventually click something that freezes everything.
How can I troubleshoot what part of the desktop environment causes the issue (so I can eventually fix it)? Also, since with the default image it’s gnome-shell that seems to be freezing, what are some good alternatives proven to work on Pi 4 (I am used to Unity on Ubuntu and also Gnome, but I can switch to anything to have Ubuntu working)?
Почему подвисает ubuntu на raspberry
I’m having an issue with Ubuntu 20.04 64 bit freezing on my 8gb Raspberry Pi 4. I’ve tried switching to another SD card and a fresh install, and it occurs. The base install is fine, but when I run the updates, then the freezes start happening. If I walk away and the screen blanks, I hit the keyboard or move the mouse and the screen restores, and then that’s it, all control ends. I just get garbage characters in syslog, so clearly it’s a kernel fault with the latest Ubuntu release, and my guess is that it’s linked to sleep mode. I’ve tried disabling sleep, but it happens anyways.
Is anyone experiencing this issue? I need to use a 64 bit OS, so Raspbian is no good.
Re: Raspberry Pi 4b — Ubuntu 20.04 64bit Freezing
Re: Raspberry Pi 4b — Ubuntu 20.04 64bit Freezing
Switch back to the old kernel. I’ve described the procedure somewhere here.
Re: Raspberry Pi 4b — Ubuntu 20.04 64bit Freezing
Try the Loboris version of 20.04 — Mine has run fine for months — on a newer kernel running Pi-hole — no lockups at all.
It might be that your power supply is not large enough — the 8gb pi needs well over 3 amps at 5volts.
Re: Raspberry Pi 4b — Ubuntu 20.04 64bit Freezing
Yes, use this if you want more problems like a kernel panic, etc. and issues the maintainer will NOT fix.
Thanks but no thanks.
OP; search for «rpi-image-builder» click the first link on Google’s results, download Devuan, Ubuntu or Debian ARM64 and you’ll be happy.
You can use mainline, too.