A lill survey, which OS do you prefer for development of your engine?
All my OpenCL stuff was done with Ubuntu Linux, Intel, AMD and Nvidia devices are well supported, I like the toolchain, gcc, clang and mingw crosscompiler are fine for me, and you can easily deploy into the cloud, still need a Windows partition on my workstation to test the OpenCL stack and GUIs, I guess at some point virtual machines will also be able loop through the gpu device, saw recently an article about macOS in a VirtualBox, in future a single host might be enough to cover all OS, or alike.
--
Srdja
Operating system for engine development?
Moderators: hgm, chrisw, Rebel
-
- Posts: 3020
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
-
- Posts: 253
- Joined: Sat Mar 11, 2006 8:31 am
- Location: Malmö, Sweden
- Full name: Bo Persson
Re: Operating system for engine development?
A limitation here is that Apple will not sell you a copy of OSX unless you also buy Apple hardware. They do allow virtual machines, but only if that is in turn run on an Apple host. Takes away some of the usefulness.
Getting the OS "some other way" is of course an obvious license violation.
-
- Posts: 525
- Joined: Sat Mar 02, 2013 11:31 pm
Re: Operating system for engine development?
Linux + vim is what I use only.
My ThinkPad came w/ Win10 preinstalled. It was eating whopping 55GB of my SSD !!! Put 5GB Linux Mint in.
Linux 5.13 broke something, I rolled back to 5.11. Don't purge older kernels. If newer one broke smt.
That's pretty much only issue.
wine can be used to windows engines. No need for virtual box + Windows.
My ThinkPad came w/ Win10 preinstalled. It was eating whopping 55GB of my SSD !!! Put 5GB Linux Mint in.
Linux 5.13 broke something, I rolled back to 5.11. Don't purge older kernels. If newer one broke smt.
That's pretty much only issue.
wine can be used to windows engines. No need for virtual box + Windows.
-
- Posts: 2650
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Operating system for engine development?
Linux Mint. For Windows and Android, I have cross-compilers installed. Unfortunately, there is no such thing for Mac, and I certainly won't buy one, so there's only a build script.
Then reboot. The Update Manager now has an additional drop-down which you set to OEM kernels. If 5.14 works as expected, uninstall the existing 5.11 and 5.13 kernels so that you won't receive useless updates on them.
For me, too - the graphics of my 4700U snowball with 5.13. Since 5.11 will not receive security update from next month on, here's a trick: use the 5.14 OEM kernel.
Code: Select all
sudo apt-get install linux-oem-20.04d
dconf write /com/linuxmint/updates/allow-kernel-type-selection true
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
- Posts: 3020
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Operating system for engine development?
Hmm, macOS, no crosscompiler, no hackintosh in a box allowed, just saw there are some Mac Pro and M1 Mac mini with Xcode to rent in the cloud for developers.
--
Srdja
--
Srdja
-
- Posts: 2650
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Operating system for engine development?
Yeah, but why jumping through hoops and pay money just to cross-compile? What's the point? CCRL is on Windows anyway.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
- Posts: 3020
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Operating system for engine development?
Market share for desktops/laptops was ~75% Windows, ~15% macOS, ~2% Linux in 2020. With Apple's OpenCL support I am out anyway, and if Apple wants to lock in their platform, then I agree, let the users compile from source by themselves, it is not that hard these days.
--
Srdja
-
- Posts: 1784
- Joined: Wed Jul 03, 2019 4:42 pm
- Location: Netherlands
- Full name: Marcel Vanthoor
Re: Operating system for engine development?
I started Rustic's development on Windows in August 2019 (and then it stalled again until February 2020). In June 2021 I switched my main system over to Debian Stable, and Rustic migrated with it. I now write the engine on Linux, test it on Linux and cross-compile the Windows binary there as well. (Because MinGW seems to not be able to handle compiling for Linux on Windows, a Windows->Linux cross-compile wasn't possible. But Linux->Windows definitely is. I'll have to look into a Linux x64 -> ARM, and Linux- > MacOS at some time. It would be nice to be able to cross-compile everything on the same machine without having to use virtual machines.)
-
- Posts: 1784
- Joined: Wed Jul 03, 2019 4:42 pm
- Location: Netherlands
- Full name: Marcel Vanthoor
Re: Operating system for engine development?
I have a CuteChess setup under Wine. When running under system Wine in Debian Stable, this is just 5% slower than running on Windows itself. I've tested many engines in this environment, and all seem to work fine. The rating lists that come out of that setup are basically the same as what I'm seeing on Windows.
Another advantage is that Wine can be skinned in dark-mode, which gives CuteChes a dark-mode look under Wine (it also has a dark-mode under Linux); something which it can't do on Windows. (And yes, sometimes I use the GUI version of CuteChess so I can follow some games here and there.)
-
- Posts: 4388
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: Operating system for engine development?
I have one Windows machine, which is my primary desktop. But I don't develop on it. I went to Linux as the primary dev environment 15 years or so ago. I keep a few SSH windows open to the Linux machines I have. I have a bunch of command line scripts and those are easier for me to create, maintain and run in Linux. I also run long CPU intensive processes for tuning and testing. I start and run those as detached processes and monitor the logs. They don't clog up the CPU on my primary box and if the network goes down, the process is detached so it just keeps running.
I do however do some final testing and compilation on Windows and MacOS prior to a release.
I do however do some final testing and compilation on Windows and MacOS prior to a release.