Gentoo on Pinebook Pro RELEASE
#31
@madalin to clarify, glamor is only disabled in wayland. This is because the panfrost driver was bugging out, causing Xwayland to crash - I think this is actually fixed in the 5.5 Kernel now, but haven't had a chance to test it. You can force enable it with the glamor useflag
  Reply
#32
(02-01-2020, 05:03 PM)jannik2099 Wrote: @madalin to clarify, glamor is only disabled in wayland. This is because the panfrost driver was bugging out, causing Xwayland to crash - I think this is actually fixed in the 5.5 Kernel now, but haven't had a chance to test it.  You can force enable it with the glamor  useflag
Haven't experimented with anything else then 5.5, but do you have any mandatory reason to need Xwayland?

I am currently experimenting in getting the best of what I need running only on Wayland, and seems that I am getting some good results.
  Reply
#33
Xwayland is needed for some applications like GIMP - with glamor enabled, it just crashes, or at least it did pre-5.5 . Is this fixed now? I don't have the wayland useflag enabled right now, so recompiling that would take some time. If so, I'll remove the custom xorg ebuild
  Reply
#34
(02-02-2020, 03:07 PM)jannik2099 Wrote: Xwayland is needed for some applications like GIMP - with glamor enabled, it just crashes, or at least it did pre-5.5 . Is this fixed now? I don't have the wayland useflag enabled right now, so recompiling that would take some time. If so, I'll remove the custom xorg ebuild

This crash is fixed with the kernel supplied by Manjaro (5.5-rc7). The official 5.5 release has those fixes as well.
GIMP doesn't crash under Xwayland and the other X application that I keep around is HexChat - it's no longer slow as hell. NetBeans and a few others are a lot faster and don't have that signature black sections (at least not as often).

Device: Pinebook Pro 128GB No:246 / MainOS: Manjaro ARM
Godot and Flutter - creating something can be fun with the right tools!
  Reply
#35
Brick 
Adding a minor fork'age to prepair either rp64 or rp64pro might be of some use also.

as https://github.com/ayufan-rock64/chromiumos-build

still leaves a gentoo alike system but things are likely to start to break as packages are replaced in gentoo being ported atop.

as well RPI:4 or rockpro-64 i can make a chroot builder .. RPI4 gentoo Sakaki has a number of prebuilt binhost/bins i can rob...

RPI4 Distcc slave should be of use..

unfortunalty if these had more a common base firmware then just uboot/grub uefi loaders could make images more common to these.
  Reply
#36
(01-24-2020, 07:41 AM)jannik2099 Wrote: @delcaran ah, guess the hardened profile doesn't allow to override PORTDIR then, because the script sets that to /var/db/repos/gentoo Sad That shouldn't break anything though

@JaceAlvejetti just to be clear, you are talking about the pinebookpro-manjaro-sources ebuild? It should copy the manjaro config to .config (which is NOT the pinebookpro_defconfig).
You can find the config in /var/db/repos/pinebookpro-overlay/sys-kernel/pinebookpro-manjaro-sources/files , or /var/lib/layman/pinebookpro-overlay/sys-kernel/pinebookpro-manjaro-sources/files if you're still on the layman version.
An error on module install is... interesting, can't think of any reason why that'd happen.
As for the boot process... yeah, I want to make an ebuild for that, but haven't had any time this week. Didn't call this a beta release for no reason [emoji14]
However /srv/packages or /packages works.
You can rig in make.conf..
Distdir defacto, can rig too..
Ie a rw nfs share comes to mind.. save build room on devices from servers..

Or play the bind mount game to usr portage..

Ive just symbolic linked gento repo back as Portage..

As profile snafu during migration..

Sent from my SM-N960U using Tapatalk
  Reply
#37
As an Gentoo enthusiastic I wanted to give this a try, when chrooted into the stage3 tarball and running the prepare.sh script on my laptop through qemu I ran into some errors. Basically the steps in the script fail one by one. Am I missing something here.

Here is the output:

Code:
/var/tmp/gentoo-pinebookpro # ./prepare.sh
detected init=openrc
applied fix for sddm login
applied optimal settings to make.conf
installed gles2 profile patches
NOTE: this will disable OpenGL acceleration in place of gles2!
/bin/ln: failed to create symbolic link '/etc/runlevels/default/zram0': File exists
enabled zram swap drive
syncing main repository, this will take a while
Fetching most recent snapshot ...
Trying to retrieve 20200224 snapshot from http://distfiles.gentoo.org ...
Fetching file portage-20200224.tar.xz.md5sum ...
Fetching file portage-20200224.tar.bz2.md5sum ...
Fetching file portage-20200224.tar.bz2.gpgsig ...
Fetching file portage-20200224.tar.gz.md5sum ...
20200224 snapshot was not found
Trying to retrieve 20200223 snapshot from http://distfiles.gentoo.org ...
Fetching file portage-20200223.tar.xz.md5sum ...
Fetching file portage-20200223.tar.xz.gpgsig ...
Fetching file portage-20200223.tar.xz ...
Fetching file portage-20200223.tar.bz2.md5sum ...
Fetching file portage-20200223.tar.bz2.gpgsig ...
Fetching file portage-20200223.tar.bz2 ...
Checking digest ...
Getting snapshot timestamp ...
Syncing local tree ...

Number of files: 154,862 (reg: 128,251, dir: 26,611)
Number of created files: 86 (reg: 84, dir: 2)
Number of deleted files: 103 (reg: 100, dir: 3)
Number of regular files transferred: 706
Total file size: 203.21M bytes
Total transferred file size: 8.04M bytes
Literal data: 8.04M bytes
Matched data: 0 bytes
File list size: 381.64K
File list generation time: 0.006 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 10.41M
Total bytes received: 46.74K

sent 10.41M bytes  received 46.74K bytes  138.43K bytes/sec
total size is 203.21M  speedup is 19.44
Cleaning up ...

* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

installing pinebookpro-overlay, this will take an even longer while

* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-apps/portage-2.3.79
qemu: qemu_thread_create: Invalid argument
* Determining the location of the kernel source code
* Unable to find kernel sources at /usr/src/linux
* Please make sure that /usr/src/linux points at your running kernel,
* (or the kernel you wish to build against).
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Checking for suitable kernel configuration options...                 [ ok ]
qemu: qemu_thread_create: Invalid argument
Unable to configure loopback interface: Operation not supported
* The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
* does not exist: '/var/tmp/portage/sys-apps/portage-2.3.79'
>>> Emerging (1 of 1) sys-apps/portage-2.3.79::gentoo
>>> Failed to emerge sys-apps/portage-2.3.79
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.52, 1.16, 0.54

* Messages for package sys-apps/portage-2.3.79:

* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version

* Messages for package sys-apps/portage-2.3.79:


* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies... done!

The following packages are causing rebuilds:

 (dev-lang/perl-5.30.1:0/5.30::gentoo, ebuild scheduled for merge) causes rebuilds for:
   (virtual/perl-Text-ParseWords-3.300.0-r6:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Locale-gettext-1.70.0:0/0::gentoo, ebuild scheduled for merge)
   (dev-vcs/git-2.24.1:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-IO-1.400.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Digest-MD5-2.550.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Text-CharWidth-0.40.0-r1:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Data-Dumper-2.174.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-ExtUtils-MakeMaker-7.340.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Text-Unidecode-1.300.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Test-Harness-3.420.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Perl-OSType-1.10.0-r3:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-File-Spec-3.780.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Digest-SHA-6.20.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-version-0.992.400:0/0::gentoo, ebuild scheduled for merge)
   (app-text/po4a-0.47-r1:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Class-Inspector-1.320.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-JSON-PP-4.20.0:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/SGMLSpm-1.1-r1:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Module-Metadata-1.0.36:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Authen-SASL-2.160.0-r1:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Digest-HMAC-1.30.0-r1:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/libintl-perl-1.310.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-ExtUtils-ParseXS-3.400.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Getopt-Long-2.500.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/XML-Parser-2.440.0:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/TermReadKey-2.370.0:0/0::gentoo, ebuild scheduled for merge)
   (sys-apps/texinfo-6.6-r1:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-ExtUtils-CBuilder-0.280.231:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Scalar-List-Utils-1.500.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Carp-1.500.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-CPAN-Meta-YAML-0.18.0-r5:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/TimeDate-2.300.0:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Error-0.170.250:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-ExtUtils-Manifest-1.720.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-ExtUtils-Install-2.140.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Unicode-EastAsianWidth-1.330.0-r1:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/MailTools-2.190.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Parse-CPAN-Meta-2.150.10-r3:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-CPAN-Meta-2.150.10-r3:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-Exporter-5.730.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/File-ShareDir-1.104.0:0/0::gentoo, ebuild scheduled for merge)
   (perl-core/File-Temp-0.230.900:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/File-ShareDir-Install-0.110.0:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-File-Temp-0.230.900:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-libnet-3.110.0-r2:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Module-Build-0.422.400:0/0::gentoo, ebuild scheduled for merge)
   (virtual/perl-podlators-4.110.0:0/0::gentoo, ebuild scheduled for merge)
   (dev-perl/Text-WrapI18N-0.60.0-r1:0/0::gentoo, ebuild scheduled for merge)
>>> Verifying ebuild manifests
>>> Emerging (1 of 49) dev-lang/perl-5.30.1::gentoo
>>> Failed to emerge dev-lang/perl-5.30.1
>>> Jobs: 0 of 49 complete, 1 failed                Load avg: 1.09, 1.11, 0.59

* Messages for package dev-lang/perl-5.30.1:


* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies... done!                                  
>>> Verifying ebuild manifests
>>> Emerging (1 of 3) dev-python/cython-0.29.4::gentoo
>>> Failed to emerge dev-python/cython-0.29.4
>>> Jobs: 0 of 3 complete, 1 failed                 Load avg: 1.05, 1.10, 0.61

* Messages for package dev-python/cython-0.29.4:

!!! Error: Can't load module repository
exiting

* The specified repo(s) were not found: pinebookpro-overlay
  ...returning



* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "pinebookpro-profile-overrides".

emerge: searching for similar names... nothing similar found.
installed pinebookpro-overlay
don't forget to select a profile!
see eselect profile
  Reply
#38
It seems like your qemu does not work correctly - is it an amd64 host? One user reported success with qemu, but I never tried it myself
See these errors
qemu: qemu_thread_create: Invalid argument
Unable to configure loopback interface: Operation not supported

/bin/ln: failed to create symbolic link '/etc/runlevels/default/zram0': File exists - sounds like you ran the script a second time, this is no issue and can be ignored.

As for the "Unable to find kernel sources at /usr/src/linux" warnings, those can be ignored - should probably look into making these quiet
  Reply
#39
(02-25-2020, 08:58 AM)larsgn Wrote:
Code:
/var/tmp/gentoo-pinebookpro # ./prepare.sh
detected init=openrc
applied fix for sddm login
applied optimal settings to make.conf
installed gles2 profile patches
NOTE: this will disable OpenGL acceleration in place of gles2!
/bin/ln: failed to create symbolic link '/etc/runlevels/default/zram0': File exists
see eselect profile

Did you jumped via a quemu/aarch64/chroot'ed rootfs into your gentoo install
or
trying to use the installer script via quemu/aarch64 and hope this will work ?

The latter one is not possible ...
  Reply
#40
I never tried it with qemu, I bootstrapped this on a raspberry pi 3 in all its pain and agony.

Either way, the first approach should? work. I think people had success with an qemu/kvm aarch64 VM

Is doing this on your pinebook pro not an option?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 115 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 941 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 401 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,891 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,109 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,221 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,511 12-11-2023, 03:47 AM
Last Post: calinb
  Boot Order in Pinebook Pro food 8 2,698 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 7,418 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 2,507 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 1 Guest(s)