Page 1 of 3

Linux64-GPU crash

Posted: Mon Oct 05, 2020 5:10 pm
by alacant
Hi Ivo, everyone
kubuntu 20.04
1.7.422

Launching the gpu version we get to the opening screen but then it disappears. The only evidence I can find is:

Oct 5 19:00:49 steve-desktop dbus-daemon[1111]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/modules/kwalletd5" interface="org.kde.KWallet" member="isEnabled" mask="send" name="org.kde.kwalletd5" pid=20589 label="snap.chromium.chromium"
Oct 5 19:00:49 steve-desktop dbus-daemon[1111]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/modules/kwalletd5" interface="org.kde.KWallet" member="close" mask="send" name="org.kde.kwalletd5" pid=20589 label="snap.chromium.chromium"

The non gpu version launches and runs fine.
Any way of getting any more debugging info?

Cheers,
Steve

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 2:48 am
by admin
Is it just this version and did previous GPU versions run fine?
Or is this the first time you are trying the GPU version?

Can you run the command 'clinfo' and paste the output here?

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 7:55 am
by alacant
Hi Ivo,
The previous GPU versions didn't work either.

clinfo
Number of platforms 0

TIA

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 8:35 am
by admin
It appears you do not have any OpenCL compatible hardware (or drivers) installed.
What are the specs of your machine?

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 8:43 am
by alacant
Ah, OK. Thi's this one. i5 with 8GB of ddr3:
https://es.aliexpress.com/item/32790689 ... 63c0yYL1p0

TIA

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 9:19 am
by admin
Your machine should have an iGPU, which should definitely yield some marginal speedups.
I think there is a Linux initiative for Intel iGPUs called Beignet.
See if you can find that package in your package manager.
Once installed, this should (hopefully) give you OpenCL support for your iGPU.
Let me know if that works!

Ivo

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 10:01 am
by alacant
hi
OK. the package for kubuntu 20.04 is:
beignet-opencl-icd

Installed but:

./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)

Any ideas?

Here's the bt:
.
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./StarTools-Linux64-GPU...
(gdb) run
Starting program: /home/steve/startools/distro/StarTools-Linux64-GPU
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: Corrupted shared library list: 0x126f4c0 != 0x87ea10
warning: Corrupted shared library list: 0x128d2f0 != 0x126f4c0
[New Thread 0x7ffff3ea2700 (LWP 1465)]
[Thread 0x7ffff3ea2700 (LWP 1465) exited]
[New Thread 0x7ffff3ea2700 (LWP 1466)]
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

Thread 1 "StarTools-Linux" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff4661b79 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
(gdb) bt
#0 0x00007ffff4661b79 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#1 0x00007ffff47a4e4f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#2 0x00007ffff4778451 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#3 0x00007ffff47788fb in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#4 0x00007ffff4779721 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#5 0x00007ffff482829f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#6 0x00007ffff46bee39 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#7 0x00007ffff483f905 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#8 0x00007ffff46c2c5c in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#9 0x00007ffff46c2ebe in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#10 0x00007ffff48401d9 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#11 0x00007ffff46d7e89 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#12 0x00007ffff75fe058 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so
#13 0x00007ffff75f2a4c in clBuildProgram () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so
#14 0x00000000004b324a in StarTools_OpenCL_Function_Register ()
#15 0x0000000000593776 in Application_StarTools_Init ()
#16 0x00000000005947e2 in Application_StarTools_Splash_AppletEventHandler ()
#17 0x00000000004b7624 in SQUID_Applet_HandleEvent ()
#18 0x00000000004b8b4e in SQUID_Event_Handle ()
#19 0x00000000004b8ab8 in SQUID_Event_Handle ()
#20 0x00000000004cb724 in SQUID_Event_HandleQueue ()
#21 0x0000000000507104 in Application_EventHandler ()
#22 0x00000000005b19e2 in HOST_Kernel_EventLoop ()
#23 0x0000000000403405 in main ()
(gdb)


TIA

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 10:14 am
by admin
Progress! I will shortly PM you with a download link for a preview of 1.7.423 which will hopefully work for you.

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 10:53 am
by alacant
Ivo
Sorry, no idea how to reply to the pm.

still no luck.
Here's the bt from the new version:
.
Reading symbols from ./StarTools-Linux64-GPU...
(gdb) run
Starting program: /home/steve/Desktop/distro/StarTools-Linux64-GPU
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: Corrupted shared library list: 0x1272b70 != 0x882a10
warning: Corrupted shared library list: 0x127db50 != 0x1272b70
[New Thread 0x7ffff3ea2700 (LWP 6406)]
[Thread 0x7ffff3ea2700 (LWP 6406) exited]
[New Thread 0x7ffff3ea2700 (LWP 6407)]
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

Thread 1 "StarTools-Linux" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff4661b79 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
(gdb) bt
#0 0x00007ffff4661b79 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#1 0x00007ffff47a4e4f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#2 0x00007ffff4778451 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#3 0x00007ffff47788fb in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#4 0x00007ffff4779721 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#5 0x00007ffff482829f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#6 0x00007ffff46bee39 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#7 0x00007ffff483f905 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#8 0x00007ffff46c2c5c in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#9 0x00007ffff46c2ebe in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#10 0x00007ffff48401d9 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#11 0x00007ffff46d7e89 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so
#12 0x00007ffff75fe058 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so
#13 0x00007ffff75f2a4c in clBuildProgram () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so
#14 0x00000000004b5d06 in StarTools_OpenCL_Function_Register ()
#15 0x00000000004efabc in Application_StarTools_Splash ()
#16 0x00000000004ce156 in SQUID_Event_HandleQueue ()
#17 0x0000000000509c64 in Application_EventHandler ()
#18 0x00000000005b5a72 in HOST_Kernel_EventLoop ()
#19 0x00000000004033a5 in main ()
(gdb)

Re: Linux64-GPU crash

Posted: Tue Oct 06, 2020 11:02 am
by admin
Hmmm... are you absolutely sure you are running that latest version, including updated 'resources' file?
The laptop i tested on has the exact same limitation (single precision floats only) and works a-ok now with Beignet...