Tiny Core Extensions > TCE Bugs

Segfault in swrast_dri.so

(1/3) > >>

andyj:
I'm trying to build/run the Qt5 diving computer app Subsurface, but it segfaults in swrast_dri.so. It works on a non-accelerated video platform like ESXi, but fails on VMware. Glxgears dies too, the same way, which used to work a while ago. Glxinfo gives lots of data but no errors. I think I have all the extensions updated. This is on 64-bit, I haven't tried it on 32-bit yet. What other apps could I test? I tried some videos with Chrome but I didn't have any problems.

coreplayer2:
Hi Andy,  Isn't swrast_dri.so the OpenGL driver?    Anyhow GLXGears and GLXInfo is working fine with the Nvidia drivers and Hardware..

andyj:
Glmark2 dies too, same way. Here's some more info:


--- Code: ---X.Org X Server 1.19.5
Release Date: 2017-10-12
[    31.823] (II) LoadModule: "vmware"
[    31.823] (II) Loading /usr/local/lib/xorg/modules/drivers/vmware_drv.so
[    31.856] (II) Module vmware: vendor="X.Org Foundation"
[    31.857]    compiled for 1.19.3, module version = 13.2.1
[    31.857]    Module class: X.Org Video Driver
[    31.857]    ABI class: X.Org Video Driver, version 23.0
...
[    31.869] (II) Loading sub module "dri2"
[    31.869] (II) LoadModule: "dri2"
[    31.869] (II) Module "dri2" already built-in
[    31.869] (II) UnloadModule: "modesetting"
[    31.869] (II) Unloading modesetting
[    31.869] (II) UnloadModule: "vesa"
[    31.869] (II) Unloading vesa
[    31.869] (==) Depth 24 pixmap format is 32 bpp
[    31.869] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[    31.870] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[    31.870] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[    31.870] (--) vmware(0): Render acceleration is disabled.
[    31.870] (==) vmware(0): Rendercheck mode is disabled.
[    31.870] (--) vmware(0): Direct rendering (3D) is disabled.
[    31.870] (==) vmware(0): Backing store enabled
[    31.870] (==) vmware(0): Silken mouse enabled
[    31.870] (II) vmware(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    31.870] (==) vmware(0): DPMS enabled
[    31.870] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[    31.870] (--) RandR disabled
[    31.871] (II) AIGLX: Screen 0 is not DRI2 capable
[    31.871] (EE) AIGLX: reverting to software rendering
[    31.876] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[    31.877] (II) IGLX: Loaded and initialized swrast
[    31.877] (II) GLX: Initialized DRISWRAST GL provider for screen 0

--- End code ---

Maybe vmware_drv is out of date?

Juanito:
vmware_drv from the xf86-video-vmware extension was updated with the last Xorg-7.7 update in Oct 2017.

I don't see any problems with swrast_dri.so on real hardware with the intel and modesetting drivers with blender, darktable, gimp, ocltoys, etc

andyj:
I'm using the open source radeon driver on my box with Slackware and I don't have a problem either. Nor do I when I installed opensuse leap 42.3 in a VM on this box. Looking at glxinfo between the two VM's I see:

Leap:


--- Code: ---OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.0.5
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.0 Mesa 17.0.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

--- End code ---

And on TC:


--- Code: ---OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 4.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.2.0
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.0 Mesa 17.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

--- End code ---

The big difference I see is the lack of Gallium detection in TC. I'm not sure how to chase that down. Did something get broken into optional libraries?

Navigation

[0] Message Index

[#] Next page

Go to full version