3D Driver Issues under Wine (lib32 mesa)


#1

I know Manjaro has lib32 support off the box and all, but having a few issues.

Let me explain:
Trying to run some games under Wine (POL is also installed).
When running games that require 3D support this message gets displayed:

WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM s

Doing a bit more digging, turns out that 3D acceleration is not being used under Wine; so makes me wonder if my driver is at fault or not.
Using the Open Source driver at the moment.

Here’s a bit more info:

glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD SUMO (DRM 2.50.0 / 4.14.85-1-MANJARO, LLVM 7.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 18.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

Looks like it is installed by default but not loaded at boot time?

sudo lsof | grep ^Xorg | egrep '_drv.so|_dri.so' | egrep 'radeon|r?00'
Xorg        579                    root  mem       REG                8,2   12142784   10498706 /usr/lib/dri/r600_dri.so
Xorg        579                    root  mem       REG                8,2     514304    9977673 /usr/lib/xorg/modules/drivers/radeon_drv.so
sudo  egrep '_drv.so|_dri.so' /var/log/Xorg.0.log | egrep 'radeon|r?00'
[    37.560] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so

So, looks like the driver doesn’t quite load at boot or something else is at hand.
Any tips would be appreciated.


#2

Add to .profile, in your home directory, this line:
export WINEARCH = "win64"
Also, is lib32-mesa installed ?


#3

Yes it is.

multilib/lib32-mesa 18.2.6-0 [installed]
multilib/lib32-mesa-demos 8.4.0-1 [installed]
multilib/lib32-mesa-vdpau 18.2.6-0 [installed]

#4

There is a Kernel driver (radeon), a Xorg driver (xf86-video-ati) and a Mesa driver (r600g). and I cant see that any of them are not loaded with your output.

It could be that wine requires a OpenGL extension that your card cant deal with. It also could be that your driver does not provide something that is needed (remember that the HD3000 - HD5000 generations was the range that was badly supported on Linux.


#5

You may be right. Hate to say it but this machine is not design with gaming capabilities; although some light gaming can be done I might be asking too much out off it.

Anyways, thanks for the help guys.


#6

Sumo is Llano, which is dx11 TeraScale.
It’s not really a top citizen like GCN of course, but it’s more than usable and working.

And WINED3D_DEVICE_TYPE_HAL [...] stub! warnings are pretty meaningless afaik.
I’m not sure what clue would give away 3D is not working. If the driver actually failed to load, you’d see another line of log telling you that.