u/Siffredinho

[Niri] Ironbar with Widgets ... yes, I like circles.
▲ 44 r/niri+1 crossposts

[Niri] Ironbar with Widgets ... yes, I like circles.

I just created a configuration with Ironbar and took advantage of the handy feature that lets you create Cairo widgets via Lua. Instead of seeing numbers everywhere, there are now circles in different colors. And the best part: CPU usage is very low.

In addition to a few Lua scripts (for the graphics), there are also scripts for Mailcheck (for accounts synchronized with mbsync), iwd, and displaying the battery level.

Repo: https://github.com/omfgkittenmeow/cairoIronbarConfig

u/Siffredinho — 4 days ago

Steam native under Asahi

After a few threads describing issues by running the arm64-build of Steam under Asahi and lots of headaches here's a solution which worked for me.

First of all... as a reference I used the great guide from de-win: https://gist.github.com/de-wim/ba440a84f65d49955a1be15a328bd8b3#file-steam-install-linux-aarch64-sh

As a Bonus, I included a build for Proton-arm64 which makes everything a bit faster (instead of muvm->FEX->Steam you directly run Steam under muvm and FEX is included into the Proton build - I have no actual numbers but games seemed to be snappier). And of course, the arm64-Client for Steam works much (!!) better.

To make everthing work fine, it looks like it's required to have a working muvm/FEX-Steam installation. Under Gentoo you have to start steam-aarch64 command, but I'm positive that under Fedora or Arch it's not that different.

So if you have a working muvm-FEX-Steam environment (without any arm64 directories) you can jump to (2).

(1)
Remove old Steam Data.

rm -rf ~/.steam
rm -rf ~/.local/share/Steam

Initiate a fresh Steam installation. Like mentioned, under Gentoo it's steam-aarch64 but I assume when you come to this level of desparation (like me) you know the right command. Important is: login and let the UI start. Then you can close the Steam Client.

(2)
Jump to a tmp directory of choice (or simply your $HOME) and get the latest Steam-Beta for arm64.

LATEST_ZIPFILE=$(curl -s https://client-update.steamstatic.com/steam_client_publicbeta_linuxarm64 | grep -E '"file"\s+"bins_linuxarm64_linuxarm64.zip' | cut -d '"' -f4)
curl -o bins_linuxarm64_linuxarm64.zip https://client-update.steamstatic.com/${LATEST_ZIPFILE}

And simply install it...

unzip -o -qq bins_linuxarm64_linuxarm64.zip -d ~/.local/share/Steam/
chmod -R 700 ~/.local/share/Steam/steamrtarm64/

Enable the Beta.

mkdir -p ~/.local/share/Steam/package && echo publicbeta > ~/.local/share/Steam/package/beta

One symlink is needed (even when the directory doesn't exist at this moment).

ln -sf ~/.local/share/Steam/linuxarm64 ~/.steam/sdkarm64

I assume you have already installed FEX-Emu and muvm. Things which are required (if not already installed, use pacman, emerge, dnf....): gtk2, ibus, libvdpau.

Then you have to set the right symlink for /usr/lib64/libvpx.so.6. If it's the version you've installed, there's nothing to do for you. But you surely may have a newer version...

ls -l /usr/lib64/libvpx.so*.0
lrwxrwxrwx 1 root root      16 Jul 12 18:12 /usr/lib64/libvpx.so.12.0 -> libvpx.so.12.0.0
-rwxr-xr-x 1 root root 2030880 Jul 12 18:12 /usr/lib64/libvpx.so.12.0.0

So here you have to type:

ln -s /usr/lib64/libvpx.so.12 /usr/lib64/libvpx.so.6

Now you can start the new Steam Client for the first time.

muvm ~/.local/share/Steam/steamrtarm64/steam

It should run through up to the screenshot I uploaded.

Now to the "extra" thing. A Proton-arm64 build with FEX included. If you trust me, you can download my build (clang/lto-thin/4k). It's compiled for an M1 Processor so it possibly won't work with other ARM64-CPUs which aren't from Apple.

cd ~/.local/share/Steam
wget https://humppa.ch/proton_11.0-1_asahi.tar.zst
zstd --rm -d proton_11.0-1_asahi.tar.zst;tar -xvf proton_11.0-1_asahi.tar

If you don't trust me, grab the source and compile it with extra-configure-Option --target-arch=arm64
 (and 4k pagesize related CFLAGS).

https://github.com/ValveSoftware/Proton

Restart the client.

Right-click to the Game you want to try -> Properties -> Compatibility -> Check "force..." -> binarm64.

For a Test I just installed "South Park - The Stick of Truth" - it's small and it works absolutely fine.

If there's anyone who has enough Cloud-space, it would be cool if you upload the file and post the link here (actually humppa.ch is not the super-fast server).

If there are any mistakes, just report 'em. :-) So we all can find a solution to new issues (or any typos).

https://preview.redd.it/2w0xnou5g9dh1.jpg?width=1723&format=pjpg&auto=webp&s=71ec63eb6cca974a3808d7b33f7e9cb54066c7f5

reddit.com
u/Siffredinho — 1 month ago