All of lore.kernel.org
 help / color / mirror / Atom feed
* Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
@ 2015-09-23 12:47 Vikas Patil
  2015-10-05 21:20 ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Vikas Patil @ 2015-09-23 12:47 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]

Hi All,

I am getting following error while starting weston. Anyone knows what is
going wrong here? Could you give some suggestions/input to fix this? Do I
also need to add the
weston patches from fido branch to master branch of meta-fsl-arm?

root@linux:~# mkdir /var/run/root
root@linux:~# mkdir /var/run/root/1000
root@linux:~# export XDG_RUNTIME_DIR=/var/run/root/1000
root@linux:~# weston --tty=1 --backend=fbdev-backend.so --device=/dev/fb0
--no-config
Date: 1970-01-01 UTC
[00:00:56.863] weston 1.8.0
               http://wayland.freedesktop.org
               Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.8.0
               Build: 1.7.93-7-g2567c93 configure.ac: bump to version 1.8.0
for the official release (2015-06-02 16:23:53 -0700)
[00:00:56.863] OS: Linux, 3.14.28+, #1 Mon Sep 14 06:07:56 UTC 2015, armv7l
[00:00:56.863] warning: XDG_RUNTIME_DIR "/var/run/root/1000" is not
configured
correctly.  Unix access mode must be 0700 (current mode is 755),
and must be owned by the user (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[00:00:56.864] Starting with no config file.
[00:00:56.866] Loading module '/usr/lib/weston/fbdev-backend.so'
[00:00:56.930] initializing fbdev backend
[00:00:56.931] Output repaint window is 7 ms maximum.
[00:00:56.932] logind: not running in a systemd session
[00:00:56.932] logind: cannot setup systemd-logind helper (-2), using
legacy fallback
[00:00:56.932] compositor->use_gal2d=0
[00:00:56.934] Loading module '/usr/lib/weston/gl-renderer.so'
[00:00:56.938] warning: either no EGL_EXT_platform_base support or specific
platform support; falling back to eglGetDisplay.
[00:00:56.940] failed to create display
[00:00:56.940] EGL error state: EGL_BAD_ALLOC (0x3003)
[00:00:56.940] gl_renderer_create failed.
[00:00:57.016] fatal: failed to create compositor

Platform Configuration used:

- wayland 1.8.1 (master branch)
- weston 1.8.0 (master branch from open embedded
http://layers.openembedded.org/layerindex/recipe/5059/ )
- weston_%.bbappend (
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-graphics/wayland/weston_%25.bbappend?h=master
)
- vivante gfx driver (i.e.imx-gpu-viv_5.0.11.p7.1-hfp)
- Linux 3.14.28 (inbuilt vivante gpu driver)
- i.MX6 solo based custom platform

Thanks & Regards,
Vikash

[-- Attachment #2: Type: text/html, Size: 3150 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-09-23 12:47 Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp Vikas Patil
@ 2015-10-05 21:20 ` Otavio Salvador
  2015-10-06  4:31   ` Vikas Patil
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2015-10-05 21:20 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

On Wed, Sep 23, 2015 at 9:47 AM, Vikas Patil <vikasmpatil@gmail.com> wrote:
> I am getting following error while starting weston. Anyone knows what is
> going wrong here? Could you give some suggestions/input to fix this? Do I
> also need to add the
> weston patches from fido branch to master branch of meta-fsl-arm?

Have you succeed in making it work?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-05 21:20 ` Otavio Salvador
@ 2015-10-06  4:31   ` Vikas Patil
  2015-10-06 11:32     ` Otavio Salvador
  0 siblings, 1 reply; 13+ messages in thread
From: Vikas Patil @ 2015-10-06  4:31 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]

Hi Otavio,

I tried but it is not working with imx-gpu-viv_5.0.11.p7.1-hfp.

Then I replaced the vivante gfx driver to imx-gpu-viv_5.0.11.p4.5-hfp and
it worked but still the touch input not working as new libinput based input
backend requires input device to be tagged by udev as "ID_INPUT" and
"ID_INPUT_TOUCHSCREEN". I am not sure for this if the udev daemon needs to
be running as my system uses mdev. See the detailed issue at
http://lists.freedesktop.org/archives/wayland-devel/2015-September/024467.html.


I also tried weston 1.6.0 from meta-ivi 9.0 branch and facing issue with QT
opengl application. See details at
https://community.freescale.com/message/573665#573665.

Could you please let me know if you have any suggestion on above issues I
am facing?

Thanks & Regards,
Vikash



On Tue, Oct 6, 2015 at 2:50 AM, Otavio Salvador <
otavio.salvador@ossystems.com.br> wrote:

> On Wed, Sep 23, 2015 at 9:47 AM, Vikas Patil <vikasmpatil@gmail.com>
> wrote:
> > I am getting following error while starting weston. Anyone knows what is
> > going wrong here? Could you give some suggestions/input to fix this? Do I
> > also need to add the
> > weston patches from fido branch to master branch of meta-fsl-arm?
>
> Have you succeed in making it work?
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>

[-- Attachment #2: Type: text/html, Size: 2418 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-06  4:31   ` Vikas Patil
@ 2015-10-06 11:32     ` Otavio Salvador
  2015-10-06 12:58       ` Vikas Patil
  0 siblings, 1 reply; 13+ messages in thread
From: Otavio Salvador @ 2015-10-06 11:32 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale, Prabhu Sundararaj

On Tue, Oct 6, 2015 at 1:31 AM, Vikas Patil <vikasmpatil@gmail.com> wrote:
> I tried but it is not working with imx-gpu-viv_5.0.11.p7.1-hfp.
>
> Then I replaced the vivante gfx driver to imx-gpu-viv_5.0.11.p4.5-hfp and it
> worked

Great. This proves it is related to the GPU driver.

> but still the touch input not working as new libinput based input
> backend requires input device to be tagged by udev as "ID_INPUT" and
> "ID_INPUT_TOUCHSCREEN". I am not sure for this if the udev daemon needs to
> be running as my system uses mdev. See the detailed issue at
> http://lists.freedesktop.org/archives/wayland-devel/2015-September/024467.html.

Using a complete udev could be a valuable test; mdev is limited (but
powerful) and as you are running a graphical backend your seems does
not seem to be so constrained that udev would impose challenges,
resource wise.

> I also tried weston 1.6.0 from meta-ivi 9.0 branch and facing issue with QT
> opengl application. See details at
> https://community.freescale.com/message/573665#573665.
>
> Could you please let me know if you have any suggestion on above issues I am
> facing?

I want to get the kernel module working properly so we can use new GPU
drivers without hassle. Your report indicates it is not yet the case
and I am very concerned about it.

I added Neena and Prabhu, in Cc, so they can also help you with those issues.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-06 11:32     ` Otavio Salvador
@ 2015-10-06 12:58       ` Vikas Patil
  2015-10-06 13:14         ` Otavio Salvador
  2015-10-06 16:34         ` Sundararaj Prabhu
  0 siblings, 2 replies; 13+ messages in thread
From: Vikas Patil @ 2015-10-06 12:58 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Prabhu Sundararaj

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

Hi Otavio,

> Using a complete udev could be a valuable test; mdev is limited (but
> powerful) and as you are running a graphical backend your seems does
> not seem to be so constrained that udev would impose challenges,
> resource wise.

Yes, I also think that. I will give a try as time permits.


> I want to get the kernel module working properly so we can use new GPU
> drivers without hassle. Your report indicates it is not yet the case
> and I am very concerned about it.

Do you mean the in-built "galcore" driver with "imx-gpu-viv_5.0.11.p7.1-hfp"
here?

> I added Neena and Prabhu, in Cc, so they can also help you with those
issues

Thanks for adding these guys.

Regards,
Vikash

[-- Attachment #2: Type: text/html, Size: 1263 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-06 12:58       ` Vikas Patil
@ 2015-10-06 13:14         ` Otavio Salvador
  2015-10-06 16:34         ` Sundararaj Prabhu
  1 sibling, 0 replies; 13+ messages in thread
From: Otavio Salvador @ 2015-10-06 13:14 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale, Prabhu Sundararaj

On Tue, Oct 6, 2015 at 9:58 AM, Vikas Patil <vikasmpatil@gmail.com> wrote:
>> I want to get the kernel module working properly so we can use new GPU
>> drivers without hassle. Your report indicates it is not yet the case
>> and I am very concerned about it.
>
> Do you mean the in-built "galcore" driver with "imx-gpu-viv_5.0.11.p7.1-hfp"
> here?

Yes. Please check the commit:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?id=32cf391ada5ce1e9d16c2332eb0dbb9413e41258

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-06 12:58       ` Vikas Patil
  2015-10-06 13:14         ` Otavio Salvador
@ 2015-10-06 16:34         ` Sundararaj Prabhu
  2015-10-07  4:36           ` Vikas Patil
  1 sibling, 1 reply; 13+ messages in thread
From: Sundararaj Prabhu @ 2015-10-06 16:34 UTC (permalink / raw)
  To: Vikas Patil, Otavio Salvador; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

The wayland-EGL drivers capable of running framebuffer tests also.
Can you please make sure GPU sample apps available in #/opt/viv_samples/vdk/tutorial3_es20?

Best Regards,
Prabhu

From: Vikas Patil [mailto:vikasmpatil@gmail.com]
Sent: Tuesday, October 06, 2015 7:59 AM
To: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: meta-freescale@yoctoproject.org; Sundararaj Prabhu-B36876 <Prabhu.Sundararaj@freescale.com>; Busireddy Neena-B45787 <neena.busireddy@freescale.com>
Subject: Re: [meta-freescale] Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp

Hi Otavio,
> Using a complete udev could be a valuable test; mdev is limited (but
> powerful) and as you are running a graphical backend your seems does
> not seem to be so constrained that udev would impose challenges,
> resource wise.
Yes, I also think that. I will give a try as time permits.


> I want to get the kernel module working properly so we can use new GPU
> drivers without hassle. Your report indicates it is not yet the case
> and I am very concerned about it.

Do you mean the in-built "galcore" driver with "imx-gpu-viv_5.0.11.p7.1-hfp" here?

> I added Neena and Prabhu, in Cc, so they can also help you with those issues
Thanks for adding these guys.
Regards,
Vikash

[-- Attachment #2: Type: text/html, Size: 4741 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-06 16:34         ` Sundararaj Prabhu
@ 2015-10-07  4:36           ` Vikas Patil
  2015-10-08 10:32             ` Vikas Patil
  0 siblings, 1 reply; 13+ messages in thread
From: Vikas Patil @ 2015-10-07  4:36 UTC (permalink / raw)
  To: Sundararaj Prabhu; +Cc: meta-freescale, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 2222 bytes --]

Hi Prabhu,

I am currently trying with weston 1.6.0 and imx-gpu-viv_5.0.11.p4.5-hfp.
With these all the application working except Qt example application from
opengl folder. it is giving me following segmentation fault. Could you
please provide your inputs  on this issue (
https://community.freescale.com/message/573665#573665 )?

As I think,  I will hit the same issue with weston 1.8.0 and
imx-gpu-viv_5.0.11.p4.5-hfp.

** Error:

Program received signal SIGSEGV, Segmentation fault.

wl_egl_window_destroy (Cannot access memory at address 0x0window=0x27166c)
at gc_egl_platform.c:779

779 gc_egl_platform.c: No such file or directory.


Best Regards,

Vikash

On Tue, Oct 6, 2015 at 10:04 PM, Sundararaj Prabhu <
Prabhu.Sundararaj@freescale.com> wrote:

> The wayland-EGL drivers capable of running framebuffer tests also.
>
> Can you please make sure GPU sample apps available in
> #/opt/viv_samples/vdk/tutorial3_es20?
>
>
>
> Best Regards,
>
> Prabhu
>
>
>
> *From:* Vikas Patil [mailto:vikasmpatil@gmail.com]
> *Sent:* Tuesday, October 06, 2015 7:59 AM
> *To:* Otavio Salvador <otavio.salvador@ossystems.com.br>
> *Cc:* meta-freescale@yoctoproject.org; Sundararaj Prabhu-B36876 <
> Prabhu.Sundararaj@freescale.com>; Busireddy Neena-B45787 <
> neena.busireddy@freescale.com>
> *Subject:* Re: [meta-freescale] Error with weston 1.8.0 on linux 3.14.28
> using imx-gpu-viv_5.0.11.p7.1-hfp
>
>
>
> Hi Otavio,
>
> > Using a complete udev could be a valuable test; mdev is limited (but
> > powerful) and as you are running a graphical backend your seems does
> > not seem to be so constrained that udev would impose challenges,
> > resource wise.
>
> Yes, I also think that. I will give a try as time permits.
>
>
>
>
> > I want to get the kernel module working properly so we can use new GPU
> > drivers without hassle. Your report indicates it is not yet the case
> > and I am very concerned about it.
>
>
> Do you mean the in-built "galcore" driver with
> "imx-gpu-viv_5.0.11.p7.1-hfp" here?
>
> > I added Neena and Prabhu, in Cc, so they can also help you with those
> issues
>
> Thanks for adding these guys.
>
> Regards,
>
> Vikash
>

[-- Attachment #2: Type: text/html, Size: 5042 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-07  4:36           ` Vikas Patil
@ 2015-10-08 10:32             ` Vikas Patil
  2015-10-09  0:52               ` Sundararaj Prabhu
  0 siblings, 1 reply; 13+ messages in thread
From: Vikas Patil @ 2015-10-08 10:32 UTC (permalink / raw)
  To: Sundararaj Prabhu, Neena Busireddy; +Cc: meta-freescale, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 2759 bytes --]

Hi Neena,

Do you know which version of gpu kernel driver I need to use with
imx-gpu-viv_5.0.11.p4.5-hfp?
As  this imx-gpu-viv_5.0.11.p4.5-hfp user driver with gpu kernel driver
from L3.14.28_1.0.0 GA seems to have the issue I mentioned?

It seems imx-gpu-viv_5.0.11.p4.4-hfp user driver with L3.14.28_1.0.0 GA
works fine.

Regards,
Vikash

On Wed, Oct 7, 2015 at 10:06 AM, Vikas Patil <vikasmpatil@gmail.com> wrote:

> Hi Prabhu,
>
> I am currently trying with weston 1.6.0 and imx-gpu-viv_5.0.11.p4.5-hfp.
> With these all the application working except Qt example application from
> opengl folder. it is giving me following segmentation fault. Could you
> please provide your inputs  on this issue (
> https://community.freescale.com/message/573665#573665 )?
>
> As I think,  I will hit the same issue with weston 1.8.0 and
> imx-gpu-viv_5.0.11.p4.5-hfp.
>
> ** Error:
>
> Program received signal SIGSEGV, Segmentation fault.
>
> wl_egl_window_destroy (Cannot access memory at address 0x0window=0x27166c)
> at gc_egl_platform.c:779
>
> 779 gc_egl_platform.c: No such file or directory.
>
>
> Best Regards,
>
> Vikash
>
> On Tue, Oct 6, 2015 at 10:04 PM, Sundararaj Prabhu <
> Prabhu.Sundararaj@freescale.com> wrote:
>
>> The wayland-EGL drivers capable of running framebuffer tests also.
>>
>> Can you please make sure GPU sample apps available in
>> #/opt/viv_samples/vdk/tutorial3_es20?
>>
>>
>>
>> Best Regards,
>>
>> Prabhu
>>
>>
>>
>> *From:* Vikas Patil [mailto:vikasmpatil@gmail.com]
>> *Sent:* Tuesday, October 06, 2015 7:59 AM
>> *To:* Otavio Salvador <otavio.salvador@ossystems.com.br>
>> *Cc:* meta-freescale@yoctoproject.org; Sundararaj Prabhu-B36876 <
>> Prabhu.Sundararaj@freescale.com>; Busireddy Neena-B45787 <
>> neena.busireddy@freescale.com>
>> *Subject:* Re: [meta-freescale] Error with weston 1.8.0 on linux 3.14.28
>> using imx-gpu-viv_5.0.11.p7.1-hfp
>>
>>
>>
>> Hi Otavio,
>>
>> > Using a complete udev could be a valuable test; mdev is limited (but
>> > powerful) and as you are running a graphical backend your seems does
>> > not seem to be so constrained that udev would impose challenges,
>> > resource wise.
>>
>> Yes, I also think that. I will give a try as time permits.
>>
>>
>>
>>
>> > I want to get the kernel module working properly so we can use new GPU
>> > drivers without hassle. Your report indicates it is not yet the case
>> > and I am very concerned about it.
>>
>>
>> Do you mean the in-built "galcore" driver with
>> "imx-gpu-viv_5.0.11.p7.1-hfp" here?
>>
>> > I added Neena and Prabhu, in Cc, so they can also help you with those
>> issues
>>
>> Thanks for adding these guys.
>>
>> Regards,
>>
>> Vikash
>>
>
>

[-- Attachment #2: Type: text/html, Size: 6632 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-08 10:32             ` Vikas Patil
@ 2015-10-09  0:52               ` Sundararaj Prabhu
  2015-10-09  5:05                 ` Vikas Patil
  0 siblings, 1 reply; 13+ messages in thread
From: Sundararaj Prabhu @ 2015-10-09  0:52 UTC (permalink / raw)
  To: Vikas Patil, Neena Busireddy, Sundararaj Prabhu
  Cc: meta-freescale, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 2950 bytes --]

Vikas,
Without using gal2d renderer everything okay?






On Thu, Oct 8, 2015 at 3:32 AM -0700, "Vikas Patil" <vikasmpatil@gmail.com<mailto:vikasmpatil@gmail.com>> wrote:

Hi Neena,

Do you know which version of gpu kernel driver I need to use with imx-gpu-viv_5.0.11.p4.5-hfp? As  this imx-gpu-viv_5.0.11.p4.5-hfp user driver with gpu kernel driver from L3.14.28_1.0.0 GA seems to have the issue I mentioned?

It seems imx-gpu-viv_5.0.11.p4.4-hfp user driver with L3.14.28_1.0.0 GA works fine.

Regards,
Vikash

On Wed, Oct 7, 2015 at 10:06 AM, Vikas Patil <vikasmpatil@gmail.com<mailto:vikasmpatil@gmail.com>> wrote:
Hi Prabhu,

I am currently trying with weston 1.6.0 and imx-gpu-viv_5.0.11.p4.5-hfp. With these all the application working except Qt example application from opengl folder. it is giving me following segmentation fault. Could you please provide your inputs  on this issue (https://community.freescale.com/message/573665#573665 )?

As I think,  I will hit the same issue with weston 1.8.0 and imx-gpu-viv_5.0.11.p4.5-hfp.

** Error:

Program received signal SIGSEGV, Segmentation fault.

wl_egl_window_destroy (Cannot access memory at address 0x0window=0x27166c) at gc_egl_platform.c:779

779 gc_egl_platform.c: No such file or directory.


Best Regards,

Vikash

On Tue, Oct 6, 2015 at 10:04 PM, Sundararaj Prabhu <Prabhu.Sundararaj@freescale.com<mailto:Prabhu.Sundararaj@freescale.com>> wrote:
The wayland-EGL drivers capable of running framebuffer tests also.
Can you please make sure GPU sample apps available in #/opt/viv_samples/vdk/tutorial3_es20?

Best Regards,
Prabhu

From: Vikas Patil [mailto:vikasmpatil@gmail.com<mailto:vikasmpatil@gmail.com>]
Sent: Tuesday, October 06, 2015 7:59 AM
To: Otavio Salvador <otavio.salvador@ossystems.com.br<mailto:otavio.salvador@ossystems.com.br>>
Cc: meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>; Sundararaj Prabhu-B36876 <Prabhu.Sundararaj@freescale.com<mailto:Prabhu.Sundararaj@freescale.com>>; Busireddy Neena-B45787 <neena.busireddy@freescale.com<mailto:neena.busireddy@freescale.com>>
Subject: Re: [meta-freescale] Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp

Hi Otavio,
> Using a complete udev could be a valuable test; mdev is limited (but
> powerful) and as you are running a graphical backend your seems does
> not seem to be so constrained that udev would impose challenges,
> resource wise.
Yes, I also think that. I will give a try as time permits.


> I want to get the kernel module working properly so we can use new GPU
> drivers without hassle. Your report indicates it is not yet the case
> and I am very concerned about it.

Do you mean the in-built "galcore" driver with "imx-gpu-viv_5.0.11.p7.1-hfp" here?

> I added Neena and Prabhu, in Cc, so they can also help you with those issues
Thanks for adding these guys.
Regards,
Vikash



[-- Attachment #2: Type: text/html, Size: 7341 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-09  0:52               ` Sundararaj Prabhu
@ 2015-10-09  5:05                 ` Vikas Patil
  2015-10-13 14:56                   ` eien sakebe
  0 siblings, 1 reply; 13+ messages in thread
From: Vikas Patil @ 2015-10-09  5:05 UTC (permalink / raw)
  To: Sundararaj Prabhu; +Cc: meta-freescale, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 3245 bytes --]

With GLES renderer, imx-gpu-viv_5.0.11.p4.5-hfp and L3.14.28_1.0.0 GA same
segfault.

Regards,
Vikash

On Fri, Oct 9, 2015 at 6:22 AM, Sundararaj Prabhu <
Prabhu.Sundararaj@freescale.com> wrote:

> Vikas,
> Without using gal2d renderer everything okay?
>
>
>
>
>
>
> On Thu, Oct 8, 2015 at 3:32 AM -0700, "Vikas Patil" <vikasmpatil@gmail.com
> > wrote:
>
> Hi Neena,
>
> Do you know which version of gpu kernel driver I need to use with imx-gpu-viv_5.0.11.p4.5-hfp?
> As  this imx-gpu-viv_5.0.11.p4.5-hfp user driver with gpu kernel driver
> from L3.14.28_1.0.0 GA seems to have the issue I mentioned?
>
> It seems imx-gpu-viv_5.0.11.p4.4-hfp user driver with L3.14.28_1.0.0 GA
> works fine.
>
> Regards,
> Vikash
>
> On Wed, Oct 7, 2015 at 10:06 AM, Vikas Patil <vikasmpatil@gmail.com>
> wrote:
>
>> Hi Prabhu,
>>
>> I am currently trying with weston 1.6.0 and imx-gpu-viv_5.0.11.p4.5-hfp.
>> With these all the application working except Qt example application from
>> opengl folder. it is giving me following segmentation fault. Could you
>> please provide your inputs  on this issue (
>> https://community.freescale.com/message/573665#573665 )?
>>
>> As I think,  I will hit the same issue with weston 1.8.0 and
>> imx-gpu-viv_5.0.11.p4.5-hfp.
>>
>> ** Error:
>>
>> Program received signal SIGSEGV, Segmentation fault.
>>
>> wl_egl_window_destroy (Cannot access memory at address
>> 0x0window=0x27166c) at gc_egl_platform.c:779
>>
>> 779 gc_egl_platform.c: No such file or directory.
>>
>>
>> Best Regards,
>>
>> Vikash
>>
>> On Tue, Oct 6, 2015 at 10:04 PM, Sundararaj Prabhu <
>> Prabhu.Sundararaj@freescale.com> wrote:
>>
>>> The wayland-EGL drivers capable of running framebuffer tests also.
>>>
>>> Can you please make sure GPU sample apps available in
>>> #/opt/viv_samples/vdk/tutorial3_es20?
>>>
>>>
>>>
>>> Best Regards,
>>>
>>> Prabhu
>>>
>>>
>>>
>>> *From:* Vikas Patil [mailto:vikasmpatil@gmail.com]
>>> *Sent:* Tuesday, October 06, 2015 7:59 AM
>>> *To:* Otavio Salvador <otavio.salvador@ossystems.com.br>
>>> *Cc:* meta-freescale@yoctoproject.org; Sundararaj Prabhu-B36876 <
>>> Prabhu.Sundararaj@freescale.com>; Busireddy Neena-B45787 <
>>> neena.busireddy@freescale.com>
>>> *Subject:* Re: [meta-freescale] Error with weston 1.8.0 on linux
>>> 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
>>>
>>>
>>>
>>> Hi Otavio,
>>>
>>> > Using a complete udev could be a valuable test; mdev is limited (but
>>> > powerful) and as you are running a graphical backend your seems does
>>> > not seem to be so constrained that udev would impose challenges,
>>> > resource wise.
>>>
>>> Yes, I also think that. I will give a try as time permits.
>>>
>>>
>>>
>>>
>>> > I want to get the kernel module working properly so we can use new GPU
>>> > drivers without hassle. Your report indicates it is not yet the case
>>> > and I am very concerned about it.
>>>
>>>
>>> Do you mean the in-built "galcore" driver with
>>> "imx-gpu-viv_5.0.11.p7.1-hfp" here?
>>>
>>> > I added Neena and Prabhu, in Cc, so they can also help you with those
>>> issues
>>>
>>> Thanks for adding these guys.
>>>
>>> Regards,
>>>
>>> Vikash
>>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 8133 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-09  5:05                 ` Vikas Patil
@ 2015-10-13 14:56                   ` eien sakebe
  2015-10-13 15:03                     ` eien sakebe
  0 siblings, 1 reply; 13+ messages in thread
From: eien sakebe @ 2015-10-13 14:56 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale, Sundararaj Prabhu, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 3996 bytes --]

Hello
For Qt and wl_egl_window_destroy (Cannot access memory at address
0x0window=0x27166c) at gc_egl_platform.c:779
i ran into the same issue, and the only workaround i found was to comment
the following lines in Qt updateFormatFromGL (well a memory leak certainly
but it works at least)
//wl_egl_window_destroy(eglWindow);
//wl_surface_destroy(wlSurface);


2015-10-09 7:05 GMT+02:00 Vikas Patil <vikasmpatil@gmail.com>:

> With GLES renderer, imx-gpu-viv_5.0.11.p4.5-hfp and L3.14.28_1.0.0 GA
> same segfault.
>
> Regards,
> Vikash
>
> On Fri, Oct 9, 2015 at 6:22 AM, Sundararaj Prabhu <
> Prabhu.Sundararaj@freescale.com> wrote:
>
>> Vikas,
>> Without using gal2d renderer everything okay?
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 8, 2015 at 3:32 AM -0700, "Vikas Patil" <
>> vikasmpatil@gmail.com> wrote:
>>
>> Hi Neena,
>>
>> Do you know which version of gpu kernel driver I need to use with imx-gpu-viv_5.0.11.p4.5-hfp?
>> As  this imx-gpu-viv_5.0.11.p4.5-hfp user driver with gpu kernel driver
>> from L3.14.28_1.0.0 GA seems to have the issue I mentioned?
>>
>> It seems imx-gpu-viv_5.0.11.p4.4-hfp user driver with L3.14.28_1.0.0 GA
>> works fine.
>>
>> Regards,
>> Vikash
>>
>> On Wed, Oct 7, 2015 at 10:06 AM, Vikas Patil <vikasmpatil@gmail.com>
>> wrote:
>>
>>> Hi Prabhu,
>>>
>>> I am currently trying with weston 1.6.0 and imx-gpu-viv_5.0.11.p4.5-hfp.
>>> With these all the application working except Qt example application from
>>> opengl folder. it is giving me following segmentation fault. Could you
>>> please provide your inputs  on this issue (
>>> https://community.freescale.com/message/573665#573665 )?
>>>
>>> As I think,  I will hit the same issue with weston 1.8.0 and
>>> imx-gpu-viv_5.0.11.p4.5-hfp.
>>>
>>> ** Error:
>>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>>
>>> wl_egl_window_destroy (Cannot access memory at address
>>> 0x0window=0x27166c) at gc_egl_platform.c:779
>>>
>>> 779 gc_egl_platform.c: No such file or directory.
>>>
>>>
>>> Best Regards,
>>>
>>> Vikash
>>>
>>> On Tue, Oct 6, 2015 at 10:04 PM, Sundararaj Prabhu <
>>> Prabhu.Sundararaj@freescale.com> wrote:
>>>
>>>> The wayland-EGL drivers capable of running framebuffer tests also.
>>>>
>>>> Can you please make sure GPU sample apps available in
>>>> #/opt/viv_samples/vdk/tutorial3_es20?
>>>>
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Prabhu
>>>>
>>>>
>>>>
>>>> *From:* Vikas Patil [mailto:vikasmpatil@gmail.com]
>>>> *Sent:* Tuesday, October 06, 2015 7:59 AM
>>>> *To:* Otavio Salvador <otavio.salvador@ossystems.com.br>
>>>> *Cc:* meta-freescale@yoctoproject.org; Sundararaj Prabhu-B36876 <
>>>> Prabhu.Sundararaj@freescale.com>; Busireddy Neena-B45787 <
>>>> neena.busireddy@freescale.com>
>>>> *Subject:* Re: [meta-freescale] Error with weston 1.8.0 on linux
>>>> 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
>>>>
>>>>
>>>>
>>>> Hi Otavio,
>>>>
>>>> > Using a complete udev could be a valuable test; mdev is limited (but
>>>> > powerful) and as you are running a graphical backend your seems does
>>>> > not seem to be so constrained that udev would impose challenges,
>>>> > resource wise.
>>>>
>>>> Yes, I also think that. I will give a try as time permits.
>>>>
>>>>
>>>>
>>>>
>>>> > I want to get the kernel module working properly so we can use new GPU
>>>> > drivers without hassle. Your report indicates it is not yet the case
>>>> > and I am very concerned about it.
>>>>
>>>>
>>>> Do you mean the in-built "galcore" driver with
>>>> "imx-gpu-viv_5.0.11.p7.1-hfp" here?
>>>>
>>>> > I added Neena and Prabhu, in Cc, so they can also help you with those
>>>> issues
>>>>
>>>> Thanks for adding these guys.
>>>>
>>>> Regards,
>>>>
>>>> Vikash
>>>>
>>>
>>>
>>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>

[-- Attachment #2: Type: text/html, Size: 9320 bytes --]

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

* Re: Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
  2015-10-13 14:56                   ` eien sakebe
@ 2015-10-13 15:03                     ` eien sakebe
  0 siblings, 0 replies; 13+ messages in thread
From: eien sakebe @ 2015-10-13 15:03 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale, Sundararaj Prabhu, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 4390 bytes --]

Sorry
http://code.woboq.org/qt5/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp.html
void QWaylandGLContext::updateGLFormat() instead

2015-10-13 16:56 GMT+02:00 eien sakebe <eien.ni.sakebe@gmail.com>:

> Hello
> For Qt and wl_egl_window_destroy (Cannot access memory at address
> 0x0window=0x27166c) at gc_egl_platform.c:779
> i ran into the same issue, and the only workaround i found was to comment
> the following lines in Qt updateFormatFromGL (well a memory leak certainly
> but it works at least)
> //wl_egl_window_destroy(eglWindow);
> //wl_surface_destroy(wlSurface);
>
>
> 2015-10-09 7:05 GMT+02:00 Vikas Patil <vikasmpatil@gmail.com>:
>
>> With GLES renderer, imx-gpu-viv_5.0.11.p4.5-hfp and L3.14.28_1.0.0 GA
>> same segfault.
>>
>> Regards,
>> Vikash
>>
>> On Fri, Oct 9, 2015 at 6:22 AM, Sundararaj Prabhu <
>> Prabhu.Sundararaj@freescale.com> wrote:
>>
>>> Vikas,
>>> Without using gal2d renderer everything okay?
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Oct 8, 2015 at 3:32 AM -0700, "Vikas Patil" <
>>> vikasmpatil@gmail.com> wrote:
>>>
>>> Hi Neena,
>>>
>>> Do you know which version of gpu kernel driver I need to use with imx-gpu-viv_5.0.11.p4.5-hfp?
>>> As  this imx-gpu-viv_5.0.11.p4.5-hfp user driver with gpu kernel driver
>>> from L3.14.28_1.0.0 GA seems to have the issue I mentioned?
>>>
>>> It seems imx-gpu-viv_5.0.11.p4.4-hfp user driver with L3.14.28_1.0.0 GA
>>> works fine.
>>>
>>> Regards,
>>> Vikash
>>>
>>> On Wed, Oct 7, 2015 at 10:06 AM, Vikas Patil <vikasmpatil@gmail.com>
>>> wrote:
>>>
>>>> Hi Prabhu,
>>>>
>>>> I am currently trying with weston 1.6.0 and imx-gpu-viv_5.0.11.p4.5-hfp.
>>>> With these all the application working except Qt example application from
>>>> opengl folder. it is giving me following segmentation fault. Could you
>>>> please provide your inputs  on this issue (
>>>> https://community.freescale.com/message/573665#573665 )?
>>>>
>>>> As I think,  I will hit the same issue with weston 1.8.0 and
>>>> imx-gpu-viv_5.0.11.p4.5-hfp.
>>>>
>>>> ** Error:
>>>>
>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>
>>>> wl_egl_window_destroy (Cannot access memory at address
>>>> 0x0window=0x27166c) at gc_egl_platform.c:779
>>>>
>>>> 779 gc_egl_platform.c: No such file or directory.
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Vikash
>>>>
>>>> On Tue, Oct 6, 2015 at 10:04 PM, Sundararaj Prabhu <
>>>> Prabhu.Sundararaj@freescale.com> wrote:
>>>>
>>>>> The wayland-EGL drivers capable of running framebuffer tests also.
>>>>>
>>>>> Can you please make sure GPU sample apps available in
>>>>> #/opt/viv_samples/vdk/tutorial3_es20?
>>>>>
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Prabhu
>>>>>
>>>>>
>>>>>
>>>>> *From:* Vikas Patil [mailto:vikasmpatil@gmail.com]
>>>>> *Sent:* Tuesday, October 06, 2015 7:59 AM
>>>>> *To:* Otavio Salvador <otavio.salvador@ossystems.com.br>
>>>>> *Cc:* meta-freescale@yoctoproject.org; Sundararaj Prabhu-B36876 <
>>>>> Prabhu.Sundararaj@freescale.com>; Busireddy Neena-B45787 <
>>>>> neena.busireddy@freescale.com>
>>>>> *Subject:* Re: [meta-freescale] Error with weston 1.8.0 on linux
>>>>> 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp
>>>>>
>>>>>
>>>>>
>>>>> Hi Otavio,
>>>>>
>>>>> > Using a complete udev could be a valuable test; mdev is limited (but
>>>>> > powerful) and as you are running a graphical backend your seems does
>>>>> > not seem to be so constrained that udev would impose challenges,
>>>>> > resource wise.
>>>>>
>>>>> Yes, I also think that. I will give a try as time permits.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> > I want to get the kernel module working properly so we can use new
>>>>> GPU
>>>>> > drivers without hassle. Your report indicates it is not yet the case
>>>>> > and I am very concerned about it.
>>>>>
>>>>>
>>>>> Do you mean the in-built "galcore" driver with
>>>>> "imx-gpu-viv_5.0.11.p7.1-hfp" here?
>>>>>
>>>>> > I added Neena and Prabhu, in Cc, so they can also help you with
>>>>> those issues
>>>>>
>>>>> Thanks for adding these guys.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Vikash
>>>>>
>>>>
>>>>
>>>
>>
>> --
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 10077 bytes --]

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

end of thread, other threads:[~2015-10-13 15:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 12:47 Error with weston 1.8.0 on linux 3.14.28 using imx-gpu-viv_5.0.11.p7.1-hfp Vikas Patil
2015-10-05 21:20 ` Otavio Salvador
2015-10-06  4:31   ` Vikas Patil
2015-10-06 11:32     ` Otavio Salvador
2015-10-06 12:58       ` Vikas Patil
2015-10-06 13:14         ` Otavio Salvador
2015-10-06 16:34         ` Sundararaj Prabhu
2015-10-07  4:36           ` Vikas Patil
2015-10-08 10:32             ` Vikas Patil
2015-10-09  0:52               ` Sundararaj Prabhu
2015-10-09  5:05                 ` Vikas Patil
2015-10-13 14:56                   ` eien sakebe
2015-10-13 15:03                     ` eien sakebe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.