Linux64-GPU crash
Re: Linux64-GPU crash
That said... I'm running Beignet 1.4, while you seem to be running an older version...
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
Re: Linux64-GPU crash
I'm running it from the same folder so same resources...
steve@steve-desktop:~/Desktop/distro$ ./StarTools-Linux64-GPU
ASSERTION FAILED: Double precision not supported on this device (if this is a literal, use '1.0f' not '1.0')
at file /build/beignet-U5Obfe/beignet-1.3.2/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertBetweenFloatDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6227
Trace/breakpoint trap (core dumped)
steve@steve-desktop:~/Desktop/distro$ ls -l
total 13408
-rwxrwxrwx 1 steve steve 47785 oct 6 15:09 CHANGELOG
-rwxrwxrwx 1 steve steve 6627 ene 1 2013 EULA.txt
-rwxrwxrwx 1 steve steve 1877020 oct 6 2020 resources
drwxrwxr-x 3 steve steve 4096 ene 1 2013 StarTools.app
-rwxrwxrwx 1 steve steve 1919064 oct 6 2020 StarTools-Linux32
-rwxrwxrwx 1 steve steve 1985816 oct 6 2020 StarTools-Linux64
-rwxr-xr-x 1 steve steve 2112976 oct 6 2020 StarTools-Linux64-GPU
-rwxrwxrwx 1 steve steve 1821696 oct 6 2020 StarTools-Windows32.exe
-rwxrwxrwx 1 steve steve 1955840 oct 6 2020 StarTools-Windows64.exe
-rwxr-xr-x 1 steve steve 1984000 oct 6 2020 StarTools-Windows64-GPU.exe
steve@steve-desktop:~/Desktop/distro$ ./StarTools-Linux64-GPU
ASSERTION FAILED: Double precision not supported on this device (if this is a literal, use '1.0f' not '1.0')
at file /build/beignet-U5Obfe/beignet-1.3.2/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertBetweenFloatDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6227
Trace/breakpoint trap (core dumped)
steve@steve-desktop:~/Desktop/distro$ ls -l
total 13408
-rwxrwxrwx 1 steve steve 47785 oct 6 15:09 CHANGELOG
-rwxrwxrwx 1 steve steve 6627 ene 1 2013 EULA.txt
-rwxrwxrwx 1 steve steve 1877020 oct 6 2020 resources
drwxrwxr-x 3 steve steve 4096 ene 1 2013 StarTools.app
-rwxrwxrwx 1 steve steve 1919064 oct 6 2020 StarTools-Linux32
-rwxrwxrwx 1 steve steve 1985816 oct 6 2020 StarTools-Linux64
-rwxr-xr-x 1 steve steve 2112976 oct 6 2020 StarTools-Linux64-GPU
-rwxrwxrwx 1 steve steve 1821696 oct 6 2020 StarTools-Windows32.exe
-rwxrwxrwx 1 steve steve 1955840 oct 6 2020 StarTools-Windows64.exe
-rwxr-xr-x 1 steve steve 1984000 oct 6 2020 StarTools-Windows64-GPU.exe
Re: Linux64-GPU crash
Hi
From where did you get beignet v1.4?
From where did you get beignet v1.4?
Re: Linux64-GPU crash
Very, very strange. The error doesn't seem to be congruent with the OpenCL code it is (should be) compiling. Given it runs on 1.4 (and I have not had any reports of any other issues), I'm inclined to say the problem is the old version of Beignet.
There is also the NEO project
https://github.com/intel/compute-runtime/releases.
I built it from scratch per the instructions.
There is also the NEO project
https://github.com/intel/compute-runtime/releases.
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
-
- Posts: 60
- Joined: Mon Sep 24, 2018 12:30 am
Re: Linux64-GPU crash
FYI, finally figured this out for my machine and Kubuntu 18.04.
The 1.7.440 GPU version now starts!
Needed to add these packages:
Beignet
ocl-icd-dev
ocl-icd-libopencl1
- Bob
The 1.7.440 GPU version now starts!
Needed to add these packages:
Beignet
ocl-icd-dev
ocl-icd-libopencl1
- Bob
Re: Linux64-GPU crash
@devonshire Thanks for posting.add these packages
Unfortunately, Beignet on Ubuntu is dead upstream as it is to be replaced by the intel opencl version. This means that unless you have recent GPUs, it's never going to work. e.g. my GPU is Haswell on an i5-4210Y, so unless I write my own opencl, it's never going to work. A pity because I know Ivo has put a big effort into speeding up compute.
cheers
-
- Posts: 60
- Joined: Mon Sep 24, 2018 12:30 am
Re: Linux64-GPU crash
Ah, well...
No matter, for me. It ran for a while, then started to draw masks halfway down the screen before stalling out.
Figured I was looking at a graphics memory limitation and gave up on it, as I won't be allocating more.
Perhaps on the next machine! In the meantime, the non-GPU version seems fairly stable.
No matter, for me. It ran for a while, then started to draw masks halfway down the screen before stalling out.
Figured I was looking at a graphics memory limitation and gave up on it, as I won't be allocating more.
Perhaps on the next machine! In the meantime, the non-GPU version seems fairly stable.
Re: Linux64-GPU crash
I observed that same issue on my i5 5300U laptop, but solved it by switching acceleration from SNA to UXA (see this thread).devonshire wrote: ↑Tue Nov 10, 2020 1:18 am Ah, well...
No matter, for me. It ran for a while, then started to draw masks halfway down the screen before stalling out.
Figured I was looking at a graphics memory limitation and gave up on it, as I won't be allocating more.
Perhaps on the next machine! In the meantime, the non-GPU version seems fairly stable.
It's quite frustrating how many years on since I first looked into GPU acceleration (and determined it was not mature enough), the state of it is still buggy and unreliable depending on the hardware, drivers and OS.
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
Re: Linux64-GPU crash
I have the same issue, but on openSUSE Tumbleweed x64 (GNOME).
My hardware is:
- nVidia Quadro P600
- Intel(R) Xeon(R) W-2123
- 32GB ram DDR4
When I start the GPU version, it crashes immediately. From terminal there is no output whatsoever.
I've installed the openCL packages, included the ones listed above
I'm using v1.7.451 RC1
EDIT: I have installed beignet, and now I get the following output:
My hardware is:
- nVidia Quadro P600
- Intel(R) Xeon(R) W-2123
- 32GB ram DDR4
When I start the GPU version, it crashes immediately. From terminal there is no output whatsoever.
I've installed the openCL packages, included the ones listed above
I'm using v1.7.451 RC1
EDIT: I have installed beignet, and now I get the following output:
Code: Select all
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
cl_get_gt_device(): error, unknown device: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
Re: Linux64-GPU crash
Thank you for the very useful output. It appears there is no OpenCL compatible device detected at all on your system.
You can use
to confirm.
You can use
Code: Select all
clinfo
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast