From: bugzilla-daemon@freedesktop.org Subject: [Bug 78453] [HAWAII] Get acceleration working Date: Tue, 27 May 2014 09:30:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0954269536==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 32C416E64C for ; Tue, 27 May 2014 02:30:33 -0700 (PDT) In-Reply-To: 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 --===============0954269536== Content-Type: multipart/alternative; boundary="1401183033.AbB754d2.22688"; charset="us-ascii" --1401183033.AbB754d2.22688 Date: Tue, 27 May 2014 09:30:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D78453 --- Comment #69 from Michel D=C3=A4nzer --- First of all, let me remind both of you to make sure si_get_backend_mask() = gets the information from the kernel, and to use my patch which disables tiling = as much as possible for now. Also, might be worth testing with R600_DEBUG=3Dnodma for now, to prevent the userspace code from using the asynchronous DMA engine. (In reply to comment #64) > * egltri_screen from mesa-demos works, outputs a coloured triangle on grey > background for 5s (with 3 monitors attached) That's all it's supposed to do, FWIW. :) (In reply to comment #65) > Sometimes it even works again after a few invocations with garbage, but t= he > triangle is not centered then, but offset to the left or right. The garba= ge > also looks deterministic (always identical for the third and fourth > invocation after a restart). Still, I'd assume in those cases it doesn't actually render anything but ju= st displays leftovers from previous runs. To differentiate that, I built a second copy of egltri_screen with all rendering commands except for glClear() disabled (and a glClearColor() call added for a distinctive clear colour). By running both copies alternatively= , I could be pretty sure whether what I'm seeing was rendered by the current ru= n or just a leftover. (In reply to comment #68) > I can't get EGL to work with newest mesa, with the following messages whe= n trying > to run egltri_screen: > # EGL_LOG_LEVEL=3D"debug" EGL_PLATFORM=3D"drm" ./egltri_screen Does it work if you add EGL_DRIVER=3Degl_dri2 ? > I attached a dmesg with patch 99839 from Christian K=C3=B6nig but NOT pat= ch 99594 > from Alex Deucher, with newest mesa, where I did a "Xorg -retro" start and > then glxinfo (which garbles the screen). I'm afraid it's still too early to test in X. Even without -retro, the GPU = is probably used for some operations via glamor, e.g. for the cursor image. --=20 You are receiving this mail because: You are the assignee for the bug. --1401183033.AbB754d2.22688 Date: Tue, 27 May 2014 09:30:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 69 on bug 78453<= /a> from Michel D=C3=A4nzer
First of all, let me remind both of you to make sure si_get_ba=
ckend_mask() gets
the information from the kernel, and to use my patch which disables tiling =
as
much as possible for now.

Also, might be worth testing with R600_DEBUG=3Dnodma for now, to prevent the
userspace code from using the asynchronous DMA engine.


(In reply to comment #64)
> * egltri_screen from mesa-demos works, outputs a=
 coloured triangle on grey
> background for 5s (with 3 monitors attached)

That's all it's supposed to do, FWIW. :)


(In reply to comment #65)
> Sometimes it even works again after a few invoca=
tions with garbage, but the
> triangle is not centered then, but offset to the left or right. The ga=
rbage
> also looks deterministic (always identical for the third and fourth
> invocation after a restart).

Still, I'd assume in those cases it doesn't actually render anything but ju=
st
displays leftovers from previous runs.

To differentiate that, I built a second copy of egltri_screen with all
rendering commands except for glClear() disabled (and a glClearColor() call
added for a distinctive clear colour). By running both copies alternatively=
, I
could be pretty sure whether what I'm seeing was rendered by the current ru=
n or
just a leftover.


(In reply to comment #68)
> I can't get EGL to work with newest mesa, with t=
he following messages when trying
> to run egltri_screen:
>     # EGL_LOG_LEVEL=3D"debug" EGL_PLATFORM=3D"drm"=
 ./egltri_screen

Does it work if you add EGL_DRIVER=3Degl_dri2 ?


> I attached a dmesg with patch 99839 from Christi=
an K=C3=B6nig but NOT patch 99594
> from Alex Deucher, with newest mesa, where I did a "Xorg -retro&q=
uot; start and
> then glxinfo (which garbles the screen).

I'm afraid it's still too early to test in X. Even without -retro, the GPU =
is
probably used for some operations via glamor, e.g. for the cursor image.
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1401183033.AbB754d2.22688-- --===============0954269536== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0954269536==--