Repeater-zone.ru

ПК Репитер
1 просмотров
Рейтинг статьи
1 звезда2 звезды3 звезды4 звезды5 звезд
Загрузка...

MyPaint 1.2.1.1 скачать бесплатно

ODROID

Arch Linux is a lightweight and flexible Linux distribution that tries to Keep It Simple but installing it can be daunting for many. So, I worked on a shell script to generate disk images out of ArchLinux tar files (more details about the ArchLinux Disk Image Generator on Github). To Arch Linux’s favor the system updates are rolling so your software will always be up to date.

  • GNOME Desktop Environment using Mali drivers or Panfrost drivers (depends on downloaded image).
  • Linux 5.8.x kernel maintained by @tobetter and other people with audio support or 5.10.x Kernel on the panfrost image with HC4 support.
  • U-Boot package with hooks to update boot.ini automatically if kernel is changed to non mainline.
  • Mali GPU Kernel Driver or newer mesa from git with panfrost support on the panfrost image.
  • Binary Mali Wayland driver for Hardware Acceleration on Mali image.
  • Bluetooth
  • Networking with NetworkManager
  • Pre-configured cpupower with known working settings.
  • Yay AUR helper.
  • Pamac software center.
  • Use of Arc desktop theme and Papirus icon theme by default.
  • SSH Enabled.
  • Bigger and more readable tty font.
  • Installed archlinuxdroid-repo for easier kernel and custom package upgrades.
  • Firefox with wayland support enabled. (see /etc/profile.d/)
  • Realtime privileges enabled for alarm user.
  • A nice space.jpg wallpaper!

Image

Image

The process of burning the image into a SD or EMMC card should be the same as with other images and is well documented in other places so I will not write about that.

Login Credentials:
username: alarm
password: alarm

Administration:
username: root
password: root

Don’t forget to change the default password for added security.

After booting to the login manager wait some seconds because the system will grow the partition, setup locales, setup the boot partition on /etc/fstab and reboot.

The system automatically turns off

GNOME is set to sleep the device after a specified amount of inactivity, to prevent this disable the feature from the gnome control center / settings.

Panfrost Image: Graphical glitches

It seems that on the bifrost gpu (G31) shipped on the C4 panfrost isn’t too stable yet (in comparison to the N2+). You could try increasing the minimum gpu clock speed as detailed here viewtopic.php?p=314939#p314939 or here viewtopic.php?p=315257#p315257.

Mali drivers image
For my surprise the kodi-wayland package works on the mali image (you can install it from my repository by running sudo pacman -S kodi-wayland and don’t forget to also install the shairplay package for it to work)! I tested the video playback by installing the Twitch addon and the stream rendered just fine

Читать еще:  Как написать обращение в службу поддержки Facebook

Image

Panfrost based image

OpenArena — sudo pacman -S openarena
Cendric — sudo pacman -S cendric-git
SuperTux — sudo pacman -S supertux
MineTest — sudo pacman -S minetest
teeworlds — sudo pacman -S teeworlds
supertuxkart — sudo pacman -S supertuxkart

Video

Kodi with video acceleration.
MPV with video acceleration.

For details on how the Mali drivers integration work check the Archlinux: Wayland GPU Acceleration Guide, which also includes a list of (maybe not up to date) tested wayland desktop environments and how to set it up.

Improving System Performance

If you want better performance try running sudo cpupower frequency-set -g performance from the terminal, and to permanently set the CPU governor to performance open /etc/default/cpupower and change the line that reads:

Then you can just run sudo systemctl restart cpupower to apply the changes immediately.

Other Images I have Worked on

Date — 30/12/2020 (panfrost image)
* A more lite-weight gnome install by using just the minimal amount of packages required to get gnome running.
* Swapped nautilus with pcmanfm-gtk3 to reduce the amount of required dependencies.
* Disabled suspend on gnome by default to prevent issues for users without a physical power button.
* Disabled search services on gnome for better performance.
* Changed default color theme of gnome-terminal to more readable one.
* Added CTRL + ALT + T keyboard shortcut to launch the terminal.
* Improved initial setup script to not require a system reboot, so the system doesn’t reboots anymore after reaching login manager.
* Recent build of mesa-arm-git which seems to have fixed some rendering issues on supertuxkart and have better performance.
* Updated pamac package which now includes hooks to fix appstream xml files.
* Default /boot/boot.ini now has the bootlabel set to «ArchLinux GNOME Lite» by the image generator.
* Enabled the dhcpcd systemd service.
* Latest software updates.

Date — 21/12/2020 (panfrost image)
* Use 5.10 kernel with panfrost patches from tobetter linux branch in order to also properly support the hc4.
* Includes recently build mesa from git with panfrost support and automated builds are automatically fetched from the pamac update manager.
* Added hc4 enabled uboot-odroid-c4 package.
* Use uuid on /boot/boot.ini and /etc/fstab instead of devices names to prevent possible boot issues.
* Latest software updates.

Date — 23/10/2020
* First release

Panfrost image (supports both C4 and HC4):
Note: Panfrost Bifrost support is still under heavy development so bugs are expected.
https://mega.nz/file/WFlAFRYZ#qznp4Kjn7 . Ikm1QAbA2o

Читать еще:  Как найти свой комментарий на YouTube

Pre-built PKGBUILDs repository from my GitHub repo
http://archlinuxdroid.tk/

Re: Archlinux: GNOME Image for Odroid C4

  • Quote

Post by lda4526 » Mon Oct 26, 2020 12:29 am

Re: Archlinux: GNOME Image for Odroid C4

  • Quote

Post by jgmdev » Mon Oct 26, 2020 3:17 am

Re: Archlinux: GNOME Image for Odroid C4

  • Quote

Post by tobetter » Sun Nov 01, 2020 4:21 am

@jgmdev, Since @superpowter77 had tried with no luck to boot the image from ODROID-HC4, I also tried the same and found a couple of places to fix.
viewtopic.php?p=309896#p309896

1. A couple of bugs in the Petitboot, there was a bug with an OS image that uses root=/dev/mmcblk* in the bootargs. This error happens on ODROID-HC4 and it’s been fixed.
2. Suggestion to fix in boot.ini.
1) Use root=UUID=* instead of root=/dev
2) Use the symbol ‘variant’ in the line to load the device tree. For example, use meson64_odroid$.dtb instead of meson64_odroidc4.dtb. The symbol ‘variant’ will set with the right device name by Hardkernel’s stock U-boot (v2015.01) and the Petitboot.
3) Add setenv bootlabel «Arch Linux Gnome Desktop» to the boot.ini, this will let user see in the boot entry of the Petitboot.
3. I cannot see SATA storages boot from the image. The kernel version says it’s 5.8.16 but not able to find the right version in yoru github repository. I assume that kernel config is not fully updated to have SATA storage support. If you share the branch what you are going to release soon, I will the the same.

The fixed Petitboot will be uploaded in 1-2 days.

Thank you for your efforts.

Re: Archlinux: GNOME Image for Odroid C4

  • Quote

Post by jgmdev » Sun Nov 01, 2020 9:44 am

Maybe the issue is also related with disabling pci support from the kernel.

Re: Archlinux: GNOME Image for Odroid C4

  • Quote

Post by superpowter77 » Sun Nov 01, 2020 11:31 am

After newest updated Petiboot, HC4 is reaching Archlinux login screen. I tried 5 times and it worked 5 out of 5. However, once at login screen, mouse and keyboard remains unresponsive, meaning there’s no way to control mouse cursor or keyboard. I tried also with different USB hub controllers without success, I even tried wired keyboards, mouse, trackballs, mini air mouse and different sets of Microsoft and Logitech Wireless keyboard/mouse combos without any luck. We’re getting closer.

Wasn’t possible to Ping or SSHish either

Re: Archlinux: GNOME Image for Odroid C4

  • Quote
Читать еще:  Как отключить Карусель обоев на Xiaomi

Post by tobetter » Sun Nov 01, 2020 2:13 pm

@superpowter77, thanks new Petitboot works for you.

@jgmdev, For the USB issue, that happens to me as well. looks like it’s because of the kernel configuration or missing part of the device tree. I will try to find out the time slot to help.

Re: Archlinux: GNOME Image for Odroid C4/HC4

  • Quote

Post by jgmdev » Tue Dec 22, 2020 1:50 pm

So here posting also an updated image based on panfrost and HC4 support as I earlier did on the ArchLinux XFCE Thread.

Changes

* Use 5.10 kernel with panfrost patches from tobetter linux branch in order to also properly support the hc4.
* Includes recently build mesa from git with panfrost support and automated builds are automatically fetched from the pamac update manager.
* Added hc4 enabled uboot-odroid-c4 package.
* Use uuid on /boot/boot.ini and /etc/fstab instead of devices names to prevent possible boot issues.
* Latest software updates.

Kodi Build
The archlinuxdroid repository now has a build of kodi for: X11, Wayland, and GBM, all of them work with panfrost. To install just issue a sudo pacman -S kodi or use the included graphical package manager.

GLMark
To test the panfrost rendering performance one can install glmark2-git from repo.

Graphical Glitches
It seems that on the bifrost gpu shipped on the C4 panfrost isn’t too stable yet (in comparison to the N2+) when running on a wayland session or the kernel branch been used doesn’t has enough patches. You could try swapping gdm with lightdm in order to run Gnome on the Xserver instead of Wayland and increase the minimum gpu clock speed as detailed here viewtopic.php?p=314939#p314939 or here viewtopic.php?p=315257#p315257 for more stable gnome animations. Running GNOME on Xserver may give you better results and would still be accelerated since panfrost already has X11 support.

Download Link on first post!

Updating existing installation to support HC4

1. Enable the archlinuxdroid repo if not yet by installing this package.
2. Install linux-odroid-panfrost, linux-odroid-panfrost-headers and mesa-arm-git for latest panfrost work.
3. Install rtl88xxau-aircrack-dkms-git for proper hardkernel wifi module support using yay.
4. Uninstall dkms-mali-bifrost-next, xf86-video-fbdev, odroid-c4-libgl-wl as any other related package to completely switch to a panfrost setup.
5. If any issues after boot you can always switch to a virtual terminal with CTRL + ALT + F2/F3 to fix your system.

голоса
Рейтинг статьи
Ссылка на основную публикацию
ВсеИнструменты
Adblock
detector