summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md65
-rw-r--r--gentoox.svg1
-rwxr-xr-xgentoox_build.sh4
3 files changed, 68 insertions, 2 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..50966c4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,65 @@
+# GentooX
+
+an -O3, AVX, Graphite, and LTO optimized x86_64 LiveCD Gentoo distribution with installer. Aimed at gamers and benchmarking.
+
+Comes with simple interactive *install.sh* script, supports BIOS and UEFI x86_64 systems, at minimum requires AVX capable CPUs released since 2011 such as Intel Sandybridge or AMD Bulldozer, among KDE, it includes Steam flatpak and phoronix-suite out-of-the-box.
+
+* based on Gentoo's ~amd64
+* OpenRC init system
+* latest KDE Desktop Environment with custom GentooX theme, global menus enabled by default, latte dock
+* Firefox global menu support patched in, OpenGL acceleration enabled by default, PGO build
+* gentoLTO overly
+* BTRFS used by default with lzo compression and snapshot setup modeled after openSUSE
+* phoronix-suite available out-of-the-box for benchmarking purposes
+* Steam installed out-of-the-box with necessary lib32 dependencies and fsync Linux kernel patched in
+* flatpak is included, easily install VSCode or Discord in sandboxed environment
+* ZFS support, kernel patched to export FPU functions
+* Linux 5.6.7 kernel built with 1000Hz -03 Sandybridge and aufs, ClearLinux, fsync, unprivileged CLONE_NEWUSER, and IOMMU missing ACS capabilities overrides
+
+The ISO weighs around 4GB and following settings were used to build it:
+## CFLAGS
+```sh
+COMMON_FLAGS="-O3 -march=sandybridge -mtune=sandybridge -mfpmath=both -pipe -funroll-loops -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=12 -fuse-linker-plugin -malign-data=cacheline -Wl,--hash-style=gnu"
+CFLAGS="${COMMON_FLAGS}"
+CXXFLAGS="${COMMON_FLAGS}"
+FCFLAGS="${COMMON_FLAGS}"
+FFLAGS="${COMMON_FLAGS}"
+RUSTFLAGS="-C target-cpu=sandybridge"
+CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
+MAKEOPTS="-j12"
+```
+## USE flags
+```sh
+USE="-bindist elogind -consolekit -systemd udev dbus X wayland gles vulkan plymouth pulseaudio ffmpeg ipv6 -webkit infinality"
+```
+## FAQ
+> (Q) **what are the user/password credentials for LiveCD?**
+
+**gentoox** and **gentoox**
+> (Q) **what is the main motivation behind GentooX?**
+
+I found it rather tedious to setup a clean Gentoo install and LTO all the packages, not only gcc has to be rebuilt to support graphite, but then your entire stage3 install needs to be recompiled, not to mention already installed software. GentooX aims to provide pre-compiled and LTOed packages from the get go with easy installation and convenient LiveCD. Since GentooX mandates AVX support, this allows further optimizations to all packages.
+
+> **(Q) how can I start KDE?**
+
+login to tty1 using gentoox/gentoox and type 'startx'
+> **(Q) what are the minimum requirements?**
+
+any AVX capable CPUs released since 2011 such as Intel Sandybridge or AMD Bulldozer, 4GB of RAM (mostly due to LiveCD being 4GB squashfs file), and 16GB of disk space for root partition where openSUSE's style BTRFS will be setup and 128MB boot partition
+> (Q) **how can GentooX be installed?**
+
+boot LiveCD, login with gentoox/gentoox credentails, sudo su, and run ./install.sh, the install script is interactive, BIOS and UEFI systems are supported
+> (Q) **how does the installation work?**
+
+The installation carried by install.sh is very simple, besides interactive partitioning the setup extracts 4GB image.squashfs into root partition that ends up taking 13GB of space which includes all the pre-compiled software such as KDE and Steam.
+ -SDDM can be enabled this and that, otherwise 'startx' is used by default
+ -Theme is not applying correctly? make sure to logout/login when after initial 'startx' startup in LiveCD or after installation
+ -sudo su by default grants root without asking for password, to be decided
+
+ > (Q) **why GentooX name?**
+
+ I couldn't come up with anything better at time, I know there's a Gentoo distribution aimed at original XBOX named 'gentoox'. My distro uses capital X at the end for now (Gentoo**X**).
+
+## Known issues
+a "hwclock: settimeofday() failed: Invalid argument" message can be seen during bootup, I believe this is upstream Gentoo issue.
+
diff --git a/gentoox.svg b/gentoox.svg
new file mode 100644
index 0000000..b06838e
--- /dev/null
+++ b/gentoox.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="560.846" height="218.787" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.41420996"><g transform="translate(-20.054 -40.606)"><path d="M433.134 99.534h7.62v8.457h-7.517l-.104 58.566c0 2.94-.167 5.87.836 7.518 1.055 1.734 4.12 2.06 6.785 1.88v8.768c-6.58.42-13.056.04-15.45-4.5-2.175-4.1-2.1-10.202-2.1-16.496V108h-5.428v-8.457h5.428V81.16c3.24-1.32 6.785-2.9 9.918-3.968zm-146.784 23.28v33c0 5.72-.184 11.772 1.88 14.617 1.527 2.103 5.6 2.944 8.04 1.565 3.394-1.9 3.55-8.37 3.55-14.617v-36.434c0-5.936.115-12.57-3.76-14.512-1.06-.53-3.178-.556-4.175-.415-6.132.86-5.533 9.838-5.533 16.806m13.467-18.27c.322-1.626.507-3.4.836-5h9.3v87.694c0 7.8-.058 14.763-1.984 19.942-2 5.407-6.517 8.074-13.676 8.246-7.47.18-12.84-1.693-15.45-6.472-2.5-4.596-2.9-11.123-2.714-19.2h10.44c.3 5.488-.647 11.396 1.462 14.93 1.807 3.03 7.566 3.108 9.708.416 2.448-3.074 2.088-9.592 2.088-15.66v-15.26c-.98 1.2-1.603 2.357-2.6 3.34-4.817 4.703-15.23 4.84-18.687-1.044-2.355-4-2.4-10.682-2.4-17.33v-39.462c0-11.007.072-21.328 9.918-22.133 7.047-.576 11.073 2.693 13.78 6.993m48.428 16.6c0-7.34.416-15.8-7.203-15.135-6.05.533-5.95 8.058-5.95 14.822v16.6c4.176.243 8.804.034 13.154.104zm10.44 24.848h-23.594v15.346c0 4.836-.143 10.687 2.087 13.26 2.037 2.347 7.034 2.277 8.98 0 3.45-4.04 1.512-13.62 2.088-20.358h10.44c-.217 9.403.608 17.507-2.6 23.908-2.202 4.38-7.154 6.456-13.154 6.682-6.137.23-11.678-1.256-14.5-5.22-3.297-4.613-3.55-13.2-3.55-21.402v-24.953c0-8.96-.43-17.435.94-24 1.543-7.4 5.482-11.175 13.572-11.693 8.245-.527 13.826 1.56 16.494 6.472 2.704 4.978 2.82 12.08 2.82 19.627zm48.754 36.853h-9.918v-57.106c0-5.984.62-13.488-1.775-17.227-2.008-3.137-8.162-3.3-10.335-.104-2.48 3.637-1.88 11.303-1.88 17.226v57.2h-9.918v-83.3h9.292c.245 1.6.44 3.25.626 4.906 2.324-3.22 5.4-6.46 10.65-6.9 13.435-1.097 13.26 10.566 13.26 23.176zm53.243-59.612v35.287c0 5.94-.492 12.86 1.88 15.87 1.958 2.48 6.857 2.25 8.665.625 2.906-2.6 2.6-9.946 2.6-15.973v-37.164c0-7.626.47-16.766-7.412-15.765-6.494.823-5.742 9.77-5.742 17.12m4.07-25.578c5.93-.464 11.53.596 14.616 3.55 5.873 5.62 4.907 19.476 4.907 31.217v18.06c.001 11.84.934 25.58-5.22 31.006-3.385 2.985-9.033 3.795-14.615 3.236-5.188-.518-9.336-2.62-11.38-6.68-2.17-4.315-2.58-10.632-2.715-17.436-.143-7.27 0-13.285 0-20.043 0-7.247-.316-13.472 0-20.15.285-6.006.634-12.946 3.03-17.017 2.14-3.64 6.406-5.354 11.378-5.743m44.38 26.1v36.434c0 5.998-.274 13.044 3.027 15.242 2.127 1.417 6.105.972 7.62-.417 2.85-2.6 2.506-10.157 2.506-16.077V121.77c-.001-7.677.4-16.654-7.412-15.66-6.623.84-5.742 10.235-5.742 17.643m4.07-26.1c7.415-.58 14.047 1.16 16.8 6.578 2.97 5.83 2.714 15.85 2.714 25.264v27.873c.001 9.2-.147 18.77-4.593 23.387-4.34 4.503-15.133 5.618-21.82 2.088-6.4-3.375-7.168-11.5-7.517-21.6-.244-7.055 0-13.255 0-19.94V121.25c.146-6.14.558-13.015 2.714-17.227 2.097-4.095 6.452-5.958 11.692-6.368m32.618 1.88h10.334l7.1 30.588 6.995-30.588h9.5l-10.44 37.7c-.242.86-.72 1.77-.73 2.4-.028 1.307 1.18 4.08 1.566 5.43l10.752 37.793h-10.752l-8.143-34.348-8.144 34.348h-9.5l10.856-38c.505-1.753 1.545-3.822 1.567-5.325.017-1.353-.913-3.403-1.358-5l-9.604-34.66c.02-.18-.178-.27 0-.313"/><path d="M20.077 215.07c.024-9.23 7.87-22.116 19.02-33.822 7.45-7.824 15.016-14.69 31.51-28.755-11.4-6.26-29.154-13.813-38.058-23.705-3.294-3.66-9.266-11.953-8.107-23.032 2.36-22.58 30.23-56.848 69.846-64.092 13.18-2.41 28.315-.67 40.77 4.93 39.075 17.567 86.863 61.21 92.743 82.522 2.07 7.5 1.67 19.457-1.896 26.12-4.422 8.26-19.73 25.033-40.673 42.342-32.862 27.16-78.91 56.32-113.295 61.23-11.11 1.585-22.462-.07-30.427-4.563-12.464-7.033-16.6-16.422-18.055-19.236-3.867-7.484-3.387-16.964-3.38-19.937zm92.485-103.696c.424-5.233 20.945-.023 19.648 4.12-1.368 4.372-20.135 1.883-19.648-4.12z" fill="url(#A)"/><path d="M81.713 143.846c-10.8 9.118-17.98 15.265-26.98 23.492-21.677 19.812-36.405 34.893-28.812 55.508C34.68 246.626 53.882 245.42 76.4 241c58.04-11.447 153.446-84.794 148.583-111.885-3.935-21.922-57.237-65.504-88.796-81.013-9.86-4.845-21.222-7.35-32.62-6.814-43.396 2.048-77.285 41.557-75.554 62.964 1.684 20.827 54.32 38.973 53.7 39.594zM75.2 71.142C62.14 85.67 70.5 113.778 92.144 129.1c25.34 17.927 66.372 21.173 74.538 7.347 15.23-25.787-1.4-53.055-26.223-65.218-24.53-12.02-57.12-9.142-65.26-.086z" fill="url(#B)"/><path d="M119.73 128.49c18.33 2.548 34.133-4.793 36.604-22.895 1.882-13.79-19.222-28.855-31.9-32.33-10.595-2.902-33.598.83-35.15 20.87-1.612 20.832 19.765 32.87 30.455 34.356zm-8.978-34.647c-12.047 18.664 17.493 24.402 22.015 20.998 19.498-14.674-16.707-29.22-22.015-20.998z" fill="url(#C)"/><path d="M100.07 46.247c-21.31 2.246-25.392 4.988-44.698 19.595-6.47 4.895-18.38 16.807-21.43 30.938-1.163 5.382.21 10.028 4.087 13.286 12.41 10.435 33.184 18.9 50.226 27.083 4.99 2.397 1.686 6.743-6.363 13.712-20.312 17.584-47.773 38.99-49.7 55.3-.904 7.686 1.727 18.13 11.056 23.475 10.898 6.243 33.52 2.168 48.626-3.457 22.074-8.22 51.07-26.36 74.1-44.193 23.938-18.544 46.196-42.096 47.297-45.938 1.352-4.717 1.217-9.074-1.392-14.083-4.097-7.866-9.575-13.712-15.457-20.254-15.782-16.638-32.48-31.257-52.457-42.46-14.427-8.09-27.12-14.77-43.895-13.003zm31.304 37.3c15.396 7.444 31.206 26.995-.137 38.248-8.523 3.06-35.554-7.515-34.726-21.946 1.206-21.32 16.064-25.4 34.863-16.302z" fill="url(#D)"/></g><defs><linearGradient id="A" x1="-12.766" y1="-459.807" x2="124.554" y2="259.394" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="#fff"/><stop offset="34%" stop-color="#fff"/><stop offset="51%" stop-color="#bebdf3"/><stop offset="75%" stop-color="#867fb7"/><stop offset="87%" stop-color="#9f99c7"/><stop offset="100%" stop-color="#524c76"/></linearGradient><linearGradient id="B" x1="156.163" y1="202.263" x2="114.685" y2="16.286" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="#fff"/><stop offset="34%" stop-color="#fff"/><stop offset="51%" stop-color="#bebbdb"/><stop offset="75%" stop-color="#928bbe"/><stop offset="87%" stop-color="#9f99c7"/><stop offset="100%" stop-color="#524c76"/></linearGradient><radialGradient id="C" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(36.9132,0,0,28.2927,107.505,89.2005)"><stop offset="0%" stop-color="#fff"/><stop offset="34%" stop-color="#fff"/><stop offset="51%" stop-color="#bebbdb"/><stop offset="75%" stop-color="#928bbe"/><stop offset="87%" stop-color="#9f99c7"/><stop offset="100%" stop-color="#524c76"/></radialGradient><radialGradient id="D" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-5.06038,321.086,-273.845,-4.31164,23.522,98.2549)"><stop offset="0%" stop-color="#fff"/><stop offset="34%" stop-color="#fff"/><stop offset="51%" stop-color="#bebbdb"/><stop offset="75%" stop-color="#928bbe"/><stop offset="87%" stop-color="#9f99c7"/><stop offset="100%" stop-color="#524c76"/></radialGradient></defs></svg> \ No newline at end of file
diff --git a/gentoox_build.sh b/gentoox_build.sh
index befd8a9..c9fc779 100755
--- a/gentoox_build.sh
+++ b/gentoox_build.sh
@@ -22,9 +22,9 @@ rootpassword=gentoox
username=gentoox
userpassword=gentoox
#builddate="$(date +%Y%m%d).graphite"
-builddate="20200210.graphite"
+builddate="20200425.graphite"
#builddir="build-$(date +%Y%m%d)"
-builddir="build-20200210"
+builddir="build-20200425"
KERNEL_CONFIG_DIFF="0001-kernel-config-cfs-r4.patch"
binpkgs=/root/var/cache/binpkgs/