GzDoom won't run on Mac
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
GzDoom won't run on Mac
So, I downloaded GzDoom on Mac, took all the correct steps to get it running, and got it running one time. I closed the WAD after playing for a bit and everything seemed fine. But when I went to reopen it, it would just come as a completely black screen and whenever I pressed esc the cursor would flicker. I loaded it up in terminal and after I command+q'd this error message came up:
Init Shader 'No Texture':
Vertex shader:
ERROR: 0:2: 'attribute' : syntax error: syntax error
Fragment shader:
ERROR: 0:2: 'varying' : syntax error: syntax error
Linking:
ERROR: One or more attached shaders not successfully compiled
I have no idea how to fix this and any help would be appreciated!
Init Shader 'No Texture':
Vertex shader:
ERROR: 0:2: 'attribute' : syntax error: syntax error
Fragment shader:
ERROR: 0:2: 'varying' : syntax error: syntax error
Linking:
ERROR: One or more attached shaders not successfully compiled
I have no idea how to fix this and any help would be appreciated!
-
-
- Posts: 3814
- Joined: Sun Aug 07, 2011 4:32 am
Re: GzDoom won't run on Mac
Post complete output, with Mac model in particular. I suspect it has some quite old AMD graphics.
Re: GzDoom won't run on Mac
It's a MacBook Air with an Apple M2 chip, 8 GB of memory, running the latest version (Mac OS Ventura13.3.1 (a)), and a 2560 × 1664 display. I have no idea what the graphics card is, but like I said, the game ran perfectly fine with a good framerate and all, so I must have done something in between playing the game and trying to boot it up again.
-
- Posts: 13682
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: GzDoom won't run on Mac
If it's an M2 it has an integrated graphics chip. Try running it in Vulkan mode. Ventura is quite well past the OpenGL deprecation by Apple, so it's surprising that it even ran at all. But Vulkan should (ideally) run without any issues, since the MoltenVK layer engages with the graphics chip at a lower level.
Re: GzDoom won't run on Mac
Ok, how do I run it in Vulkan mode without GzDoom even starting?
-
- Posts: 13682
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: GzDoom won't run on Mac
Open Terminal and try typing this: (assuming you installed to /Applications as is typical and recommended)
Code: Select all
/Applications/GZDoom.app/Contents/MacOS/gzdoom +vid_preferbackend 1
-
- Lead GZDoom+Raze Developer
- Posts: 49115
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GzDoom won't run on Mac
That error message looks like it tried to compile GLES shaders, not the ones for regular OpenGL
-
- Lead GZDoom+Raze Developer
- Posts: 49115
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GzDoom won't run on Mac
I think for the next version we really need to disable OpenGL on macOS...
-
-
- Posts: 3814
- Joined: Sun Aug 07, 2011 4:32 am
Re: GzDoom won't run on Mac
It's better to figure out why it fails before disabling OpenGL completely.
@JJJJJJJJ Did you change some settings during the first run? If so, it could be one option that fails compilation of shaders. Please post your configuration file located at ~/Library/Preferences/gzdoom.ini
@JJJJJJJJ Did you change some settings during the first run? If so, it could be one option that fails compilation of shaders. Please post your configuration file located at ~/Library/Preferences/gzdoom.ini
-
- Lead GZDoom+Raze Developer
- Posts: 49115
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GzDoom won't run on Mac
I won't invest any more work here as GL and Vulkan will soon be separated.