r/GraphicsProgramming • u/Expired_Gatorade • Oct 02 '21
Question Do Macs still suck for graphics programming ?
Hello. Pretty much title. I know the deprecated support for OpenGL, have things changed with Vulkan ? Or should I just forget about it.
10
u/WrongAndBeligerent Oct 02 '21
Probably forget about macs if you have a choice and especially if it is your own money. The tools on windows are going to be better (visual studio) and you can get more hardware for your money as well as avoiding the obvious opengl and vulkan issues.
1
4
u/corysama Oct 02 '21
The conflict is that people who use Metal really like it. But, knowing it is useless everywhere else.
1
3
u/mb862 Oct 02 '21
Depends on what you're aiming to do. If you want to learn the concepts of the modern APIs as opposed to a specific, then definitely go Mac, as Metal is much easier to learn than Vulkan or Direct3D (mainly due to how it handles synchronization in the common cases and Xcode's excellent GPU debugger). Or if you're aiming to not be tethered to a wall, the performance per watt of the M1 is unmatched, and MoltenVK's maturity means you're very unlikely to run into issues if you want to go with Vulkan. If you need the maximum performance and willing to throw money, or need specifically Direct3D(*) or OpenGL 4.2+, then go with Linux or Windows PC.
(*)Direct3D can be run on an M1 Mac via Parallels and Microsoft's software renderer, but Windows on ARM development support is beyond unimaginably bad I can't recommend it to anyone who wants to retain any semblance of sanity.
1
u/Expired_Gatorade Oct 02 '21
Would dual booting linux be a dumb idea, why isnt that option more commonly explored ?
2
u/mb862 Oct 02 '21
If you have an Intel Mac then certainly, you'll get full first-party Intel/AMD driver support.
1
u/Expired_Gatorade Oct 02 '21
Why cant that be done on an M1 ?
4
u/guywithknife Oct 02 '21
Because M1 is an Apple proprietary processor and Apple don’t thoroughly document it since they expect only their operating systems to run on it. People have made some headway on figuring it out and getting non Apple operating systems running on it but it’s early days still, while Linux on Intel has had decades of development time and availability of hardware documentation.
1
u/mb862 Oct 02 '21
Microsoft doesn't sell Windows on ARM to be installed by customers. Even running it in a virtual machine is technically against their terms of service.
1
u/geon Oct 02 '21
A mac is basically a dongle to let you run os x. Why would you ever run another os on it? If you don’t like os x, get another machine.
1
u/Expired_Gatorade Oct 02 '21
its not a matter of "liking" or "disliking" an OS but what gets the job done, that's why I'm asking.
3
u/keelanstuart Oct 03 '21
Xcode, in general, is horrible. If you want debug your graphics, use RenderDoc... that's no reason to choose Mac.
4
u/mb862 Oct 03 '21
This isn't a particularly constructive comment, and also reflects a lack of actual experience with Xcode's GPU debugger, as the ability to step through a shader at any vertex or fragment line by line is a power just that of the gods themselves, and anyone claiming it isn't useful is guaranteed to be lying about something.
4
u/keelanstuart Oct 03 '21
Granted, I have not used XCode as a graphics debugger, but I have used it for debugging in general -- and I am not impressed with it. Prior to posting my comment, I considered revising it to indicate my lack of use in that specific capacity... but given that what I was really trying to say -- that even as a "graphics programmer", you do a lot more CPU-level debugging than shader debugging and therefore wouldn't choose it for a niche reason -- I decided it didn't matter. Also you're isolating yourself then, even in terms of graphics.
3
u/HighRelevancy Oct 02 '21 edited Oct 03 '21
The issue is not Macs or MacOS or the software tools available or anything like that. The only real issue is Apple's decisions about what they'll let you run.
They called it quits on OpenGL at like 3.3. There's no directx of course. Even if you dual boot windows, the driver support generally is patchy because who fucking cares.
Apple is a very separate ecosystem every way that it can manage to be. It isn't is any way the case that Macs are "bad for programming", the problem is that you're isolated away from the rest of the dev community.
3
u/Expired_Gatorade Oct 02 '21
yeah I would rather let apple keep their "ecosystem", thanks for the heads up
1
u/SH4NNU Nov 16 '21
Hi u/Expired_Gatorade ,
I am getting started with graphics programming, I have been using the OpenGL support(old) that I could get for the beginner tutorials. I am stuck with a MacBook pro-2018 intel version. I don't see myself buying a new laptop/PC any time sooner. So I want to know what setup did you do for graphics work, and do the dual boot work properly for your use case? I have a 256GB MacBook so I can't dual boot unless I really have to.
I would be happy if anyone has other ideas or suggestions to make my life easier while doing more or graphics programming.
1
2
Oct 05 '21
Do Macs still suck for [________] programming ?
Yes.
Linux-based systems and Free BSD are both Unix-like alternatives and have very good Vulkan and OpenGL support.
1
u/Shadowlands97 Mar 05 '22 edited Mar 05 '22
They were always supposed to suck for graphics programming. John Carmack of iD software thought Jobs resented the fact that his systems (meaning Steve Wozniak's really, Jobs was pretty much useless) were used and known for designing games. Graphics programmers are usually to my knowledge involved mostly in gaming today and push technology forwards to get faster computers and tech like GPUs into them. That's why PC beats Mac for use. Mac's are only good for searching the web and...I don't know what else. Most of what Apple is was because of smart people, not Jobs, who had good ideas he adopted and then apparently they left because of how bad things were and are at Apple. Don't get Mac. Linux or PC. Jobs said technology wasn't a big deal. Any programmer or engineer has a big problem with that, and they were apparently dumbed down to do what they were told instead of what they could think of doing. PC and Linux people like thinking. Don't know about Mac users but I would say they don't.
0
Oct 04 '21
[deleted]
1
u/Expired_Gatorade Oct 04 '21
I'll wait for the new clevo/evoc/sager models to come out
would you recomment going up to 1440p ?
12
u/SoftEngin33r Oct 02 '21
If you do not want to get into Metal and still do professional graphics programming, I guess you should probably use something like MoltenVK, BGFX, WGPU or other similar cross platform rendering hardware abstraction libraries.