[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831901: xserver-xorg-core: no hardware assisted 3D acceleration using modesetting driver on Sandybridge



On Wed, Jul 20, 2016 at 06:51:21PM +0200, Martin Steigerwald wrote:
> Package: xserver-xorg-core
> Version: 2:1.18.4-1
> Severity: important
> 
> Dear Timo, dear Maintainers,
> 
> as apt-listchanges informed me that with newest X server modesetting driver
> is now default, I tried it.
> 
> It basically works, but subjectively feels a bit more sluggish (expected,
> but read on why).
> 
> 
> But kwin_x11 doesn´t enable OpenGL compositor anymore but falls back to
> XRender:
> 
> OpenGL vendor string:                   VMware, Inc.
> OpenGL renderer string:                 Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
> OpenGL version string:                  3.0 Mesa 12.0.1
> OpenGL shading language version string: 1.30
> Driver:                                 LLVMpipe
> GPU class:                              Unknown
> OpenGL version:                         3.0
> GLSL version:                           1.30
> Mesa version:                           12.0.1
> X server version:                       1.18.4
> Linux kernel version:                   4.7
> Requires strict binding:                yes
> GLSL shaders:                           yes
> Texture NPOT support:                   yes
> Virtual Machine:                        no
> kwin_core: OpenGL driver recommends XRender based compositing. Falling back to XRender.
> kwin_core: To overwrite the detection use the environment variable KWIN_COMPOSE
> kwin_core: For more information see http://community.kde.org/KWin/Environment_Variables#KWIN_COMPOSE
> kwin_core: Failed to initialize compositing, compositing disabled
> 
> 
> glxinfo agrees that LLVMpipe OpenGL renderer is active instead of the Intel mesa
> driver:
> 
>     Vendor: VMware, Inc. (0xffffffff)
>     Device: llvmpipe (LLVM 3.8, 256 bits) (0xffffffff)
>     Version: 12.0.1
>     Accelerated: no
>     Video memory: 15829MB
>     Unified memory: no
>     Preferred profile: core (0x1)
>     Max core profile version: 3.3
>     Max compat profile version: 3.0
>     Max GLES1 profile version: 1.1
>     Max GLES[23] profile version: 3.0
> 
> 
> 
> >From the Xorg log it looks like initialization of OpenGL based Glamor
> 2D acceleration also fails:
> 
> [ 47090.425] (II) Loading sub module "glamoregl"
> [ 47090.425] (II) LoadModule: "glamoregl"
> [ 47090.425] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
> [ 47090.432] (II) Module glamoregl: vendor="X.Org Foundation"
> [ 47090.432] »··compiled for 1.18.4, module version = 1.0.0
> [ 47090.432] »··ABI class: X.Org ANSI C Emulation, version 0.4
> [ 47090.432] (II) glamor: OpenGL accelerated X.org driver based.
> [ 47090.452] (EE) modeset(0): eglInitialize() failed
> [ 47090.452] (EE) modeset(0): glamor initialization failed
> 

Yep EGL failed to initialize.


snip

> 
> Versions of packages xserver-xorg-core depends on:
> ii  keyboard-configuration    1.147
> ii  libaudit1                 1:2.6.5-1
> ii  libc6                     2.23-2
> ii  libdbus-1-3               1.10.8-1
> ii  libdrm2                   2.4.68-1
> ii  libegl1-mesa              12.0.1-3
> ii  libepoxy0                 1.3.1-1
> ii  libgbm1                   11.2.2-1

If you use mesa from experimental you need to upgrade all binary
packages of mesa.
Upgrading libgbm1 to version 12.0.1-3 should fix glamor and 3d acceleration.

Thanks,
Andreas

> ii  libgcrypt20               1.7.2-2
> ii  libgl1-mesa-glx [libgl1]  12.0.1-3
> ii  libpciaccess0             0.13.4-1
> ii  libpixman-1-0             0.33.6-1
> ii  libselinux1               2.5-3
> ii  libsystemd0               230-7
> ii  libudev1                  230-7
> ii  libxau6                   1:1.0.8-1
> ii  libxdmcp6                 1:1.1.2-1.1
> ii  libxfont1                 1:1.5.1-1
> ii  libxshmfence1             1.2-1
> ii  udev                      230-7
> ii  xserver-common            2:1.18.4-1
> 
> Versions of packages xserver-xorg-core recommends:
> ii  libgl1-mesa-dri  12.0.1-3
> ii  libpam-systemd   230-7
> 
> Versions of packages xserver-xorg-core suggests:
> ii  xfonts-100dpi    1:1.0.4+nmu1
> ii  xfonts-75dpi     1:1.0.4+nmu1
> ii  xfonts-scalable  1:1.0.3-1.1
> 
> -- no debconf information

Attachment: signature.asc
Description: Digital signature


Reply to: