Merge branch 'main-next' into testing

This commit is contained in:
Kyle Gospodnetich 2024-01-16 01:26:57 -08:00
commit 0b4e26abf5
31 changed files with 1870 additions and 497 deletions

View File

@ -447,7 +447,6 @@ RUN /tmp/image-info.sh && \
systemctl disable rpm-ostreed-automatic.timer && \ systemctl disable rpm-ostreed-automatic.timer && \
systemctl enable ublue-update.timer && \ systemctl enable ublue-update.timer && \
systemctl enable gamescope-workaround.service && \ systemctl enable gamescope-workaround.service && \
systemctl enable sunshine-workaround.service && \
systemctl enable waydroid-workaround.service && \ systemctl enable waydroid-workaround.service && \
systemctl enable bazzite-hardware-setup.service && \ systemctl enable bazzite-hardware-setup.service && \
systemctl enable tailscaled.service && \ systemctl enable tailscaled.service && \

View File

@ -4,21 +4,24 @@
[![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg)](https://github.com/ublue-os/bazzite/actions/workflows/build.yml) [![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg)](https://github.com/ublue-os/bazzite/actions/workflows/build.yml)
# [🇺🇸](https://github.com/ublue-os/bazzite/blob/main/README.md) [🇪🇸](https://github.com/ublue-os/bazzite/blob/main/README-SPA.md) [🇮🇩](https://github.com/ublue-os/bazzite/blob/main/README-ID.md)
--- ---
# Daftar Isi # Daftar Isi
- [Fitur untuk **SEMUA** Image Bazzite](https://github.com/ublue-os/bazzite#about--features) - [Fitur untuk **SEMUA** Image Bazzite](#tentang--fitur)
- [Fitur untuk Image **Desktop** ](https://github.com/ublue-os/bazzite#desktop) - [Fitur untuk Image **Desktop** ](#desktop)
- [Fitur untuk Image **Steam Deck / HTPC**](https://github.com/ublue-os/bazzite#steam-deckhome-theater-pcs-htpcs) - [Fitur untuk Image **Steam Deck / HTPC**](#steam-deckhome-theater-pcs-htpcs)
- [Fitur untuk Image **GNOME** ](https://github.com/ublue-os/bazzite#gnome) - [Fitur untuk Image **GNOME** ](#gnome)
- [Fitur dari upstream](https://github.com/ublue-os/bazzite#features-from-upstream) - [Fitur dari upstream](#fitur-dari-upstream)
- [Alasan](https://github.com/ublue-os/bazzite#why) - [Alasan](#alasan)
- [Showcase](https://github.com/ublue-os/bazzite#showcase) - [Pameran](#pameran)
- [Dokumentasi & Buletin](https://github.com/ublue-os/bazzite#documentation--newsletters) - [Dokumentasi & Buletin](#dokumentasi--buletin)
- [Paket Kustom](https://github.com/ublue-os/bazzite#custom-packages) - [Paket Kustom](#paket-kustom)
- [Verifikasi & Metrik](https://github.com/ublue-os/bazzite#verification) - [Verifikasi & Metrik](#paket-kustom)
- [Ucapan Terimakasih](https://github.com/ublue-os/bazzite#special-thanks) - [Ucapan Terimakasih](#ucapan-terimakasih)
- [Membuat Image Anda Sendiri](https://github.com/ublue-os/bazzite#build-your-own) - [Membuat Image Anda Sendiri](#membuat-image-anda-sendiri)
- [Komunitas](https://github.com/ublue-os/bazzite#join-the-community) - [Komunitas](#bergabung-dengan-komunitas)
--- ---
## Tentang & Fitur ## Tentang & Fitur
@ -35,13 +38,13 @@ Bazzite dibentuk dari [ublue-os/main](https://github.com/ublue-os/main) and [ubl
- Dukungan untuk [Wallpaper Engine](https://www.wallpaperengine.io/en). <sub><sup>(Hanya ada di KDE)</sup></sub> - Dukungan untuk [Wallpaper Engine](https://www.wallpaperengine.io/en). <sub><sup>(Hanya ada di KDE)</sup></sub>
- Disediakan [Ekstensi shell untuk ROM Properties Page ](https://github.com/GerbilSoft/rom-properties). - Disediakan [Ekstensi shell untuk ROM Properties Page ](https://github.com/GerbilSoft/rom-properties).
- Dukungan penuh untuk [Winesync/Fastsync/NTsync](https://github.com/Frogging-Family/wine-tkg-git/issues/936). - Dukungan penuh untuk [Winesync/Fastsync/NTsync](https://github.com/Frogging-Family/wine-tkg-git/issues/936).
- Pra-install [Distrobox](https://github.com/89luca89/distrobox) preinstalled dengan update otomatis untuk kontainer yang dibuat. - Pra-install [Distrobox](https://github.com/89luca89/distrobox) dengan update otomatis untuk kontainer yang dibuat.
- Otomatisasi layanan `duperemove` dan `rmlint`untuk mengurangi penggunaan penyimpanan yang digunakan untuk konten prefix wine. - Otomatisasi layanan `duperemove` dan `rmlint`untuk mengurangi penggunaan penyimpanan yang digunakan prefix wine.
- Dukungan untuk HDMI CEC dengan [libCEC](https://libcec.pulse-eight.com/). - Dukungan untuk HDMI CEC dengan [libCEC](https://libcec.pulse-eight.com/).
- Pra-install [System76-Scheduler](https://github.com/pop-os/system76-scheduler), menyediakan otomatisasi providing automatic process priority tweaks to your focused application and keeping CPU time for background processes to a minimum. - Pra-install [System76-Scheduler](https://github.com/pop-os/system76-scheduler), menyediakan otomatisasi dan oprekan untuk proses yang berjalan dilatar belakang, serta meminimalkan CPU untuk proses latar belakang.
- Menkustomisasi konfigurasi System76-Scheduler dengan aturan tambahan. - Menkustomisasi konfigurasi System76-Scheduler dengan aturan tambahan.
- Menggunakan [Google's BBR TCP congestion control](https://github.com/google/bbr) secara bawaan. - Menggunakan [Google's BBR TCP congestion control](https://github.com/google/bbr) secara bawaan.
- Pra-install[Input Remapper](https://github.com/sezanzeb/input-remapper) dan diaktifkan secara bawaan. <sub><sup>(Dimatikan secara bawaan di varian Deck tapi tersedia dan dapat diaktifkan dengan `ujust enable-input-remapper`)</sup></sub> - Pra-install [Input Remapper](https://github.com/sezanzeb/input-remapper) dan diaktifkan secara bawaan. <sub><sup>(Dinonaktifkan secara bawaan di varian Deck tapi tersedia dan dapat diaktifkan dengan `ujust enable-input-remapper`)</sup></sub>
- Portal Bazzite menyediakan cara mudah untuk menginstall berbagai macam aplikasi dan oprekan, termasuk menginstall [LACT](https://github.com/ilya-zlobintsev/LACT) dan [GreenWithEnvy](https://gitlab.com/leinardi/gwe). - Portal Bazzite menyediakan cara mudah untuk menginstall berbagai macam aplikasi dan oprekan, termasuk menginstall [LACT](https://github.com/ilya-zlobintsev/LACT) dan [GreenWithEnvy](https://gitlab.com/leinardi/gwe).
- Manajemen paket [Nix](https://nixos.org/) dengan [Fleek](https://getfleek.dev/) tersedia secara optional dan dapat diinstall dengan `ujust`. - Manajemen paket [Nix](https://nixos.org/) dengan [Fleek](https://getfleek.dev/) tersedia secara optional dan dapat diinstall dengan `ujust`.
- Manajemen paket [Brew](https://brew.sh/) tersedia secara optional dan dapat diinstall dengan Portal Bazzite. - Manajemen paket [Brew](https://brew.sh/) tersedia secara optional dan dapat diinstall dengan Portal Bazzite.
@ -49,10 +52,10 @@ Bazzite dibentuk dari [ublue-os/main](https://github.com/ublue-os/main) and [ubl
- Mengatur aplikasi dengan [Flatseal](https://github.com/tchx84/Flatseal), [Warehouse](https://github.com/flattool/warehouse), dan [Gear Lever](https://github.com/mijorus/gearlever). - Mengatur aplikasi dengan [Flatseal](https://github.com/tchx84/Flatseal), [Warehouse](https://github.com/flattool/warehouse), dan [Gear Lever](https://github.com/mijorus/gearlever).
- [OpenRGB](https://gitlab.com/CalcProgrammer1/OpenRGB) driver i2c-piix4 dan i2c-nct6775 untuk mengatur RGB di beberapa jenis motherboard. - [OpenRGB](https://gitlab.com/CalcProgrammer1/OpenRGB) driver i2c-piix4 dan i2c-nct6775 untuk mengatur RGB di beberapa jenis motherboard.
- Disediakan secara bawaan driver [OpenRazer](https://openrazer.github.io), Pilih OpenRazer di portal bazzite atau jalankan perintah `ujust install-openrazer` diterminal untuk menggunakannya. - Disediakan secara bawaan driver [OpenRazer](https://openrazer.github.io), Pilih OpenRazer di portal bazzite atau jalankan perintah `ujust install-openrazer` diterminal untuk menggunakannya.
- Disediakan secara bawaan [OpenTabletDriver](https://opentabletdriver.net/) udev rules , dengan perangkat lunaknya yang dapat diinstall dengan portal bazzite atau dengan mengetikkan `ujust install-opentabletdriver` di terminal. - Disediakan secara bawaan [OpenTabletDriver](https://opentabletdriver.net/) udev rules, dengan perangkat lunaknya yang dapat dipasang dengan portal bazzite atau dengan mengetikkan `ujust install-opentabletdriver` di terminal.
- Driver [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) untuk men-overclocking Kontroller Gamecube Nintendo sampai dengan 1000hz polling. - Driver [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) untuk men-overclocking Kontroller Nintendo Gamecube sampai dengan 1000hz polling.
- Dukungan untuk keyboard [Wooting](https://wooting.io/). - Dukungan untuk keyboard [Wooting](https://wooting.io/).
- Dukungan untuk kartu grafis Southern Islands <sub><sup>(HD 7000)</sup></sub> and Sea Islands <sub><sup>(HD 8000)</sup></sub> AMD GPUs dengan driver `amdgpu`. - Dukungan untuk kartu grafis Southern Islands <sub><sup>(HD 7000)</sup></sub> and Sea Islands <sub><sup>(HD 8000)</sup></sub> dengan driver `amdgpu`.
- Memperbaiki masalah untuk [game yang menggunakan engine Source 1 <sub><sup>(Contoh: TF2)</sup></sub>](https://github.com/ValveSoftware/Source-1-Games/issues/5043) yang membuat game-nya crash saat dijalankan `ujust patch-source1-tcmalloc` - Memperbaiki masalah untuk [game yang menggunakan engine Source 1 <sub><sup>(Contoh: TF2)</sup></sub>](https://github.com/ValveSoftware/Source-1-Games/issues/5043) yang membuat game-nya crash saat dijalankan `ujust patch-source1-tcmalloc`
- [XwaylandVideoBridge](https://invent.kde.org/system/xwaylandvideobridge) untuk Discord screensharing di Wayland. - [XwaylandVideoBridge](https://invent.kde.org/system/xwaylandvideobridge) untuk Discord screensharing di Wayland.
- [Webapp Manager](https://github.com/linuxmint/webapp-manager) tersedia untuk membuat aplikasi dari situs web dengan berbagai macam peramban, termasuk Firefox. - [Webapp Manager](https://github.com/linuxmint/webapp-manager) tersedia untuk membuat aplikasi dari situs web dengan berbagai macam peramban, termasuk Firefox.
@ -86,28 +89,28 @@ Perangkat yang bukan Steam Deck masih bisa menggunakan image bazzite-deck, tetap
Varian `bazzite-deck` ini didesain untuk digunakan sebagai alternatif untuk SteamOS di perangkat Steam Deck dan HTPC dengan pengalaman seperti konsol: Varian `bazzite-deck` ini didesain untuk digunakan sebagai alternatif untuk SteamOS di perangkat Steam Deck dan HTPC dengan pengalaman seperti konsol:
- Langsung boot ke Gamemode seperti SteamOS. - Langsung boot ke Gamemode seperti SteamOS.
- **Automatic `duperemove` greatly trims the size of compatdata.** - **`duperemove` secara otomatis yang berguna untuk mengurangi ukuran folder compatdata.**
- **Latest version of Mesa creates smaller shader caches and does not require them to prevent stutter.** - **Versi terbaru dari Mesa yang menghasilkan ukuran shaders cache yang lebih kecil dan tidak diperlukan lagi untuk mencegah stutter.**
- **Able to be booted even if the drive is full.** - **Langsung bisa booting walaupun diska penuh.**
- **Support for every language supported by upstream Fedora.** - **Dukungan untuk setiap bahasa yang disupport oleh Fedora.**
- **Menggunakan Wayland di desktop dengan [dukungan untuk Steam input](https://github.com/Supreeeme/extest).** - **Menggunakan Wayland di desktop dengan [dukungan untuk Steam input](https://github.com/Supreeeme/extest).**
- Fitur yang diporting dari SteamOS meliputi driver, pembaruan perangkat tegar, dan pengatur kecepatan kipas [dari repositori evlaV ](https://gitlab.com/evlaV). - Fitur yang diporting dari SteamOS meliputi driver, pembaruan perangkat tegar, dan pengatur kecepatan kipas [dari repositori evlaV ](https://gitlab.com/evlaV).
- Mesa yang dipatch untuk mengatur framerate di Gamescope. - Mesa yang dipatch untuk mengatur framerate di Gamescope.
- Hadir dengan patch dari [SteamOS BTRFS](https://gitlab.com/popsulfr/steamos-btrfs) untuk dukungan BTRFS di SD Card secara bawaan. - Hadir dengan patch dari [SteamOS BTRFS](https://gitlab.com/popsulfr/steamos-btrfs) untuk dukungan BTRFS di SD Card secara bawaan.
- [SDGyroDSU](https://github.com/kmicki/SteamDeckGyroDSU) tersedia dan diaktifkan secara bawaan. - [SDGyroDSU](https://github.com/kmicki/SteamDeckGyroDSU) tersedia dan diaktifkan secara bawaan.
- Pilihan untuk menginstall [Decky Loader](https://github.com/SteamDeckHomebrew/decky-loader), [EmuDeck](https://www.emudeck.com/), [RetroDECK](https://retrodeck.net/), dan [ProtonUp-Qt](https://davidotek.github.io/protonup-qt/), serta berbagai macam paket/aplikasi yang berguna selama pemasangan. - Pilihan untuk menginstall [Decky Loader](https://github.com/SteamDeckHomebrew/decky-loader), [EmuDeck](https://www.emudeck.com/), [RetroDECK](https://retrodeck.net/), dan [ProtonUp-Qt](https://davidotek.github.io/protonup-qt/), serta berbagai macam paket/aplikasi yang berguna selama pemasangan.
- Sistem pembaruan kustom memungkinkan Sistem Operasi,Flatpal,Paket Nix<sup><sub>(dengan fleek)</sub></sup>, dan Distrobox image untuk diupdate dari Gamemode UI. - Sistem pembaruan kustom memungkinkan Sistem Operasi,Flatpak,Paket Nix<sup><sub>(dengan fleek)</sub></sup>, dan Distrobox image untuk diupdate dari Gamemode UI.
- Dukungan untuk dual-boot dengan Windows karena GRUB dari Fedora. - Dukungan untuk dual-boot dengan Windows karena GRUB dari Fedora.
- Pembaruan merusak sesuatu? tinggal rollback ke versi sebelumnya berkat fitur rollback`rpm-ostree`. Anda bisa memilih versi image sebelumnya di boot menuY. - Pembaruan merusak sesuatu? tinggal rollback ke versi sebelumnya berkat fitur rollback `rpm-ostree`. Anda bisa memilih versi image sebelumnya di boot menu.
- Pra-install Steam dan Lutris sebagai paket sistem. - Pra-install Steam dan Lutris sebagai paket sistem.
- Pra-install [Discover Overlay](https://github.com/trigg/Discover) untuk Discord dan otomatis diluncurkan di Gamemode,dan di desktop jika Discord terinstall. [Lihat dokumentasinya disini](https://trigg.github.io/Discover/bazzite). - Pra-install [Discover Overlay](https://github.com/trigg/Discover) untuk Discord dan otomatis diluncurkan di Gamemode,dan di desktop jika Discord terinstall, [Lihat dokumentasinya disini](https://trigg.github.io/Discover/bazzite).
- Menggunakan ZRAM<sub><sup>(4GB)</sup></sub> dengan kompresi ZSTD secara bawaan dengan opsi untuk menggunakan 1GB swap file dan bisa diatur sesuai kebutuhan. - Menggunakan ZRAM<sub><sup>(4GB)</sup></sub> dengan kompresi ZSTD secara bawaan dengan opsi untuk menggunakan 1GB swap file dan bisa diatur sesuai kebutuhan.
- Penjadwal I/O untuk mencegah I/O starvation ketika memasang game atau ketika proses latar belakang `duperemove` dan `rmlint`. - Penjadwal I/O untuk mencegah I/O starvation ketika memasang game atau ketika proses latar belakang `duperemove` dan `rmlint` bekerja.
- Mengaplikasikan parameter kernel dari SteamOS. - Mengaplikasikan parameter kernel dari SteamOS.
- Kalibrasi Warna Layar untuk layar matte dan reflektif Steam Deck. - Kalibrasi Warna Layar untuk layar matte dan reflektif Steam Deck.
- Fitur-fitur pengguna advance yang tidak diaktifkan secara bawaan seperti: - Fitur-fitur pengguna advance yang tidak diaktifkan secara bawaan seperti:
- Service untuk undervolting Steam Deck yang beresiko rendah dengan [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) dan [Ryzen SMU](https://gitlab.com/leogx9r/ryzen_smu), anda bisa mencek `ryzenadj.service` dan `/etc/default/ryzenadj`. - Service untuk undervolting Steam Deck yang beresiko rendah dengan [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) dan [Ryzen SMU](https://gitlab.com/leogx9r/ryzen_smu), anda bisa mengecek `ryzenadj.service` dan `/etc/default/ryzenadj`.
- Service untuk membatasi kapasitas maksimal saat mengisi ulang, anda bisa mencek `batterylimit.service` dan `/etc/default/batterylimit`. <sup><sub>(Bekerja walaupun perangkat dalam posisi non aktif)</sub></sup> - Service untuk membatasi kapasitas maksimal saat mengisi ulang, anda bisa mengeceknya di `batterylimit.service` dan `/etc/default/batterylimit`. <sup><sub>(Bekerja walaupun perangkat dalam posisi non aktif)</sub></sup>
- Dukungan bawaan untuk overclocking layar. Contohnya seperti ini, anda menambahkan `GAMESCOPE_OVERRIDE_REFRESH_RATE=40,70` di `/etc/environment`. - Dukungan bawaan untuk overclocking layar. Contohnya seperti ini, anda menambahkan `GAMESCOPE_OVERRIDE_REFRESH_RATE=40,70` di `/etc/environment`.
- Anda bisa menggunakan X11 jika diperlukan dengan mengedit `/etc/default/desktop-wayland`. - Anda bisa menggunakan X11 jika diperlukan dengan mengedit `/etc/default/desktop-wayland`.
- Lu punya RAM 32 GB? anda bisa memakai 2x lipat VRAM yang diaplikasikan secara otomatis!. <sup><sub>(Coba bagikan skill ngesolder lu dong)</sub></sup> - Lu punya RAM 32 GB? anda bisa memakai 2x lipat VRAM yang diaplikasikan secara otomatis!. <sup><sub>(Coba bagikan skill ngesolder lu dong)</sub></sup>
@ -128,7 +131,7 @@ rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck:lates
### GNOME ### GNOME
Varian desktop GNOME tersedia dalam versi desktop dan GNOME.varian ini memiliki beberapa fitur tambahan seperti : Varian desktop GNOME tersedia dalam versi desktop dan deck.varian ini memiliki beberapa fitur tambahan seperti :
- [Dukungan untuk Variable refresh rate dan fractional scaling di sesi wayland secara bawaan](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1154). - [Dukungan untuk Variable refresh rate dan fractional scaling di sesi wayland secara bawaan](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1154).
- Menu kustom di bar atas untuk kembali ke game mode, meluncurkan Steam, dan membuka berbagai macam peralatan yang berguna. - Menu kustom di bar atas untuk kembali ke game mode, meluncurkan Steam, dan membuka berbagai macam peralatan yang berguna.
@ -178,19 +181,18 @@ rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck-gnome
- Paket sistem yang terbarukan. - Paket sistem yang terbarukan.
- Layer paket fedora tanpa perlu takut paket tersebut hilang saat memperbarui sistem. - Layer paket fedora tanpa perlu takut paket tersebut hilang saat memperbarui sistem.
- Pra-install [SELinux](https://github.com/SELinuxProject/selinux) untuk keamanan dan telah dikonfigurasi secara bawaan. - Pra-install [SELinux](https://github.com/SELinuxProject/selinux) untuk keamanan dan telah dikonfigurasi secara bawaan.
- The ability to rebase to different Fedora libostree images, if desired, without losing user data.
- Bisa rebase ke image Fedora ostree yang lain jika mau,tanpa kehilangan data pengguna. - Bisa rebase ke image Fedora ostree yang lain jika mau,tanpa kehilangan data pengguna.
- Dukungan printing berkat [CUPS](https://www.cups.org/) yang terinstall secara bawaan - Dukungan printing berkat [CUPS](https://www.cups.org/) yang terinstall secara bawaan.
## Alasan ## Alasan
Bazzite dimulai sebagai proyek untuk menyelesaikan berbagai masalah yang ada di SteamOS, terutama paket-paket yang tidak terbarukan (walaupun menggunakan ArchLinux sebagai base) dan tidak ada manajemen paket yang fungsional. Bazzite dimulai sebagai proyek untuk menyelesaikan berbagai masalah yang ada di SteamOS, terutama paket-paket yang tidak terbarukan (walaupun menggunakan ArchLinux sebagai base) dan tidak ada manajemen paket yang fungsional.
Walaupun proyek ini juga menggunakan image. anda masih bisa menginstall berbagai macam paket Fedora dari perintah shell. Paket-paket ini akan tetap bertahan setelah pembaruan <sub><sup>(Jadi anda bisa install aplikasi VPN yang anda g bisa install di SteamOS). Walaupun proyek ini juga menggunakan image. anda masih bisa menginstall berbagai macam paket Fedora dari perintah shell. Paket-paket ini akan tetap bertahan setelah pembaruan <sub><sup>(Jadi anda bisa install aplikasi VPN yang anda g bisa install di SteamOS)<sub><sup>.
Sebagai tambahan, Bazzite sering diupdate beberapa kali dalam satu minggu dengan paket-paket dari upstream Fedora, memberikan anda performa terbaik dan fitur-fitur terbaru di base yang stabil. Sebagai tambahan, Bazzite sering diupdate beberapa kali dalam satu minggu dengan paket-paket dari upstream Fedora, memberikan anda performa terbaik dan fitur-fitur terbaru di base yang stabil.
Bazzite hadir dengan versi Linux kernel yang terbaru dan SELinux diaktifkan secara bawaan dengan dukungan penuh untuk secure boot <sub><sup>(Jalankan `ujust enroll-secure-boot-key` dan masukan password `ublue-os` jika diperintahkan untuk menroll key dari kita)</sup></sub> Bazzite hadir dengan versi Linux kernel yang terbaru dan SELinux diaktifkan secara bawaan dengan dukungan penuh untuk secure boot <sub><sup>(Jalankan `ujust enroll-secure-boot-key` dan masukan password `ublue-os` jika diperintahkan untuk menroll key dari kita)</sup></sub>
dan enkripsi disk membuat ini aman dan sempurna untuk komputasi general. <sup><sub>(Yes, lu bisa ngeprint dari Bazzite!)</sub></sup>. dan enkripsi disk membuat ini aman dan sempurna untuk komputasi general. <sup><sub>(Yes, anda bisa ngeprint dari Bazzite!)</sub></sup>.
Baca [FAQ](https://universal-blue.discourse.group/docs?topic=33) untuk tahu apa saja yang membuat Bazzite beda dari Sistem Operasi Linux yang lain. Baca [FAQ](https://universal-blue.discourse.group/docs?topic=33) untuk tahu apa saja yang membuat Bazzite beda dari Sistem Operasi Linux yang lain.
@ -214,7 +216,7 @@ Baca [FAQ](https://universal-blue.discourse.group/docs?topic=33) untuk tahu apa
Temukan dokumentasi tambahan project ini [disini](https://universal-blue.discourse.group/docs). Temukan dokumentasi tambahan project ini [disini](https://universal-blue.discourse.group/docs).
Cek [buletin](https://universal-blue.discourse.group/tag/bazzite-buzz) kami yang selalu update secara regular tentang project ini. Cek [buletin](https://universal-blue.discourse.group/tag/bazzite-buzz) kami yang selalu update secara regular tentang proyek ini.
## Paket Kustom ## Paket Kustom
Paket-paket ini diporting dari SteamOS dan ChimeraOS, dan digunakan oleh Bazzite dan dibuat di Copr [bazzite](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/) and [bazzite-multilib](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/). Paket-paket ini diporting dari SteamOS dan ChimeraOS, dan digunakan oleh Bazzite dan dibuat di Copr [bazzite](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/) and [bazzite-multilib](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/).
@ -290,11 +292,12 @@ cosign verify --key cosign.pub ghcr.io/ublue-os/bazzite
## Secure Boot ## Secure Boot
Secure boot didukung dengan key dari kami. Pub key dapat ditemukan di root repositori ini[disini bro](https://github.com/ublue-os/bazzite/blob/main/secure_boot_key.der). Secure boot didukung dengan key dari kami. Pub key dapat ditemukan di root repositori [ini](https://github.com/ublue-os/bazzite/blob/main/secure_boot.der).
Jika anda ingin menenroll key ini sebelum instalasi, unduh key ini dan jalankan: Jika anda ingin menenroll key ini sebelum instalasi, unduh key ini dan jalankan:
```bash ```bash
sudo mokutil --import secure_boot_key.der sudo mokutil --timeout -1
sudo mokutil --import secure_boot.der
``` ```
### Metrik Kontribusi ### Metrik Kontribusi

View File

@ -4,24 +4,26 @@
![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg) ![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg)
# [🇺🇸](https://github.com/ublue-os/bazzite/blob/main/README.md) [🇪🇸](https://github.com/ublue-os/bazzite/blob/main/README-SPA.md) [🇮🇩](https://github.com/ublue-os/bazzite/blob/main/README-ID.md)
--- ---
# Tabla de Contenidos # Tabla de Contenidos
- [Características de **todas** las imágenes de Bazzite](https://github.com/ublue-os/bazzite#about--features) - [Características de **todas** las imágenes de Bazzite](#about--features)
- [Características de las imágenes para **Computadoras de Escritorio**](https://github.com/ublue-os/bazzite#desktop) - [Características de las imágenes para **Computadoras de Escritorio**](#desktop)
- [Características de las imágenes para **Steam Deck/HTPC**](https://github.com/ublue-os/bazzite#steam-deckhome-theater-pcs-htpcs) - [Características de las imágenes para **Steam Deck/HTPC**](#steam-deckhome-theater-pcs-htpcs)
- [Características de las imágenes con el entorno de escritorio **GNOME**](https://github.com/ublue-os/bazzite#gnome) - [Características de las imágenes con el entorno de escritorio **GNOME**](#gnome)
- [Características del Upstream](https://github.com/ublue-os/bazzite#features-from-upstream) - [Características del Upstream](#features-from-upstream)
- [¿Por qué?](https://github.com/ublue-os/bazzite#why) - [¿Por qué?](#why)
- [Mira como luce Bazzite (Capturas de Pantalla)](https://github.com/ublue-os/bazzite#showcase) - [Mira como luce Bazzite (Capturas de Pantalla)](#showcase)
- [Documentación y Boletín informativo/Newsletters (En inglés)](https://github.com/ublue-os/bazzite#documentation--newsletters) - [Documentación y Boletín informativo/Newsletters (En inglés)](#documentation--newsletters)
- [Paquetes Personalizados](https://github.com/ublue-os/bazzite#custom-packages) - [Paquetes Personalizados](#custom-packages)
- [Arranque Seguro (Secure Boot)](https://github.com/ublue-os/bazzite#secure-boot) - [Arranque Seguro (Secure Boot)](#secure-boot)
- [Verificación y Métricas](https://github.com/ublue-os/bazzite#verification) - [Verificación y Métricas](#verification)
- [Gracias Especiales](https://github.com/ublue-os/bazzite#special-thanks) - [Gracias Especiales](#special-thanks)
- [Créalo tu Mismo](https://github.com/ublue-os/bazzite#build-your-own) - [Créalo tu Mismo](#build-your-own)
- [Comunidad (en inglés)](https://github.com/ublue-os/bazzite#join-the-community) - [Comunidad (en inglés)](#join-the-community)
--- ---
@ -315,13 +317,14 @@ cosign verify --key cosign.pub ghcr.io/ublue-os/bazzite
## Arranque Seguro (Secure Boot) ## Arranque Seguro (Secure Boot)
El Arranque Seguro (Secure Boot) tiene soporte gracias a nuestra llave digital personalizada. La llave pública puede encontrarse en la raíz de [este](https://github.com/ublue-os/bazzite/blob/main/secure_boot_key.der) repositorio. El Arranque Seguro (Secure Boot) tiene soporte gracias a nuestra llave digital personalizada. La llave pública puede encontrarse en la raíz de [este](https://github.com/ublue-os/bazzite/blob/main/secure_boot.der) repositorio.
Si gustas registrar esta llave antes de instalar Bazzite, descarga la llave y ejecuta el siguiente comando en una terminal: Si gustas registrar esta llave antes de instalar Bazzite, descarga la llave y ejecuta el siguiente comando en una terminal:
```bash ```bash
sudo mokutil --import secure_boot_key.der sudo mokutil --timeout -1
sudo mokutil --import secure_boot.der
``` ```
### Métricas de Contribución ### Métricas de Contribución

View File

@ -4,23 +4,26 @@
[![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg)](https://github.com/ublue-os/bazzite/actions/workflows/build.yml) [![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg)](https://github.com/ublue-os/bazzite/actions/workflows/build.yml)
# [🇺🇸](https://github.com/ublue-os/bazzite/blob/main/README.md) [🇪🇸](https://github.com/ublue-os/bazzite/blob/main/README-SPA.md) [🇮🇩](https://github.com/ublue-os/bazzite/blob/main/README-ID.md)
--- ---
# Table of Contents # Table of Contents
- [Features for **All** Bazzite Images](https://github.com/ublue-os/bazzite#about--features) - [Features for **All** Bazzite Images](#about--features)
- [Features for **Desktop** Images](https://github.com/ublue-os/bazzite#desktop) - [Features for **Desktop** Images](#desktop)
- [Features for **Steam Deck / HTPC** Images](https://github.com/ublue-os/bazzite#steam-deckhome-theater-pcs-htpcs) - [Features for **Steam Deck / HTPC** Images](#steam-deckhome-theater-pcs-htpcs)
- [Features for **GNOME** Images](https://github.com/ublue-os/bazzite#gnome) - [Features for **GNOME** Images](#gnome)
- [Features from Upstream](https://github.com/ublue-os/bazzite#features-from-upstream) - [Features from Upstream](#features-from-upstream)
- [Why](https://github.com/ublue-os/bazzite#why) - [Why](#why)
- [Showcase](https://github.com/ublue-os/bazzite#showcase) - [Showcase](#showcase)
- [Documentation & Newsletters](https://github.com/ublue-os/bazzite#documentation--newsletters) - [Documentation & Newsletters](#documentation--newsletters)
- [Custom Packages](https://github.com/ublue-os/bazzite#custom-packages) - [Custom Packages](#custom-packages)
- [Image Verification](https://github.com/ublue-os/bazzite#verification) - [Image Verification](#verification)
- [Secure Boot](https://github.com/ublue-os/bazzite#secure-boot) - [Secure Boot](#secure-boot)
- [Metrics](https://github.com/ublue-os/bazzite#contributor-metrics) - [Metrics](#contributor-metrics)
- [Special Thanks](https://github.com/ublue-os/bazzite#special-thanks) - [Special Thanks](#special-thanks)
- [Building Your Own](https://github.com/ublue-os/bazzite#build-your-own) - [Building Your Own](#build-your-own)
- [Community](https://github.com/ublue-os/bazzite#join-the-community) - [Community](#join-the-community)
--- ---
## About & Features ## About & Features
@ -30,8 +33,7 @@ Bazzite is an OCI image that serves as an alternative operating system for the [
Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ublue-os/nvidia](https://github.com/ublue-os/nvidia) using [Fedora](https://fedoraproject.org/) technology, which means expanded hardware support and built in drivers are included. Additionally, Bazzite adds the following features: Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ublue-os/nvidia](https://github.com/ublue-os/nvidia) using [Fedora](https://fedoraproject.org/) technology, which means expanded hardware support and built in drivers are included. Additionally, Bazzite adds the following features:
- Uses the [fsync kernel](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/) to achieve HDR and expanded hardware support, among numerous other included patches. - Uses the [fsync kernel](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/) to achieve HDR and expanded hardware support, among numerous other included patches.
- HDR available in Gamescope Session. - HDR available in Game mode.
- Proprietary Nvidia drivers pre-installed.
- NVK available on non-Nvidia builds. - NVK available on non-Nvidia builds.
- Full hardware accelerated codec support for H264 decoding. - Full hardware accelerated codec support for H264 decoding.
- Full support for AMD's ROCM OpenCL/HIP run-times. - Full support for AMD's ROCM OpenCL/HIP run-times.
@ -87,7 +89,7 @@ or for devices with Nvidia GPUs:
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-nvidia:latest rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-nvidia:latest
``` ```
**For users with Secure Boot enabled:** Run `ujust enroll-secure-boot-key` and enter the password `ublue-os` if prompted to enroll the required key. **For users with Secure Boot enabled:** Follow our [secure boot documentation](#secure-boot) prior to rebasing.
### Steam Deck/Home Theater PCs (HTPCs) ### Steam Deck/Home Theater PCs (HTPCs)
> [!IMPORTANT] > [!IMPORTANT]
@ -122,7 +124,7 @@ Variant designed for usage as an alternative to SteamOS on the Steam Deck, and f
- Built in support for display overclocking. For example, add `GAMESCOPE_OVERRIDE_REFRESH_RATE=40,70` to `/etc/environment`. - Built in support for display overclocking. For example, add `GAMESCOPE_OVERRIDE_REFRESH_RATE=40,70` to `/etc/environment`.
- Ability to use X11 on the desktop if desired by editing `/etc/default/desktop-wayland`. - Ability to use X11 on the desktop if desired by editing `/etc/default/desktop-wayland`.
- 32GB RAM mod your Steam Deck? Enjoy double the maximum VRAM amount, automatically applied. <sup><sub>(Can you share your soldering skills?)</sub></sup> - 32GB RAM mod your Steam Deck? Enjoy double the maximum VRAM amount, automatically applied. <sup><sub>(Can you share your soldering skills?)</sub></sup>
- Steam Deck hardware-specific services can be disabled by running `ujust disable-deck-services` in the terminal, useful for trying this image on other handhelds or for use on HTPCs. - Steam Deck hardware-specific services can be disabled by running `ujust disable-bios-updates` and `ujust disable-firmware-updates` in the terminal. These are automatically disabled on non-Deck hardware, and on Decks with DeckHD displays or 32GB RAM mods.
- More information can be found [here](https://universal-blue.discourse.group/docs?topic=37) on the Bazzite Steam Deck images. - More information can be found [here](https://universal-blue.discourse.group/docs?topic=37) on the Bazzite Steam Deck images.
> [!WARNING] > [!WARNING]
@ -172,10 +174,13 @@ To rebase an existing ostree system to the **Steam Deck/HTPC** release:
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck-gnome:latest rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck-gnome:latest
``` ```
**For users with Secure Boot enabled:** Follow our [secure boot documentation](#secure-boot) prior to rebasing.
### Features from Upstream ### Features from Upstream
#### Universal Blue #### Universal Blue
- Proprietary Nvidia drivers pre-installed.
- Flathub is enabled by default. - Flathub is enabled by default.
- [`ujust`](https://github.com/casey/just) commands for convenience. - [`ujust`](https://github.com/casey/just) commands for convenience.
- Multi-media codecs out of the box. - Multi-media codecs out of the box.
@ -277,6 +282,7 @@ Additionally, the following packages are used from other Copr repos:
| [joycond](https://copr.fedorainfracloud.org/coprs/kylegospo/joycond/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/joycond/package/joycond/status_image/last_build.png?) | | [joycond](https://copr.fedorainfracloud.org/coprs/kylegospo/joycond/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/joycond/package/joycond/status_image/last_build.png?) |
| [kernel-fsync](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/package/kernel/status_image/last_build.png?) | | [kernel-fsync](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/package/kernel/status_image/last_build.png?) |
| [latencyflex-vulkan-layer](https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/package/latencyflex-vulkan-layer/status_image/last_build.png?) | | [latencyflex-vulkan-layer](https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/package/latencyflex-vulkan-layer/status_image/last_build.png?) |
| [nerd-fonts](https://copr.fedorainfracloud.org/coprs/che/nerd-fonts/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/che/nerd-fonts/package/nerd-fonts/status_image/last_build.png?) |
| [noise-suppression-for-voice](https://copr.fedorainfracloud.org/coprs/ycollet/audinux/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/ycollet/audinux/package/noise-suppression-for-voice/status_image/last_build.png?) | | [noise-suppression-for-voice](https://copr.fedorainfracloud.org/coprs/ycollet/audinux/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/ycollet/audinux/package/noise-suppression-for-voice/status_image/last_build.png?) |
| [obs-vkcapture](https://copr.fedorainfracloud.org/coprs/kylegospo/obs-vkcapture/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/obs-vkcapture/package/obs-vkcapture/status_image/last_build.png?) | | [obs-vkcapture](https://copr.fedorainfracloud.org/coprs/kylegospo/obs-vkcapture/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/obs-vkcapture/package/obs-vkcapture/status_image/last_build.png?) |
| [prompt](https://gitlab.gnome.org/chergert/prompt) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/prompt/package/prompt/status_image/last_build.png?) | | [prompt](https://gitlab.gnome.org/chergert/prompt) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/prompt/package/prompt/status_image/last_build.png?) |
@ -297,17 +303,32 @@ cosign verify --key cosign.pub ghcr.io/ublue-os/bazzite
## Secure Boot ## Secure Boot
Secure boot is supported with our custom key. The pub key can be found in the root of this repository [here](https://github.com/ublue-os/bazzite/blob/main/secure_boot_key.der). Secure boot is supported with our custom key. The pub key can be found in the root of this repository [here](https://github.com/ublue-os/bazzite/blob/main/secure_boot.der).
If you'd like to enroll this key prior to installation, download the key and run the following: If you'd like to enroll this key prior to installation or rebase, download the key and run the following:
```bash ```bash
sudo mokutil --import secure_boot_key.der sudo mokutil --timeout -1
sudo mokutil --import secure_boot.der
``` ```
For users already on a Universal Blue image, you may instead run `ujust enroll-secure-boot-key`.
If asked for a password, use `ublue-os`.
### Contributor Metrics ### Contributor Metrics
![Bazzite](https://repobeats.axiom.co/api/embed/86b500d79c613015ad16f56df76c8e13f3fd98ae.svg "Repobeats analytics image") ![Bazzite](https://repobeats.axiom.co/api/embed/86b500d79c613015ad16f56df76c8e13f3fd98ae.svg "Repobeats analytics image")
#### Star History
<a href="https://star-history.com/#ublue-os/bazzite&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ublue-os/bazzite&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ublue-os/bazzite&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ublue-os/bazzite&type=Date" />
</picture>
</a>
## Special Thanks ## Special Thanks
Bazzite is a community effort and wouldn't exist without everyone's support. Below are some of the people who've helped us along the way: Bazzite is a community effort and wouldn't exist without everyone's support. Below are some of the people who've helped us along the way:

View File

@ -16,3 +16,12 @@ diff -ur usr/share/jupiter-fan-control/PID.py usr/share/jupiter-fan-control/PID.
# #
# This file is part of IvPID. # This file is part of IvPID.
# Copyright (C) 2015 Ivmech Mechatronics Ltd. <bilgi@ivmech.com> # Copyright (C) 2015 Ivmech Mechatronics Ltd. <bilgi@ivmech.com>
@@ -64,7 +64,7 @@
"""Calculates PID value for given reference feedback
.. math::
- u(t) = K_p e(t) + K_i \int_{0}^{t} e(t)dt + K_d {de}/{dt}
+ u(t) = K_p e(t) + K_i \\int_{0}^{t} e(t)dt + K_d {de}/{dt}
.. figure:: images/pid_1.png
:align: center

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -10,6 +10,7 @@ License: GPLv3
URL: https://github.com/ublue-os/bazzite URL: https://github.com/ublue-os/bazzite
Source: https://gitlab.com/evlaV/%{packagename}/-/archive/%{packagever}/%{packagename}-%{packagever}.tar.gz Source: https://gitlab.com/evlaV/%{packagename}/-/archive/%{packagever}/%{packagename}-%{packagever}.tar.gz
Source2: bazzite.png
Patch0: fedora.patch Patch0: fedora.patch
Patch1: selinux.patch Patch1: selinux.patch
Patch2: btrfs-automount.patch Patch2: btrfs-automount.patch
@ -69,6 +70,7 @@ cp -rv usr/lib/udev %{buildroot}%{_prefix}/lib/udev
cp -rv usr/bin/* %{buildroot}%{_bindir} cp -rv usr/bin/* %{buildroot}%{_bindir}
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir} cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}
cp -rv etc/* %{buildroot}%{_sysconfdir} cp -rv etc/* %{buildroot}%{_sysconfdir}
cp %{SOURCE2} %{buildroot}%{_datadir}/plymouth/themes/steamos/bazzite.png
sed -i 's@steamos-cursor.png@usr/share/steamos/steamos-cursor.png@g' usr/share/steamos/steamos-cursor-config sed -i 's@steamos-cursor.png@usr/share/steamos/steamos-cursor.png@g' usr/share/steamos/steamos-cursor-config
xcursorgen usr/share/steamos/steamos-cursor-config %{buildroot}%{_datadir}/icons/steam/cursors/default xcursorgen usr/share/steamos/steamos-cursor-config %{buildroot}%{_datadir}/icons/steam/cursors/default
# Remove unneeded files # Remove unneeded files

View File

@ -1,28 +0,0 @@
From b32d3c9251e18c77b4d58db61b43797ffb7b05cf Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Wed, 3 Jan 2024 16:31:23 +1000
Subject: [PATCH] intel/compiler: fix release build unused variable.
This is only used in an assert.
Fixes: 158ac265dfd0 ("intel/fs: Make helpers for saving/restoring instruction order")
---
src/intel/compiler/brw_fs.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 696b5db8d9d..aa01a2241ce 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -6834,7 +6834,7 @@ save_instruction_order(const struct cfg_t *cfg)
static void
restore_instruction_order(struct cfg_t *cfg, fs_inst **inst_arr)
{
- int num_insts = cfg->last_block()->end_ip + 1;
+ ASSERTED int num_insts = cfg->last_block()->end_ip + 1;
int ip = 0;
foreach_block (block, cfg) {
--
2.43.0

View File

@ -1,42 +0,0 @@
From 56a72e014fcda3c52cf119115cb71fce2fad86d8 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Thu, 21 Dec 2023 10:39:08 +1000
Subject: [PATCH] intel/compiler: reemit boolean resolve for inverted if on
gen5
Gen5 adds some boolean conversion instructions after nir emits,
but that nir srcs don't line up with them, so reemit the boolean
conversion if we reemit the inot.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 31b5f5a51f3a ("nir/opt_if: Simplify if's with general conditions")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26782>
---
src/intel/compiler/brw_fs_nir.cpp | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp
index 33f2a4046b2..ccdd0fe7db8 100644
--- a/src/intel/compiler/brw_fs_nir.cpp
+++ b/src/intel/compiler/brw_fs_nir.cpp
@@ -422,6 +422,17 @@ fs_visitor::nir_emit_if(nir_if *if_stmt)
invert = true;
cond_reg = get_nir_src(cond->src[0].src);
cond_reg = offset(cond_reg, bld, cond->src[0].swizzle[0]);
+
+ if (devinfo->ver <= 5 &&
+ (cond->instr.pass_flags & BRW_NIR_BOOLEAN_MASK) == BRW_NIR_BOOLEAN_NEEDS_RESOLVE) {
+ /* redo boolean resolve on gen5 */
+ fs_reg masked = bld.vgrf(BRW_REGISTER_TYPE_D);
+ bld.AND(masked, cond_reg, brw_imm_d(1));
+ masked.negate = true;
+ fs_reg tmp = bld.vgrf(cond_reg.type);
+ bld.MOV(retype(tmp, BRW_REGISTER_TYPE_D), masked);
+ cond_reg = tmp;
+ }
} else {
invert = false;
cond_reg = get_nir_src(if_stmt->condition);
--
2.43.0

View File

@ -1,26 +0,0 @@
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index d50be23e871..e3697622635 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -695,17 +695,21 @@ eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
if (disp->Options.ForceSoftware)
RETURN_EGL_ERROR(disp, EGL_NOT_INITIALIZED, EGL_FALSE);
else {
+#if 0
bool success = false;
if (!disp->Options.Zink && !getenv("GALLIUM_DRIVER")) {
disp->Options.Zink = EGL_TRUE;
success = _eglDriver.Initialize(disp);
}
if (!success) {
+#endif
disp->Options.Zink = EGL_FALSE;
disp->Options.ForceSoftware = EGL_TRUE;
if (!_eglDriver.Initialize(disp))
RETURN_EGL_ERROR(disp, EGL_NOT_INITIALIZED, EGL_FALSE);
+#if 0
}
+#endif
}
}

View File

@ -0,0 +1,42 @@
meson: C type error in strtod_l/strtof_l probe
Future compilers will fail compilation due to the C type error:
…/testfile.c: In function 'main':
…/testfile.c:12:30: error: passing argument 2 of 'strtod_l' from incompatible pointer type
12 | double d = strtod_l(s, end, loc);
| ^~~
| |
| char *
/usr/include/stdlib.h:416:43: note: expected 'char ** restrict' but argument is of type 'char *'
416 | char **__restrict __endptr, locale_t __loc)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
…/testfile.c:13:29: error: passing argument 2 of 'strtof_l' from incompatible pointer type
13 | float f = strtof_l(s, end, loc);
| ^~~
| |
| char *
/usr/include/stdlib.h:420:42: note: expected 'char ** restrict' but argument is of type 'char *'
420 | char **__restrict __endptr, locale_t __loc)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
This means that the probe no longer tests is objective and always
fails.
Submitted upstream: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26927>
diff --git a/meson.build b/meson.build
index 35cc5f1cd5fd9079..1a5d2ba492be0b31 100644
--- a/meson.build
+++ b/meson.build
@@ -1425,8 +1425,8 @@ if cc.links('''
locale_t loc = newlocale(LC_CTYPE_MASK, "C", NULL);
const char *s = "1.0";
char *end;
- double d = strtod_l(s, end, loc);
- float f = strtof_l(s, end, loc);
+ double d = strtod_l(s, &end, loc);
+ float f = strtof_l(s, &end, loc);
freelocale(loc);
return 0;
}''',

View File

@ -61,7 +61,7 @@
Name: mesa Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
%global ver 23.3.2 %global ver 23.3.3
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 100.bazzite.{{{ git_dir_version }}} Release: 100.bazzite.{{{ git_dir_version }}}
License: MIT AND BSD-3-Clause AND SGI-B-2.0 License: MIT AND BSD-3-Clause AND SGI-B-2.0
@ -74,9 +74,8 @@ Source0: https://archive.mesa3d.org/mesa-%{ver}.tar.xz
Source1: Mesa-MLAA-License-Clarification-Email.txt Source1: Mesa-MLAA-License-Clarification-Email.txt
Patch10: gnome-shell-glthread-disable.patch Patch10: gnome-shell-glthread-disable.patch
Patch11: 0001-intel-compiler-reemit-boolean-resolve-for-inverted-i.patch Patch11: zink-fix-resizable-bar-detection-logic.patch
Patch12: 0001-intel-compiler-fix-release-build-unused-variable.patch Patch12: mesa-meson-c99.patch
Patch13: disable-zink-egl-fallback.patch
# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26105/ # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26105/
Patch30: 26105.patch Patch30: 26105.patch

View File

@ -0,0 +1,39 @@
From a077c14f150f1c4f670dce381ac2eb548f1a4ac2 Mon Sep 17 00:00:00 2001
From: Alessandro Astone <ales.astone@gmail.com>
Date: Wed, 10 Jan 2024 17:24:30 +0100
Subject: [PATCH] zink: Fix resizable BAR detection logic
This was broken in two ways:
* When looking for the MAX biggest_ram it was actually comparing
a candidate against biggest_vis_ram
* mem_props.memoryTypes[] should be accessed with the memory type
index as found in heap_map
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10341
Cc: 23.3 <mesa-stable>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26979>
---
src/gallium/drivers/zink/zink_screen.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 5a6d17cb4fa3..6697d7ab938c 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -3258,10 +3258,10 @@ zink_internal_create_screen(const struct pipe_screen_config *config, int64_t dev
{
uint64_t biggest_vis_vram = 0;
for (unsigned i = 0; i < screen->heap_count[ZINK_HEAP_DEVICE_LOCAL_VISIBLE]; i++)
- biggest_vis_vram = MAX2(biggest_vis_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[i].heapIndex].size);
+ biggest_vis_vram = MAX2(biggest_vis_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[screen->heap_map[ZINK_HEAP_DEVICE_LOCAL_VISIBLE][i]].heapIndex].size);
uint64_t biggest_vram = 0;
for (unsigned i = 0; i < screen->heap_count[ZINK_HEAP_DEVICE_LOCAL]; i++)
- biggest_vram = MAX2(biggest_vis_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[i].heapIndex].size);
+ biggest_vram = MAX2(biggest_vram, screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[screen->heap_map[ZINK_HEAP_DEVICE_LOCAL][i]].heapIndex].size);
/* determine if vis vram is roughly equal to total vram */
if (biggest_vis_vram > biggest_vram * 0.9)
screen->resizable_bar = true;
--
GitLab

View File

@ -1,6 +1,6 @@
%global majorversion 1 %global majorversion 1
%global minorversion 0 %global minorversion 0
%global microversion 0 %global microversion 1
%global apiversion 0.3 %global apiversion 0.3
%global spaversion 0.2 %global spaversion 0.2
@ -81,7 +81,7 @@ Source1: pipewire.sysusers
# Holo: TODO: Bug reference # Holo: TODO: Bug reference
Patch0: bc435841c141ad38768b6cb1a7ad45e8bb13c7d2.patch Patch0: bc435841c141ad38768b6cb1a7ad45e8bb13c7d2.patch
# Holo: TODO: Bug reference # Holo: TODO: Bug reference
Patch1: acf7c0af0bf31b937c41e916a73c67ae0a253632.patch #Patch1: acf7c0af0bf31b937c41e916a73c67ae0a253632.patch
# Holo: upstream MR 1792 # Holo: upstream MR 1792
Patch2: 0001-Bluez5-backend-native-HSP-AG-release-SCO-link-on-AT-.patch Patch2: 0001-Bluez5-backend-native-HSP-AG-release-SCO-link-on-AT-.patch
@ -818,6 +818,12 @@ systemctl --no-reload preset --global pipewire.socket >/dev/null 2>&1 || :
%endif %endif
%changelog %changelog
* Thu Jan 11 2024 Wim Taymans <wtaymans@redhat.com> - 1.0.1-1
- Update version to 1.0.1
* Thu Dec 14 2023 Wim Taymans <wtaymans@redhat.com> - 1.0.0-2
- Add patch to avoid crash in deviceprovider.
* Sun Nov 26 2023 Wim Taymans <wtaymans@redhat.com> - 1.0.0-1 * Sun Nov 26 2023 Wim Taymans <wtaymans@redhat.com> - 1.0.0-1
- Update version to 1.0.0 - Update version to 1.0.0
- Disable ROC until updated in Fedora. - Disable ROC until updated in Fedora.

View File

@ -0,0 +1,57 @@
--- a/wireplumber/hardware-profiles/wireplumber-hwconfig
+++ b/wireplumber/hardware-profiles/wireplumber-hwconfig
@@ -45,39 +45,23 @@
install_hwprofile ()
{
local -r prpath="$1"
- local -r runconf=/run/wireplumber
+ local -r confdir=/usr/share/wireplumber
local confd
local conffile
- echo "Installing wireplumber hardware profile from '$prpath' in $runconf"
-
- rm -rf $runconf
+ echo "Installing wireplumber hardware profile from '$prpath' in $confdir"
for confd in "${confdirs[@]}"
do
if [ -d "$prpath"/"$confd" ]
then
- mkdir -p $runconf/"$confd"
+ mkdir -p $confdir/"$confd"
for conffile in "$prpath"/"$confd"/*.lua
do
- cp -av $conffile $runconf/"$confd"
+ /usr/bin/cp -avf $conffile $confdir/"$confd"
done
fi
done
-
- cat - <<EOF > $runconf/README
-This configuration was:
-
- - installed in $runconf
- - by $0
- - from $prpath
-
-It will be regenerated every time the system restarts.
-
-To alter it permanently either:
- - edit $prpath
- - override in \$XDG_CONFIG_DIR/wireplumber/
-EOF
}
unidentified ()
--- a/wireplumber/systemd/system/wireplumber-sysconf.service
+++ b/wireplumber/systemd/system/wireplumber-sysconf.service
@@ -11,7 +11,7 @@
Description=Hardware Specific Wireplumber Configuration
After=multi-user.target
Requisite=multi-user.target
-ConditionPathIsDirectory=/run
+Requires=wireplumber-workaround.service
Before=shutdown.target
[Service]

View File

@ -7,6 +7,7 @@ URL: https://github.com/ublue-os/bazzite
Source: https://gitlab.com/evlaV/valve-hardware-audio-processing/-/archive/main/valve-hardware-audio-processing-main.tar.gz Source: https://gitlab.com/evlaV/valve-hardware-audio-processing/-/archive/main/valve-hardware-audio-processing-main.tar.gz
Patch0: fedora.patch Patch0: fedora.patch
Patch1: bazzite.patch
Requires: pipewire-module-filter-chain-lv2 Requires: pipewire-module-filter-chain-lv2
Requires: ladspa-noise-suppression-for-voice Requires: ladspa-noise-suppression-for-voice
@ -29,8 +30,7 @@ Steamdeck Audio Processing
%define debug_package %{nil} %define debug_package %{nil}
%prep %prep
%setup -n valve-hardware-audio-processing-main %autosetup -n valve-hardware-audio-processing-main -p1
%patch 0 -p1
%build %build
%make_build FAUSTINC="/usr/include/faust" FAUSTLIB="/usr/share/faust" %make_build FAUSTINC="/usr/include/faust" FAUSTLIB="/usr/share/faust"

View File

@ -0,0 +1,24 @@
diff -Naur a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
--- a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
+++ b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
@@ -42,7 +42,7 @@
anchors.centerIn: parent
- source: "images/deck_logo.svgz"
+ source: "images/bazzite_logo.svgz"
sourceSize.width: 128
sourceSize.height: 128
diff -Naur a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
--- a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
+++ b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
@@ -42,7 +42,7 @@
anchors.centerIn: parent
- source: "images/deck_logo.svgz"
+ source: "images/bazzite_logo.svgz"
sourceSize.width: 128
sourceSize.height: 128

Binary file not shown.

View File

@ -8,8 +8,10 @@ URL: https://github.com/ublue-os/bazzite
Source0: https://gitlab.com/evlaV/steamdeck-kde-presets/-/archive/master/steamdeck-kde-presets-master.tar.gz Source0: https://gitlab.com/evlaV/steamdeck-kde-presets/-/archive/master/steamdeck-kde-presets-master.tar.gz
Source1: kdeglobals-desktop Source1: kdeglobals-desktop
Source2: steamdeck-le.svg Source2: steamdeck-le.svg
Source3: bazzite_logo.svgz
Patch0: multiuser.patch Patch0: multiuser.patch
Patch1: lockscreen.patch Patch1: lockscreen.patch
Patch2: bazzite_logo.patch
BuildArch: noarch BuildArch: noarch
@ -61,6 +63,10 @@ rm %{buildroot}%{_sysconfdir}/xdg/baloofilerc
rm %{buildroot}%{_sysconfdir}/xdg/kdeglobals rm %{buildroot}%{_sysconfdir}/xdg/kdeglobals
rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/kdeglobals cp %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/kdeglobals
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
cp %{SOURCE3} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE3} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
# Do post-installation # Do post-installation
%post %post

View File

@ -7,10 +7,12 @@ URL: https://github.com/ublue-os/bazzite
Source0: https://gitlab.com/evlaV/%{name}/-/archive/master/%{name}-master.tar.gz Source0: https://gitlab.com/evlaV/%{name}/-/archive/master/%{name}-master.tar.gz
Source1: steamdeck-le.svg Source1: steamdeck-le.svg
Source2: bazzite_logo.svgz
BuildArch: noarch BuildArch: noarch
Patch0: fedora.patch Patch0: fedora.patch
Patch1: nested-desktop-resolution.patch Patch1: nested-desktop-resolution.patch
Patch2: kdeglobals.patch Patch2: kdeglobals.patch
Patch3: bazzite_logo.patch
Requires: kde-filesystem Requires: kde-filesystem
@ -47,6 +49,10 @@ rm %{buildroot}%{_datadir}/applications/org.mozilla.firefox.desktop
rm %{buildroot}%{_sysconfdir}/profile.d/kde.sh rm %{buildroot}%{_sysconfdir}/profile.d/kde.sh
rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc
rm %{buildroot}%{_sysconfdir}/X11/Xsession.d/50rotate-screen rm %{buildroot}%{_sysconfdir}/X11/Xsession.d/50rotate-screen
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
# Do post-installation # Do post-installation
%post %post

View File

@ -1,5 +1,5 @@
Name: wireplumber Name: wireplumber
Version: 0.4.16 Version: 0.4.17
Release: 1%{?dist}.bazzite.{{{ git_dir_version }}} Release: 1%{?dist}.bazzite.{{{ git_dir_version }}}
Summary: A modular session/policy manager for PipeWire Summary: A modular session/policy manager for PipeWire
@ -8,7 +8,7 @@ URL: https://pipewire.pages.freedesktop.org/wireplumber/
Source0: https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 Source0: https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
## upstream patches ## upstream patches
Patch0: steamdeck.patch Patch0: valve.patch
## upstreamable patches ## upstreamable patches
@ -70,8 +70,7 @@ managing PipeWire.
-Dsystemd=enabled \ -Dsystemd=enabled \
-Dsystemd-user-service=true \ -Dsystemd-user-service=true \
-Dintrospection=enabled \ -Dintrospection=enabled \
-Delogind=disabled \ -Delogind=disabled
--sysconfdir=%{_rundir}
%meson_build %meson_build
%install %install
@ -80,6 +79,9 @@ managing PipeWire.
# Create local config skeleton # Create local config skeleton
mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d} mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d}
# Create missing empty system config dirs for other packages to drop files in
mkdir -p %{buildroot}%{_datadir}/wireplumber/wireplumber.conf.d
%find_lang %{name} %find_lang %{name}
%posttrans %posttrans
@ -105,6 +107,7 @@ fi
%dir %{_sysconfdir}/wireplumber/main.lua.d %dir %{_sysconfdir}/wireplumber/main.lua.d
%dir %{_sysconfdir}/wireplumber/policy.lua.d %dir %{_sysconfdir}/wireplumber/policy.lua.d
%{_datadir}/wireplumber/ %{_datadir}/wireplumber/
%dir %{_datadir}/wireplumber/wireplumber.conf.d
%{_datadir}/zsh/site-functions/_wpctl %{_datadir}/zsh/site-functions/_wpctl
%{_userunitdir}/wireplumber.service %{_userunitdir}/wireplumber.service
%{_userunitdir}/wireplumber@.service %{_userunitdir}/wireplumber@.service
@ -123,6 +126,12 @@ fi
%{_datadir}/gir-1.0/Wp-0.4.gir %{_datadir}/gir-1.0/Wp-0.4.gir
%changelog %changelog
* Mon Dec 4 2023 Wim Taymans <wtaymans@redhat.com> - 0.4.17-1
- wireplumber 0.4.17
* Mon Dec 4 2023 Hector Martin <marcan@fedoraproject.org> - 0.4.16-2
- Create and own /usr/share/wireplumber/wireplumber.conf.d
* Thu Nov 23 2023 Wim Taymans <wtaymans@redhat.com> - 0.4.16-1 * Thu Nov 23 2023 Wim Taymans <wtaymans@redhat.com> - 0.4.16-1
- wireplumber 0.4.16 - wireplumber 0.4.16

View File

@ -3,6 +3,8 @@
# This script fixes the screen orientation in the Desktop Mode in Bazzite-Deck KDE # This script fixes the screen orientation in the Desktop Mode in Bazzite-Deck KDE
# Author: d3Xt3r # Author: d3Xt3r
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
sleep 1 sleep 1
echo $(date '+%Y-%m-%d %H:%M:%S') Starting Bazzite Desktop Orientation Fix script...| tee -a /tmp/bazrotfix.log echo $(date '+%Y-%m-%d %H:%M:%S') Starting Bazzite Desktop Orientation Fix script...| tee -a /tmp/bazrotfix.log
@ -28,7 +30,11 @@ kscreen-doctor --outputs 2>&1 | tee -a /tmp/bazrotfix.log
# Fix desktop orientation # Fix desktop orientation
# Rotation options: right, normal, left, inverted # Rotation options: right, normal, left, inverted
echo $(date '+%Y-%m-%d %H:%M:%S') Fixing desktop orientation... | tee -a /tmp/bazrotfix.log echo $(date '+%Y-%m-%d %H:%M:%S') Fixing desktop orientation... | tee -a /tmp/bazrotfix.log
if [[ ":83E1:" =~ ":$SYS_ID" ]]; then
kscreen-doctor output.1.rotation.left 2>&1 | tee -a /tmp/bazrotfix.log kscreen-doctor output.1.rotation.left 2>&1 | tee -a /tmp/bazrotfix.log
else
kscreen-doctor output.1.rotation.normal 2>&1 | tee -a /tmp/bazrotfix.log
fi
echo $(date '+%Y-%m-%d %H:%M:%S') Ending Bazzite Desktop Orientation Fix script >> /tmp/bazrotfix.log echo $(date '+%Y-%m-%d %H:%M:%S') Ending Bazzite Desktop Orientation Fix script >> /tmp/bazrotfix.log
echo -e '\n' >> /tmp/bazrotfix.log echo -e '\n' >> /tmp/bazrotfix.log

View File

@ -60,15 +60,22 @@ configure-waydroid:
# Install Sunshine # Install Sunshine
install-sunshine: install-sunshine:
#!/usr/bin/bash #!/usr/bin/bash
flatpak install --system --noninteractive flathub dev.lizardbyte.app.Sunshine sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree.repo
flatpak run --command=additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
echo "Sunshine is installed!" sudo systemctl enable sunshine-workaround.service
ublue-update --wait
rpm-ostree install -y sunshine
echo "Sunshine is installed, please reboot to apply changes."
# Remove Sunshine # Remove Sunshine
remove-sunshine: remove-sunshine:
#!/usr/bin/bash #!/usr/bin/bash
flatpak run --command=remove-additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree.repo
flatpak uninstall --delete-data --noninteractive dev.lizardbyte.sunshine sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
sudo systemctl disable sunshine-workaround.service
ublue-update --wait
rpm-ostree remove -y sunshine
echo "Sunshine has been uninstalled, please reboot to apply changes."
# Autostart Sunshine # Autostart Sunshine
autostart-sunshine: autostart-sunshine:
@ -154,7 +161,7 @@ get-steamcmd:
install-openrazer: install-openrazer:
sudo wget https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo -O /etc/yum.repos.d/hardware:razer.repo && \ sudo wget https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo -O /etc/yum.repos.d/hardware:razer.repo && \
ublue-update --wait && \ ublue-update --wait && \
rpm-ostree install openrazer-meta razergenie && \ rpm-ostree install -y openrazer-meta razergenie && \
if ! grep -q "plugdev" /etc/group; then \ if ! grep -q "plugdev" /etc/group; then \
sudo bash -c 'grep "plugdev" /lib/group >> /etc/group' \ sudo bash -c 'grep "plugdev" /lib/group >> /etc/group' \
; fi && \ ; fi && \

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash #!/usr/bin/bash
# SCRIPT VERSION # SCRIPT VERSION
VER=13 VER=14
VER_FILE="/etc/bazzite/flatpak_manager_version" VER_FILE="/etc/bazzite/flatpak_manager_version"
VER_RAN=$(cat $VER_FILE) VER_RAN=$(cat $VER_FILE)
IMAGE_INFO="/usr/share/ublue-os/image-info.json" IMAGE_INFO="/usr/share/ublue-os/image-info.json"

View File

@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO) FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
# SCRIPT VERSION # SCRIPT VERSION
HWS_VER=20 HWS_VER=21
HWS_VER_FILE="/etc/bazzite/hws_version" HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE) HWS_VER_RAN=$(cat $HWS_VER_FILE)

View File

@ -11,7 +11,7 @@ BAZZITE_CONFIG_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/bazzite"
mkdir -p "$BAZZITE_CONFIG_DIR" mkdir -p "$BAZZITE_CONFIG_DIR"
# SCRIPT VERSION # SCRIPT VERSION
USER_SETUP_VER=21 USER_SETUP_VER=22
USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version" USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version"
USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version" USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version"
@ -126,16 +126,22 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
# Legion Rotation Fix # Legion Rotation Fix
AUTOSTART_FOLDER=${XDG_CONFIG_HOME:-$HOME/.config} AUTOSTART_FOLDER=${XDG_CONFIG_HOME:-$HOME/.config}
if [[ ":83E1:" =~ ":$SYS_ID" ]] && [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
if [[ ! -f "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop" ]]; then # Remove old legion-only file
echo 'Adding legion rotation fix' if [[ -f "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop" ]]; then
mkdir -p "$AUTOSTART_FOLDER/autostart"
printf "[Desktop Entry]\nExec=/usr/libexec/bazzite-handle-legion-go-rotation\nIcon=dialog-scripts\nName=bazzite-handle-legion-go-rotation\nType=Application\nX-KDE-AutostartScript=true\n" > "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop"
fi
elif [[ -f "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop" ]]; then
echo 'Non-legion or GNOME detected, removing legionfix'
rm -f "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop" rm -f "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop"
fi fi
if [[ ":ROG Ally RC71L_RC71L:83E1:" =~ ":$SYS_ID" ]] && [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
if [[ ! -f "$AUTOSTART_FOLDER/autostart/bazzite-rotation-fix.desktop" ]]; then
echo 'Adding rotation fix'
mkdir -p "$AUTOSTART_FOLDER/autostart"
printf "[Desktop Entry]\nExec=/usr/libexec/bazzite-rotation-fix\nIcon=dialog-scripts\nName=bazzite-rotation-fix\nType=Application\nX-KDE-AutostartScript=true\n" > "$AUTOSTART_FOLDER/autostart/bazzite-rotation-fix.desktop"
fi
elif [[ -f "$AUTOSTART_FOLDER/autostart/bazzite-rotation-fix.desktop" ]]; then
echo 'Non-supported or GNOME detected, removing rotaion fix'
rm -f "$AUTOSTART_FOLDER/autostart/bazzite-rotation-fix.desktop"
fi
fi fi
# Prevent future executions # Prevent future executions

View File

@ -0,0 +1,8 @@
{
"32218213-d8cf-444e-84c7-7f67b9765acd": {
"uuid": "32218213-d8cf-444e-84c7-7f67b9765acd",
"name": "System",
"url": "unix:///run/user/1000/podman/podman.sock",
"rgb": null
}
}

View File

@ -50,15 +50,22 @@ configure-waydroid:
# Install Sunshine # Install Sunshine
install-sunshine: install-sunshine:
#!/usr/bin/bash #!/usr/bin/bash
flatpak install --system --noninteractive flathub dev.lizardbyte.app.Sunshine sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree.repo
flatpak run --command=additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
systemctl enable sunshine-workaround.service
ublue-update --wait
rpm-ostree install -y sunshine
echo "Sunshine is installed!" echo "Sunshine is installed!"
# Remove Sunshine # Remove Sunshine
remove-sunshine: remove-sunshine:
#!/usr/bin/bash #!/usr/bin/bash
flatpak run --command=remove-additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree.repo
flatpak uninstall --delete-data --noninteractive dev.lizardbyte.sunshine sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
systemctl disable sunshine-workaround.service
ublue-update --wait
rpm-ostree remove -y sunshine
echo "Sunshine has been uninstalled."
# Autostart Sunshine # Autostart Sunshine
autostart-sunshine: autostart-sunshine:

View File

@ -12,7 +12,7 @@ name='X-Pardus-Apps.directory'
translate=true translate=true
[org/gnome/desktop/app-folders/folders/Utilities] [org/gnome/desktop/app-folders/folders/Utilities]
apps=['yafti.desktop', 'webapp-manager.desktop', 'fish.desktop', 'tuned-gui.desktop', 'nvtop.desktop', 'yelp.desktop', 'btop.desktop', 'com.github.tchx84.Flatseal.desktop', 'io.github.flattool.Warehouse.desktop', 'it.mijorus.gearlever.desktop', 'com.mattjakeman.ExtensionManager.desktop', 'org.gnome.tweaks.desktop', 'com.github.GradienceTeam.Gradience', 'io.github.fastrizwaan.WineZGUI.desktop'] apps=['yafti.desktop', 'webapp-manager.desktop', 'tuned-gui.desktop', 'fish.desktop', 'tuned-gui.desktop', 'nvtop.desktop', 'yelp.desktop', 'btop.desktop', 'com.github.tchx84.Flatseal.desktop', 'io.github.flattool.Warehouse.desktop', 'it.mijorus.gearlever.desktop', 'com.mattjakeman.ExtensionManager.desktop', 'org.gnome.tweaks.desktop', 'com.github.GradienceTeam.Gradience', 'io.github.fastrizwaan.WineZGUI.desktop']
categories=['X-GNOME-Utilities'] categories=['X-GNOME-Utilities']
name='X-GNOME-Utilities.directory' name='X-GNOME-Utilities.directory'
translate=true translate=true