-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X server found. dri2 connection failed!
#17
Comments
The tests work fine for me on my Ubuntu VMware VM running on Windows 10 Intel i7 so.. maybe it's an issue with your setup? Emu uses OpenCL behind the scenes - do you know if you can successfully run OpenCL programs from your computer? This might be relevant - https://bugzilla.redhat.com/show_bug.cgi?id=1460400 |
This is a bit of a weird one. I saw a comment noting that it can have issues when a Wayland compositor is running, so I closed the compositor and ran the tests from the TTY. I got equally bad UB, but no |
That's really strange. What I would try next is seeing if OpenCL works by trying to run one of the examples in https://github.com/cogciprocate/ocl. If that doesn't work, then the problem really is just OpenCL. |
I've tried a few examples in that repository, by running for instance |
I'm trying to run the tests for the
arithmetic
example (env RUST_BACKTRACE=1 cargo test
), but am getting undefined behaviour. In most cases a double free is detected and the program crashes:The text was updated successfully, but these errors were encountered: