LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2014, 05:14 AM   #1
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Rep: Reputation: 49
current and multilib 32bit OpenGL problem.


I upgraded to current and upgraded multilib (and ktown) and converted needed compat32 packages like mesa,libxshmfence and so on.
My problem is 32bit opengl that doesn't work.

Code:
64bit
glxinfo|grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL version string: 2.1 Mesa 10.2.4
OpenGL shading language version string: 1.30
OpenGL extensions:

32bit
libGL error: dlopen /usr/lib/xorg/modules/dri/r600_dri.so failed (libLLVM-3.4.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (libLLVM-3.4.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL version string: 1.4 (2.1 Mesa 10.2.4)
OpenGL extensions:
 
Old 07-23-2014, 05:40 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
there any reason why you do not use the unofficial/ official one from alien bobs multilib.
http://www.slackware.com/~alien/multilib/
going to boot into current multi and edit this. if needed.

booted to current ran /usr/bin/32/glxgears and everything worked.
ok your needing this http://slackware.mirrors.tds.net/pub...4.2-i486-1.txz
and convert it. seems that did not make it into the latest multilib I am sure Alien bob has his reasons. could be on vacation.
Quote:
llvm: llvm (LLVM compiler toolkit)
llvm:
llvm: Low Level Virtual Machine is a toolkit for the construction of highly
llvm: optimized compilers, optimizers, and runtime environments.
llvm:
llvm: This package also includes the clang frontend for the C family of
llvm: languages: C, C++, Objective-C, and Objective-C++
llvm:
llvm:
llvm: Homepage: http://llvm.org/
llvm:
good luck.

Last edited by Drakeo; 07-23-2014 at 06:11 AM. Reason: booted to current
 
1 members found this post helpful.
Old 07-23-2014, 05:58 AM   #3
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Original Poster
Rep: Reputation: 49
Yes i started with alienbobs multilib but it didn't have the latest mesa and libxshmfence it has mesa-compat32-10.1.5-x86_64-1compat32.txz instead of current mesa-compat32-10.2.4-x86_64-1compat32.txz and it doesn't include libxshmfence-compat32-1.1-x86_64-1compat32.txz yet so i did that one manually (convertpkg-compat32 -i /tmp/libxshmfence-1.1-i486-1.txz).
massconvert32.sh -u http://slackware.mirrors.tds.net/pub...rent/slackware does the job on current since multilib repo doesn't always update as fast as current does.

Last edited by Nille_kungen; 07-23-2014 at 05:59 AM.
 
Old 07-23-2014, 06:09 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
well I think read above I edited it. as you know that does several things and I am sure the correct libraries are there. And you will have to convert it.
 
Old 07-23-2014, 06:20 AM   #5
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 292

Rep: Reputation: 60
as pointed by Drakeo, you need the 32bit version of llvm package built with shared libraries (it is required by mesa 10.2)
 
Old 07-23-2014, 06:32 AM   #6
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Original Poster
Rep: Reputation: 49
Thank you all it was spot on.
I thought that i checked llvm-compat32-3.4.2-x86_64-1compat32.txz package but obviously i didn't

Last edited by Nille_kungen; 07-23-2014 at 06:33 AM.
 
Old 07-23-2014, 06:34 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
yes and your right needed to add libxshmfence thanks for the heads up.
 
Old 07-23-2014, 06:59 AM   #8
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Original Poster
Rep: Reputation: 49
glxgears now works as it should.
Code:
/usr/bin/32/glxinfo|grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL version string: 2.1 Mesa 10.2.4
OpenGL shading language version string: 1.30
OpenGL extensions:
But i still have problems running steam or playonlinux/wine with opengl, here's the output from steam complaining about gcc version.
Code:
LIBGL_DEBUG=verbose steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead.

Running Steam on slackware 14.1 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 7: 1002:990b, driver r600
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/r600_dri.so failed (/home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/xorg/modules/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (/home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/xorg/modules/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 35: 1002:990b, driver r600
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
[0723/135220:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
libGL error: dlopen /usr/lib/xorg/modules/dri/r600_dri.so failed (/home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/xorg/modules/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (/home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/xorg/modules/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457.
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Installing breakpad exception handler for appid(steam)/version(1393366296_client)
Generating new string page texture 2: 48x256, total string texture memory is 49,15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311,30 KB
Look like things need to be recompiled, but i guess the supported ubuntu use older gcc

Last edited by Nille_kungen; 07-23-2014 at 07:03 AM.
 
Old 07-23-2014, 07:21 AM   #9
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 292

Rep: Reputation: 60
i think your steam runtime libs are old

nm -D /home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1 | head 15

to see symbols
 
Old 07-23-2014, 11:22 AM   #10
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Original Poster
Rep: Reputation: 49
Code:
nm -D /home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1 | head
00000000 A GCC_3.0
00000000 A GCC_3.3
00000000 A GCC_3.3.1
00000000 A GCC_3.4
00000000 A GCC_3.4.2
00000000 A GCC_4.0.0
00000000 A GCC_4.2.0
00000000 A GCC_4.3.0
00000000 A GCC_4.4.0
00000000 A GCC_4.5.0
 
Old 07-23-2014, 11:47 AM   #11
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 292

Rep: Reputation: 60
sorry, it was head -n 15;
 
Old 07-23-2014, 11:52 AM   #12
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Original Poster
Rep: Reputation: 49
Code:
nm -D /home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1 | head -n 15
00000000 A GCC_3.0
00000000 A GCC_3.3
00000000 A GCC_3.3.1
00000000 A GCC_3.4
00000000 A GCC_3.4.2
00000000 A GCC_4.0.0
00000000 A GCC_4.2.0
00000000 A GCC_4.3.0
00000000 A GCC_4.4.0
00000000 A GCC_4.5.0
00000000 A GLIBC_2.0
         w _Jv_RegisterClasses
00016680 T _Unwind_Backtrace
00016660 T _Unwind_DeleteException
000143f0 T _Unwind_FindEnclosingFunction
 
Old 07-23-2014, 12:05 PM   #13
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 292

Rep: Reputation: 60
ok, your steam client was compiled with gcc 4.5

you can try to move /home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1 in another folder, forcing steam script to load the system one (you might have to repeat this for other libraries)

EDIT: first of all: is this the latest version of steam?

Last edited by gengisdave; 07-23-2014 at 12:09 PM.
 
1 members found this post helpful.
Old 07-23-2014, 02:09 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Whatever fits the task best
Posts: 15,937
Blog Entries: 2

Rep: Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279
The GCC problem is known already by Valve and actively worked on, a future update will provide compatibility with GCC 4.8. In the meantime it worked for me to remove libgcc_s.so.1 (you will want to do that in the amd64 branch od the runtime also, in case you have a 64 bit game).
 
Old 07-27-2014, 04:40 AM   #15
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 224

Original Poster
Rep: Reputation: 49
Sorry for the late answer.
"mv /home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1 /home/nille/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1.bak" worked, thanks a lot.
I use steamclient-1.0.0.48-i386-1alien but steam also updates itself at start if there's some new update.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the an ftp site for 32bit multilib? for Slackware 14. TrickyRickinOK Slackware 6 04-22-2013 08:21 PM
[SOLVED] problem installing webcam slackware-current 64 multilib afreitascs Slackware 3 12-24-2012 09:17 PM
[SOLVED] 32Bit-current: imagemagick problem marrowsuck Slackware 2 03-30-2012 05:08 AM
Can't compile 32bit program in multilib Slack64 scheepster Slackware 3 05-27-2011 06:39 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration