Linux64-GPU crash

Bugs, glitches and unexpected behaviour.
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Linux64-GPU crash

Post by admin »

That said... I'm running Beignet 1.4, while you seem to be running an older version...
Ivo Jager
StarTools creator and astronomy enthusiast
alacant
Posts: 222
Joined: Mon Jan 25, 2016 7:03 am

Re: Linux64-GPU crash

Post 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
alacant
Posts: 222
Joined: Mon Jan 25, 2016 7:03 am

Re: Linux64-GPU crash

Post by alacant »

Hi
From where did you get beignet v1.4?
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Linux64-GPU crash

Post 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.
Ivo Jager
StarTools creator and astronomy enthusiast
devonshire
Posts: 60
Joined: Mon Sep 24, 2018 12:30 am

Re: Linux64-GPU crash

Post 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
alacant
Posts: 222
Joined: Mon Jan 25, 2016 7:03 am

Re: Linux64-GPU crash

Post 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
devonshire
Posts: 60
Joined: Mon Sep 24, 2018 12:30 am

Re: Linux64-GPU crash

Post 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. :-)
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Linux64-GPU crash

Post 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:
Ivo Jager
StarTools creator and astronomy enthusiast
polslinux
Posts: 15
Joined: Fri Sep 11, 2020 11:55 am
Location: Italy
Contact:

Re: Linux64-GPU crash

Post 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
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Linux64-GPU crash

Post 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.
Ivo Jager
StarTools creator and astronomy enthusiast
Post Reply