[solved] "ac_rtld error: shdr->sh_size & 3" error on Cape Verde Radeon GPU card

jay
jay
Joined: 25 Jan 07
Posts: 67
Credit: 53,646,160
RAC: 47,140
Topic 220629

Greetings,

At first, I thought my error was related to the topic discussed in the Cruncher's Corner

https://einsteinathome.org/content/issues-ubuntu-and-amd-southern-island-cards

But alas, it is different. I have had the problem for several months now.

I have tried using the proposed changes library - but those still fail.
I upgraded:
  libegl-mesa0 libegl1-mesa libgbm1 libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386
  libglapi-mesa libglapi-mesa:i386 libglx-mesa0 libglx-mesa0:i386 libwayland-egl1-mesa libxatracker2 mesa-opencl-icd
  mesa-va-drivers mesa-vdpau-drivers

 

 

I believe the problem is in mesa-opencl-icd

More details are at https://einsteinathome.org/content/issues-ubuntu-and-amd-southern-island-cards#comment-175464

 

Has a problem report already been written for this?

I looked around and found outdated links.

 

Thanks in advance,

Jay

jay
jay
Joined: 25 Jan 07
Posts: 67
Credit: 53,646,160
RAC: 47,140

Addendum Current OS is

Addendum

 Current OS is Ubuntu Mate 18.04.03.

Also tried daily build (04Feb 2020) of Ubuntu 20.04.

Same problem ..  see  https://einsteinathome.org/task/920287293

The card id a Radeon 7750.

BOINC provides a description of h/w and s/w:  (20.04 LTS Pre beta)

Wed Feb  5 07:59:58 2020 |  | Libraries: libcurl/7.66.0 OpenSSL/1.1.1d zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Wed Feb  5 07:59:58 2020 |  | Data directory: /var/lib/boinc-client
Wed Feb  5 07:59:59 2020 |  | OpenCL: AMD/ATI GPU 0: AMD VERDE (DRM 2.50.0, 5.4.0-12-generic, LLVM 9.0.0) (driver version 19.2.4, device version OpenCL 1.1 Mesa 19.2.4, 2048MB, 2048MB available, 512 GFLOPS peak)
Wed Feb  5 07:59:59 2020 |  | Creating new client state file
Wed Feb  5 07:59:59 2020 |  | [libc detection] gathered: 2.30, Ubuntu GLIBC 2.30-0ubuntu3
Wed Feb  5 07:59:59 2020 |  | Host name: ubuntu-mate
Wed Feb  5 07:59:59 2020 |  | Processor: 8 AuthenticAMD AMD FX(tm)-8150 Eight-Core Processor [Family 21 Model 1 Stepping 2]
Wed Feb  5 07:59:59 2020 |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt fma4 nodeid_msr topoext perfctr_core perfctr_nb cpb hw_pstate ssbd ibpb vmmcall arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
Wed Feb  5 07:59:59 2020 |  | OS: Linux Ubuntu: Ubuntu Focal Fossa (development branch) [5.4.0-12-generic|libc 2.30 (Ubuntu GLIBC 2.30-0ubuntu3)]
Wed Feb  5 07:59:59 2020 |  | Memory: 11.62 GB physical, 48.83 GB virtual
Wed Feb  5 07:59:59 2020 |  | Disk: 5.81 GB total, 5.09 GB free

[edit - add lshw ]

  *-display
                description: VGA compatible controller
                product: Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:07:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
                configuration: driver=radeon latency=0
                resources: irq:69 memory:c0000000-cfffffff memory:fe700000-fe73ffff ioport:c000(size=256) memory:c0000-dffff

 

jay
jay
Joined: 25 Jan 07
Posts: 67
Credit: 53,646,160
RAC: 47,140

-0-  Second Addendum

-0-  Second Addendum -0-

Today, 6 Feb 2020, rcvd newly released MESA (and other) packages.
But problem remains...    :-(

Start-Date: 2020-02-06  22:45:30
Requested-By: jay (1000)
Upgrade:
 libwayland-egl1:amd64 (1.16.0-1ubuntu1.1~18.04.1, 1.16.0-1ubuntu1.1~18.04.3),
 mesa-opencl-icd:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libdrm-nouveau2:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libdrm-nouveau2:i386 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libllvm9:amd64 (1:9-2~ubuntu18.04.1, 1:9-2~ubuntu18.04.2),
 libllvm9:i386 (1:9-2~ubuntu18.04.1, 1:9-2~ubuntu18.04.2),
 libegl-mesa0:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libclc-amdgcn:amd64 (0.2.0+git20190827-1ubuntu0.18.04.1, 0.2.0+git20190827-1ubuntu0.18.04.2),
 libglapi-mesa:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libglapi-mesa:i386 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 mesa-common-dev:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 python3-reportlab-accel:amd64 (3.4.0-3build1, 3.4.0-3ubuntu0.1),
 python3-pil:amd64 (5.1.0-1, 5.1.0-1ubuntu0.2), l
 ibxatracker2:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libclc-dev:amd64 (0.2.0+git20190827-1ubuntu0.18.04.1, 0.2.0+git20190827-1ubuntu0.18.04.2),
 libegl1-mesa:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libclc-r600:amd64 (0.2.0+git20190827-1ubuntu0.18.04.1, 0.2.0+git20190827-1ubuntu0.18.04.2),
 libclang-common-9-dev:amd64 (1:9-2~ubuntu18.04.1, 1:9-2~ubuntu18.04.2),
 libgbm1:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 python3-renderpm:amd64 (3.4.0-3build1, 3.4.0-3ubuntu0.1),
 libwayland-client0:amd64 (1.16.0-1ubuntu1.1~18.04.1, 1.16.0-1ubuntu1.1~18.04.3),
 libdrm-amdgpu1:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libdrm-amdgpu1:i386 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libclc-ptx:amd64 (0.2.0+git20190827-1ubuntu0.18.04.1, 0.2.0+git20190827-1ubuntu0.18.04.2),
 libwayland-egl1-mesa:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libdrm2:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libdrm2:i386 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libgl1-mesa-dev:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libgl1-mesa-dri:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libgl1-mesa-dri:i386 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2), l
 ibgl1-mesa-glx:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libgl1-mesa-glx:i386 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libdrm-intel1:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libdrm-intel1:i386 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libdrm-radeon1:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libdrm-radeon1:i386 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 mesa-vdpau-drivers:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 python3-reportlab:amd64 (3.4.0-3build1, 3.4.0-3ubuntu0.1),
 libdrm-dev:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libwayland-server0:amd64 (1.16.0-1ubuntu1.1~18.04.1, 1.16.0-1ubuntu1.1~18.04.3),
 mesa-va-drivers:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libglx-mesa0:amd64 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libglx-mesa0:i386 (19.2.8-0ubuntu0~18.04.1, 19.2.8-0ubuntu0~18.04.2),
 libdrm-common:amd64 (2.4.99-1ubuntu1~18.04.1, 2.4.99-1ubuntu1~18.04.2),
 libwayland-cursor0:amd64 (1.16.0-1ubuntu1.1~18.04.1, 1.16.0-1ubuntu1.1~18.04.3)
End-Date: 2020-02-06  22:46:16
--
https://einsteinathome.org/task/920686618
Task 920686618
Name: LATeah1049Lba_108.0_0_0.0_3937234_1
Workunit ID: 438124275
Created: 7 Feb 2020 2:02:35 UTC
Sent: 7 Feb 2020 3:56:52 UTC
Report deadline: 21 Feb 2020 3:56:52 UTC
Received: 7 Feb 2020 3:59:05 UTC
Server state: Over
Outcome: Computation error
Client state: Compute error
Exit status: 11 (0x0000000B) Unknown error code
Computer:
12201025

boinc_get_opencl_ids returned [0x24f14c8 , 0x7f832576e200]
Using OpenCL platform provided by: Mesa
Using OpenCL device "AMD VERDE (DRM 2.50.0, 5.3.0-28-generic, LLVM 9.0.0)" by: AMD
Max allocation limit: 1503238553
Global mem size: 2147483648
OpenCL device has FP64 support
% Opening inputfile: ../../projects/einstein.phys.uwm.edu/LATeah1049Lba.dat
% Total amount of photon times: 8950
% Preparing toplist of length: 10
% Read 1631 binary points
read_checkpoint(): Couldn't open file 'LATeah1049Lba_108.0_0_0.0_3937234_1_0.out.cpt': No such file or directory (2)
% fft_size: 16777216 (0x1000000); alloc: 67108872
% Sky point 1/1
% Binary point 1/1631
% Creating FFT plan.
% fft length: 16777216 (0x1000000)
% Scratch buffer size: 136314880
% Starting semicoherent search over f0 and f1.
% nf1dots: 41  df1dot: 2.512676418e-15  f1dot_start: -1e-13  f1dot_band: 1e-13
% Filling array of photon pairs

ac_rtld error: shdr->sh_size & 3

ELF error: invalid section index

-- signal handler called: signal 1

....

Aaron Puchert
Aaron Puchert
Joined: 30 May 14
Posts: 13
Credit: 2,620,769
RAC: 1

I had the same issue with

I had the same issue with Mesa 19, but Mesa 20 seems to solve it for me.

jay
jay
Joined: 25 Jan 07
Posts: 67
Credit: 53,646,160
RAC: 47,140

solved with the Mesa 20

solved with the Mesa 20 builds

THANK YOU ALL!!!!

 

PS
Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA
   by adding ppa:paulo-miguel-dias/mesa
   to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:paulo-miguel-dias/mesa
sudo apt-get update

-----------------------------------------

and

=== Revert to original drivers
    (ALWAYS REVERT TO THE ORIGINAL DRIVERS WHEN CHANGING
     BETWEEN PADOKA PPAs OR REMOVING PADOKA ENTIRELY===
To revert to standard Ubuntu drivers type the following in a prompt shell:
$ sudo apt-get install ppa-purge
$ sudo ppa-purge ppa:paulo-miguel-dias/mesa

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.