[SOLVED] armsoc_dri.so is missing

Moderators: mdrjr, odroid

[SOLVED] armsoc_dri.so is missing

Unread postby krapapock » Sun Jun 01, 2014 10:10 pm

Hello,

First, thank you all for doing the work that you do !

I'm trying to install mali r4p0 driver on a custom debian jessie build from a debootstrap on odroid U3.
But when i launch glmark2-es2 or es2_info the following error occurs :
# glmark2-es2
libEGL warning: failed to create a pipe screen for armsoc
libEGL warning: DRI2: failed to open armsoc (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)

I build mali as describe here (in fact like in kernel_update.sh):

wget http://builder.mdrjr.net/tools/mali-r4p0.txz
git clone --depth 1 git://github.com/mdrjr/xf86-video-armsoc.git -b r4p0 xf86-video-armsoc-r4p0
cd xf86-video-armsoc-r4p0/
./autogen.sh --with-drmmode=exynos
make -j5
make install
cp /usr/local/lib/xorg/modules/drivers/armsoc* /usr/lib/xorg/modules/drivers
cd ..
tar -Jxf mali-r4p0.txz
cp mali/config/xorg.conf /etc/X11/xorg.conf
cp -aRP mali/* /usr/lib
ldconfig
cat << __EOF__ >> /etc/udev/rules.d/10-mali.rules
KERNEL=="mali",SUBSYSTEM=="misc",MODE="0777"
__EOF__
reboot

I build the kernel from the branch odroid-3.8.y, checkout this morning.
The xorg's log indicate that armsoc_dri.so is missing but how to get it :
[ 10.951] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so: cannot open shared object file: No such file or directory)

xorg.conf is the one from mdrjr repo in mali-r4p0.txz

It seems like something is missing but i don't know what ...
Can someone help me please ?

Johann
Attachments
Xorg.0.log
(26.74 KiB) Downloaded 156 times
Last edited by krapapock on Mon Jun 02, 2014 1:02 am, edited 1 time in total.
krapapock
 
Posts: 4
Joined: Sun Jan 26, 2014 1:19 am
languages_spoken: english, french
ODROIDs: U3

Re: armsoc_dri.so is missing

Unread postby mdrjr » Mon Jun 02, 2014 12:30 am

Well.. no..
armsoc is there.

What I think its going is that you have both..
mesa egl libraries and mali libraries installed.

run:
find /usr/lib -iname libegl*

and let me know the results.
mdrjr
Site Admin
 
Posts: 11640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: armsoc_dri.so is missing

Unread postby krapapock » Mon Jun 02, 2014 12:41 am

root@odroid-debian:~# find /usr/lib -iname libegl*
/usr/lib/libEGL.so.1.4
/usr/lib/libEGL.so.1
/usr/lib/libEGL.so
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
/usr/lib/arm-linux-gnueabihf/libEGL.so.1
/usr/lib/arm-linux-gnueabihf/libEGL.so

Before trying r4p0, i prevously install :
apt-get install mesa-utils mesa-utils-extra libgles2-mesa-dev libgles2-mesa libgles1-mesa-dev libgles1-mesa libegl1-mesa libegl1-mesa-dev
krapapock
 
Posts: 4
Joined: Sun Jan 26, 2014 1:19 am
languages_spoken: english, french
ODROIDs: U3

Re: armsoc_dri.so is missing

Unread postby mdrjr » Mon Jun 02, 2014 12:44 am

haha. spot on!

you have both.. that's why its conflicting.

on /usr/lib/arm.....
remove or move to somewhere else

libEGL*
libGLES*

and run ldconfig

Should start to work.

Mali blobs are a "drop-in" replacement for mesa :)
mdrjr
Site Admin
 
Posts: 11640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: armsoc_dri.so is missing

Unread postby krapapock » Mon Jun 02, 2014 1:00 am

mdrjr ... you are the best.
My problem is solved, glmark2-es2 is actually running ! glmark2 score : 36
Thank you very much :D

and sorry for my first post ;)
krapapock
 
Posts: 4
Joined: Sun Jan 26, 2014 1:19 am
languages_spoken: english, french
ODROIDs: U3

Re: [SOLVED] armsoc_dri.so is missing

Unread postby meveric » Mon Jun 02, 2014 2:29 am

score of 36 is rather low score i get a score of about 91 in window mode and 59 (does not go higher cause of vsync) in FullScreen mode with glmark2-es2
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7958
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [SOLVED] armsoc_dri.so is missing

Unread postby peepo » Sun Jun 29, 2014 2:27 am

I recently upgraded ubuntu, and iirc openGLES had been working fine before,

now I get similar output:

r$ find /usr/lib -iname libegl*
/usr/lib/libEGL.so
/usr/lib/libEGL.so.1.4
/usr/lib/libEGL.so.1
/usr/lib/arm-linux-gnueabihf/mesa-egl/libEGL.so
/usr/lib/arm-linux-gnueabihf/mesa-egl/libEGL.so.1
/usr/lib/arm-linux-gnueabihf/mesa-egl/archive/libEGL.so
/usr/lib/arm-linux-gnueabihf/mesa-egl/archive/libEGL.so.1
/usr/lib/arm-linux-gnueabihf/mesa-egl/archive/libEGL.so.1.0.0
/usr/lib/arm-linux-gnueabihf/mesa-egl/libEGL.so.1.0.0
/usr/lib/arm-linux-gnueabihf/.mesa-egl/libEGL.so.1
/usr/lib/arm-linux-gnueabihf/.mesa-egl/libEGL.so.1.0.0

but when I tried to follow instructions above get segfault.

please could you be more specific about exactly which files must be moved?

thanks again
User avatar
peepo
 
Posts: 76
Joined: Mon Feb 03, 2014 7:01 am
languages_spoken: English
ODROIDs: U3 eMMC, XU lite emmc

Re: [SOLVED] armsoc_dri.so is missing

Unread postby mdrjr » Sun Jun 29, 2014 4:54 am

This folder: /usr/lib/arm-linux-gnueabihf/mesa-egl/

Because this is mesa.
mdrjr
Site Admin
 
Posts: 11640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: armsoc_dri.so is missing

Unread postby dl9sec » Fri Dec 05, 2014 4:21 am

mdrjr wrote:Well.. no..
armsoc is there.

I am using Ubuntu 14.04.1 LTS with XFCE4 on my U3 and built the GFX stuff with your Odroid Utility.
Sorry, but ther is absolutely no armsoc_dri.so file existing!

/usr/lib/arm-linux-gnueabihf/dri/ contains:
dummy_drv_video.so
nouveau_dri.so
nouveau_vieux_dri.so
r200_dri.so
r300_dri.so
r600_dri.so
radeon_dri.so
radeonsi_dri.so
swrast_dri.so
vmwgfx_dri.so

but no armsoc_dri.so.
Is there a link missing, or so?

Regards
dl9sec
 
Posts: 14
Joined: Thu Jun 26, 2014 4:00 pm
languages_spoken: english
ODROIDs: U3

Re: [SOLVED] armsoc_dri.so is missing

Unread postby mdrjr » Sat Dec 06, 2014 8:54 am

Its just fine :)
Of course you are mixing AIGLX with EGL...
Move along it has been answered on the forums...
mdrjr
Site Admin
 
Posts: 11640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -


Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest