RTimothyEdwards / magic

Magic VLSI Layout Tool
Other
498 stars 103 forks source link

Layout Window not opening in macOS(Sonoma) #277

Closed pingu-73 closed 1 year ago

pingu-73 commented 1 year ago

I followed the instructions in the macOS install file. But when i run magic command in terminal it only opens magic console window and not the layout window.

Screenshot 2023-10-31 at 11 40 50 AM
d-m-bailey commented 1 year ago

@pingu-73 Do you have XQuartz running?

pingu-73 commented 1 year ago

@d-m-bailey i've XQuartz installed. Do i need to run it before opening magic?

RTimothyEdwards commented 1 year ago

It says it is using the "NULL graphics device". Did magic even get compiled with X11 support? What was the summary from the "configure" step?

pingu-73 commented 1 year ago

on running ./scripts/configure_mac summary is the following

Screenshot 2023-10-31 at 6 12 49 PM
RTimothyEdwards commented 1 year ago

@pingu-73 : Huh. Everything looks fine right up to the point where it says "using NULL graphics". What was the command line you used to start magic? Do you get a different result if you use magic -d OGL or magic -d XR?

d-m-bailey commented 1 year ago

@pingu-73 Yes, XQuartz needs to be active.

pingu-73 commented 1 year ago

@d-m-bailey even after activating XQuartz i'm getting same result

Screenshot 2023-10-31 at 7 01 26 PM
d-m-bailey commented 1 year ago

Any thing at the start of the console log file?

pingu-73 commented 1 year ago

@d-m-bailey

Screenshot 2023-10-31 at 6 59 20 PM
d-m-bailey commented 1 year ago

As @RTimothyEdwards says, it shouldn't say Using NULL graphics device. Did you try magic -d OGL or magic -d XR

d-m-bailey commented 1 year ago

Did you get any error messages when following the INSTALL_MacOS.md instructions?

pingu-73 commented 1 year ago

@RTimothyEdwards @d-m-bailey using magic -d OGL gives segmentation fault but magic -d XR doesn't shows any error. Also i didn't get any error message while following INSTALL_MacOS.md

Screenshot 2023-11-01 at 12 57 17 AM Screenshot 2023-11-01 at 12 57 50 AM
RTimothyEdwards commented 1 year ago

Type export DISPLAY=:0 on the command line before running magic and see if that causes a window to pop up. I worked through this issue with somebody else two months ago and they had the same issue that magic would start but not generate a window, and it didn't generate an error, either.

pingu-73 commented 1 year ago

@RTimothyEdwards now i'm not even able to open magic console

Screenshot 2023-11-01 at 9 13 43 AM
pingu-73 commented 1 year ago

@RTimothyEdwards i've solved this issue and made few changes in macOS install file can you review those changes and merge them. PR #278