From 8ae89e35caf18e1e239bf43e3320123f07d76961 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Thu, 29 Aug 2024 00:15:20 +0000 Subject: [PATCH 1/7] Improve startup for Air and other devices. Apply Air GPU quirks. Fix up libcamera config for Wireplumber 0.5.x. --- PKGBUILD/linux/0040-Add-Atari-VCS-quirk.patch | 25 ------------- PKGBUILD/linux/0040-amdgpu-quirks.patch | 37 +++++++++++++++++++ PKGBUILD/linux/PKGBUILD | 8 ++-- PKGBUILD/linux/config | 26 ++++++------- PKGBUILD/steamfork-device-support/PKGBUILD | 2 +- .../AYANEO-AIR/hardware_quirks.sh | 1 - .../airootfs/etc/plymouth/plymouthd.conf | 2 - rootfs/steamfork/postcopy/etc/default/grub | 2 +- rootfs/steamfork/postcopy/etc/mkinitcpio.conf | 2 +- .../postcopy/etc/plymouth/plymouthd.conf | 2 - .../main.lua.d/50-libcamera-config.lua | 1 - .../wireplumber.conf.d/10-disable-camera.conf | 5 +++ rootfs/steamfork/presets/rel.sh | 4 +- 13 files changed, 64 insertions(+), 53 deletions(-) delete mode 100644 PKGBUILD/linux/0040-Add-Atari-VCS-quirk.patch create mode 100644 PKGBUILD/linux/0040-amdgpu-quirks.patch delete mode 100644 rootfs/steamfork/postcopy/usr/share/wireplumber/main.lua.d/50-libcamera-config.lua create mode 100644 rootfs/steamfork/postcopy/usr/share/wireplumber/wireplumber.conf.d/10-disable-camera.conf diff --git a/PKGBUILD/linux/0040-Add-Atari-VCS-quirk.patch b/PKGBUILD/linux/0040-Add-Atari-VCS-quirk.patch deleted file mode 100644 index a72af09..0000000 --- a/PKGBUILD/linux/0040-Add-Atari-VCS-quirk.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 1c5b0dfc807fac142f004c581817a94bbaca8a48 Mon Sep 17 00:00:00 2001 -From: fewtarius <88717793+fewtarius@users.noreply.github.com> -Date: Tue, 28 May 2024 18:54:32 +0200 -Subject: [PATCH 40/41] Add Atari VCS quirk - ---- - drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c -index 99dbd2341120..e9ce71fced4b 100644 ---- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c -@@ -1170,6 +1170,8 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = { - { 0x1002, 0x15dd, 0x103c, 0x83e7, 0xd3 }, - /* GFXOFF is unstable on C6 parts with a VBIOS 113-RAVEN-114 */ - { 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 }, -+ /* GFXOFF is unstable on 91 (Atari VCS) with 113-RAVEN2-117 */ -+ { 0x1002, 0x15D8, 0x1002, 0x15D8, 0x91 }, - /* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */ - { 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 }, - { 0, 0, 0, 0, 0 }, --- -2.43.2 - diff --git a/PKGBUILD/linux/0040-amdgpu-quirks.patch b/PKGBUILD/linux/0040-amdgpu-quirks.patch new file mode 100644 index 0000000..b1c5059 --- /dev/null +++ b/PKGBUILD/linux/0040-amdgpu-quirks.patch @@ -0,0 +1,37 @@ +From 1c5b0dfc807fac142f004c581817a94bbaca8a48 Mon Sep 17 00:00:00 2001 +From: fewtarius <88717793+fewtarius@users.noreply.github.com> +Date: Tue, 28 May 2024 18:54:32 +0200 +Subject: [PATCH 40/41] Add Atari VCS quirk + +--- + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +index 99dbd2341120..e9ce71fced4b 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +@@ -1170,6 +1170,10 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = { + { 0x1002, 0x15dd, 0x103c, 0x83e7, 0xd3 }, + /* GFXOFF is unstable on C6 parts with a VBIOS 113-RAVEN-114 */ + { 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 }, ++ /* GFXOFF is unstable on revision 91 (Atari VCS) with 113-RAVEN2-117 */ ++ { 0x1002, 0x15D8, 0x1002, 0x15D8, 0x91 }, ++ /* GFXOFF is unstable on revision 0xc3 (Ayaneo Air) with 113-CEZANNE-018 */ ++ { 0x1002, 0x1637, 0x1002, 0x1637, 0xc3 }, + /* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */ + { 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 }, + { 0, 0, 0, 0, 0 }, +diff -rupN linux-6.10.5.orig/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c linux-6.10.5/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +--- linux-6.10.5.orig/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 2024-08-14 13:34:38.000000000 +0000 ++++ linux-6.10.5/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 2024-08-28 15:53:20.432207108 +0000 +@@ -1883,6 +1883,7 @@ static int amdgpu_device_init_apu_flags( + break; + case CHIP_RENOIR: + if ((adev->pdev->device == 0x1636) || ++ (adev->pdev->device == 0x1638) || + (adev->pdev->device == 0x164c)) + adev->apu_flags |= AMD_APU_IS_RENOIR; + else +-- +2.43.2 diff --git a/PKGBUILD/linux/PKGBUILD b/PKGBUILD/linux/PKGBUILD index 2bafb51..8f53871 100644 --- a/PKGBUILD/linux/PKGBUILD +++ b/PKGBUILD/linux/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=linux pkgver=6.10.6 -pkgrel=3 +pkgrel=4 pkgdesc="Linux Stable" arch=(x86_64) url="https://kernel.org/" @@ -51,7 +51,7 @@ source=( 0036-Updated-AW87xxx-driver-to-automatically-enumerate-a-.patch 0037-Updated-AW87xxx-driver-to-implement-Suspend-and-Resu.patch 0038-fixup-aw87xx-warnings.patch - 0040-Add-Atari-VCS-quirk.patch + 0040-amdgpu-quirks.patch 0050-AMD-Pstate-Core-Performance-Boost.patch 0051-drm-amd-display-let-update_planes_and_stream_state-d.patch 0053-add-support-for-screen-off-and-screen-on.patch @@ -65,7 +65,7 @@ validpgpkeys=( 'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig) ) sha256sums=('SKIP' -'ce7eb735c62dc815e0397319df231090a12ad5b7c476655d72ede02d9d0dd031' # config +'eaf3778881108ff1ba71731eba807b20cb3badddde069836a6c09f127a12a824' # config '2fde7b646741397b0847ff71fe42ec178aef7de2436cc5531b0e725e878dccf8' # 0001-drm-panel-orientation-quirks.patch '783da391e0f45635eefb583b8b3acc29cd62a0c9eeefedf7f790dc2f89c7e279' # 0006-Ayaneo-geek-headset-patch.patch '33edff1a51ceb763c47b3ae485f5857a716a1dac9f1e8b65c3b93c6e88a4838f' # 0007-ayaneo-2-headphone-fix.patch @@ -80,7 +80,7 @@ sha256sums=('SKIP' '73a88310ac0077bedd4a4e49689c06cb8460c55774cea1395d90f9ac57252e8c' # 0036-Updated-AW87xxx-driver-to-automatically-enumerate-a-.patch '4f3baa6a367659341873ec7443d6238044cca521e04c0a868322221ac50149ff' # 0037-Updated-AW87xxx-driver-to-implement-Suspend-and-Resu.patch '23d91695bf8e5d5cdb9503a47468c6c5cf220bc7966a4720aa46645357e29ee6' # 0038-fixup-aw87xx-warnings.patch -'1822769c05fd3b2126870a853c41ab167a95cf91d23f0d50bb103838857489eb' # 0040-Add-Atari-VCS-quirk.patch +'2728588169bb1e1b4d9987c0732a316e39670f0c873429179b894ddc6be9b0fa' # 0040-amdgpu-quirks.patch 'c6ff653b1e55c5524b237a40683a34240d4ec7b95e524441ed3ae09ed885f674' # 0050-AMD-Pstate-Core-Performance-Boost.patch '7c7df8d4427c807e2cea0f1e147efcdfb1e7c1c5271823cc6bb49f10b1846d19' # 0051-drm-amd-display-let-update_planes_and_stream_state-d.patch 'a8e3c0f7a3cdcc82a12a5dc44772263c2dd7bc3207f16b98dac42e0e74184172' # 0053-add-support-for-screen-off-and-screen-on.patch diff --git a/PKGBUILD/linux/config b/PKGBUILD/linux/config index ffa3d15..e1fbc1f 100644 --- a/PKGBUILD/linux/config +++ b/PKGBUILD/linux/config @@ -6764,24 +6764,24 @@ CONFIG_DRM_MIPI_DSI=y # CONFIG_DRM_DEBUG_MM is not set CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y -CONFIG_DRM_FBDEV_OVERALLOC=100 +CONFIG_DRM_FBDEV_OVERALLOC=200 CONFIG_DRM_LOAD_EDID_FIRMWARE=y -CONFIG_DRM_DISPLAY_HELPER=m +CONFIG_DRM_DISPLAY_HELPER=y CONFIG_DRM_DISPLAY_DP_HELPER=y CONFIG_DRM_DISPLAY_HDCP_HELPER=y CONFIG_DRM_DISPLAY_HDMI_HELPER=y CONFIG_DRM_DP_AUX_CHARDEV=y CONFIG_DRM_DP_CEC=y -CONFIG_DRM_TTM=m -CONFIG_DRM_EXEC=m -CONFIG_DRM_GPUVM=m -CONFIG_DRM_BUDDY=m +CONFIG_DRM_TTM=y +CONFIG_DRM_EXEC=y +CONFIG_DRM_GPUVM=y +CONFIG_DRM_BUDDY=y CONFIG_DRM_VRAM_HELPER=m -CONFIG_DRM_TTM_HELPER=m +CONFIG_DRM_TTM_HELPER=y CONFIG_DRM_GEM_DMA_HELPER=m CONFIG_DRM_GEM_SHMEM_HELPER=y -CONFIG_DRM_SUBALLOC_HELPER=m -CONFIG_DRM_SCHED=m +CONFIG_DRM_SUBALLOC_HELPER=y +CONFIG_DRM_SCHED=y # # I2C encoder or helper chips @@ -6797,8 +6797,8 @@ CONFIG_DRM_I2C_NXP_TDA9950=m # # end of ARM devices -# CONFIG_DRM_RADEON is not set -# CONFIG_DRM_RADEON_USERPTR is not set +CONFIG_DRM_RADEON=m +CONFIG_DRM_RADEON_USERPTR=y CONFIG_DRM_AMDGPU=m CONFIG_DRM_AMDGPU_SI=y CONFIG_DRM_AMDGPU_CIK=y @@ -7043,7 +7043,7 @@ CONFIG_HDMI=y # # Console display driver support # -CONFIG_VGA_CONSOLE=y +# CONFIG_VGA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y CONFIG_DUMMY_CONSOLE_COLUMNS=80 CONFIG_DUMMY_CONSOLE_ROWS=25 @@ -7051,7 +7051,7 @@ CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y +# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set # end of Console display driver support # CONFIG_LOGO is not set diff --git a/PKGBUILD/steamfork-device-support/PKGBUILD b/PKGBUILD/steamfork-device-support/PKGBUILD index bd687a3..60d8d0e 100644 --- a/PKGBUILD/steamfork-device-support/PKGBUILD +++ b/PKGBUILD/steamfork-device-support/PKGBUILD @@ -2,7 +2,7 @@ pkgname=steamfork-device-support pkgver=2024.08.28 -pkgrel=1 +pkgrel=2 pkgdesc='Hardware support provider for PC handhelds.' arch=('any') url='http://www.steamfork.org' diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-AIR/hardware_quirks.sh b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-AIR/hardware_quirks.sh index 2b10382..297b6b5 100644 --- a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-AIR/hardware_quirks.sh +++ b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-AIR/hardware_quirks.sh @@ -2,4 +2,3 @@ export X11_ROTATION=left export GAMESCOPE_RES="-W 1280 -H 720 -w 1280 -h 720" export GAMESCOPE_ADDITIONAL_OPTIONS="--force-orientation left" -export STEAMFORK_GRUB_ADDITIONAL_CMDLINEOPTIONS="${STEAMFORK_GRUB_ADDITIONAL_CMDLINEOPTIONS} fbcon=nodefer" diff --git a/rootfs/installer/airootfs/etc/plymouth/plymouthd.conf b/rootfs/installer/airootfs/etc/plymouth/plymouthd.conf index 9297f24..412efbf 100644 --- a/rootfs/installer/airootfs/etc/plymouth/plymouthd.conf +++ b/rootfs/installer/airootfs/etc/plymouth/plymouthd.conf @@ -2,5 +2,3 @@ [Daemon] Theme=steamos ShowDelay=0 -DeviceScale=1 -DeviceTimeout=8 diff --git a/rootfs/steamfork/postcopy/etc/default/grub b/rootfs/steamfork/postcopy/etc/default/grub index 60b0cd0..c5a6309 100644 --- a/rootfs/steamfork/postcopy/etc/default/grub +++ b/rootfs/steamfork/postcopy/etc/default/grub @@ -2,7 +2,7 @@ source steamfork-devicequirk-set GRUB_DEFAULT=0 GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=SteamFork -GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.show_status=0 loglevel=0 plymouth.nolog ${STEAMFORK_GRUB_ADDITIONAL_CMDLINEOPTIONS}" +GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 loglevel=3 splash quiet plymouth.ignore-serial-consoles ${STEAMFORK_GRUB_ADDITIONAL_CMDLINEOPTIONS}" GRUB_SAVEDEFAULT="false" GRUB_DISABLE_LINUX_UUID=true GRUB_DEVICE="LABEL=sf_root" diff --git a/rootfs/steamfork/postcopy/etc/mkinitcpio.conf b/rootfs/steamfork/postcopy/etc/mkinitcpio.conf index 383fa87..b0c54b2 100644 --- a/rootfs/steamfork/postcopy/etc/mkinitcpio.conf +++ b/rootfs/steamfork/postcopy/etc/mkinitcpio.conf @@ -49,7 +49,7 @@ FILES=() # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr and fsck hooks. -HOOKS=(base udev plymouth autodetect modconf kms keyboard keymap consolefont block filesystems steamfork fsck) +HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems steamfork fsck plymouth) # COMPRESSION # Use this to compress the initramfs image. By default, zstd compression diff --git a/rootfs/steamfork/postcopy/etc/plymouth/plymouthd.conf b/rootfs/steamfork/postcopy/etc/plymouth/plymouthd.conf index 9297f24..412efbf 100644 --- a/rootfs/steamfork/postcopy/etc/plymouth/plymouthd.conf +++ b/rootfs/steamfork/postcopy/etc/plymouth/plymouthd.conf @@ -2,5 +2,3 @@ [Daemon] Theme=steamos ShowDelay=0 -DeviceScale=1 -DeviceTimeout=8 diff --git a/rootfs/steamfork/postcopy/usr/share/wireplumber/main.lua.d/50-libcamera-config.lua b/rootfs/steamfork/postcopy/usr/share/wireplumber/main.lua.d/50-libcamera-config.lua deleted file mode 100644 index ae8228d..0000000 --- a/rootfs/steamfork/postcopy/usr/share/wireplumber/main.lua.d/50-libcamera-config.lua +++ /dev/null @@ -1 +0,0 @@ -libcamera_monitor.enabled = false diff --git a/rootfs/steamfork/postcopy/usr/share/wireplumber/wireplumber.conf.d/10-disable-camera.conf b/rootfs/steamfork/postcopy/usr/share/wireplumber/wireplumber.conf.d/10-disable-camera.conf new file mode 100644 index 0000000..00f1301 --- /dev/null +++ b/rootfs/steamfork/postcopy/usr/share/wireplumber/wireplumber.conf.d/10-disable-camera.conf @@ -0,0 +1,5 @@ +wireplumber.profiles = { + main = { + monitor.libcamera = disabled + } +} diff --git a/rootfs/steamfork/presets/rel.sh b/rootfs/steamfork/presets/rel.sh index 9be1385..f3d08a0 100644 --- a/rootfs/steamfork/presets/rel.sh +++ b/rootfs/steamfork/presets/rel.sh @@ -280,7 +280,6 @@ export STEAMOS_PKGS="accounts-qml-module kdialog kdsoap kdsoap-ws-discovery-client - kdumpst kemoticons kexec-tools keyutils @@ -822,7 +821,6 @@ export STEAMOS_PKGS="accounts-qml-module steamos-atomupd-client-git steamos-devkit-service steamos-efi - steamos-kdumpst-layer steamos-log-submitter steamos-manager steamos-networking-tools @@ -963,6 +961,7 @@ export STEAMOS_PKGS="accounts-qml-module # kded # kdesu # kdnssd +# kdumpst # kfilemetadata # kgamma5 # kglobalaccel @@ -1017,6 +1016,7 @@ export STEAMOS_PKGS="accounts-qml-module # solid # sonnet # steamos-customizations-jupiter +# steamos-kdumpst-layer # syndication # syntax-highlighting # systemd-swap From 6933c52f62d231b118b7ccccfbb0464c576bddfb Mon Sep 17 00:00:00 2001 From: fewtarius Date: Thu, 29 Aug 2024 10:58:02 +0000 Subject: [PATCH 2/7] Fix condition where the power button may not work to sleep a device. --- .../steam-powerbuttond/0002-fix-finding-user.patch | 13 +++++++++++++ PKGBUILD/steam-powerbuttond/PKGBUILD | 8 +++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch diff --git a/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch b/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch new file mode 100644 index 0000000..18476d8 --- /dev/null +++ b/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch @@ -0,0 +1,13 @@ +diff --git a/steam-powerbuttond b/steam-powerbuttond +index 273bb76..310cb75 100755 +--- a/steam-powerbuttond ++++ b/steam-powerbuttond +@@ -95,7 +95,7 @@ def __init__(): + def get_user(): + global user + global home_path +- command = "who | awk '{print $1}' | sort | head -1" ++ command = "awk 'BEGIN { FS=\":\" } END {print $1}' /etc/passwd" + + while not user: + users = subprocess.Popen( diff --git a/PKGBUILD/steam-powerbuttond/PKGBUILD b/PKGBUILD/steam-powerbuttond/PKGBUILD index 44840d1..534766a 100644 --- a/PKGBUILD/steam-powerbuttond/PKGBUILD +++ b/PKGBUILD/steam-powerbuttond/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Fewtarius # Thanks to upsteam maintainer: Derek J. Clark pkgname=steam-powerbuttond -pkgver=20240630 -pkgrel=2 +pkgver=20240829 +pkgrel=1 pkgdesc="Simple powerbutton daemon for steam with gamescope-session" arch=('any') url="https://github.com/ShadowBlip/steam-powerbuttond" @@ -12,9 +12,11 @@ depends=('python' 'python-evdev') optdepends=() makedepends=('git') source=("${pkgname}::git+${url}.git" - 0001-Don-t-install-to-usr-local.patch) + 0001-Don-t-install-to-usr-local.patch + 0002-fix-finding-user.patch) sha256sums=('SKIP' '2ada504d2cbc0f3bbcc53226be9fcf2ff7abae4e41d46f3568cd9c4ad40e18c4' # 0001-Don-t-install-to-usr-local.patch + '438fa6d4f58839dee026b380b7e0170973bbea18288db236cbf24d06474ed3f8' # 0002-fix-finding-user.patch ) package() { From df267056aedb63912930073d52c85ca521926577 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Thu, 29 Aug 2024 11:37:02 +0000 Subject: [PATCH 3/7] For now just assume it's user 1000 because it will be user 1000. --- PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch | 2 +- PKGBUILD/steam-powerbuttond/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch b/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch index 18476d8..c70c899 100644 --- a/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch +++ b/PKGBUILD/steam-powerbuttond/0002-fix-finding-user.patch @@ -7,7 +7,7 @@ index 273bb76..310cb75 100755 global user global home_path - command = "who | awk '{print $1}' | sort | head -1" -+ command = "awk 'BEGIN { FS=\":\" } END {print $1}' /etc/passwd" ++ command = "id -nu 1000" while not user: users = subprocess.Popen( diff --git a/PKGBUILD/steam-powerbuttond/PKGBUILD b/PKGBUILD/steam-powerbuttond/PKGBUILD index 534766a..4f4d173 100644 --- a/PKGBUILD/steam-powerbuttond/PKGBUILD +++ b/PKGBUILD/steam-powerbuttond/PKGBUILD @@ -2,7 +2,7 @@ # Thanks to upsteam maintainer: Derek J. Clark pkgname=steam-powerbuttond pkgver=20240829 -pkgrel=1 +pkgrel=2 pkgdesc="Simple powerbutton daemon for steam with gamescope-session" arch=('any') url="https://github.com/ShadowBlip/steam-powerbuttond" @@ -16,7 +16,7 @@ source=("${pkgname}::git+${url}.git" 0002-fix-finding-user.patch) sha256sums=('SKIP' '2ada504d2cbc0f3bbcc53226be9fcf2ff7abae4e41d46f3568cd9c4ad40e18c4' # 0001-Don-t-install-to-usr-local.patch - '438fa6d4f58839dee026b380b7e0170973bbea18288db236cbf24d06474ed3f8' # 0002-fix-finding-user.patch + 'af4913f01377ba9cad03588decee29e7e170e0288df1597446ac0403ed96387b' # 0002-fix-finding-user.patch ) package() { From f5642975fcd766a1901d9686648380c1ae39390c Mon Sep 17 00:00:00 2001 From: fewtarius Date: Thu, 29 Aug 2024 18:51:03 +0000 Subject: [PATCH 4/7] Linux 6.10.7 --- PKGBUILD/linux/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD/linux/PKGBUILD b/PKGBUILD/linux/PKGBUILD index 8f53871..0aed3dc 100644 --- a/PKGBUILD/linux/PKGBUILD +++ b/PKGBUILD/linux/PKGBUILD @@ -6,8 +6,8 @@ # Mikael Eriksson pkgbase=linux -pkgver=6.10.6 -pkgrel=4 +pkgver=6.10.7 +pkgrel=1 pkgdesc="Linux Stable" arch=(x86_64) url="https://kernel.org/" From 5dc54034f3a7aa9f8f896885405624755aa316a4 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Thu, 29 Aug 2024 19:04:51 +0000 Subject: [PATCH 5/7] Resize installation gui to fit 720p displays. --- PKGBUILD/steamfork-installer/PKGBUILD | 2 +- .../steamfork-installer/src/usr/bin/steamfork-installer-gui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD/steamfork-installer/PKGBUILD b/PKGBUILD/steamfork-installer/PKGBUILD index 5940641..f2d3a8d 100644 --- a/PKGBUILD/steamfork-installer/PKGBUILD +++ b/PKGBUILD/steamfork-installer/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Fewtarius pkgname=steamfork-installer -pkgver=2024.07.26 +pkgver=2024.08.29 pkgrel=1 pkgdesc='Installation utility for SteamFork.' arch=('any') diff --git a/PKGBUILD/steamfork-installer/src/usr/bin/steamfork-installer-gui b/PKGBUILD/steamfork-installer/src/usr/bin/steamfork-installer-gui index badabdb..ab1304b 100755 --- a/PKGBUILD/steamfork-installer/src/usr/bin/steamfork-installer-gui +++ b/PKGBUILD/steamfork-installer/src/usr/bin/steamfork-installer-gui @@ -184,7 +184,7 @@ class InstallerApp(QMainWindow): self.central_widget.addWidget(installation_page) self.setCentralWidget(self.central_widget) - self.setMinimumSize(950, 700) + self.setMinimumSize(480, 600) title=f"{DistroName} Installer" self.setWindowTitle(title) From 0ecba27d0b16b34794e4631285602b3269eeac24 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Fri, 30 Aug 2024 11:40:18 +0000 Subject: [PATCH 6/7] Deprecate Ayaneo Flip boot audio quirk, it's no longer needed. --- PKGBUILD/steamfork-device-support/PKGBUILD | 4 ++-- .../devicequirks/AYANEO-FLIP-DS/boot.d/001-audio | 3 --- .../devicequirks/AYANEO-FLIP-KB/boot.d/001-audio | 5 ----- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100755 PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-DS/boot.d/001-audio delete mode 100755 PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-KB/boot.d/001-audio diff --git a/PKGBUILD/steamfork-device-support/PKGBUILD b/PKGBUILD/steamfork-device-support/PKGBUILD index 60d8d0e..a447aac 100644 --- a/PKGBUILD/steamfork-device-support/PKGBUILD +++ b/PKGBUILD/steamfork-device-support/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Fewtarius pkgname=steamfork-device-support -pkgver=2024.08.28 -pkgrel=2 +pkgver=2024.08.30 +pkgrel=1 pkgdesc='Hardware support provider for PC handhelds.' arch=('any') url='http://www.steamfork.org' diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-DS/boot.d/001-audio b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-DS/boot.d/001-audio deleted file mode 100755 index 65f062a..0000000 --- a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-DS/boot.d/001-audio +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -echo aw87xxx_pa 0x5b > /sys/bus/i2c/devices/i2c-1/new_device diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-KB/boot.d/001-audio b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-KB/boot.d/001-audio deleted file mode 100755 index 7a706b9..0000000 --- a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-FLIP-KB/boot.d/001-audio +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2024 Fewtarius - -echo aw87xxx_pa 0x5b > /sys/bus/i2c/devices/i2c-1/new_device From ea355a72a8a67df8e563c27f8c809671da00e2bd Mon Sep 17 00:00:00 2001 From: fewtarius Date: Fri, 30 Aug 2024 12:04:21 +0000 Subject: [PATCH 7/7] Fix for upstream package name changes. --- rootfs/steamfork/presets/minimal.sh | 2 +- rootfs/steamfork/presets/rel.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/steamfork/presets/minimal.sh b/rootfs/steamfork/presets/minimal.sh index 55d46b8..7088879 100644 --- a/rootfs/steamfork/presets/minimal.sh +++ b/rootfs/steamfork/presets/minimal.sh @@ -341,7 +341,7 @@ export STEAMOS_PKGS="acl shared-mime-info sqlite squashfs-tools - steamos-atomupd-client-git + steamos-atomupd-client steamos-devkit-service steamos-efi steamos-log-submitter diff --git a/rootfs/steamfork/presets/rel.sh b/rootfs/steamfork/presets/rel.sh index f3d08a0..0373d51 100644 --- a/rootfs/steamfork/presets/rel.sh +++ b/rootfs/steamfork/presets/rel.sh @@ -71,7 +71,7 @@ export STEAMOS_PKGS="accounts-qml-module aspell-en assimp at-spi2-core - atomupd-daemon-git + atomupd-daemon atkmm attr audit @@ -818,7 +818,7 @@ export STEAMOS_PKGS="accounts-qml-module steam_notif_daemon steamdeck-dsp steamdeck-kde-presets - steamos-atomupd-client-git + steamos-atomupd-client steamos-devkit-service steamos-efi steamos-log-submitter