meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: "Rudolf J Streif" <rudolf.streif@ibeeto.com>
To: Peter Bergin <peter@berginkonsult.se>,
	meta-freescale@lists.yoctoproject.org
Subject: Re: Weston on iMX8MM
Date: Mon, 8 Mar 2021 07:49:17 -0800	[thread overview]
Message-ID: <e4ba949e-5015-88aa-fcd5-5a2b995d24c3@ibeeto.com> (raw)
In-Reply-To: <e9340e9e-f52c-5704-ed70-f1b30d61584b@berginkonsult.se>


[-- Attachment #1.1.1: Type: text/plain, Size: 2867 bytes --]

Hi Peter,

On 3/7/21 12:38 PM, Peter Bergin wrote:
> Hi Rudi,
>
> On 2021-03-06 17:26, Rudolf J Streif wrote:
>> I am having trouble getting Weston to work on an iMX8MM board. I am 
>> using Yocto Project Gatesgarth.
>>
>> When starting Weston I am seeing these messages:
>>
>> # weston
>> Date: 2021-03-06 UTC
>> [16:18:20.776] weston 8.0.0
>>                https://wayland.freedesktop.org
>>                Bug reports to: 
>> https://gitlab.freedesktop.org/wayland/weston/issues/
>>                Build: 8.0.0-31-gf6a7d356+
>> [16:18:20.776] Command line: weston
>> [16:18:20.776] OS: Linux, 4.14.98-master+gb175405, #1 SMP PREEMPT Thu 
>> Dec 24 04:37:11 UTC 2020, aarch64
>> [16:18:20.776] Using config file '/etc/xdg/weston/weston.ini'
>> [16:18:20.777] Output repaint window is 16 ms maximum.
>> [16:18:20.777] Loading module '/usr/lib/libweston-8/drm-backend.so'
>> [16:18:20.781] initializing drm backend
>> [16:18:20.788] logind: session control granted
>> [16:18:20.792] using /dev/dri/card0
>> [16:18:20.792] DRM: supports universal planes
>> [16:18:20.792] DRM: supports atomic modesetting
>> [16:18:20.792] DRM: does not support picture aspect ratio
>> [16:18:20.792] Loading module '/usr/lib/libweston-8/g2d-renderer.so'
>> [     1] Failed to open device: No such file or directory, Try again...
>> [     2] Failed to open device: No such file or directory, Try again...
>> [     3] Failed to open device: No such file or directory, Try again...
>> [     4] Failed to open device: No such file or directory, Try again...
>> [     5] _OpenDevice(1245): FATAL: Failed to open device, errno=No 
>> such file or directory.
>>
>> Unfortunately, I don't know what the device is that it fails to open, 
>> nor does it tell me which module causes the problem. I'd appreciate 
>> feedback if somebody has run into a similar issue.
>>
>> Thank you,
>>
>> Rudi
>>
> I previously have had trouble with wrong permissions on /dev/galcore. 
> Since a while weston is started as non-root 
> (https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=ccdaab972e1d03087f9de0eae605008eaada7cd1). 
> This requires the dev nodes to belong to video group as set up by the 
> recipe udev-rules-imx.bb 
> (https://github.com/Freescale/meta-freescale/blob/master/recipes-core/udev/udev-rules-imx/10-imx.rules). 
> In my case I baked my own image with NO_RECOMMENDATION=1 and then I 
> missed the udev rule. I don't have a clue if this is what you see but 
> probably worth looking in to.
>
Thank you for your response. I have been starting Weston as root. 
However, my system does not have a /dev/galcore device. Maybe there is 
an issue with the driver.


> Best regards,
> /Peter
>
>
-- 
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700


[-- Attachment #1.1.2: OpenPGP_0x8D8CA82927339B75.asc --]
[-- Type: application/pgp-keys, Size: 1717 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 505 bytes --]

      reply	other threads:[~2021-03-08 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06 16:26 Weston on iMX8MM Rudolf J Streif
2021-03-07 20:38 ` Peter Bergin
2021-03-08 15:49   ` Rudolf J Streif [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e4ba949e-5015-88aa-fcd5-5a2b995d24c3@ibeeto.com \
    --to=rudolf.streif@ibeeto.com \
    --cc=meta-freescale@lists.yoctoproject.org \
    --cc=peter@berginkonsult.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).