158 Commits

Author SHA1 Message Date
Kyle Gospodnetich
fe5311e56f
chore: Update paths for Waydroid policykit shims 2023-10-01 18:11:06 -07:00
Kyle Gospodnetich
7a6085e7df feat: Add Weston launcher for Waydroid using policykit to start and stop service 2023-10-01 15:57:19 -07:00
Kyle Gospodnetich
ee4ab58f44
feat: Always check kargs (#398) 2023-10-01 11:47:05 -07:00
Kyle Gospodnetich
246da3b324 chore: Use /etc/, not /usr/etc
This allows the end-user to change these files if desired
2023-10-01 10:15:26 -07:00
Kyle Gospodnetich
75f85d8719 feat: Add option to force discover-overlay to launch on GNOME Wayland (See /etc/default/discover-overlay) 2023-09-27 23:09:12 -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
Kyle Gospodnetich
7fff9de1c0 feat(desktop): Add discover-overlay matching deck builds (Default disabled, see /etc/default/discover-overlay) 2023-09-27 08:19:23 -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
Kyle Gospodnetich
81bb60084f feat: Switch to new numbered just file system 2023-09-22 14:27:09 -07:00
RJ Trujillo
66a14d300e fix(treewide): Use new image info implementation 2023-09-22 12:26:54 -06:00
zelikos
c1b6ce4515
fix: Typo in bazzite-flatpak-manager 2023-09-21 19:05:54 -04:00
RJ Trujillo
24ceab8e44
fix(user-setup): Fix justfile creation
Currently, this only gets written if the file exists. Create it when the file doesn't exist instead
2023-09-20 11:09:10 -06:00
Kyle Gospodnetich
d494845efe chore: Create simplified justfile 2023-09-15 09:39:13 -07:00
Kyle Gospodnetich
5b4c7a85cf chore: Remove .justfile creation
The justfiles conflict with eachother if they have functions of the same name, and the first function of them sorted alphabetically acts as as default when running `just`, this means each can't use the 'default' name for their top function, and we unfortunately just need to ship our own.
2023-09-15 00:37:38 -07:00
Kyle Gospodnetich
1e1437a222 feat(deck-gnome): Add templates for vkBasalt and DXVK to make game modding easier, allows for creation of the example config from the right click menu 2023-09-15 00:30:41 -07: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
Kyle Gospodnetich
57c1ea7d5a chore: Move desktop-autologin to only apply to deck images 2023-09-12 11:20:43 -07: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
RJ Trujillo
d5d373a3ca chore(deck): Consolidate DE autologin handlers to desktop-autologin
Combines plasma-autologin, and GNOME autologin on Deck images into one handler.
This is done as these services all work practically the same.
2023-09-12 08:47:07 -06:00
Kyle Gospodnetich
904c45e5ec chore(gnome): Move font changes to be part of themes 2023-09-11 12:30:29 -07:00
Kyle Gospodnetich
0145cfbea0 feat(gnome): Set default fonts in GNOME to match SteamOS KDE session 2023-09-11 12:24:37 -07:00
Kyle Gospodnetich
e79f7b9329 chore: Add log for si/cik in bazzite-hardware-setup 2023-09-11 08:22:47 -07:00
Kyle Gospodnetich
fdd349a71e
Merge pull request #280 from ublue-os/enable-amdgpu
feat(hardware-setup): Enable amdgpu on supported systems
2023-09-11 08:11:07 -07:00
RJ Trujillo
8b82ea52c2 chore(flatpak-manager): Rename from flatpak-system-install to flatpak-manager
More accurate name as it both removes and installs flatpaks and removes Fedora's
flatpak repo
2023-09-11 08:05:08 -06:00
RJ Trujillo
65deb1140b fix(flatpak-system-install): Re-remove Deck install list 2023-09-11 08:05:08 -06:00
RJ Trujillo
abaafa3339 fix(flatpak-system-install): Ensure Bazzite config directory exists before writing version
While it should exist at this point, better safe than sorry
2023-09-11 08:05:08 -06:00
RJ Trujillo
32c6cf7241 chore(flatpak-system-install): Use versioned check
Only run script on updates
2023-09-11 08:05:08 -06:00
RJ Trujillo
847c9d7545 fix(flatpak-system-install): Ship flatpak lists in /usr
We don't want these to be removed in case changes are ever made to them
2023-09-11 08:05:08 -06:00
RJ Trujillo
23cf9331ab feat(flatpak-system-install): Improve flatpak management
Instead of discarding the install/removal list after the initial install, check
the current install for flatpaks that need to be installed/removed each time the
script is ran
2023-09-11 08:05:08 -06: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
Kyle Gospodnetich
24ac50fbe5 fix: Make sure files don't exist before copying or symlinking in bazzite-user-setup, allows re-runs without any errors printed. 2023-09-10 21:32:49 -07:00
RJ Trujillo
6d221290e0
Merge pull request #269 from ublue-os/hardware-setup-enhancements
chore(hardware-setup): Versioned/rebase checks, and disable Deck services on generic devices
2023-09-08 16:20:16 -06:00
Kyle Gospodnetich
23347190c7 fix(gnome): Set sensible default power settings on Steam Deck hardware automatically 2023-09-08 13:42:48 -07: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
RJ Trujillo
de50ac20ae chore(hardware-setup): Use a versioned check instead of running once 2023-09-08 12:41:11 -06:00
Kyle Gospodnetich
98df254a67 Revert "fix(deck): Remove Deck TDP control udev rules if deck hardware isn't detected to avoid running into 15W limit from Steam"
This reverts commit 2fa0e15b520b4df4ad303c071cd24e45d8fc9467.
2023-09-04 01:30:19 -07:00
Kyle Gospodnetich
2fa0e15b52 fix(deck): Remove Deck TDP control udev rules if deck hardware isn't detected to avoid running into 15W limit from Steam 2023-09-03 19:52:47 -07:00
Kyle Gospodnetich
e5d68da9fb chore(gnome): Update name of cariboublocker extension. 2023-09-03 17:07:56 -07:00
Kyle Gospodnetich
9f50fa9a14 chore: Remove deck specific flatpak installer 2023-09-01 13:37:42 -07:00