fhein

joined 1 year ago
[–] [email protected] 2 points 1 month ago

Easiest GUI toolkit I've used was NiceGUI. The end result is a web app but the python code you write is extremely simple, and it felt very logical to me.

[–] [email protected] 1 points 1 month ago

Assuming they already own a PC, if someone buys two 3090 for it they'll probably also have to upgrade their PSU so that might be worth including in the budget. But it's definitely a relatively low cost way to get more VRAM, there are people who run 3 or 4 RTX3090 too.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

For LLMs it entirely depends on what size models you want to use and how fast you want it to run. Since there's diminishing returns to increasing model sizes, i.e. a 14B model isn't twice as good as a 7B model, the best bang for the buck will be achieved with the smallest model you think has acceptable quality. And if you think generation speeds of around 1 token/second are acceptable, you'll probably get more value for money using partial offloading.

If your answer is "I don't know what models I want to run" then a second-hand RTX3090 is probably your best bet. If you want to run larger models, building a rig with multiple (used) RTX3090 is probably still the cheapest way to do it.

 

I just spent half an hour trying to figure this out so I thought I'd write it down somewhere in case it helps someone else in the future.

Aslain's modpack contains a whole lot of quality-of-life mods for WoWs, for example Battle Expert (formerly known as Navigator) which shows the exact relative angles between your ship and the enemy's. Almost feels like cheating to me, but Wargaming has endorsed this modpack and it even has a dedicated channel on the official discord server. Theoretically you have the same information without the mod, but it can be difficult to see how a ship is turning or changing speed by just looking at it.

These instructions are for when the game is installed through Steam, which looks like it uses some kind of overlay filesystem. This led to that the game install folder didn't show up for the modpack installer when I tried other methods.

  1. Install protontricks, I used the version available in Fedora's repos.
  2. Download the modpack installer from the official site
  3. Find the WoWs install folder in Steam. Right-click World of Warships in the Steam games list, select Manage and "Browse local files" and the folder should open in your default file manager.
  4. In a terminal, run the modpack installer .exe file in the game's Wine prefix. I'm not entirely sure this makes any difference compared to running it in a new prefix as long as it can access the game files, it mostly seemed convenient to me. The app id for WoWs is 552990 and it should never change, but you can get it with protontricks -l if you're curious. Change the file path so that it matches the file you downloaded and run:
    protontricks-launch --appid 552990 ~/Downloads/Aslains_WoWs_Modpack_Installer_v.13.6.1_01.exe
    It will print a lot of "failed to create" error messages for system dlls and exes, but that appears to be normal, and the setup window should open after a while.
  5. After some release notes etc. the installer will eventually ask you for the game's install dir. As far as I can tell, the game files do not show up anywhere on C:, but Steam mounts your Linux file system on Z: so we can use that instead. Browse to the game install folder, which we located in step 3, and select it. My install folder on Linux is
    /mnt/faststore/SteamLibrary/steamapps/common/World of Warships/ so I select
    Z:\mnt\faststore\SteamLibrary\steamapps\common\World of Warships in the modpack installer.
  6. Either manually select the mods you want or use the recommended selection. As I wrote before, many for these mods feel like they give you an in-game advantage over other players, but WG has said they're legal...
  7. The first time I ran the installer it hung on "Finishing installation". It appears to happen to a few Windows users too but the mod dev doesn't know what causes it. I noticed that there was a cleanup process running in Wine C:\windows\system32\cmd.exe /C DEL /s /f *.orig which shouldn't take so long time so I killed it (in Linux) and the installer continued. The next time I ran it this didn't happen, and it only took a few seconds to finish the installation.

If you have the game installed as standalone, e.g. Lutris, then I think you can just run the modpack installer in the same Wine prefix, and you should see the game's install folder under C:\Program Files as you would on Windows. I.e. select the game in Lutris, click the tiny arrow next to the wine glass button and select "Run EXE inside Wine prefix" and then choose the installer you downloaded. But I haven't done this so I promise nothing.

Please don't take this as an endorsement of World of Warships, I borderline hate this game and only play it because some of my friends are obsessed with it. The gameplay is a bit too slow paced for my taste, there are a lot of hard counters which you can't do anything about in random matchmaking, and carriers (planes) can turn any game into pure suffering. I also dislike the game's monetization scheme, lootboxes are expensive and most have a tiny chance to give something really good and a big chance to give you complete garbage. The game might be f2p, but at higher tiers it becomes unplayable without a premium subscription (€10/month) since ship maintenance gets more expensive than your earnings. To maximize your ship's performance you need a high level captain, expensive modules and also buffs which are consumed each game. My friend tries to argue that the game is not pay-to-win because you can also grind ingame resources to buy those, but you'll spend many hours playing at a disadvantage if you don't buy your way past it. Just my personal opinion of course.

If you despite my warnings felt an urge to try this game (honestly I thought it was quite fun at lower tiers) then check if any of your friends are already playing it and ask them for a referral code. Both of you get free stuff from being recruited by someone else and once you've created an account it's too late, unless you stop playing completely for 3 months. If you do that it is possible for your friend to send you a recruiting link if you want to start playing again.

Just a heads up, I've read that it's impossible to connect an existing wargaming.net account to a Steam account on Linux, so make sure you authenticate through Steam when you create the account if you plan on playing it through Steam. Though if you have Windows dual boot then I think you can link the accounts there if you need to.

[–] [email protected] 0 points 2 months ago (2 children)

What kind of issues do they have? I've used gtx970, 1080, rtx3080 and now 3090 and I've never had any issues worth mentioning.

 

Any games with less than 1000 total Steam reviews you've enjoyed and thought more people ought to know about? Not a hard limit, just a guideline for what could be classified as "undiscovered" on Steam, assuming it wasn't released yesterday.

I would recommend:

  • Full Bore, a cute block-based puzzle platformer. Solid mechanics, level designs and even a somewhat engaging story. ~~Unfortunately hasn't been on a sale since 2021 according to steampricehistory.com, while it was frequently reduced to €2-3 before that. Not sure I'd recommend it to everybody at full price, but IMO it's one of the best indie platformers I've played.~~ edit: Did someone email the creator of Full Bore or something? It's suddenly on sale again, for the first time in ages :) Go buy it!
[–] [email protected] 7 points 3 months ago

It ought to be mandatory to write this out whenever talking about Linux. I've seen more than one person bash Linux in a public forum "because it has digital rights management built into the kernel" after they've misinterpreted some news headline.

[–] [email protected] 1 points 3 months ago

If someone is careless, they should create a wrapper around rm, or just use a FM.

I think that's the situation OP is in.. They don't trust themself with these kinds of commands, while other commenters here are trying to convince them that they should just use rm -rf anyway

[–] [email protected] 8 points 3 months ago (7 children)

Maybe they're afraid of accidentally writing rm -rf folder/.git /* or something

[–] [email protected] 10 points 3 months ago (3 children)

Did you try running xev and pressing the key to see if it shows up as something?

[–] [email protected] 0 points 3 months ago* (last edited 3 months ago) (4 children)

If you're using btrfs then you might need to rebalance it. I had the same problem, i.e. "no free space" while tools like df reporting that there should be available disk space, and it confused the hell out of me until I found the solution.

See manual: https://btrfs.readthedocs.io/en/latest/Balance.html

This are the commands I run every now and then, especially if my drive has been close to full and I delete a bunch of files to make more space:

sudo btrfs balance start -dusage=10 /
sudo btrfs balance start -dusage=20 /
sudo btrfs balance start -dusage=30 /

The / at the end is the path, since it's my root mount which uses btrfs. The example in the manual does 40 and 50 too, but higher numbers take longer time, even on an nvme ssd.

[–] [email protected] 7 points 3 months ago

My wife and I gave a Linux computer to a friend's kid. I think I used something called Grapejuice to install Roblox, which ran perfectly for about a year. Then it broke because they wrote a new game client or something, but the kid just said "it's ok, I'll play other games instead." Best Linux gamer attitude :)

[–] [email protected] 1 points 3 months ago

I have some hobby projects in Python but I've never needed the pro features, I do pay for Clion though

[–] [email protected] 0 points 6 months ago (1 children)

kde has a screen tearing bug for games on a gsync monitor

You mean on Wayland? I play a lot of games, so I haven't dared try it

 

I have calibrated my monitors to create icc profiles, they show up in KDE color management and everything used to work exactly as it should. Now every time I start my computer it goes like this:

  1. I log in to my account
  2. It shows my desktop, with the right colour correction.
  3. After a few seconds the colours revert to look un-calibrated on both monitors.
  4. I restart the colord service and it loads the colour correction again.

As an alternative to step 4, if I go to KDE colour settings, select the default profile and then back to my profile then it also starts looking good again.

This problem must've started a week or two ago, but unfortunately I haven't been able to pinpoint exactly when. I haven't touched anything related to colour management in months, and don't think I've done any changes to my system other than upgrading packages.

Can't see anything colour related in the syslog except colord loading the correct profiles. I removed all the old profiles that I wasn't using anyway. I removed dispcal's profile loader from autostart to make sure it wasn't interfering with something. The profiles are both installed system wide and in my user folder.

Using Fedora 39 KDE.

Anyone have any idea what could be wrong, or even how to debug this?

23
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Only played it for an hour but it's pretty good so far, if you like this type of gameplay. Feels somewhere in between Hell Let Loose and Battlefield 1. Native Linux version.

 

Maybe I'm using the wrong terms, but what I'm wondering is if people are running services at home that they've made accessible from the internet. I.e. not open to the public, only so that they can use their own services from anywhere.

I'm paranoid a f when it comes to our home server, and even as a fairly experienced Linux user and programmer I don't trust myself when it comes to computer security. However, it would be very convenient if my wife and I could access our self-hosted services when away from home. Or perhaps even make an album public and share a link with a few friends (e.g. Nextcloud, but I haven't set that up yet).

Currently all our services run in docker containers, with separate user accounts, but I wouldn't trust that to be 100% safe. Is there some kind of idiot proof way to expose one of the services to the internet without risking the integrity of the whole server in case it somehow gets compromised?

How are the rest of you reasoning about security? Renting a VPS for anything exposed? Using some kind of VPN to connect your phones to home network? Would you trust something like Nextcloud over HTTPS to never get hacked?

view more: next ›