From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108487] Wayland compositors are unable to use hardware acceleration on i915 Date: Thu, 18 Oct 2018 17:51:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1672045623==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B53F6E07D for ; Thu, 18 Oct 2018 17:51:08 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1672045623== Content-Type: multipart/alternative; boundary="15398850680.8Fb26E98.9226" Content-Transfer-Encoding: 7bit --15398850680.8Fb26E98.9226 Date: Thu, 18 Oct 2018 17:51:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108487 Bug ID: 108487 Summary: Wayland compositors are unable to use hardware acceleration on i915 Product: Mesa Version: 18.2 Hardware: Other OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/i915 Assignee: dri-devel@lists.freedesktop.org Reporter: magiblot@hotmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 142082 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142082&action=3Dedit Error messages printed by weston when attempted to run from tty. Hello, On my i915 system (Intel Atom N455 + Intel GMA 3150), Wayland compositors a= re unable to use hardware acceleration. I have tried KWin (KDE Plasma), Sway a= nd weston. Sway uses llvmpipe software rendering. Plasma 5 showed an error message sim= ilar to 'Could not initialize OpenGL' until version 5.13.0, when it began to fall back on software rendering as well. weston justs reveals the error messages 'failed to create gbm surface' / 'Failed to init output gl state' nowadays = with its default configuration on Arch Linux x86_64. Of course, there are no such issues on X11 sessions or when booting the same installation of linux in another computer that's not i915. Here is some relevant output from glxinfo on X11: > Extended renderer info (GLX_MESA_query_renderer): > Vendor: Intel Open Source Technology Center (0x8086) > Device: Mesa DRI Intel(R) Pineview M (0xa011) > Version: 18.2.2 > Accelerated: yes > Video memory: 384MB > Unified memory: yes > Preferred profile: compat (0x2) > Max core profile version: 0.0 > Max compat profile version: 1.4 > Max GLES1 profile version: 1.1 > Max GLES[23] profile version: 2.0 > OpenGL vendor string: Intel Open Source Technology Center > OpenGL renderer string: Mesa DRI Intel(R) Pineview M=20 > OpenGL version string: 2.1 Mesa 18.2.2 > OpenGL shading language version string: 1.20 > OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.2.2 > OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.= 16 I'm also attaching the entire startup log from weston which contains the er= ror messages I mentioned above. I don't know if this is a bug or if it's a limitation of my hardware. In any case, I thought it best to report the issue here. Please ask me for any fur= ther information you need. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= --15398850680.8Fb26E98.9226 Date: Thu, 18 Oct 2018 17:51:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 108487
Summary Wayland compositors are unable to use hardware acceleration o= n i915
Product Mesa
Version 18.2
Hardware Other
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/DRI/i915
Assignee dri-devel@lists.freedesktop.org
Reporter magiblot@hotmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 142082 [details]
Error messages printed by weston when attempted to run from tty.

Hello,

On my i915 system (Intel Atom N455 + Intel GMA 3150), Wayland compositors a=
re
unable to use hardware acceleration. I have tried KWin (KDE Plasma), Sway a=
nd
weston.

Sway uses llvmpipe software rendering. Plasma 5 showed an error message sim=
ilar
to 'Could not initialize OpenGL' until version 5.13.0, when it began to fall
back on software rendering as well. weston justs reveals the error messages
'failed to create gbm surface' / 'Failed to init output gl state' nowadays =
with
its default configuration on Arch Linux x86_64.

Of course, there are no such issues on X11 sessions or when booting the same
installation of linux in another computer that's not i915.

Here is some relevant output from glxinfo on X11:

> Extended renderer info (GLX_MESA_query_renderer):
>     Vendor: Intel Open Source Technology Center (0x8086)
>     Device: Mesa DRI Intel(R) Pineview M  (0xa011)
>     Version: 18.2.2
>     Accelerated: yes
>     Video memory: 384MB
>     Unified memory: yes
>     Preferred profile: compat (0x2)
>     Max core profile version: 0.0
>     Max compat profile version: 1.4
>     Max GLES1 profile version: 1.1
>     Max GLES[23] profile version: 2.0
> OpenGL vendor string: Intel Open Source Technology Center
> OpenGL renderer string: Mesa DRI Intel(R) Pineview M=20
> OpenGL version string: 2.1 Mesa 18.2.2
> OpenGL shading language version string: 1.20
> OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.2.2
> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1=
.0.16

I'm also attaching the entire startup log from weston which contains the er=
ror
messages I mentioned above.

I don't know if this is a bug or if it's a limitation of my hardware. In any
case, I thought it best to report the issue here. Please ask me for any fur=
ther
information you need.

Thanks.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15398850680.8Fb26E98.9226-- --===============1672045623== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1672045623==--