Wine 32 bits doesn't launch 3D applications (libGL i965)


#1

I guess this refers to our graphics layer, and is not specific to Wine.

It yields the following:

libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so [...]

Checking the driver linking, everything seems OK:

ldd /usr/local/lib/dri/i965_dri.so
/usr/local/lib/dri/i965_dri.so:
	libcrypto.so.38 => /usr/local/lib/libcrypto.so.38 (0x8018d1000)
	libdrm_intel.so.1 => /usr/local/lib/libdrm_intel.so.1 (0x801cad000)
	libdrm_radeon.so.1 => /usr/local/lib/libdrm_radeon.so.1 (0x801ed1000)
	libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x8020dc000)
	libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x8022ed000)
	libthr.so.3 => /lib/libthr.so.3 (0x802518000)
	libc++.so.1 => /usr/lib/libc++.so.1 (0x802740000)
	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802a07000)
	libm.so.5 => /lib/libm.so.5 (0x802c25000)
	libc.so.7 => /lib/libc.so.7 (0x800824000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802e50000)
	libdevq.so.0 => /usr/local/lib/libdevq.so.0 (0x803066000)
	libpciaccess.so.0 => /usr/local/lib/libpciaccess.so.0 (0x80326a000)
	libprocstat.so.1 => /usr/lib/libprocstat.so.1 (0x803471000)
	libelf.so.2 => /lib/libelf.so.2 (0x80367b000)
	libkvm.so.7 => /lib/libkvm.so.7 (0x803893000)
	libutil.so.9 => /lib/libutil.so.9 (0x803aa1000)

Intel 3D accelerated video driver working here, of course.

Does anyone know what can be missing here? Or what could be done to find it out?

Thanks.


#2

With LIBGL_DEBUG=verbose I’ve found out the path to the correct library. It should be:

ldd /usr/local/lib32/dri/i965_dri.so
/usr/local/lib32/dri/i965_dri.so:
	libcrypto.so.8 => not found (0)
	libdrm_intel.so.1 => not found (0)
	libdrm_radeon.so.1 => not found (0)
	libdrm.so.2 => not found (0)
	libexpat.so.1 => not found (0)
	libthr.so.3 => /usr/lib32/libthr.so.3 (0x28bcf000)
	libc++.so.1 => /usr/lib32/libc++.so.1 (0x28bf2000)
	libcxxrt.so.1 => /usr/lib32/libcxxrt.so.1 (0x28cb0000)
	libm.so.5 => /usr/lib32/libm.so.5 (0x28cc9000)
	libc.so.7 => /usr/lib32/libc.so.7 (0x28072000)
	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0x28cf6000)

How can I locate the packages needed to install the missing 32 bit libraries?

EDIT: Now I see that the missing files are installed in the /usr/local/lib32 folder, except libcrypto.so.8 - though there are libcrypto.so.6 and libcrypto.so.7 in the /usr/local/lib32/compat folder. How can I get this libcrypto.so.8 missing file?


#3

With current STABLE updates, Wine launches 3D applications. It works, though it’s not loading i965 driver. I suppose it should, shouldn’t it?
This is the relevant part of the console log:

Querying current desktop resolution...
Irrlicht Engine version 1.6.1
Microsoft Windows 98 SE 
Cached original resolution: 1366x768
Irrlicht says: Irrlicht Engine version 1.6.1
Irrlicht says: Microsoft Windows 98 SE 
get chip id failed: -1 [14]
param: 4, val: 0
[intel_init_bufmgr:1193] Error initializing buffer manager.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
Irrlicht says: Using renderer: OpenGL 3.0
Irrlicht says: Gallium 0.4 on llvmpipe (LLVM 4.0, 128 bits): VMware, Inc.
Irrlicht says: OpenGL driver version is 1.2 or better.
Irrlicht says: GLSL version: 1.3
Fullscreen: 1
VSync: 1
Max render FPS: 60.0

Is it correct? Whom should it be reported? Wine? libGL? OpenGL? Intel video driver? TrueOS?
Any help is appreciated. Thanks.