meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Weston on iMX8MM
@ 2021-03-06 16:26 Rudolf J Streif
  2021-03-07 20:38 ` Peter Bergin
  0 siblings, 1 reply; 3+ messages in thread
From: Rudolf J Streif @ 2021-03-06 16:26 UTC (permalink / raw)
  To: meta-freescale


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

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




[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weston on iMX8MM
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Bergin @ 2021-03-07 20:38 UTC (permalink / raw)
  To: Rudolf J Streif, meta-freescale

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.

Best regards,
/Peter



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weston on iMX8MM
  2021-03-07 20:38 ` Peter Bergin
@ 2021-03-08 15:49   ` Rudolf J Streif
  0 siblings, 0 replies; 3+ messages in thread
From: Rudolf J Streif @ 2021-03-08 15:49 UTC (permalink / raw)
  To: Peter Bergin, meta-freescale


[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-08 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).