GzDoom won't run on Mac

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.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: GzDoom won't run on Mac

Re: GzDoom won't run on Mac

by Graf Zahl » Thu Sep 14, 2023 12:23 pm

I won't invest any more work here as GL and Vulkan will soon be separated.

Re: GzDoom won't run on Mac

by _mental_ » Wed May 17, 2023 12:43 am

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

Re: GzDoom won't run on Mac

by Graf Zahl » Tue May 16, 2023 8:45 am

I think for the next version we really need to disable OpenGL on macOS...

Re: GzDoom won't run on Mac

by JJJJJJJJ » Tue May 16, 2023 8:42 am

Update: It worked! Thank you so much!

Re: GzDoom won't run on Mac

by Graf Zahl » Tue May 16, 2023 8:42 am

That error message looks like it tried to compile GLES shaders, not the ones for regular OpenGL

Re: GzDoom won't run on Mac

by JJJJJJJJ » Tue May 16, 2023 8:40 am

Ok, I'll try that out and let you know if it works!

Re: GzDoom won't run on Mac

by Rachael » Tue May 16, 2023 8:38 am

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

Re: GzDoom won't run on Mac

by JJJJJJJJ » Tue May 16, 2023 8:35 am

Ok, how do I run it in Vulkan mode without GzDoom even starting?

Re: GzDoom won't run on Mac

by Rachael » Tue May 16, 2023 8:32 am

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

by JJJJJJJJ » Tue May 16, 2023 8:22 am

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.

Re: GzDoom won't run on Mac

by _mental_ » Tue May 16, 2023 8:13 am

Post complete output, with Mac model in particular. I suspect it has some quite old AMD graphics.

GzDoom won't run on Mac

by JJJJJJJJ » Tue May 16, 2023 8:00 am

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!

Top