top | item 45792940

(no title)

TACIXAT | 3 months ago

I just made the switch. I had been developing on Windows for the last couple of years, mostly to get used to the ecosystem. I wanted to be able to write C and C++ like I do on Linux, without an IDE and with the native toolchain (i.e. no cygwin). On top of that, I play Overwatch every night.

Windows just seems to have zero focus on performance though. React based start menu with visible lag, file Explorer (buggily) parsing files to display metadata before listing them, mysterious memory leaks not reflected in task manager processes.

I installed Linux Mint. While it didn't just work (TM), and I had to go into recovery mode to install Nvidia drivers, it worked well enough. I can run Overwatch via Steam and pull comparable FPS to Windows (500 FPS on a 3090 with dips into the 400s). Memory usage is stable and at a very low baseline.

It is nice to come back to Linux, and with games I don't really have a need to run Windows anymore.

discuss

order

SteveNuts|3 months ago

The only thing windows has focused on has been dark patterns to force users towards cloud and figuring out more and more ways to collect data to sell ads.

I’m not naive, I know a ton of huge enterprises still run huge fleets of windows “servers” but I still find it hilarious that a supposedly serious server OS would default to showing you the weather and ads in the start menu.

Wowfunhappy|3 months ago

> The only thing windows has focused on has been dark patterns to force users towards cloud and figuring out more and more ways to collect data to sell ads.

And backwards compatibility.

They're really good at it. And I'd say that's the reason Windows is still dominant. There's this unfathomably long tail of niche software that people need or want to run.

anonymars|3 months ago

My favorite has to be the Windows 8 era UI disaster.

How do most people log into a server? With a high-res physical touchscreen, or remote desktop?

So let's make a whole bunch of functionality impossible to access, because you have to bump up against a non-existent edge of a windowed remote screen, and literally make the UI not fit into common server screen resolutions at the time. I don't remember if 1024x768 was the minimum resolution that worked, or the maximum resolution that still didn't work. But it was an absolute comedy case.

I want to say that with only the basic VGA display drivers installed, screen resolution was too small to even get to the settings to fix it, but it's been a while and I can't find the info to prove it.

hamandcheese|3 months ago

I curious how profitable it has been for Microsoft so far. Are they making billions and billions from these dark patterns? I feel like they'd have to be making a fortune for it to be worth throwing their brand in the gutter like they have been doing.

ehnto|3 months ago

Using Windows as a server feels like using your lounge room as a commercial kitchen. I can never shake the feeling that this isn't a serious place to do business.

I have this impression from years of using both Windows and linux servers in prod.

dangus|3 months ago

While I agree that Microsoft has not been the greatest at delivering customer-friendly stuff, and has built in a lot of revenue streams to their (mostly not-paying) users like Bing and cloud upsells, I think that your take is overly cynical to the software.

Windows 11 has some really legitimate improvements that make it a really solid OS.

It’s not surprising that Microsoft isn’t focusing on Windows as a server OS as they don’t expect anyone to deploy it in a new environment. They know it has already lost to Linux and that’s why .NET Core is on Linux and Mac, why WSL exists, etc. Azure is how Microsoft makes revenue from servers, Windows Server is a legacy product.

The whole “server OS has the weather app installed” thing is pretty irrelevant since enterprises have their own customized image building processes and don’t ever run the default payload. It’s really not worth Microsoft’s time to customize the server version knowing that their enterprise customers already have.

Microsoft knows the strength of Windows lies in the desktop environment for workstations, casual laptop use, and gaming systems, and it is excellent at all those things. They’ve delivered a whole lot of really nice and generally innovative features to those spaces. Windows has really nice gaming features, smartphone integrations including with iPhones, even doing some long-overdue work on small details like notepad and the command line.

I don’t find that windows has forced me to cloud or done anything like that.

dm319|3 months ago

Goodness the file save dialog(s) on Windows - it makes it so hard to save a file into my personal space. It's unintuitive and you need to click through, I think a couple of dialog boxes before you get to 'Your Documents'.

codingrightnow|3 months ago

I just installed windows on a new laptop and somehow my user directory was setup in a OneDrive subfolder and backed up to their cloud. Between that, Microsoft basically demanding I use their online account to log in, Windows harassing me to finish setting up my computer every time I turn it on because they want me to change my default browser and buy subscriptions, and the random forced update restarts I can't seem to fully disable, I've had it. So I finally made the full time switch to kubuntu. Also, it's a brand new $1k laptop with 16gb of RAM and Windows uses half of it. I'm closing apps to save the RAM. Kubuntu uses 2gb.

sgjohnson|3 months ago

> but I still find it hilarious that a supposedly serious server OS would default to showing you the weather and ads in the start menu.

Server and LTSC SKUs don’t do that :)

kbenson|3 months ago

I wonder how much of it is to collect data and sell ads compared to just getting people to start utilizing what is now Microsoft's core resource, which is cloud services.

For them, getting you using onedrive is a (huge) step towards getting you to pay them for more storage using onedrive, and to also allowing them to use their advantage as the OS provider to get you using features that both keep you from moving away from Windows and keep you from moving to dropbox or another cloud competitor that normal consumers commonly use. For example, onedrive desktop sync tied to your Microsoft login, so you can log into a new system and have it put your preferences and files in place.

Having more data to monetize people is useful, but I would bet that they value the the lock-in of integrated services far more, as that's where they can possibly grow (by offering more services once you're less likely to leave), and growth is king.

It's the same thing Google does (and Samsung also attempts to do with their custom apps and store) with Android, but at the desktop level. Apple is able to do it for both desktop and mobile.

andyjohnson0|3 months ago

> but I still find it hilarious that a supposedly serious server OS would default to showing you the weather and ads in the start menu.

In my experience thats just not true. Microsoft's client OSs like Win 11 and 10 include these consumer-oriented "features" [1] but they're not present on servet versions of Windows.

[1] I agree that the weather widget etc is annoying, even though it is easy to disable.

koakuma-chan|3 months ago

I also stuggled with nvidia drivers on Linux until I discovered dkms.

Krssst|3 months ago

I don't think Windows Server has ads by default in the menu (don't remember for the weather though), the default are pretty sensible there since it's a minority OS that has to compete while desktop Windows is a monopoly free to inflict whatever it wants onto users without having to fear any kind of consequence.

deafpolygon|3 months ago

one thing to remember is that window servers are deployed with GPO pre-configured, so you don’t usually see these unless admins leave them at their defaults. plus enterprise/education can turn off tracking using the same mechanisms

eek2121|3 months ago

I switched a couple months ago. This is my third time trying to switch to desktop Linux, and things are very different this time.

I installed CachyOS and all of my hardware just worked, including NVIDIA/Wayland. No real bugs beyond incorrect monitor positioning, and some tinkering needed for Diablo 4/Battle.net.

The Diablo 4 issue is present on Windows as well, and ironically, there isn't a fix on Windows for those affected. On Linux, a DXVK config change solves the bug.

Not really missing anything.

saghm|3 months ago

It really is hard to overstate just how much progress there's been in the past few years. I first started using Linux in late 2012 (with Ubuntu 12.10 being the first version that actually came with my laptop's wifi firmware in the default installtion; when I first tried 12.04 I had to plug it into ethernet just to download it), and by that point, graphical stuff mostly worked without needing a ton of manual work, and it was past the era where I would have had to compile a custom kernel or something (although a few years later I did learn how to do that just for the fun of tinkering when I got a macbook with a wifi driver that wasn't released in a stable kernel for another few months), but when I started getting into gaming in the later part of the decade, I had to spend a decent bit of time learning about Wine, Crossover, Lutris, etc. Over the course of the next few years I started playing around with Proton in Steam, even for games that aren't released on Steam, and nowadays I don't even have Lutris or Crossover installed, and I can't remember the last time I tried to play a game that Proton couldn't run.

At this point, Valve has done enough to make Linux gaming viable that they might have permanently bought my goodwill. Right now I mostly play on my Steam Deck an equal mix of games that are and aren't from Steam (streamed from my desktop with Moonlight, which itself is a third-party app rather than from Steam), but even if they started trying to lock things down more, I'm not sure I'd be able to get mad at them. So much of the investment they've made into the ecosystem has been in the tooling itself that isn't exclusive to them, ostensibly for the purpose of entering the "handheld desktop" gaming market (not sure what exactly to call it, but playing the same PC games on handhelds is demonstrably different from a handheld console with a separate catalog), but they did it in a way that benefited a lot more than just that. I don't pretend they're a perfect company, because those don't exist, but as far as companies go, this might be the first time I actually identify as a fan of one.

ErroneousBosh|3 months ago

> No real bugs beyond incorrect monitor positioning

Windows really needs to catch up with this. Multiple monitors have been a thing in Linux pretty much since the beginning of X.

Why can't I plug a Windows laptop into a docking station, and expect the screens to come up in the same order they were in last time? Why is it so hard?

JamesBrooks|3 months ago

> and some tinkering needed for Diablo 4/Battle.net

Funnily this is the same thing I tried to do just last month, Installed CachyOS after not having Linux on my desktop for a very long time, tried installing Battle.net and just ran into too many issues and haven't come back yet (to be honest I didn't try too many avenues to fix it).

If you don't mind me asking what was the tinkering you had to do to make this work? Thanks!

ok123456|3 months ago

CreateProcessA() on Windows is very slow. A significant portion of the perceived speedup for development tasks is that fork() takes on the order of microseconds, but creating a Windows process takes ~50ms, sometimes several times that if DEP is enabled. This is VERY painful if you try to use fork-based multiprocessing programs directly.

magicalhippo|3 months ago

I recently converted a large SVN repository to Git using git-svn.

Started on Windows. After five days it failed for some reason so I had to rerun it (forgot an author or along those lines, trivial fix). Meanwhile I looked into why it was so slow, and saw git-svn spun up perl commands like crazy.

Decided to spin up a Linux VM. After fixing the trivial issue it completed in literally a couple of hours.

Krssst|3 months ago

Interesting, I wonder why DEP would degrade process creation performance. My understanding is it's just a flag in page table entries to forbid execution, I am not sure how this could impact performance so much (except that data and code now have to be mapped separately).

dustbunny|3 months ago

I run mint as well and really love it's esthetic. I prefer AMD GPUs on Linux and they have always "just worked".

I know how to use the terminal to enforce deep sleep on laptops, but thats about all I do setup wise.

yxhuvud|3 months ago

Uh, AMD drivers have most assuredly not always not just worked. They do now, and they have for something like 10 years, but before that they were a steaming pile of locked in garbage.

hoten|3 months ago

> React based start menu with visible lag

That surprised me. But seems not true? https://news.ycombinator.com/item?id=44124688

monocasa|3 months ago

Clicking through to their source, it seems true enough despite their protests.

Its not entirely built with React Native, but React Native does seem to be responsible for at least one element of the start menu that appears initially when the menu is presented.

andoando|3 months ago

I never understood why file search is SOOO bad on windows (mac too). Its so damn slow and even feature wise I never figured out why it was so difficult to just search for files in this directory

gambiting|3 months ago

It regressed compared to Windows 10 too - I have a folder with photos, I normally have them sorted by date taken. On windows 10 I would open the folder and they were always sorted correctly the moment I opened the folder. Maybe there was a point in time at the start there the system had to sort them for the first time but ever since they were always shown correctly the second I opened the folder. On windows 11? Every single time it opens unsorted, the photos are in some random god knows what order, and literally 10 seconds(!!!!) later they suddenly move themselves to the correct position. Every single time. That's with maybe 200 photos? On a machine with 16 cores and 64GB of ram. People coding on 16kHz chips decades ago could do this faster than whatever microsoft is doing.

abnercoimbre|3 months ago

And there really is no excuse, take a look at this indie dev blowing the default explorer out of the water: https://filepilot.tech

eviks|3 months ago

File search is also the fastest thing among all the 3 OS it's not even funny. Just use the Everything search app and a good file manager that can integrate Everything.

marcosdumay|3 months ago

I still don't understand how search just can't file files with the string I write in the search bar on the name. Or menu items either.

Some file browsers on Linux have this problem too, and the KDE launcher had it for years (it's fixed now).

TACIXAT|3 months ago

It is quite honestly faster to start WSL then use grep or find.

formerly_proven|3 months ago

> file Explorer (buggily) parsing files to display metadata before listing them

It's crazy, open a directory full of .mp4s and sometimes the list briefly appears but then it goes completely blank, just to start listing them again one-by-one taking about one second per entry, while being unresponsive to input.

TACIXAT|3 months ago

I have this exact same problem with OGG files. Either their parser has some insane bugs or they are starting an isolation VM per file to run the parse. Either way, unusable.

giancarlostoro|3 months ago

I did the same, I had jumped into POP OS instead, which is also Ubuntu based, then a year back I got into EndeavourOS an Arch based distro, and have not looked back since. I use it on everything I can put Linux on.

specproc|3 months ago

Plus one for an Arch-based system, way better than Ubuntu/Debian for gaming. All these Nvidia driver issues totally disappeared when I switched.

Rolling release is a hell of a lot better in this context. SteamOS is Arch, IIRC.

bogwog|3 months ago

> I installed Linux Mint. While it didn't just work (TM), and I had to go into recovery mode to install Nvidia drivers, it worked well enough.

Mint is seriously going to sabotage the momentum Linux is having right now.

try_the_bass|3 months ago

Out of curiosity, why are such high fps numbers desirable? Maybe I don't understand how displays work, but how does having fps > refresh rate work? Aren't many of those frames just wasted?

hamdingers|3 months ago

If you have a 60Hz display and the game is locked to 60fps, when you take an action it may take up to 16.67 milliseconds for that action to register. If the game is running at 500fps, it registers within 2 milliseconds, even though you won't see the action for up to 16.67 milliseconds later. At extremely high levels of competition, this matters.

Also, there are 540Hz displays.

Jhsto|3 months ago

You want your minimum FPS to be your refresh rate. You won't notice when you're over it, but you likely will if you go below it.

In Counter-Strike, smoke grenades used to (and still do, to an extent) dip your FPS into a slideshow. You want to ensure your opponent can't exploit these things.

rkoten|3 months ago

Not OP but got quite a bit of experience with this playing competitive FPS for a decade. You're right that refresh rate sets the physical truth of it, e.g. 180 FPS on a 160 Hz monitor won't give you much advantage over 160 FPS if at all. However reaching full multiples of your refresh rate in FPS – 320 in this instance, 480, and so on – will, and not only in theory but you'll feel it subjectively too. I get ~500-600 FPS in counter-strike and I have my FPS capped to 480 to get the most of my current hardware (160 Hz). Getting a 240 Hz monitor would make it smoother. Upgrading the PC to get more multiples would also.

omnimus|3 months ago

To certain extent for online games it can be advantage (atleast it feels like it to me). AFAIK The server updates state between players at some (tick) rate when you have FPS above tick rate then the game interpolates between the states. The issue is that frames and networking might not be constantly synced so you are juggling between fps, screen refresh rate, ping and tick rate. In other words more frames you have higher the chance you will "get lucky" with latency of the game.

sznio|3 months ago

If you're not using V-sync, if a new frame is rendered while the previous one wasn't fully displayed yet, it gets swapped to the fresher one half-way through. This causes ugly screen tearing, but makes the game more responsive. You won't see the whole screen update at once, but like 1/5th of it will react instantly.

I used to do that until I switched to Wayland which forces vsync. It felt so unresponsive that I bought a 165hz display as a solution to that.

aleph_minus_one|3 months ago

> Out of curiosity, why are such high fps numbers desirable? Maybe I don't understand how displays work, but how does having fps > refresh rate work? Aren't many of those frames just wasted?

The reason is triple buffering:

> https://en.wikipedia.org/w/index.php?title=Multiple_bufferin...

I just quote the central relevant sentences of this section:

"For frames that are completed much faster than interval between refreshes, it is possible to replace a back buffers' frames with newer iterations multiple times before copying. This means frames may be written to the back buffer that are never used at all before being overwritten by successive frames."

TACIXAT|3 months ago

I run a 500hz monitor. Generally, you want your FPS to match your refresh rate.

marcosdumay|3 months ago

Tying the input and simulation rates to the screen refresh rate is an old "best practice" that is still used in some games. In fact, a long time ago it was even an actual good practice.

shric|3 months ago

I think it was just to show that the performance is comparable to Windows, implying that it also will be fine for games/settings where fps is in the range that does matter.

cwillu|3 months ago

osu (music beat-clicking game) has a built-in screen frequency a/b test, and despite running on a 60hz screen I can reliably pass that test up to 240hz. It's not just having 60 frames ready per second, it's what's in those frames.

PeaceTed|3 months ago

An aside based on what you have mentioned. What the heck happened to Windows file manager? I mean it used to be that Windows was rock solid while Linux variants had various parsing performance/stability issues. Now it feels like it is the complete opposite.

In Win 11 I am constantly finding the whole explorer locking up just copying files via USB because of reasons unknown. Where as on my Linux machines, I have absolute faith that it will just handle it or at the very least not just stop spinning in the background in zombie land, not dead enough to die but not alive enough to do anything. Windows is in a very unfortunate place right now, I do hope they will wake up and try to get things back on the road but I am very doubtful considering the leader ship they have nowadays.

Zekio|3 months ago

if you haven't enabled the checkbox starting explorer in a new process which isn't super easy to find, it will basically be one process running most of the windows ui, which means when they write shoddy code, the ui tends to hang

muststopmyths|3 months ago

They rewrote Explorer for Windows 11, in the process fucking it up completely.

There is a regkey to go back to the Windows 10 explorer, but you'd have to google that.

cedws|3 months ago

Does anybody have security concerns about running games with Proton/Wine? Games already have a massive attack surface and I can imagine there are some nasty bugs lurking in the compat layer that would enable RCEs not possible on Windows. This is kind of holding me back from making the jump.

bigyabai|3 months ago

You can trivially sandbox your Steam installation with pretty much zero performance overhead, if you install it through Flatpak. Using an app like Flatseal, you can then configure Steam to only have access to a designated drive with next to no further contact to your PC. You can individually disable access to networking, audio, D-Bus, USB devices, Bluetooth, shared memory and even the GPU itself if you're really freaked out. No command line needed.

That being said, I just run Steam natively on NixOS and have never seen any issues. The biggest RCEs I'm worried about are Ring 0 anticheat nuking my desktop like CloudStrike.

brians|3 months ago

There are. But there are many more such bugs in DirectX on Windows, and it’s a much bigger target. If a national intelligence organization wants to burn a Proton zero-day on my Steam Deck, cool!

groundzeros2015|3 months ago

You might like XFCE which to me is basically windows XP. It’s available in Debian install or as Xubuntu.

flanked-evergl|3 months ago

I used XFCE for years and liked it but it was so buggy and unmaintained. I recently switched to KDE and I am very satisfied with it.

bcrosby95|3 months ago

People oversell how much windows just works. It only does so because it comes pre installed. I regularly reinstall my wife's and it's always more of a pain in the ass than Linux.

DanielHB|3 months ago

Can I transfer my Overwatch battlenet account to steam? I really want to jump ship too.

How is Proton with nVidia drivers? I have a 3080.

Those are the last 2 issues keeping my home desktop on windows-land

dormento|3 months ago

> Can I transfer my Overwatch battlenet account to steam? I really want to jump ship too.

Seems like you can just keep using the Battle.net account on GNU/Linux. You just add the Battle.net installer as a "non-steam game" (bottom left of the games list). Then, you start it, add your account, install the game and it "just works". I used it on the steam deck to play D4 beta and D2R on my CachyOS desktop.

> How is Proton with nVidia drivers? I have a 3080.

My battle-hardened 1060GTX served me for years. I recently upgraded my whole rig from Debian + Intel + Nvidia to full AMD and the RX9070XT works very well, with the caveat that I had to switch to a newer kernel on CachyOS to support it. That was 4 months ago and the situation now should be resolved, so you can prob use any old normie distro.

Saris|3 months ago

You can also add external games to launch via steam too, so you might be able to do it without transferring.

ffsm8|3 months ago

Does HDR work though?

yxhuvud|3 months ago

If using a modern variant of Wayland and if the app supports it: yes. Both, especially the latter are pretty big buts.

paulbgd|3 months ago

On Wayland+gnome/plasma I’ve had great luck with games, Firefox is almost there with some bugginess, and video playing apps that use mpv like plex work great. It’s definitely not perfect and you may dive into configuring per app flags to make them utilize hdr, but the easy stuff generally works

luxuryballs|3 months ago

me just realizing that React start menu thing I saw last week was not a joke… o.O