I’m considering installing Linux on my laptop but I’m unsure if I should start with a virtual machine first. My main use cases are gaming and coding, so I want to make sure it’s the right fit.

What are the pros and cons of using Linux for someone like me? Would starting with VirtualBox be a good idea before going all in?

  • mlody@szmer.info
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 minutes ago

    If you are not going to install a non-beginner system like Arch or Gentoo then you should try a virtual machine first. Otherwise, it may come in handy if you want to choose a system with a desktop environment that suits you, because changing after installing a system for a novice user can be hard without avoiding problems.

    In fact, on a virtual machine like Virtual Box you won’t experience the problems you will encounter on real hardware (driver problem, etc.). It’s better to test liveiso with Ventoy instead.

  • ColdWater@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    52 minutes ago

    For gaming as long as it’s doesn’t shipped with malware AC you can play it just fine, idk for coding I never written a single line of code ever since I switched to Linux 2 years ago but I heard from most professional coder said Linux is perfect for coding (maybe not if you code softwares for windows).

  • ReakDuck@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    20 minutes ago

    If you code, its nearly always better on Linux. Except you code especially for Windows only.

  • marcie (she/her)@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 hour ago

    For gaming I’ve had zero issues on bazzite, comes ready out of the box.

    Its worth it to check https://www.protondb.com/ to see if the game you like works.

    Personally for coding, I think Fedora Atomic is pretty up there because they make it easy to containerize everything. Universal blue has an atomic spin called Bluefin specifically designed for devs

  • stealth_cookies@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    2 hours ago

    I recommend dual booting, not a VM. It is easy enough to choose which OS to boot into if you need to go back to Windows, while being enough friction that you don’t immediately fallback to going into Windows every time you don’t know how to do something in Linux.

    I don’t code, but from the gaming standpoint, things are pretty decent on Linux these days. I’ve been on Linux full time on my laptop for well over a year now, and 6+ months on my main desktop now and find very few reasons to boot into Windows. I think I booted into Windows last weekend for the first time in at least 2 months because I had to upgrade the FW on a device that only had a Windows tool. Otherwise I do have a windows VM on a server that I use relatively frequently, because the state of 3D CAD software on Linux is horrible.

  • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    6 hours ago

    What are you coding? Despite what everyone is saying, if it’s .NET you’ll be better off in Windows. You can do C# development in Linux, but C# and .NET are Microsoft products, and Linux is the ugly stepchild.

    For all other coding purposes, Linux is vastly and measurably superior. You have a nearly endless array of tooling options and a wide variety approaches to nearly any language. VSCode is popular, but so is EMACS and EMACS is useful for so much else - it’s practically an OS, and there exist people who essentially boot directly into EMACS and never leave it. You have a half dozen different implementations of vi, NeoVIM being among the most popular and having an ecosystem of plugins that would make a sex toy store blush. You have The New Kids like Helix and Kakoune, which explore new modalities and change the way you edit text. You have vertical solutions - most programming languages have an IDE written in the language and optimized for coding in that language.

    You can run most of these on Windows, but now Windows is the ugly stepchild: nearly all of this tooling was written on Linux, and works best on Linux, and doesn’t require fussing and working in a modality that is just different enough from idiomatic Windows use to feel jarring.

    Linux simply has more software, and while there’s a bunch of rough programs, many tools are - IMHO - better than their commercial counterparts on Windows. And by and large, you won’t have to pay for them.

    I also believe (and this is more my opinion than anything demonstrable) that for software developers, Linux gives you a better understanding of how computers work. This is a valuable thing for developers, understanding how things function. Windows hides, obfuscates, and conflates so much of how the system functions; and there’s often only one way of doing something so that you don’t even consider, “what if?” What if we used a different init system? What if we did scheduled jobs differently? What if my window manager were different, my boot loader was different, I stored attributes for my program somewhere other than the Registry? While you could use KDE your whole life and never consider that things, you don’t have to step down very far and suddenly be in a domain where you see all of what goes into a modern OS. Windows locks that door to the basement, and sure, people do jimmy it and get in there, but it’s much harder; and Windows integrates so much of the OS that no matter how much ditzing you do, you’re never going to replace the Windows window manager with a different one.

    I can’t emphasize enough just how important I feel understanding the fundamentals of how computers function is for software developers, even if you aren’t doing systems programming. Windows obfuscates and hinders that grokking process.

    • wuphysics87@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      I’ve used exwm (emacs window manager) it’s… interesting, but there’s a reason I use sway instead 🤣

  • ocean@lemmy.selfhostcat.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 hours ago

    I would backup everything you need from your current laptop including game save files then just install Linux.

    As everyone will say everywhere, if you play a game with anti cheat it won’t work so then you shouldn’t change it. You can search this on protondb.

    I love Linux gaming but some lack of certain games really bums me out.

    • verdigris@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      4 hours ago

      To be clear, the vast majority of “games with anti-cheat” work perfectly well on Linux. It’s just the ones where developers have chosen to either explicitly block Linux (e.g. Fortnite) or to use invasive rootkit anti-cheat (e.g. Riot games, FACEIT, etc.) which wouldn’t be allowed to work on Linux anyway because it’s a really stupid idea to let random gaming companies have access to your ring 0.

  • it_depends_man@lemmy.world
    link
    fedilink
    arrow-up
    32
    ·
    9 hours ago

    The question is mostly about what kind of gaming.

    Most single player experiences are no longer a problem because of steam proton, but multiplayer anti cheat and other AAA DRM is sometimes a windows only thing.

    Coding is just superior on linux. It’s the platform built by coders to make their own life easier for 30 years.

    You should dual boot, try it out for a few games and see how the dev process translates and get your feet wet.

    Setting up a VM is probably a lot more effort than just installing it.

    • Batman@lemm.eeOP
      link
      fedilink
      arrow-up
      3
      ·
      6 hours ago

      You mean getting a dual boot is easier and less time consuming than setting up a VM?

      IDK much about these. Probably I’ll binge linux vids on YT for a while to get more info. After reading this comment section, i feel like i should try it because coding is just better in linux and i usually play single player offline games so even gaming would be fine there

      • UnculturedSwine@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        Dual booting is easy to do if you have a spare hard drive. Even just installing linux to a flash drive can at least give you a good idea of how it will run though it might be a bit slow. I wouldn’t recommend partitioning your hard drive to dual boot off of it for beginners though. You’ll risk data loss.

  • shapesandstuff@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    6 hours ago

    I used to run Mint and Win7 parallel in uni (gosh, a decade ago?) since we were working with ruby - at the time basically impossible to run and dev under windows.
    In matters of development there are almost only advantages, depending on your target platform of course. Bash is great, tools and packages are usually easier to setup than on windows.
    For gaming my only linux experience is the Steamdeck. I’ve ran a bunch of non-steam games and Proton (the bridge for windows games under Linux) does all the heavy lifting for you. I only had issues with the Riot launcher, which tended to break when detecting a new update.

  • andrewta@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    6 hours ago

    I installed linux mint to a secondary hard drive, then I installed steam onto that Linux install. I play wars two, so I added Guild Wars two as a non-steam game to steam.

    I didn’t want to re-buy Guild wars two with steam because I’d lose all of my progress. Once I added it as a non-steam game I just right clicked on the game within steam and changed the compatibility to the newest proton. (I didn’t choose a hot fix version of proton) It runs just fine.

    This is what I would suggest that you do , is install it to a secondary drive to see if that variation of Linux will work for you.

  • SpaceNoodle@lemmy.world
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    9 hours ago

    Coding is absolutely miserable on Windows compared to Linux. I’ve been developing almost exclusively in Linux for the past twenty years. Nothing beats the command line for getting shit done; a split screen between a terminal and Sublime Text is my go-to setup.

      • SpaceNoodle@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        56 minutes ago

        A screenshot would add nothing. Terminal on the left side, Sublime Text on the right. Learn how to use git and gdb from the command line.

  • mybuttnolie@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    5 hours ago

    If your hardware is supported and you find a distro that plays well with it, there are no cons

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    11
    ·
    9 hours ago

    If your gaming consists of popular multiplayer games you might have a bad time. Many games with intrusive anti cheat don’t work. Check https://areweanticheatyet.com/ for compatibility.

    Almost every other game should work without any issues, especially when you have them on Steam.

    • Dojan@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Even this can depend a lot. I’ve some friends that play that Marvel game (Rivals?) and it works great on Linux. I myself have played Monhan and Warframe a lot on Linux. I’m not much of a competitive player, and I think where you might run into problems is competitive live-service titles.

      Guild Wars and Final Fantasy XIV are both multiplayer games and work flawlessly for me.

      Some games might require some fiddling you might not have on Windows, but it’s not that bad.

      Even VR is pretty plug and play, though I’ve not bothered with FBT yet, and I think it differs a lot depending on what headset you have.

      OpenSUSE Tumbleweed. AMD CPU with NVidia graphics.

    • Fecundpossum@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      8 hours ago

      So, I used to play valorant and pubg when I was still a windows user. It was around the time of my switch to Linux that I learned about intrusive kernel level anti cheat.

      Honestly, I don’t miss them, and refuse to play a game that compromises the safety and security of my operating system, just as much as I refuse to use an operating system that even allows kernel level access to something as trivial as a game.

      My latest run in with this issue was the Marathon pre-alpha. I was granted access only to find that Bungie was Linux hostile, and after making a few speeches about it in the discord I uninstalled it and left.

      I’m fine with this scenario. If I want competitive multiplayer I have CS2, Apex legends, and others. If games refuse to support Linux, fuck em.

      Just another lens to view this through. There’s a certain rebellious spirit that can come along with embracing FOSS, and that should be part of the appeal.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    6 hours ago

    Dual booting is silly. I’ve set it up but basically never used it. If you’ve never used it before set up a VM and do your coding there and see how you like it. Then maybe install it on a secondary computer and see.

    Gaming is worlds better than it used to be, but can still be a bit troublesome depending on what you play. I have had zero problems but I don’t play competitive online multiplayer games, which seem to be the biggest problem. Though Marvel Rivals works on Linux which is cool.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 hours ago

    If you are running windows non home edition enable the Hyper-V features and fire up a VM.

    I was think about WSL but that may not work in this case.

    • Moonguide@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      Shit. What if you are running the home edition? I’ve been thinking about switching as well, but I don’t have a background in coding and I’d have to run a dedicated ssd with windows just for my work programs (design related) or migrate to FOSS completely.

      • slazer2au@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        I don’t think wsl will work as it doesn’t provide a desktop experience. But as wsl is supported on home editions by the look of it.