top | item 38828040

Bazzite – a SteamOS-like OCI image for desktop, living room, and handheld PCs

381 points| goncalossilva | 2 years ago |github.com

108 comments

order

erulabs|2 years ago

Love it! Living-room media servers will be the Trojan horse that brings self-hosting back into existence, and will inevitably transform the internet back into a more peer-to-peer oriented existence. Once most folks have symmetrical connections and powerful Linux systems, it’s only a software problem keeping people from using the internet as it was intended, equally publishers as they are consumers.

CharlesW|2 years ago

> Living-room media servers will be the Trojan horse that brings self-hosting back into existence…

I had a living-room media server for many years. My recommendation: Don't put a media server in your living room.

Instead, get a tiny, quiet, privacy-respecting client (e.g. Apple TV) and put the media on a NAS that lives elsewhere. Depending on your preferred client UX, you may (Plex) or may not (Infuse) need a separate app to serve the media.

Whether the server lives in your living room or office/homelab doesn't really matter in terms of its effect on the popularity of "self-hosting". If anything, local media library management is likely to become less popular, and any "Trojan horse" effect has happened by now since people have been doing this for a couple of decades.

heyoni|2 years ago

I love this take and absolutely hate what the centralized internet has become. My god, even basic searches don’t work on major platforms.

mikepurvis|2 years ago

I've tried at several points to roll my own media center PC/server setup and it's always been a very far cry from what the fire stick does for like a tenth the price and zero effort.

So yeah, I'm very keen for something plug and play in this space.

sirspacey|2 years ago

The Roku of the internet, I love this idea so much.

Takennickname|2 years ago

Never thought about it like that. Very possible.

westurner|2 years ago

TIL about various things for rpm-ostree distros:

gnome-randr-rust: https://github.com/maxwellainatchi/gnome-randr-rust :

> `xrandr` for Gnome/wayland, on distros that don't support `wlr-randr`

Kernel-fsync: https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/

gnome-vrr: https://copr.fedorainfracloud.org/coprs/kylegospo/gnome-vrr/ :

  gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate']"
obs-vkcapture: https://copr.fedorainfracloud.org/coprs/kylegospo/obs-vkcapt...

system76-scheduler: https://copr.fedorainfracloud.org/coprs/kylegospo/system76-s...

freedomben|2 years ago

Glad to see this finally up here. I posted it a couple weeks ago and was shocked that I hadn't heard of it sooner. I expected it to rocket to the top, but instead it just languished (https://news.ycombinator.com/item?id=38642298).

I've been blown away by Bazzite. I haven't yet (so far at least) run into any downsides of being on Bazzite instead of SteamOS, yet have had numerous upsides. I've wanted my Decks to be on my tailnet for a long time, but that was not an easy proposition. There's numerous packages that don't flatpak well that I've wanted to install into my base OS but haven't been able to until now! An example, I use Remote Play to run the games on my beastly desktop while viewing them on my TV. Something I routinely do is SSH into the host machine and run htop in one tmux pane and nvtop (for my AMD card, yes it works great with AMD now!) in another pane. To me this feels like the difference between driving with a speedometer and tachometer vs. driving without. Such a simple thing, so hard to do with Steam OS, yet so easy with Bazzite.

ParetoOptimal|2 years ago

I also have my steam deck on my tailnet via `services.tailscale.enable = true` on NixOS.

I might have to do a comparison of NixOS and bazzite since bazzite has me curious.

johnchristopher|2 years ago

Oooh, looks cool ! I was just googling for something like "pc with steamdeck like specs" because I don't need the portability, I can't stand fan noise but I'd like Steam's ease of use. Now there is a path to a "normal"/quiet/dedicated PC to easily run games. But I suppose there won't be optimizations for any combinations of GPU/CPU/RAM like Valve and AMD do for the Steamdeck ?

Also:

> - Comes with patches from SteamOS BTRFS for full BTRFS support for the SD card by default.

Interesting, what advantages does BTRFS bring in gaming/steamdeck scenarios ?

edit: juste read on https://gitlab.com/popsulfr/steamos-btrfs:

> Btrfs with its transparent compression and deduplication capabilities can achieve impressive storage gains but also improve loading times because of less data being read. It also supports instant snapshotting which is very useful to roll back to a previous state.

I guess it's for easier rollbacks on the system and maybe rollback different versions of the same game ?

tw04|2 years ago

Copy-on-write filesystems are inherently better for flash media because they never overwrite in place. They always allocate a new block and mark the "old" block freed when it is no longer referenced by the active filesystem (or snapshots if supported).

Flash Media HATES overwriting data in place because it requires the block to be freed, then re-written.

Now, modern flash firmware tries its best to allocate new blocks anyway, so some of it is a wash, but it is overall a better way to write to flash media.

jcastro|2 years ago

> But I suppose there won't be optimizations for any combinations of GPU/CPU/RAM like Valve and AMD do for the Steamdeck?

I run a homegrown gaming htpc with an R5-5600, Radeon 6800XT, and then the Xbox wireless dongle and 4 Xbone controllers with Bazzite.

You'd be surprised at how much of heavy lifting is done by the kernel and mesa stacks, that's where the real work is done. Fedora does a good job pulling in kernel and mesa updates relatively quickly and the steam client handles the proton updates.

There's also great synergy between Bazzite, ChimeraOS, and Nobara, which are all gaming focused distros. Lots of code sharing and teamwork happening there, which is awesome to see. Everything is open for people to hack on.

It acts like a big steamdeck, all the performance overlays work, all the xbox controllers work ootb, fsr works, etc. - you do need to pair the controllers with each controller but that's a one time thing. I've personally completed God of War, Horizon Zero Dawn, Baldur's Gate 3 and other AAA campaigns in 4k. And then when I need to travel all my game progress is on my deck. It's a full multi device experience.

But to set expectations: VR and multiplayer games that don't opt into EAC or use kernel-level anti cheat are a no-op, as well as anything Epic makes. To me it's just like any console platform, you get lots of games, and some games you can't play. At this stage in the game both Windows and Linux suffer from the same UX shit show, horrible third party launchers are the worst problem with either set up.

Disclaimer: I'm involved in universal blue but don't directly contribute to bazzite.

jeroenhd|2 years ago

I use BTRFS with compression because my SD card is old (like, a decade old) and slow. (De)ompressing the assets takes a bit of CPU time but the slow I/O is noticeably faster because of it.

Deduplication can be useful if you store the Proton/Wine runtimes on the same disk. Different games may need different runtimes, the latest version isn't always the best, and a Wine environment without any games inside of it can take up a couple hundred megabytes just for DLLs and other common dependencies. Deduplicating can save a chunk of wasted storage, although with current flash storage prices that's probably not worth worrying about in practice.

Some people like the checksumming but IMO that's not all that useful without ECC memory.

KyleGospo|2 years ago

Fedora actually defaults to BTRFS, in the case of SteamOS the system is BTRFS out of the box, and only home and the SD card are ext4.

Main benefits are compression, and increased read speeds from compressed drives, especially from the MicroSD.

BTRFS de-duplication also solves the issue of wine prefixes with similar dependencies taking up more space than needed.

KyleGospo|2 years ago

> But I suppose there won't be optimizations for any combinations of GPU/CPU/RAM like Valve and AMD do for the Steamdeck ?

Every single one of these should be present, along with our own tweaks and changes made upstream at Fedora.

attentive|2 years ago

compression is good, checksums are good.

It's a shame other FS's don't have it.

freetonik|2 years ago

Slightly related, but just today I discovered this SteamOS redistribution for generic machines (as long as they don’t have Nvidia graphics): https://github.com/HoloISO/holoiso

542458|2 years ago

Okay, so I read that page and I understand that nvidia graphics are very much a no-go for that distribution. I’m just wondering why? Full disclosure, I know very little about the finer points of GPU compatibility on Linux, but why isn’t it just a matter of installing nvidia’s closed source packages?

evolve2k|2 years ago

What’s the motivation for the creators of this? And who’s backing it? Doesn’t feel like a weekend hobby project but rather a strategic open source play of some sort.

Maybe something Nvidia related?

KyleGospo|2 years ago

Hi, I'm the original creator of this project. I'm happy to say the motivation is purely organic, we've no backing and have never received donations of any kind, project is totally out of pocket.

Originally I wanted something akin to SteamOS that allowed packages to be installed and maintained through updates, and knew Fedora could offer that after using Silverblue for about a year, and it just kept evolving and growing from there.

We just launched HDR in testing, and are working on custom kernel signing so we can move that to stable without breaking secure boot support.

If you want to support us for the time being, all I can ask is that you give it a try and report any bugs you may find to us. The more users the better!

sapphicsnail|2 years ago

I'm competing with this for the attention of my girlfriend and losing.

deng|2 years ago

Can anyone report how well this would work on a pure touch device (tablet)? I have a Thinkpad X1 Tablet (gen3) and am still looking for the best Linux distribution to work with it as a plain tablet, without the keyboard attached. Plain Fedora has some very annoying bugs with the on-screen keyboard. Installing the Phosh extension fixed most of these, but this introduces other annoying things that make it tedious to use. Also, the disk encryption still requires to attach a keyboard at boot, since Grub does not feature an on-screen keyboard, so I'm wondering how this was solved here.

robinwassen|2 years ago

Not sure if you are to do any super sensitive work on the tablet or not.

But a home folder encryption rather than full disk might solve the touch input problem.

cassianoleal|2 years ago

I tried this months ago when I was building a gaming rig as it looked like a very interesting option.

I ran into a bunch of problems and after maybe 6 or 7 failed attempts I gave up and now I’ve settled with Debian on it (https://blog.c10l.cc/09122023-debian-gaming).

I’d be willing to give Bazzite another go and see if it has fixed whatever many issues I had though. There used to be one showstopper limitation (for me): it didn’t support dual/multi-booting. Does anyone know if that’s changed?

Geisterde|2 years ago

Ill take this as an opportunity to explore fedora (i guess?), ive been using ubuntu for ~2 years and am ready for a change. This looks like it has a lot of what I would want built in, im not tech savvy enough to get some of this stuff working.

Kellyhnsn|2 years ago

Erulabs is all about Bazzite shaking things up and bringing back the good old peer-to-peer days of the internet - it's like a digital revolution waiting to happen. And heyoni? Totally feels the pain of how clunky and centralized the web's gotten lately, especially when you can't even get a straight answer from a simple search. Then there's mikepurvis, who's been down the DIY media center road and found it's not all it's cracked up to be, making the dream of a simple, plug-and-play system super appealing.

felbane|2 years ago

I would love to hear how people are building HTPC/media streaming setups using this kind of stack in 2024. I am very interested in replacing all my aging fire sticks with something custom built.

Was considering just doing some RPi based dongles on bedroom TVs and a higher spec gaming PC with Steam Big Picture on the main TV, but with all the innovation recently I feel a bit of choice paralysis.

Anyone willing to share what their setup looks like, or what they're planning to do in the coming year?

CharlesW|2 years ago

I did the HTPC thing for many years. Finally, I just got tired of the noise, heat, and occasional maintenance requirements of having a PC in the media room.

My recommendation: Get a tiny, quiet, privacy-respecting client (e.g. Apple TV) and put the media on a NAS that lives elsewhere. Depending on your preferred client UX, you may (Plex) or may not (Infuse) need a separate app to serve the media.

yjftsjthsd-h|2 years ago

> Bazzite is an OCI image that serves as an alternative operating system for the Steam Deck

I'm not quite following - this is a host OS that runs things in containers, or the OS inside a container?

jcastro|2 years ago

The OS is delivered to you via a container (via the github registry), but can also run things in containers.

The OS itself is run on the bare metal.

brirec|2 years ago

What’s with the 0 in the title?

SubiculumCode|2 years ago

I decided to ditch windows. Installed Budgie, and I installed Steam.

What is the advantage of Steam OS or Bazzite over Ubuntu variant + Steam?

bsimpson|2 years ago

Gamescope, the compositor used on the Steam Deck variants, is optimized for gaming. It can do things like integer scaling, so your game is always fullscreen regardless of what resolution it renders to.

stavros|2 years ago

This looks interesting, but what do I lose by switching to it? Does the Steam interface still work? The hardware? The games?

JustinGarrison|2 years ago

Yep! Everything works as it does with SteamOS but better (more fixes) and a better desktop environment.

Installation is pretty quick too! Here’s a video I made showing the process https://youtu.be/doQW1FyAISQ

puchatek|2 years ago

Could this replace a media center like Kodi for playing music and movies or is it just for games?

KyleGospo|2 years ago

Kodi could for sure be installed on this, we're open to any suggestions that make that task easier for you as well.

b3nji|2 years ago

> Could this replace a media center like Kodi for playing music and movies or is it just for games?

I would like to know this too.

tavavex|2 years ago

Makes me wonder - how viable is it to install actual SteamOS on devices that aren't the Steam Deck (and use the Deck UI and all)? Are there any mods or something to make that work?

bsimpson|2 years ago

The Deck UI is two parts: the Steam client in Big Picture Mode (which is most of the Steam Deck UI and runs on Mac and Windows as well), and the gamescope compositor. Gamescope is open source and Steam is available for download on Linux.

You could run any of the replacement Steam Deck OSes (Jovian/NixOS, Bazzite, Chimera...) and get a UI that's identical to what's on the Steam Deck, down to the "Deck Verified" badges and sidebar sliders that may not work on your machine. They're all essentially running the Steam Deck UI atop whatever distribution each one chose.

I'm not sure you'd want the literal Steam Deck image on your machine. It's an older kernel with a bunch of patches that expect the SD's hardware. But if you want to explore that more, there was an excellent article on the front page this morning about building your own clone of Steam OS.

figmert|2 years ago

Any one know if there is a reason not to install this on my SD? The Waydroid installation is very interesting. How well does it work? Would you consider this a bit bloated?

jabbequbs|2 years ago

What does OCI mean in this context? My best guess is Oracle Cloud Infrastructure, but that doesn't seem right...

tmountain|2 years ago

It refers to the OCI image format. Think of git for your base operating system. The host system is immutable with full support for easy rollbacks. Stable installs can be pinned permanently for maximum stability. Software installs happen in user space, typically via flatpack and distrobox, so you can reach for any packages you want with minimal fuss. It’s pretty great.

sebazzz|2 years ago

How does this compare to Winesapos?

westurner|2 years ago

What could be merged into Fedora and e.g. Gnome?

attentive|2 years ago

10Gb of "everything is a Flatpak" isn't exciting.

KyleGospo|2 years ago

The only flatpaks here are ones installed by the user after setup, or ones installed by Fedora (Firefox for instance, you don't want your browser updating only when your OS does).

Steam, gamescope, and nearly every other listed feature are native packages.