executing
./nextpnr-ice40 --json ./ice40/blinky.json --pcf ./ice40/blinky.pcf --asc ./ice40/blinky.asc --gui
on Mac OS X will launch the PyQT windows, but sub window where that shows the FPGA fabric remains blank. I suspect this is because of incompatible versions between the open GL context of the FPGAView application and the PyQT parent application. I get this error
qt.qpa.openglcontext: Could not create NSOpenGLContext with shared context, falling back to unshared context.
qt.qpa.openglcontext: Could not create NSOpenGLContext with shared context, falling back to unshared context.
I saw that @ajeakins on commit 92ddef9n mentioned he/she? "Fixed crash starting the GUI on macOS" - I imagine ajeakins may have nextpnr GUI mode working on the mac? Any tips
I have a pull request to fix this open (but awaiting some changes) - see here https://github.com/YosysHQ/nextpnr/pull/169. The bit you are missing is setting the surface format in application.cc
executing
./nextpnr-ice40 --json ./ice40/blinky.json --pcf ./ice40/blinky.pcf --asc ./ice40/blinky.asc --gui
on Mac OS X will launch the PyQT windows, but sub window where that shows the FPGA fabric remains blank. I suspect this is because of incompatible versions between the open GL context of the FPGAView application and the PyQT parent application. I get this errorI was able to fix the attribute error with by editing ./nextpnr/gui/lineshader.h:186 to be
So now I just get
I saw that @ajeakins on commit 92ddef9n mentioned he/she? "Fixed crash starting the GUI on macOS" - I imagine ajeakins may have nextpnr GUI mode working on the mac? Any tips