71 Commits

Author SHA1 Message Date
Kyle Gospodnetich
d36b72065f chore: Move to using arrays in bazzite-hardware-setup 2023-10-21 00:56:11 -07:00
Kyle Gospodnetich
7f7f5b8802 fix: Modify initramfs applicator to always apply all needed params 2023-10-20 17:45:45 -07:00
Kyle Gospodnetich
a40caa7957 chore: Always set /etc/crypttab in initramfs step 2023-10-20 17:37:41 -07:00
Kyle Gospodnetich
df3f1c4375 chore: Cleanup bazzite-hardware-setup, make more use of initramfs
chore: Use lower numbers for sysctl.d
2023-10-20 17:26:33 -07:00
fiftydinar
0ccfe46d9b
fix: Remove rd.luks.options=discard karg & use --append-if-missing for kargs (#453)
* fix: Remove rd.luks.options=discard karg

There is no need for it since it will be applied automatically with initramfs LUKS workaround.

* Use --append-if-missing instead of --append for rpm-ostree kargs
2023-10-19 08:44:46 -07:00
Kyle Gospodnetich
d83d129c42 feat(deck): Add additional tweaks for zram performance, switch to sysctl.d to disable watchdog (Thanks Saber J2X and fiftydinar) 2023-10-18 16:17:49 -07:00
Kyle Gospodnetich
3be722994c feat: Disable split lock mitigation for increased gaming performance in titles like God of War (Thanks Saber J2X) 2023-10-18 16:03:59 -07:00
Kyle Gospodnetich
9368037631 fix: Correct hostname check (Thanks szescxz) 2023-10-16 23:56:15 -07:00
Kyle Gospodnetich
e1f5353af2 chore: Make please wait message slightly friendlier. 2023-10-16 15:51:46 -07:00
Kyle Gospodnetich
b3bae538f4
feat: Add message to plymouth during long bazzite-hardware-setup steps 2023-10-15 10:04:17 -07:00
Kyle Gospodnetich
1e938ed57d chore: Fix unclosed function
Fixes #428
2023-10-14 09:44:36 -07:00
Kyle Gospodnetich
cd35d5006c fix: Enable initramfs generation for LUKS.
Also fixes #426
2023-10-13 21:20:20 -07:00
Kyle Gospodnetich
3bb59da8a2 chore: Clean up bazzite-hardware-setup 2023-10-13 18:22:18 -07:00
Kyle Gospodnetich
cc41dd34f3 fix: Re-run bazzite-hardware-setup and bazzite-user-setup if Fedora version changes 2023-10-13 14:33:43 -07:00
Kyle Gospodnetich
922efd7d8b chore: Restore BTRFS changes for all users 2023-10-12 16:48:49 -07:00
Kyle Gospodnetich
604c92ef5b chore: Move fstab changes to deck section to avoid possible issues on rebase 2023-10-11 16:49:45 -07:00
Kyle Gospodnetich
f6090db760 fix: Correct issue detecting nvidia flavor 2023-10-09 00:05:13 -07:00
Kyle Gospodnetich
ddb0411c08 chore: Cut back on whitelisted TPD devices 2023-10-08 19:34:48 -07:00
Kyle Gospodnetich
3a9577cdfc feat: Enable Steam Patch for any hardware other than Steam Deck, fixes resolution issue that requires desktop gamers to select "Native" for every title in gamemode. 2023-10-08 19:14:09 -07:00
Kyle Gospodnetich
13cef91441 chore: Switch to custom builds of steam-patch, enable HandyGCCS on Ally once more 2023-10-08 09:00:19 -07:00
fiftydinar
5a0396d82f
fix(deck): Block additional AMD watchdog kmod for Steam Deck (#409) 2023-10-06 15:23:12 -07:00
Kyle Gospodnetich
9a85b6d21c chore: Adjust how steam-patch is started. 2023-10-05 17:07:12 -07:00
Kyle Gospodnetich
99101d69fd fix: Correct syntax issue in bazzite-hardware-setup 2023-10-05 11:39:43 -07:00
Kyle Gospodnetich
a6236df723 feat(deck): Double zram size on 32GB decks 2023-10-05 09:49:32 -07:00
Kyle Gospodnetich
28fec8efdf fix: Check for Ally & Framegame everywhere Deck is currently checked for
feat: Enable TDP control on non-deck hardware covered by steam-patch.
2023-10-04 14:16:59 -07:00
Kyle Gospodnetich
3fa0d5ddac fix: Add hostname reset to bazzite-hardware-setup if the hostname is too long for distrobox to reliably function 2023-10-03 21:25:04 -07:00
Kyle Gospodnetich
fd5be6585f chore: Manually install steam-patch, use polkit rules to allow it to run with root permissions as a user service 2023-10-03 18:14:20 -07:00
Kyle Gospodnetich
e5821e9b5d fix: Modify HandyGCCS setup to be explicit on device, automatically install Steam Patch (https://github.com/Maclay74/steam-patch/) on Handhelds that require it. 2023-10-02 23:18:18 -07:00
RJ Trujillo
17a7611206
fix(HandyGCCS): Enable globally (#400)
* fix(HandyGCCS): Enable globally

* feat: Enable handycon in bazzite-hardware-setup for any device on a deck image that isn't Jupiter.

---------

Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
2023-10-02 19:39:00 -07:00
Kyle Gospodnetich
0ea324d37b feat(deck): Switch to kyber I/O scheduler from BFQ, disable watchdog, and raise memlock limit
Brings in some of the great improvements highlighted by https://medium.com/@a.b.t./here-are-some-possibly-useful-tweaks-for-steamos-on-the-steam-deck-fcb6b571b577#ad14
2023-10-02 18:49:51 -07:00
Kyle Gospodnetich
ee4ab58f44
feat: Always check kargs (#398) 2023-10-01 11:47:05 -07:00
Kyle Gospodnetich
403547ddb3 fix: Correct issue with bazzite-hardware-setup executing every launch.
fix: Modify bazzite-user-setup to match bazzite-hardware-setup in ability to re-launch as needed
2023-09-27 15:56:35 -07:00
RJ Trujillo
97e74f3ec6
fix(hardware-setup): Set image flavor 2023-09-26 20:25:06 -06:00
RJ Trujillo
7c30803bec fix: Don't explicitly check main when excluding Nvidia 2023-09-23 09:16:49 -06:00
RJ Trujillo
019704d757 fix(image-info): Don't wrap identifiers in quotations
Instead of the raw key being assigned, a key wrapped in quotations was
incorrectly assigned
2023-09-22 22:56:26 -06:00
RJ Trujillo
66a14d300e fix(treewide): Use new image info implementation 2023-09-22 12:26:54 -06:00
RJ Trujillo
6763c3f504 revert: "fix(hardware-setup): REVERT ME, disable desktop-autologin if gamescope-autologin is enabled"
Not needed after consolidating to bazzite-autologin

This reverts commit 38c95fcfe3c4bbd2427bdff90774258fe7af640a.
2023-09-13 17:37:13 -06:00
RJ Trujillo
38c95fcfe3 fix(hardware-setup): REVERT ME, disable desktop-autologin if gamescope-autologin is enabled
Since autologin is switching handlers, desktop-autologin will be enabled on systems already using
gamescope-autologin causing a race. Check if gamescope-autologin is enabled and if so, disable it

This should be left here for a while to prevent migration issues, and removed later as it shouldn't
be necessary once users have migrated to the new handler
2023-09-12 08:56:51 -06:00
Kyle Gospodnetich
e79f7b9329 chore: Add log for si/cik in bazzite-hardware-setup 2023-09-11 08:22:47 -07:00
RJ Trujillo
1f8c80f67e fix(hardware-setup): Don't remove amdgpu kargs when no longer in use
Could cause a potential loop
2023-09-11 08:02:43 -06:00
RJ Trujillo
451b39359d chore(hardware-setup): Only retrieve GPU info once 2023-09-11 08:01:21 -06:00
RJ Trujillo
aea93df97b feat(hardware-setup): Enable amdgpu on supported systems
Enable amdgpu on systems using the radeon driver. The arguments for Southern Islands and
Sea Islands do not conflict so just enable both

Do not block this based on image flavor as some people may be using mixed GPU systems that
have both an AMD and Nvidia card
2023-09-11 08:01:21 -06:00
RJ Trujillo
b6976b64c7
fix(hardware-setup): Disable sdgyrodsu immediately 2023-09-08 13:31:10 -06:00
RJ Trujillo
10886b831e
fix(hardware-setup): Correctly check image name 2023-09-08 13:28:46 -06:00
RJ Trujillo
0d2d62d8de fix(hardware-setup): Disable sdgyrodsu on generic devices
Spams journal with messages stating it doesn't work
2023-09-08 12:44:34 -06:00
RJ Trujillo
6534d010ab chore(hardware-setup): Don't use sudo to disable Deck services 2023-09-08 12:43:00 -06:00
RJ Trujillo
7ead1949fa chore(hardware-setup): Check image flavor instead of name for separating main/Nvidia 2023-09-08 12:42:23 -06:00
RJ Trujillo
4edac4a5f7 fix(hardware-setup): Disable Deck services on generic devices 2023-09-08 12:42:09 -06:00
RJ Trujillo
7fc18d3c20 chore(hardware-setup): Remove Nvidia kargs after rebasing from Nvidia to main 2023-09-08 12:41:11 -06:00
RJ Trujillo
0c19e0dd50 chore(hardware-setup): Run if image has been rebased
Should be useful if switching from main -> nvidia or bazzite -> bazzite-deck
2023-09-08 12:41:11 -06:00