this post was submitted on 02 Oct 2023
1289 points (98.4% liked)

Technology

60076 readers
4328 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] NocturnalMorning 11 points 1 year ago (2 children)

Haha, I had a partition on my pc for the longest time to put Linux on it. But I do a lot of game dev stuff, so I've been reluctant to switch from windows.

[–] finestnothing 6 points 1 year ago (3 children)

Switch to Linux! If nothing else, run stuff with wine and most things will work seamlessly

[–] Alk 16 points 1 year ago (6 children)

Real question. Is gaming (not game dev) significantly better than it was 5 years ago on Linux? I really want to switch, but I also really don't want to give up everything "just working" and doing it smoothly when gaming on windows.

I've even considered having 2 PC's for my 4 monitors, and having the middle monitor run windows and the other 3 on a Linux box. I used to use a program that could simulate my mouse moving from one pc to an entirely different one even across windows and Linux, and also share the clipboard. I could try that again.

But if the gaming experience is sufficient and convenient on Linux I might switch entirely.

[–] [email protected] 14 points 1 year ago

It's vastly better than it was 5 years ago. You can get an idea by going to protondb.com and looking at games. Basically, most games work out of the box with minimal to no issues. Even most new games work on release without major issues.

The biggest issue is anti-cheat and DRM. That can be a show stopped for some users, but for me it hasn't been an issue.

[–] finestnothing 8 points 1 year ago (2 children)

I switched full time to Linux about 3 months ago, I had been wanting to for a long time since I prefer dev work on Linux and generally hate Windows.

Gaming is nearly as easy on Linux as on windows, especially through steam imo. Almost all games will work right out of the box, just set steam to use proton for any non linux-natve games and it does it. The only game I've had an issue with is cyberpunk 2077, and that was fixed with a few minutes of googling, then pasting a launch config into the settings, now it runs perfectly. One thing to watch out for, no games that use a kernal-level anticheat will work on Linux unless they specifically support it, sucky but those anticheat software makers are coming around to support it slowly.

I actually prefer installing software on Linux to doing it on Windows. Same process for finding software, just Google it and look for stuff that works on Linux. Even proprietary stuff runs natively on Linux sometimes, I personally look for free and open source software as an alternative every time and it usually is better imo. Once you find what you want, it's super easy to install. No need to deal with downloading files, clicking them to install, and all that jazz. Just open a terminal and do "yay -S {package name}" and it'll install. Also makes it very easy to install multiple things at once, especially if you already know what software you want. Cherry on top, updates aren't forced on you. You can update all of your packages with "yay -Syu", or update individual ones if you want, there's a lot of control over it, and you don't need to rely on the app to have its own update tool.

Sometimes there's windows specific software that isn't on Linux, it kind of sucks, but almost everytime I'm able to find free and open source software that's natively Linux compatible and is better than the closed source software I initially wanted. Even with windows-specific software, most things can be run with wine and work just like a native Linux app. Sometimes things don't work on wine, but basically all of them will have free and open source alternatives you can use instead, or there are workarounds that are probably easy to find.

If you wanted to do the 2 PC's you definitely can, I would recommend one PC and just add a Linux partition or hard drive, you then boot into Windows or Linux but don't need a whole new PC. You have to reboot to go between them, but you can access each systems files from the other one (can't run games, but like documents and such). If you do go with 2 PC's though, I recommend using an app called Barrier for the mouse/keyboard sharing. I use it between my PC (Linux) and my work laptop (windows) and it's great, my work laptop stays folded up and I have only one mouse and keyboard on my desk.

[–] OnlyAStarOnlyTheSea 2 points 1 year ago (1 children)

I have a 64bit Mac that can't play 32bit Steam games anymore (which is all of them). I'm thinking of switching to Linux specifically for games. What you're saying so I could play whatever on Linux via steam? And Steam isn't a massive pain in the ass to install and configure like it used to be?? Holy shit, that's game changing. Pun intended.

Is Master Chief Collection on Steam? That would be amazing since the only instance of Windows I had decided to change it's own password and essentially lock me out.

[–] finestnothing 3 points 1 year ago (1 children)

Yep! Idk if the apple architecture caused any issues but I highly doubt it. At least on arch Linux it's as easy as "sudo pacman -S steam". It has some dependencies obviously, but after that it'll be installed and you can sign in easy peasy. It'll install proton through the steam downloader too, the only setting you even need to change is steam > settings > compatibility > Enable Steam Play for all other titles; run with proton experimental.

Master chief collection is on steam, and is playable with proton

[–] OnlyAStarOnlyTheSea 1 points 1 year ago (1 children)

Dammnn you just made my day! I'm not using my Mac for that. It doesn't have enough storage space on a good day. I have a Windows 10 computer that decided to change it's own password that I'll erase and put Linux on.

Do you have any recommendations on Linux OS? Right now I'm using Fedora but it seems like there are better options out there, especially if playing games.

[–] finestnothing 2 points 1 year ago

Avoid Ubuntu, it uses flatpak. Besides that it's really personal preference. I personally love endeavouros, very easy installation process and a lot of desktop environments to choose from. Comes with some helpful initial setup tools too. It's arch Linux based and there's a ton of resources for arch too, but arch does come with a learning curve. Backups are your friend

[–] Alk 2 points 1 year ago (1 children)

I'll look into barrier, thanks. I work in the gaming industry (from home, on my own pc) and so I am constantly running games and doing non-gaming tasks on and off so dual booting is not really an option for me. I often need to do normal tasks while games are running too. Which is why I wanted that 2 pc setup I mentioned above.

However I think I might dual boot just to try Linux out with gaming for now (I have a spare ssd I can use to keep it simple) since I see a lot of people saying it's pretty good now. Then if it works out I can just transition to only Linux.

[–] finestnothing 1 points 1 year ago

If you have the money for a second PC then I see no reason not to do it. If you want to use the same PC, you can also very easily make a windows virtual machine to do windows specific work in if you have something that doesn't work with wine for whatever reason. A vm won't be able to play the kernal monitoring anticheat games as far as I know, but any miscellaneous programs that may not like or run well on wine can be run there if needed

[–] guacupado 5 points 1 year ago (1 children)

That's what a lot of Linux people miss. They've been dealing with it for a while already so a lot of them are like "it's so easy!" and then they have to start explaing repos and containers to people and the person just sticks to Windows.

[–] LemmysMum 6 points 1 year ago

Linux won't capture the users until it can handle an idiot as well as Windows.

[–] ohlaph 4 points 1 year ago

I have two hard drives. One dedicated to each Windows and Linux. It maies life easier.

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

If you play a lot of competitive multiplayer games, it would be better to keep a windows partition for them (overwatch is the only game that I had a good experience on Linux).

I used to play some competitive Apex, I was overjoyed when I heard anti cheat support is available on Linux, and quickly installed it. I tried it a couple of times since then, the most recent being last month - The game is playable but not on a competitive level imho. The smoothness is just not there. Then again this might be because of my low spec hardware.

Games like Valorant just won't work because of their kernel level anticheat. (But hey we have Conter-Strike 2 now)

AAA games run just fine for the most part, its playable and I usually get performance similar to windows.

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

The steam deck uses a custom Linux distro made by valve specifically for it. So it's at least good enough for gaming that valve trusted it for their mainstream handled gaming PC.

I've got one and tbh it's pretty good. As long as you stick to games that are rated as either verified or playable on steamdeck you'll probably have a good time.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (3 children)

You've made me remember that quite not long ago I wanted to play on Linux (precisely on Mint, but I've also tried pop os), and I had three results:

1 - Game not even trying to launch/wine error (usually related to graphics) (did happen once or twice, tested few games): Factorio, without magic wine parameters and magic overall

2 - Game runs, but graphical glitches makes it unplayable: Factorio after tweaks

3 - Game running fine, fps lower or equal than on windows: Minecraft, Kerbal space program

(Yes, now I know Factorio also had Linux version, but it's too late for that)

So while it may be playable for some 9999 IQ rice master couch-looking moderator after just touching the demon named Wine, I don't have the brains, patience or time tweaking every little parameter/environmental vars/wine prefixes on top of each other to make a game play at 2 fps. It also didn't help that when trying to resolve apt conflicts, Mint just killed itself (looking at you aptitude). My overall experience of Linux isn't bad, it may be good for customization masters, but for me, which would like having things "just working", and maybe after that some trial and error tweaks, Windows is closer to that wish. Although when MS forces W11 onto me, I'm jumpshipping to Linux, no matter how shitty my UX is (at least I hope so)

Edit: forgot that there is markdown, formating fix

Edit2: bad brain, missing word fix

[–] finestnothing 2 points 1 year ago

Honestly that is a pretty awful experience. Proton is infinitely better for games than wine in my opinion though, I definitely recommend giving it another try. I have a good 20 games on steam from AAA to indie, the only one to have any issues was cyberpunk 2077 and even that was a simple launch command fix that I found in a couple minutes of googling the problem and it runs fine now.

I admittedly haven't dealt with wine too much since most games can be run with proton and I avoid programs that don't support Linux, but I was able to run heavily modded Minecraft at basically the same fps as on windows with no wine tweaking. Lutris is also a good platform that can make installing non-steam games much easier

If you want a good os to try instead of jumping ship at random, I'd recommend grabbing endeavour os and picking whatever desktop environment you like on top of it, all of their stuff looks good right out of the box and gets you a lot of the necessities. Any of their official desktop environments (except i3) are super easy to use and should be familiar to windows users, I'm a strong believer in arch superiority because if there's a problem, someone else has already fixed it and you can steal their solution even though there is a learning curve to customizing it

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

Proton is incredibly simple to use, and gaming on Linux is pretty seamless for like 3/4+ of games now. Including Factorio.

[–] havokdj 0 points 1 year ago

Minecraft and other java apps actually run better on Linux because of the way the scheduler works, something wasn't right with your system.

[–] NocturnalMorning 2 points 1 year ago (1 children)

Oh cool, I didn't realize that was a thing. If I can run Unreal Engine on Linux, that's pretty much the only thing stopping me from switching.

[–] finestnothing 2 points 1 year ago (2 children)

Yep! Quick search turns this up, looks like you don't even need wine for it which is even better.

https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpAnUnrealWorkflow/#:~:text=Whether%20you%20downloaded%20the%20Unreal,located%20on%20your%20hard%20disk.

(Unreal engine also has a specific Linux page, but I don't have an epic games account so I can't view it - https://www.unrealengine.com/en-US/linux )

Wine basically let's you run windows-only software on Linux by making a directory that emulates windows, installs needed dependencies, etc. Most windows programs can be run smoothly using wine in my experience, the main ones that can't are games with kernal-level anticheat. If you've heard of Proton, that's valves fork of wine that they've built up specifically for games

[–] NocturnalMorning 3 points 1 year ago (1 children)

I have heard of Proton. Just didn't realize it was for gaming. Thanks for the info! I'm seriously thinking about switching now. Just gotta figure out what to do with all my current game repository on windows.

[–] finestnothing 2 points 1 year ago (1 children)

You could get a second hard drive and install Linux on that so you can boot into either, you can also access the files on your Windows drive from Linux (and vice versa) so you can grab the files if needed. If by game repositories you mean GitHub repos you can also just clone those down to the Linux one too

[–] NocturnalMorning 1 points 1 year ago (1 children)

Some of them are github repos, others are not version controlled. But good to know, didn't even think about re-cloning them.

[–] finestnothing 2 points 1 year ago

You can also transfer those files to the Linux partition directly, your file browser will (or at least should) be able to find your Windows drive or partition and let you browse all the files there, it's easy to then drag them to a folder on the Linux side and get them copied over

[–] pirat 2 points 1 year ago* (last edited 1 year ago)

(Unreal engine also has a specific Linux page, but I don't have an epic games account so I can't view it - https://www.unrealengine.com/en-US/linux )

I took a quick screenshot of the page while it was loading, before the login overlay was visible:

I also quickly hit the link, which lead to this: https://docs.unrealengine.com/5.0/en-US/linux-development-requirements-for-unreal-engine/

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

But I do a lot of game dev stuff

Nono, please do hurry to switch to Linux.