Comments (7)
It seems to be a VirtualBox (5.2.14 on Win10) problem..
I just tried it on both a native machine and in VMware, and everything works.
With VBox 3D acceleration disabled, I have the problem as described.
With VBox 3D accelaration enabled, nextpnr doesn't work at all:
thomask@vbox-xubuntu ~
$ nextpnr-ice40 --gui
OpenGL Warning: glXChooseVisual: bad attrib=0x186a0, ignoring
OpenGL Warning: glXChooseVisual: bad attrib=0x186a1, ignoring
OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW
OpenGL Warning: glXChooseVisual: bad attrib=0x186a0, ignoring
OpenGL Warning: glXChooseVisual: bad attrib=0x186a1, ignoring
[1] 2178 segmentation fault (core dumped) nextpnr-ice40 --gui
Interestingly, nextpnr seems to be the only Qt5 application that does have these problems.
from nextpnr.
Hi,
Was not able to reproduce your problem. Is this fresh installation of 18.04, or some upgrade ? Thing is that we use QT5 for GUI functionality and not GTK directly. If you can try at least doing update/upgrade packages and then recompile nextpnr again with new and try again ?
from nextpnr.
I'm actually running on a new, clean, Xubuntu 18.04 build right now and running the latest master 0a52133 and while I do see the same Gtk-Message as you, I still get a file dialog from which I can select a project.
As @mmicko says, would you mind rebuilding and retrying?
from nextpnr.
Very strange observation:
- If I zoom in 10-15 times (therefore less FPGA elements fit on screen), I can open the dialogs.
- If fully zoomed out, the file dialogs won't open.
So it's likely the high number of drawn elements in the FPGAViewWidget triggering some problem when running in VirtualBox :/
from nextpnr.
Thanks for trying all these combinations @thomask77 -- this is all useful information -- and I'm sorry that none of what you tried fixes it.
Is it possible to use a VMWare instead of VBox then? As you can imagine, fixing it just for VBox isn't a priority for us so it may take some time to get there.
I'm also going to rename the title of this issue to reflect these findings.
Alternatively, I believe nextpnr supports Windows natively -- calling @mmicko to confirm.
from nextpnr.
Right, OpenGL is not that greatly supported on VMs so there could be some issues like that.
But @eddiehung is right Windows native support is working, and you can use VS2015/17 to build it or even mingw (following linux build process)
from nextpnr.
Thanks for your great support!
I think, I can live with the zoom-out workaround for now.
from nextpnr.
Related Issues (20)
- "ERROR: INTERNAL CHECK FAILED" with newer oss-cad-suite-build releases HOT 3
- nextpnr-gowin crashes HOT 5
- ERROR: clearing already set config bit NegClk HOT 1
- Hang in nextpnr-ice40 sa placer for SmolDVI design HOT 2
- Trellis ECP5 python module issue HOT 4
- Import Error ECP5, But ICE40 is ok. Can you give me some advice? HOT 1
- Histogram showing negative slack and yet timing passes HOT 4
- Build Issues on Windows HOT 3
- arachne-pnr or nextpnr for ICE40 devices HOT 2
- Routing failure on MachXO3 HOT 4
- Allowing family aliases for gowin HOT 18
- Building himbaechel requires python 3.9+ but readme says 3.5 HOT 1
- Oassing constraints to nextpnr-himbaechel HOT 4
- No option named X for enum EBR3.PDPSC16K_MODE.DATA_WIDTH_R in tile CIB_R29C11:EBR_9 HOT 4
- nextpnr-gowin GUI crash when opening JSON file in the GUI (debug test included)
- No such file or directory: '/usr/local/share/icebox/timings_lp384.txt' HOT 1
- Nexus: Cell type 'CCU2'...not supported by this device. Encountered when using 'synth_nexus -abc9' in Yosys. HOT 2
- Broken link to report.py
- nextpnr-ice40 reports wrong number of resources for U1K and U2K HOT 1
- NextPNR-nexus reports PCLKDIV primitive not supported on LICL-40 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextpnr.