Skip to content

Instantly share code, notes, and snippets.

View kuzetsa's full-sized avatar

CatSwarm (kuza) kuzetsa

View GitHub Profile
@kuzetsa
kuzetsa / mesa-21.3.8-r1.ebuild
Created September 27, 2022 03:26
[/opt/purp_overlay/media-libs] ~ mesa / mesa-amber @ 21.3.8-r1
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit llvm meson-multilib python-any-r1 linux-info
MY_P="${P/_/-}"
--- /opt/purp_overlay/media-libs/mesa/mesa-21.3.8-r1.ebuild 2022-09-25 01:53:59.577654333 -0400
+++ mesa-22.2.0.ebuild 2022-09-21 20:40:34.000000000 -0400
@@ -20 +20 @@
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
@@ -25,3 +25 @@
-RESTRICT="
- !test? ( test )
-"
+RESTRICT="!test? ( test )"
@kuzetsa
kuzetsa / ShowMarchNative_gcc.sh
Created September 27, 2022 02:33
cflags for UCFF / ultra-compact formfactor xeon-style workstation
#!/bin/sh
gcc --version > gcc_version
gcc -Os -march=native -E -v - </dev/null 2>&1 | grep cc1 > tigerlake_native_gcc_level_Os
gcc -O2 -march=native -E -v - </dev/null 2>&1 | grep cc1 > tigerlake_native_gcc_level_O2
gcc -O3 -march=native -E -v - </dev/null 2>&1 | grep cc1 > tigerlake_native_gcc_level_O3
@kuzetsa
kuzetsa / keybase.md
Created September 20, 2022 22:13
kuzetsa CatSwarm (kuza for short) / doing the usual signatures and challenges.

Keybase proof

I hereby claim:

  • I am kuzetsa on github.
  • I am kuza (https://keybase.io/kuza) on keybase.
  • I have a public key ASDexfdK_5l3x3nbfJnA4hAUoMfYbwj8llaq5Y4OHL0Wggo

To claim this, I am signing this object:

@kuzetsa
kuzetsa / mesa-22.1.5-r9.ebuild.patch
Last active August 21, 2022 08:55
patch for iris Xe ~ [Xe Graphics] ~ feature support in media-libs/mesa-22.1.5
--- /usr/portage/media-libs/mesa/mesa-22.1.5.ebuild 2022-08-06 00:40:39.000000000 -0400
+++ mesa-22.1.5-r9.ebuild 2022-08-21 04:50:02.980214455 -0400
@@ -28 +28 @@
-VIDEO_CARDS="${RADEON_CARDS} freedreno intel lima nouveau panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno intel crocus i915 iris lima nouveau panfrost v3d vc4 virgl vivante vmware"
@@ -226,0 +227 @@
+ ! use video_cards_iris &&
@@ -229 +230 @@
- ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, intel, radeonsi, or v3d"
+ ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, intel, iris, radeonsi, or v3d"
@kuzetsa
kuzetsa / rebuild_toolchain.sh
Last active August 11, 2022 06:46
making sure the toolchain still works sensibly / still self-hosted & able to build itself, as well as rebuilding existing binaries
#!/bin/sh
emerge -1 sys-devel/libtool && \
emerge -1 sys-devel/gcc:12 && \
emerge -1 sys-devel/binutils && \
emerge -1 sys-libs/glibc && \
emerge -1 sys-devel/llvm:14 && \
revdep-rebuild --library 'libstdc++.so.6' -- \
--exclude sys-devel/llvm \
--exclude sys-devel/gcc \
--exclude sys-libs/glibc && \
@kuzetsa
kuzetsa / 0001-glep-0076-clarify-name-policy.patch
Created July 12, 2022 22:02
This patch uses more friendly language towards potential transgender and plural contributors.
From 77a948ffecf97035a42359be0a0b40ad5059fe2f Mon Sep 17 00:00:00 2001
From: "Robin H. Johnson" <robbat2@gentoo.org>
Date: Tue, 12 Jul 2022 14:52:23 -0700
Subject: [PATCH] glep-0076: clarify name policy
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
---
glep-0076.rst | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
@kuzetsa
kuzetsa / Player.log
Created June 1, 2022 18:10
Curl error 42: Callback aborted
Mono path[0] = '/home/kuzetsa/xxxxx/bibites/The Bibites_Data/Managed'
Mono config path = '/home/kuzetsa/xxxxx/bibites/The Bibites_Data/MonoBleedingEdge/etc'
Preloaded 'libStandaloneFileBrowser.so'
Display 0 'DELL S199WFP 19"': 1440x900 (primary device).
Desktop is 1440 x 900 @ 75 Hz
Initialize engine version: 2020.3.20f1 (41c4e627c95f)
[Subsystems] Discovering subsystems at path /home/kuzetsa/xxxxx/bibites/The Bibites_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Renderer: llvmpipe (LLVM 13.0.1, 256 bits)
Vendor: Mesa/X.org
@kuzetsa
kuzetsa / 2022May17_kconfig.patch
Created May 17, 2022 17:31
GCC 12.1.0 @ 5.12.9-MuQSS Kernel build test, config changes
--- - 2022-05-17 13:30:25.523030810 -0400
+++ ./.config 2022-05-17 13:30:12.446310941 -0400
@@ -3 +3 @@
-# Linux/x86 5.12.9-ck Kernel Configuration
+# Linux/x86 5.12.9-MuQSS Kernel Configuration
@@ -5 +5 @@
-CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.2.0 p1) 11.2.0"
+CONFIG_CC_VERSION_TEXT="gcc (Gentoo 12.1.0 p5) 12.1.0"
@@ -7 +7 @@
-CONFIG_GCC_VERSION=110200
@kuzetsa
kuzetsa / MicroscopyCamera.patch
Created December 7, 2021 00:29
OmniVision OV2710 high-sensitivity microscope camera
--- backup-5.12.9/.config 2021-06-05 15:40:14.388209457 -0400
+++ linux-5.12.9/.config 2021-12-06 17:25:06.050140929 -0500
@@ -5 +5 @@
-CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.1.0 p1) 11.1.0"
+CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.2.0 p1) 11.2.0"
@@ -7 +7 @@
-CONFIG_GCC_VERSION=110100
+CONFIG_GCC_VERSION=110200
@@ -10 +10 @@
-CONFIG_LD_VERSION=23502