Linux64-GPU crash

Bugs, glitches and unexpected behaviour.
alacant
Posts: 222
Joined: Mon Jan 25, 2016 7:03 am

Linux64-GPU crash

Post 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
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 »

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?
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 »

Hi Ivo,
The previous GPU versions didn't work either.

clinfo
Number of platforms 0

TIA
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 »

It appears you do not have any OpenCL compatible hardware (or drivers) installed.
What are the specs of your machine?
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 »

Ah, OK. Thi's this one. i5 with 8GB of ddr3:
https://es.aliexpress.com/item/32790689 ... 63c0yYL1p0

TIA
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 »

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
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 »

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
Last edited by alacant on Tue Oct 06, 2020 10:16 am, edited 1 time in total.
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 »

Progress! I will shortly PM you with a download link for a preview of 1.7.423 which will hopefully work for you.
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 »

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)
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 »

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