How to get Weston running on Solidruns Hummingboard2 / GC2000

Torsten Sievers torstensievers at googlemail.com
Wed Jul 19 17:30:01 UTC 2017


Hi,

some update from my side.

I updated the device now to mesa-git
(revision 2412c4c81ea0488df865817a0de91ec46e359b72), wayland-protocols-1.9,
wayland-1.13.91 and weston 2.99.91
The problem still persists.

However i noticed in dmesg sporadic lines. I am uncertain if they are
related to the problem.

The dmesg line is       alloc_contig_range: [4e087, 4e088) PFNs busy

The message is always showing the same address.
When running weston-simple-egl the messages comes in a pack of 1-6 messages
within half a second and then the next pack comes in about 1-5 seconds
later. As soon as I stop weston-simple-egl the message disappears.
when running weston-simple-shm  the same message comes in as well, but only
1-2 messages per second, with 1-2 seconds gaps. In contrast to
weston-simple-egl the display of weston-simple-shm looks good.

Further glmark2 with drm-glesv2 backend is running visually fine on almost
all tests (only exception i noticed was terrain, where it is complaining
about shaders).

any clue where i should dig in to understand why the weston-simple-egl is
distorted?

Best regards
  Torsten


2017-07-19 14:48 GMT+02:00 Torsten Sievers <torstensievers at googlemail.com>:

> Hi everybody,
>
> i am fighting a bit with my Hummingboard2 at the moment. It is a dual core
> version with the GC2000 GPU.
>
> I want to run Weston on it. So far i succeeded with it, however running
> weston-simple-egl either results in a hidden triangle or a distorted one.
>
> But let me explain step by step.
>
>
> I started with Yocto Pyro and it is as such running fine with kernel
> 4.9.21-fslc and weston 2.0
>
> When I use  the standard packages from Pyro (libdrm 2.4.75 and mesa 17.0.2
> ) i get:
> - kmscube starting up and showing the smooth cube, however the rgba
> textured cube is just black.
> - weston starts up and applications like weston-smoke, weston-flower etc
> are working fine
> - however executing weston-simple-egl does not show anything on the
> screen. On the console it is reporting back around 20 fps on the console.
> No obvious errors are logged (neither in console, nor weston log nor
> console)
>
> Then I have upgraded the packages to 2.4.82 and 17.1.5. Now i get:
> - kmscube working fine with smooth and textured cube.
> - weston-simple-egl shows a translucent background and the rotating
> triangle but it is heavily distored. At least you can guess the rotation is
> working.
> Again no errors and the console reporting back around 20 fps.
>
>
> I already played a bit with the cma cmdline values for the kernel but i am
> staying at 32M at the moment.
>
> Anyone has a clue what is wrong?
> Is it worth to go for the git-heads of libdrm and mesa and give it a retry?
>>  IMG_20170719_140405_01.jpg
> <https://drive.google.com/file/d/0Bw9RTSYbUCcAZGtQUF9vUi1FTVE/view?usp=drive_web>
>> many thanks and best regards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20170719/9081547c/attachment.html>


More information about the etnaviv mailing list