Bring back the Linux version for the TU wallet

More people are moving away from Windows to Linux, with all the new improvements for gamers in Linux and the EU dumping down Windows. We need to bring the download version for Linux back. I know it’s easy to build once you’ve got all the dependencies, but we need to make it easy for people to start using the TU wallet.

7 Likes

One of my wishlist hopes for the community shift in this project is for TU to be across all major GNU Linux distros. It of course will need to be well-supported, and where graphics drivers are concerned for mining that’s not easy… there can be a lot of proprietary tinkering :confused:

2 Likes

agree.

it’s unreasonable of removing the support of linux os in the certain vesion of wallet, becaue it’s built on cross-platform frameworks, and supported linux since it’s born.

linux are widley used in early users, please consider this advice.

3 Likes

We removed Linux just because of the sheer number of unique runtimes there are; it becomes a support nightmare. This is just gotten worse. Remember linux is not an OS, its a kernel. Supporting every OS becomes super hard if you don’t have a user that championions it and supports the install stack.

1 Like

And every other project out there has a Linux version without a problem; if it’s a specific bug, just remove what’s causing the bug in TU, but bring back the Linux version. I want to be able to use the bridge too.

1 Like

I used the Linux Tari Universe build quite a bit before its support was discontinued and it worked mostly fine for me. However, I have an idea what would have made it especially complicated to support: Mining, and especially GPU support for mining.

I think that it’s reasonable to draw a fence around what is going to be directly supported in the Linux build, and what is going to be ‘best effort’, ‘community supported’, or ‘recommend other solution’.

For instance, it remains a pain in the ass to install and use the correct Nvidia drivers for many systems, especially systems which have multiple GPUs where Linux may be configured to favor one over the other.

However, this difficulty shouldn’t prevent us from making available other wallet features, such as sending/receiving money and the bridge. Linux’s marketshare is growing tremendously of late due to Microsoft’s continual shooting itself in the foot.

We may also be in a better position to address the edge cases now that there’s more public contribution.

5 Likes

Though I agree here, it’s possible to target the most popular distros.

Ubuntu LTS and Debian Stable would go a long way before even looking at RHEL + Fedora, Arch, etc.

1 Like

I was going to comment about the difficulties with CUDA etc. but those are largely inherited from the xmr ecosystem and are just a general issue with GPU mining as you note. Start with a build that removes or disables these features, and then if there is enough interest in it, people will build ways to do it in their own community repos.

2 Likes

If those 2 lanes, GPU and ASIC, cause so much trouble, why not remove them? Would that solve the majority of the problem? They even talk about the problems with those 2 lanes. Update Tari's Difficulty Algorithm - #3 by kinkajou and An observation on hashrate concentration on the Tari RandomX lane - #2 by Memloch

2 Likes

My thread on the difficulty algorithm is an issue that effects all lanes, not just GPU/ASIC, and the other thread you linked to is about the Tari CPU lane.

Either way, we shouldn’t ever be removing mining lanes - that’s our network security. It isn’t practical to reduce network security just so a few users have access to a GUI wallet without building it themselves.

@profdiggity and @Fox have the right idea. Simply remove the GPU miner. It’s just using lolminer anyway. It’s trivial for miners to go install that themselves if they want. Is that what you meant by removing the lanes? The Sha3x miner was removed a while ago so it’s just c29/randomx (CPU/GPU) in TU now.

2 Likes

I’m not sure on this point-- Monero is operating with solid network security using only CPU mining, and GPUs/ASICs are becoming harder to come by for everyone. However, I feel it’s a separate question, and should be separately considered, from this problem.

1 Like

Nearly every single person that plays video games on their computer has a GPU. I can buy a GPU cheaper than I can get a set of DDR5 for my CPU right now. Many of the AI hobbyists/developers we’re apparently targeting now have their own GPU, or many of them. And there’s plenty of ASICs available for sale. Only the first batch went out of stock.

Monero also isn’t operating with solid network security using only CPU mining, Qubic just caused a 30 block reorg with their malicious mining attack and could have done more. Monero had to implement some emergency “block checkpoints” fix to prevent total disaster and exchange delistings/indefinite suspensions.
Tari also isn’t operating on solid security with our CPU lane - we just linked to a thread on this very forum showing nearly the entire lane is a single miner/botnet! :sweat_smile:

1 Like

Generally speaking, GPU mining requires proprietary drivers so it can’t be done with a fully free software stack. Let’s start with a stripped down build and proprietary GPU support can be added by the people who want it (though I won’t be doing it).

At the moment, XTM needs a boost of users and the simplest way to get a stable Tari Universe in the hands of more GNU/Linux users is to start with an app that can be built and maintained as simply as the Windows and MacOS builds (maybe simpler). Otherwise, we’ll end up where we are now, with no build at all for any free distros.

So, let’s start from “first principles” so to speak, and then the folks who want to worry about GPU mining etc. can do that.

5 Likes

That’s what Flatpak is for — one sandboxed runtime, identical on every distro, no per-distro support.

Opened a PR adding a Flatpak build of Tari Universe, CPU + GPU mining intact:

Couldn’t test AMD GPU on my hardware — testers welcome!

4 Likes

Flatpak can be a beast on some distros. I would recommend starting much simpler with AppImage, which I think you’ll also find will be easier to package.

It does not have the sandboxing, which has pros and cons in this context.

2 Likes

For reference, the original Linux build was an AppImage-- or rather, an AppImage was provided alongside .deb and .rpm, I believe.

1 Like

AppImage is not a fully portable packaging format, it doesn’t support musl-based distributions and I believe it requires systemd.

1 Like

AppImage bundles usually make assumptions about things like this, but there is no strict requirement for systemd.

I think you’ll find that installing a Flatpak across a wide variety of distros is much harder than launching an AppImage.

Basically the difference is this: AppImage has broader distro reach as a single-file delivery format. Flatpak has stronger runtime consistency across the distros that support it, but narrower practical support because the host has to provide the Flatpak stack. And a lot of distros don’t do that or have no plans to, so it can be very onerous for the user.

At any rate, whatever the community decides and can spin up fast is better than nothing and I’d be just as happy with a tarball and an installer script.

1 Like

I know you have to manually install the Flatpak runtime in distros like Ubuntu, but at this point I assume most daily Linux users will have installed it in some fashion, since there are plenty of apps that aren’t available as Snaps or AppImages. AppImage does have the advantage of not requiring any additional software installations, but it integrates poorly by comparison. Are there any distros that can’t run Flatpak, even with installing a package?

In any case I’d be just as happy with a working Flatpak, AppImage, or tarball with a precompiled executable as well.

1 Like

I’m not anti-Flatpak… just trying to think about reducing support requests, and when new users need to even go into the command line it can get squirrel-y. Alpine comes to mind here, where you have to enable a bunch of stuff.

Also, I don’t think Flatpak will run on ChromeOS or WSL, but that’s not really a problem.

1 Like