this post was submitted on 21 Jan 2024
233 points (95.0% liked)

linuxmemes

21304 readers
1204 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 38 comments
    sorted by: hot top controversial new old
    [–] [email protected] 71 points 10 months ago (4 children)

    This is kind of not really related, but last week, we've been onboarding two new devs into our programming project at work. Our team so far had exclusively used native Linux, while the two new folks were on Windows.

    We recommended using a VM, because we had a recollection of how much pain programming on Windows was. Unfortunately, VirtualBox had performance problems on their machines and ordering a VMWare installation took a few days.

    So, we spent those few days to see, if Windows was really still that much of a pain. They'd still need a VM for testing, but otherwise, our entire tooling should have been fine on Windows.

    Fuck me, those days were wasted. One of our dependencies dynamically pulled in C code and compiled it, which you barely even noticed on Linux, but is apparently not a thing it can do on native Windows.
    So, instead they were on WSL pretty early on, but that had all kinds of differences to a native Linux installation and they constantly had to fix the DNS config, because it kept being reset by Windows. In particular, while compiling Rust & C worked, it was extremely slow.

    Eventually, they got VMWare and we started setting up the OS. We literally completed installing Linux before a compilation run had finished. And what had cost us multiple days to try to get going under Windows, was just working within an hour on Linux. And for some reason, compilation within the VM was about 20 times faster than under WSL.

    I still assume, these are generally solvable problems and if our team had worked under WSL from the start, we would have had some of those solved.
    But even taking that into account, there were just so many nonsense problems, which we never had to fix on Linux, that I'm still left absolutely baffled that some people genuinely use WSL for development.

    [–] [email protected] 36 points 10 months ago

    I'm a C++ and Dart (yes I know unusual combo) dev on Windows

    You feel my pain

    My fucking god windows requires a whole month of just learning platform quirks and setting up a dev environment to START THE FUCKING WORK alone

    Allegedly some new shite called dev drives and whatever are supposed to fix some of the disaster but I haven't tested it yet

    Also ABSOLUTELY FUCK the entire C compiler installation and setup in Windows. My fucking god Microsoft had had 40 years to fix their tooling for THE most used language and you still need a dark ritual to make everything work and install MSVC and msys and clang

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

    WSL's performance is drastically better when you don't save your files on Windows' filesystem.

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

    That is because windows filesystem is mounted to WSL through NFS and while transferring large files through that is ok, transferring huge amounts of small files is really slow.

    [–] [email protected] 5 points 10 months ago

    Windows has dead slow file operations natively. Like orders of magnitude slower.

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

    Hmm, that would fit the pattern, as it sometimes also got stuck on just downloading things, even when the DNS config hadn't been reset.

    Do you need to partition the disk then, to place ext4 or similar into a separate partition? I'm not sure, we can partition the disk in that corporate Windows setup our company uses...

    [–] [email protected] 9 points 10 months ago

    Look up the difference between WSL1 and WSL2. If you're using 2 just make sure you're writing into /anything other than /mnt/driveletter, that should be ext4. For 1 it's directly mounted on the ntfs filesystem and you'll always have performance problems.

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

    Our approach to newbies wanting to use windows is: "go ahead, but you're on your own"

    They try maybe a day or two, then they install linux

    [–] [email protected] 6 points 10 months ago

    Well, in this case, they were not entirely newbies, they're from a different team that we're supposed to hand over to. The project is also in cooperation with other companies, so it's not completely out of the question that some devs are trapped in Windows purgatory.

    But yeah, we were certainly cursing at the end of the week, when we had already invested quite a bit more effort than we had hoped for, and we were still running into ever more new issues than we fixed in the same time.

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

    If they want windows just though windows in a VM in Virtual manager.

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

    Something is misconfigured

    [–] [email protected] 10 points 10 months ago* (last edited 10 months ago)

    No it's just Atlus being Atlus as it was SMT 3 Nocturne Remaster giving me shit and crashing my system. If I play the original version it's fine or any other game for that matter

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

    one thing i hate about running games with WINE is that sometimes i switch virtual desktop while playing then the game is unresponsive when i come back

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

    I've had that on mint but when I switched to arch with Wayland kde it stopped happening. I also had issues where if my display goes to sleep game will freeze.

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

    I'm using Mint and have no trouble. Switched desktops to play a movie, came back to the game later and it worked fine.

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

    Interesting. It didn't always do it with switching desktops. Only sometimes but it was guaranteed to happen if my monitor went to sleep

    [–] [email protected] 5 points 10 months ago

    I had the same issue when using a touchpad (on Wayland) and when I tried wine-staging-9.0-rc4 it worked without any issues anymore. Both using the wayland and x11 graphics backend.

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

    try running them in gamescope, eliminates a lot of that type of problem

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

    When I minimize a game or any program running with either proton or Wine, it crashes. Can someone help me with this?

    I'm using Fedora 38, Wayland and Nvidia GPU.

    [–] [email protected] 6 points 10 months ago

    May not be the same issue as you, but fullscreen apps have been the most finicky for me, when they lose focus they become stuck minimized. Borderless window usually fixes that issue for me.

    [–] [email protected] 5 points 10 months ago

    Try using Gamescope. It runs the application within a micro-compositor (like an independent desktop inside a window). From the application's perspective, its window is always open and in focus.

    [–] [email protected] 2 points 10 months ago

    Wayland might be the issue, especially on Nvidia. Try X11 maybe

    [–] [email protected] 4 points 10 months ago

    Does your computer have a cartoonish mouse by any chance?

    [–] [email protected] 4 points 10 months ago (1 children)
    [–] [email protected] 3 points 10 months ago (1 children)
    [–] [email protected] 9 points 10 months ago (2 children)

    I'd have a swap file that is 2x your memory.

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

    So 32GB then? I have 16GB of RAM

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

    If it is more than 4GB, have swap equal to the size of ram

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

    But I can pretend I have 128Gb ram 🙃

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

    You can never have too much RAM

    [–] [email protected] 2 points 10 months ago

    Just download more if needed

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

    If you have plenty of storage I would do it. Some wine applications love to stall my system and a large swap helps a bunch.

    [–] [email protected] 2 points 10 months ago

    Or if you read another one of my comments I found out that this was isolated to SMT 3 Nocturne Remaster on Steam. For some reason if I try to boot that with VSeeFace my PC crashes but not with the original version or other games. It's an Atlus being Atlus problem

    [–] [email protected] 2 points 10 months ago

    Maybe use swap on zram instead, like it is ootb on fedora

    [–] [email protected] 2 points 10 months ago
    [–] [email protected] 3 points 10 months ago

    I have no swap file and everything works fine until I run out of RAM. You will know when that happens because it's in the error logs

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

    Idk how it just crashed when I opened a Steam game and VSeeFace that runs perfectly with OpenSeeFace and Wine. I had over 10GB of RAM left btw