i386 apps use wrong libGL

Bug #1359960 reported by Sam Segers on 2014-08-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer-updates (Ubuntu)

Bug Description

I'm having issues with the propertary ATI drivers and i386 apps. FI steam and the ubuntu-emulator. I get no HWA.

It seems to be a problem with the existance of both /usr/lib32/fglrx/libGL.so.1.2 and /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 the first is from fglrx-updates and the second is from libgl1-mesa-glx:i386

If I set LD_LIBRARY_PATH to /usr/lib32/fglrx the issue is gone

/etc/ld.so.conf.d contain the following files:

fakeroot-x86_64-linux-gnu.conf x86_64-linux-gnu_EGL.conf
i386-linux-gnu.conf x86_64-linux-gnu_GL.conf
i386-linux-gnu_GL.conf x86_64-linux-gnu_mirclientplatform.conf
i686-linux-gnu.conf x86_64-linux-gnu_mirplatformgraphics.conf
libc.conf zz_i386-biarch-compat.conf
x86_64-linux-gnu.conf zz_x32-biarch-compat.conf

with x86_64-linux-gnu_GL.conf containing the link to the propretairy driver libGL but i386-linux-gnu_GL.conf contains the libgl that is used before the ATI one.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: fglrx-updates 2:13.350.1-0ubuntu4
ProcVersionSignature: Ubuntu 3.16.0-9.14-generic 3.16.1
Uname: Linux 3.16.0-9-generic x86_64
NonfreeKernelModules: fglrx

ApportVersion: 2.14.6-0ubuntu2
Architecture: amd64
 Scanning for Btrfs filesystems
  * Setting sensors limits 
[ OK ]
  * Setting up X socket directories... 
[ OK ]
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,place,imgpng,move,gnomecompat,vpswitch,grid,mousepoll,unitymtgrabhandles,resize,regex,session,animation,wall,workarounds,wobbly,fade,expo,scale,opacify,ezoom,unityshell]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Aug 21 22:22:17 2014
DistUpgraded: 2014-05-12 23:28:35,924 DEBUG enabling apt cron job
DistroCodename: utopic
DistroVariant: ubuntu
 fglrx-updates, 13.350.1, 3.16.0-9-generic, x86_64: installedError! Could not locate dkms.conf file.
 File: does not exist.
 Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0] (prog-if 00 [VGA controller])
   Subsystem: Sony Corporation Device [104d:9071]
InstallationDate: Installed on 2012-02-02 (930 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 003: ID 0c45:6409 Microdia Webcam
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Sony Corporation VPCEB2E1E
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-9-generic root=UUID=575944b7-2e98-4fb9-82b9-8a46729cc3bf ro quiet splash vt.handoff=7
SourcePackage: fglrx-installer-updates
SystemImageInfo: Error: [Errno 2] Bestand of map bestaat niet: 'system-image-cli'
UpgradeStatus: Upgraded to utopic on 2014-05-12 (100 days ago)
dmi.bios.date: 07/20/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0300Y8
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0300Y8:bd07/20/2010:svnSonyCorporation:pnVPCEB2E1E:pvrC605LR4L:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VPCEB2E1E
dmi.product.version: C605LR4L
dmi.sys.vendor: Sony Corporation
version.compiz: compiz 1:0.9.12+14.10.20140812-0ubuntu1
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.56-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.2.5-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.2.5-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu9
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Thu Aug 21 20:20:19 2014
xserver.configfile: default
 open /dev/dri/card0: No such file or directory
 AIGLX error: failed to open /usr/X11R6/lib64/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
 AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
 AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.15.1-0ubuntu9
xserver.video_driver: fglrx

Sam Segers (sam-sgrs) wrote :
Sam Segers (sam-sgrs) wrote :

This was because i386-linux-gnu_gl_conf alternative was not set to auto.
Didn't change this manual.

boussad (picks) wrote :

I sort of remember that with the older drivers, I had to use primus as a bridge with 32-bit Wine programs:

optirun -b primus wine <windows program.exe>

or another workaround:

optirun bash
optirun wine <windows program.exe>

see: https://bluestacks.vip/ , https://kodi.software/ & https://luckypatcher.pro/

To post a comment you must log in.