Skip to content
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

Segfault when using ArrayFire.jl on Fedora #223

Open
galenlynch opened this issue Nov 8, 2018 · 1 comment
Open

Segfault when using ArrayFire.jl on Fedora #223

galenlynch opened this issue Nov 8, 2018 · 1 comment

Comments

@galenlynch
Copy link

I can't use ArrayFire, and it might have something to do with Wayland on Fedora 29?

$ JULIA_ARRAYFIRE_BACKEND=cuda julia
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.1 (2018-09-29)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using ArrayFire
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 

signal (11): Segmentation fault
in expression starting at no file:0
unknown function (ip: 0xffffffffffffffff)
unknown function (ip: 0x2007)
Allocations: 3785089 (Pool: 3784424; Big: 665); GC: 7
[1]    4173 segmentation fault (core dumped)  JULIA_ARRAYFIRE_BACKEND=cuda julia
@ghost
Copy link

ghost commented Nov 8, 2018

seems like it, try recompiling arrayfire without graphics:

cmake <PATH TO ARRAYFIRE SOURCE> -DCMAKE_BUILD_TYPE=Release -DAF_WITH_GRAPHICS=OFF -DCPACK_GENERATOR=RPM 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant