shaked_coffee

joined 2 years ago
[–] shaked_coffee@feddit.it 2 points 4 months ago

Probably it is equivalente to a custom itx machine, the thing I was impressed about was the CPU they used that combined with fast RAM could be very good for hosting locale LLMs

[–] shaked_coffee@feddit.it 2 points 4 months ago

Indeed!

(It should be TB4 if I remember correctly)

 

Framework just announced their Desktop computer: an AI powerhorse?

Recently I've seen a couple of people online trying to use Mac Studio (or clusters of Mac Studio) to run big AI models since their GPU can directly access the RAM. To me it seemed an interesting idea, but the price of a Mac studio make it just a fun experiment rather than a viable option I would ever try.

Now, Framework just announced their Desktop compurer with the Ryzen Max+ 395 and up to 128GB of shared RAM (of which up to 110GB can be used by the iGPU on Linux), and it can be bought for something slightly below €3k which is far less than the over €4k of the Mac Studio for apparently similar specs (and a better OS for AI tasks)

What do you think about it?

[–] shaked_coffee@feddit.it 1 points 5 months ago (1 children)

Unfortunately the issue persists even if I give Heroic access to the all user files (filesystem=home), but maybe the issue is more an issue of Steam rather than of Heroic, since from Heroic I'm able to launch games and even add them to Steam (they actually appear on Steam Library, and manually launching from a terminal the command Heroic automatically added to steam games are launched properly).

I tried to give Steam flatpak full access to user's files as well, but after having done that I got an error when launching steam pointing me to this doc page so I think some additional steps would be needed for that change (?)

[–] shaked_coffee@feddit.it 1 points 5 months ago (1 children)

Because sometimes I have the laptop connected to the TV using Steam's Big Picture mode with a controller and it would be nice to launch also my Heroic games from there without having to go back to the desktop

 

I've installed "Overcooked 2" and "Moving Out" through Heroic Games Launcher (flatpak) and then used the ad-hoc option to add it to steam (also installed as flatpak). If I try to launch the game from Heroic it works properly, and it works also if I try to launch it from the command line with the command it added to steam

flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/legendary/8e29583ae4b44a21883038668f7e301e"

but if I click the PLAY button on steam, the game fails to launch and the following error is printed on terminal:

chdir "/var/home/lez"
Game Recording - would start recording game 12260096395435835392, but recording for this game is disabled
Adding process 532 for gameID 12260096395435835392
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
pid 534 != 532, skipping destruction (fork without exec?)
Game Recording - game stopped [gameid=12260096395435835392]
Removing process 532 for gameID 12260096395435835392

Anyone else faced this issue? If so how did you fixed it?

[–] shaked_coffee@feddit.it 2 points 6 months ago

IT WORKED! Thank yoy again for the help :)

[–] shaked_coffee@feddit.it 1 points 6 months ago

I've tried first removing the -it flag as suggested by @farcaller@fstab.sh in another comment and see if that works out. Otherwise I'll try to debug with a logfile as you suggested, thanks!

[–] shaked_coffee@feddit.it 1 points 6 months ago (1 children)

Oh you are right, thank you. I've tried removing it and see if it fixes the issue 🤞

[–] shaked_coffee@feddit.it 1 points 6 months ago

Thank you for pointing it out. I'll fix it as soon as possible and see if it solves the issue.

However, the script I pasted is fired by another script (called docker_backupper.sh, that is the one triggered by the cronjob and whose purpose is firing a specific script for each service to be backed up) and that script has the #!/bin/bash on top, so I fear adding it also to the "invoked scripts" won't change that much

 

I've made the following backup script for my immich stack to be automatically run every day

# Load variables from the .env file
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
set -a
source "$SCRIPT_DIR/../.env"
set +a

# Create a dump of the database and back it up
docker exec -it immich_db pg_dumpall -c -U immich > immich/latest_db_dump.sql
rustic -r $BUCKET_NAME/immich backup immich/latest_db_dump.sql --password=$REPO_PWD

# Backup the library, uploads and profile folders from the upload volume
rustic -r $BUCKET_NAME/immich backup immich/uploads_v/library --password=$REPO_PWD
rustic -r $BUCKET_NAME/immich backup immich/uploads_v/upload --password=$REPO_PWD
rustic -r $BUCKET_NAME/immich backup immich/uploads_v/profile --password=$REPO_PWD

# Apply forget policy
rustic -r $BUCKET_NAME/immich forget $RUSTIC_FORGET_POLICY --password=$REPO_PWD

and when I test it everything works properly, and the created sql dump file is complete and properly backed up.

However, when the execution is triggered automatically by a cronjob (as specified in this crontab line)

"30 3 * * *    root    /home/admin/WinguRepo/scripts/docker_backupper.sh"

(the line is taken from the nixos configuration file, that's why it also contains the user executing the operation)

it seems something breaks in the dumping process, because the script completes successfully but the sql dump file is an empty file (as can be noticed in the following output of rustic -r myrepo snapshots

snapshots for (host [wingu-box], label [], paths [immich/latest_db_dump.sql])
| ID       | Time                | Host      | Label | Tags | Paths                     | Files | Dirs |      Size |
|----------|---------------------|-----------|-------|------|---------------------------|-------|------|-----------|
| 10a32a83 | 2025-01-06 20:56:48 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 | 264.6 MiB |
| 1174bc2e | 2025-01-07 12:50:36 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 | 264.6 MiB |
| 00977334 | 2025-01-08 03:31:24 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 |       0 B |
| 513fffa1 | 2025-01-10 03:31:25 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 |       0 B |
4 snapshot(s)

(the first two snapshots were manually triggered by me executing the script, the latter two instead are triggered automatically by the cronjob)

Any idea about what is causing this behavior?

EDIT: Solution found thank's to @farcaller@fstab.sh comment:

You don’t need -it because you don’t run an interactive session in docker. It might be failing because you ask for a pseudoterminal in an environment where it doesn’t make sense.

 

cross-posted from: https://feddit.it/post/13363649

Hi! I'm a flutter developer and I've recently switched from Ubuntu to Bluefin (based on Fedora Silverblue) I was trying to install flutter and all the dependencies it asks for when running flutter doctor and while for clang++, cmake and ninja I have been able to install them with Homebrew (brew install llvm cmake ninja) and the warning went away, flutter seems not to detect GTK 3.0 development libraries when installed through homebrew (brew install gtk+3)

After having looked a little bit online, I've seen that the problem is probably that it's searching the libraries in the wrong place and in fact even when I run pkg-config --modversion gtk+-3.0 I see the library as missing. Therefore, I tried setting the PKG_CONFIG_PATH env variable to the folder where brew installed my libraries (/home/linuxbrew/.linuxbrew/opt/gtk+3/lib/pkgconfig) and after that the output of the pkg-config program above is the one expected. However, this doesn't seem to fix the issue with flutter doctor... why? where should I specify this path for flutter to notice it then?

EDIT: I found out that I was almost right! The PKG_CONFIG_PATH env variable is what flutter looks at to find GTK-3 libraries, but should be set to /home/linuxbrew/.linuxbrew/lib/pkgconfig (if pkg-config has been installed through brew as I did) and then everything will work properly.

[–] shaked_coffee@feddit.it 1 points 7 months ago (1 children)

But if the atproto team actually releases a way to selfhost a relay server as well (and not just a data server), in theory if bluesky enshittifies you could always fork the app, selfhost your PDS and Relay and migrate, while still being able to interact with the people in the "mainstream bluesky".

I know this is a big if, and that at the moment it's not reality, but the Atmosphere it's at leaat 10 years younger than the Fediverse. So I'd say let's not call it shit yet and just see how it evolves...

 

I'm currently running a Nextcloud instance in docker, using the "multiple containers" method, but I recently discovered that the reccomended method to run it is using this "All In One" image I previously didn't know about, and so I wanted to try to migrate to that setup (also in order to have easily also the office and whiteboard features that atm I don't have on my instance + have easier Backup-restore process)

The problem is that on my server I'm using traefik as a reverse proxy to expose services to the internet, and it is working on a specific docker network (called traefik_net) where also every container that should be exposed is connected, and from the official documentation of Nextcloud AIO I really don't understand how am I supposed to configure it to work in a setup like mine (mainly because the mastercontainer creates all the containers it needs on a network called nextcloud_aio and I didn't find a way to change that and where to set the proper traefik lables)

Anyone that is running AIO behind a traefik reverse proxy maybe can help me to understand?

[–] shaked_coffee@feddit.it -1 points 1 year ago

Maybe take a look at PhotoSync as well, it's not foss but it's a really well-done app and seems to be what you are looking for

[–] shaked_coffee@feddit.it 22 points 1 year ago

Imho the card view redesign was more than needed, thank you!

Big kudos to the thunderbird team, since the supernova announcement they've done a really good job

[–] shaked_coffee@feddit.it 77 points 1 year ago (21 children)

Anyone willing to summarize those mistakes here, for those who can't watch the video rn?

 

cross-posted from: https://feddit.it/post/9251429

I was previously using PopOS! 22.04 on my tuxedo laptop and I'd installed on it Howdy to take advantage of the IR camera and have a windows hello alike face recognition feature.

Everything was working fine, but after some time GNOME 46 and its new goodies were too tempting to stick with Pop's old GNOME version (at least for me) and therefore I switched to Ubuntu 24.04

However, when I tried to install howdy using the PPAs as I did with Pop I noticed it wasn't working because of some changes that were made regarding on how Python is managed, and I couldn't find a solution for that. Looking at howdy's GitHub issues, there are a lot of them talking about this problem that seems to be started with 23.x versions already, but having so many issues created a bit too much confusion to me and I didn't manage to find a working solution from there.

Is there anyone here using Howdy on Ubuntu 24.04? How have you managed to install it?

 

I was previously using PopOS! 22.04 on my tuxedo laptop and I'd installed on it Howdy to take advantage of the IR camera and have a windows hello alike face recognition feature.

Everything was working fine, but after some time GNOME 46 and its new goodies were too tempting to stick with Pop's old GNOME version (at least for me) and therefore I switched to Ubuntu 24.04

However, when I tried to install howdy using the PPAs as I did with Pop I noticed it wasn't working because of some changes that were made regarding on how Python is managed, and I couldn't find a solution for that. Looking at howdy's GitHub issues, there are a lot of them talking about this problem that seems to be started with 23.x versions already, but having so many issues created a bit too much confusion to me and I didn't manage to find a working solution from there.

Is there anyone here using Howdy on Ubuntu 24.04? How have you managed to install it?

 

Today thanks to a NetworkChuck video I discovered OpenWebUl and how easy it is to set up a local LLM chat assistant. In particular, the ability to upload documents and use them as a context for chats really caught my interest. So now my question is: let's say l've uploaded 10 different documents on OpenWebUl, is there a way to ask llama3 which between all the uploaded documents contains a certain information (without having to explicitly tag all the documents)? And if not is something like this possible with different local lIm combinations?

 

Yesterday I was trying to install the Ubisoft version of AC Odissey on my PopOS! machine, and I wasn't able to do so because when I try to launch Ubisoft Connect from Lutris, it asks me to do the login and then shows only a black rectangle.

I tried looking online for a solution but as far as I understood it's a problem of the new Ubisoft Connect UI and I wasn't able to find any fix... can someone help?

It really sucks because it prevents me to play some games that are supposed to run on Linux just because at the time I bought them on Ubisoft Connect instead of Steam :/

 

I've recently bought my first Tuxedo laptop, an InfinityBook Pro 16 - Gen8 and after having some minor issues with Fedora on it (mainly with the Tuxedo Control Center) I moved to PopOS! and since then it worked flawlessly. Or at least, it used to work flawlessly until last week, when the laptop started to reboot at (apparently) random points of its usage. This is REALLY annoying.

Does anyone encountered the same issue? Have you identified its causes? And how have you fixed it?

 

I recently finished the episode of The Verge's podcast #Decoder with the interview to Bluesky's CEO and it seems a quite interesting project. At the beginning I wasn't looking really into it because of their choice of using a new protocol instead of the existing ActivityPub, but after listening to her and the reasons behind this choice maybe I'll give them a chance.

What do you think? Do you use it alongside with the fediverse?

 

A couple of years ago with my old phone (running if I don't remember wrong Android Pie) and my old laptop (running Manjaro KDE) I discovered KDEConnect and how it could enable a clipboard sharing feature similar to the one Apple provides between Macs and iPhones. It was great! Now, after having changed both my phone (now running Android 14) and my laptop (now running PopOS! 22.04) I wanted to reproduce that magic but I found out that with Android 10 some complications regarding clipboard sharing arrived and so it doesn't work out-of-the-box anymore :(

I found some saying that the only way to do that was by the persistent notification button (still ok but meh) and some others reccomending some adb commands to make it work as it was before (which would be great but I wanted to investigate a bit more before pasting some random commands to my terminal)... but it was all kinda old content (referring to Android 10 or at most 11), what's the situation as of today? Do you use clipboard sync? And if so, how?

view more: next ›