Page 2 of 3

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 11:04 am
by admin
That said... I'm running Beignet 1.4, while you seem to be running an older version...

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 2:39 pm
by alacant
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

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 6:02 pm
by alacant
Hi
From where did you get beignet v1.4?

Re: Linux64-GPU crash

Posted: Wed Oct 07, 2020 12:43 am
by admin
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.
alacant wrote: Tue Oct 06, 2020 6:02 pm Hi
From where did you get Beignet v1.4?
I built it from scratch per the instructions.

There is also the NEO project

https://github.com/intel/compute-runtime/releases.

Re: Linux64-GPU crash

Posted: Sun Nov 08, 2020 10:36 pm
by devonshire
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

Re: Linux64-GPU crash

Posted: Mon Nov 09, 2020 12:18 pm
by alacant
add these packages
@devonshire Thanks for posting.

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

Re: Linux64-GPU crash

Posted: Tue Nov 10, 2020 1:18 am
by devonshire
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. :-)

Re: Linux64-GPU crash

Posted: Tue Nov 10, 2020 2:43 am
by admin
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. :-)
I observed that same issue on my i5 5300U laptop, but solved it by switching acceleration from SNA to UXA (see this thread).

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. :cry:

Re: Linux64-GPU crash

Posted: Thu Dec 10, 2020 1:07 pm
by polslinux
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 :cry:

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

Posted: Thu Dec 10, 2020 11:49 pm
by admin
Thank you for the very useful output. It appears there is no OpenCL compatible device detected at all on your system.

You can use

Code: Select all

clinfo
to confirm.