can not display cursor when moving to HW accelerated DirectFB surface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can not display cursor when moving to HW accelerated DirectFB surface

2,582 Views
jojorong
Contributor IV

Hi,


  It's normal to display cursor when i disable HW acceleration of DirecFB,

  in the HW acceleration case, when i move the cursor to the DFB surface, it disappear.

  It''s a bug ? Maybe cursor need to be HW accelerated also ?

  I use the GTK+(v2.24.15) top on DirectFB(v1.4.0).

Labels (3)
0 Kudos
16 Replies

1,701 Views
jojorong
Contributor IV

any response for this issue from service request ?

the SR number 1-1068839061 of this issue is not assigned :smileysad:

0 Kudos

1,701 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jojo,

      DirectFB has it's own configuration file named directfbrc, All applicaions for directFB will read it when they start. But by default, this configuration file doesn't exist. we should create it manually. and put it path /etc/ and /usr/etc/ . So now please check if it is in your system like the following command :

# cat /usr/etc/directfbrc

no-cursor

system=fbdev

fbdev=/dev/fb0

wm=default

mode=800x480

depth=16

pixelformat=RGB16

if there is "no-cursor", remove it please ! then try to test !

Weidong

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

There is no "directfbrc" file in my systems.

BTW, you can take a look at my description from "https://community.freescale.com/message/332036#332036", i put all testing result there :smileyhappy:

Thanks,

- Jojo

在 2013年6月8日星期六,下午2:25,Weidong Sun 写道:

can not display cursor when moving to HW accelerated DirectFB surface

created by Weidong Sun (https://community.freescale.com/people/weidong.sun) in i.MX Community - View the full discussion (https://community.freescale.com/message/333856#333856)

Hello,jojo,

DirectFB has it's own configuration file named directfbrc, All applicaions for directFB will read it when they start. But by default, this configuration file doesn't exist. we should create it manually. and put it path /etc/ and /usr/etc/ . So now please check if it is in your system like the following command :

  1. cat /usr/etc/directfbrc

no-cursor

system=fbdev

fbdev=/dev/fb0

wm=default

mode=800x480

depth=16

pixelformat=RGB16

if there is no "no-cursor", add it in ,please ! then try to test !

Weidong

Reply to this message by replying to this email -or- go to the message on Freescale Community (https://community.freescale.com/message/333856#333856)

Start a new discussion in i.MX Community by email (mailto:discussions-community-imx@freescale-phx.hosted.jivesoftware.com ) or at Freescale Community (https://community.freescale.com/choose-container.jspa?contentType=1&containerType=14&container=2004)

>

0 Kudos

1,701 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jojo,

      FSL's i.MX Exper told me he will reproduce the issue. the following is his reply :

I'm in the process of reproducing the issue.

Did you create the directfbrc file as weidong sun suggested?

http://linux.die.net/man/5/directfbrc

I think it's worth the shoot.


Regards,

Weidong

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

I add "no-cursor" option into .directfb, so there is no cursor on the screen :smileysad:

I need the cursor, but “no-cursor” means ….

BTW, i have tested some condition to find the root issue like following :

"

du to "Linux_6DQ_RM_L3.0.35_1.1.0.pdf" about DirectFB's information, i try to test some features about accelerated,

if i use all features like following, the cursor of DirectFB will disappear.

drawline=none,xor,blend

drawrectangle=none,xor,blend

fillrectangle=none,xor,blend

filltriangle=none,xor,blend

blit=none,xor,alphachannel,coloralpha,src_colorkey,rotate180

stretchblit=none,xor,alphachannel,coloralpha,src_colorkey,rotate180

but if i close the feature "none" of "blit", the cursor will return, i think the feature "none" is the root issue about cursor.

the feature "none" means "just copy from src to dst" ?

if it just means "no feature", why default configuration of HW acceleration includes this ?

"

Thanks,

- Jojo

在 2013年6月13日星期四,下午12:11,Weidong Sun 写道:

can not display cursor when moving to HW accelerated DirectFB surface

created by Weidong Sun (https://community.freescale.com/people/weidong.sun) in i.MX Community - View the full discussion (https://community.freescale.com/message/334544#334544)

Hello,jojo,

FSL's i.MX Exper told me he will reproduce the issue. the following is his reply :

I'm in the process of reproducing the issue.

Did you create the directfbrc file as weidong sun suggested?

http://linux.die.net/man/5/directfbrc

I think it's worth the shoot.

Regards,

Weidong

Reply to this message by replying to this email -or- go to the message on Freescale Community (https://community.freescale.com/message/334544#334544)

Start a new discussion in i.MX Community by email (mailto:discussions-community-imx@freescale-phx.hosted.jivesoftware.com ) or at Freescale Community (https://community.freescale.com/choose-container.jspa?contentType=1&containerType=14&container=2004)

>

0 Kudos

1,701 Views
jojorong
Contributor IV

du to "Linux_6DQ_RM_L3.0.35_1.1.0.pdf" about DirectFB's information, i try to test some features about accelerated,

if i use all features like following, the cursor of DirectFB will disappear.

drawline=none,xor,blend

drawrectangle=none,xor,blend

fillrectangle=none,xor,blend

filltriangle=none,xor,blend

blit=none,xor,alphachannel,coloralpha,src_colorkey,rotate180

stretchblit=none,xor,alphachannel,coloralpha,src_colorkey,rotate180


but if i close the feature "none" of "blit", the cursor will return, i think the feature "none" is the root issue about cursor.


the feature "none" means "just copy from src to dst" ?


if it just means "no feature", why default configuration of HW acceleration includes this ?





0 Kudos

1,701 Views
andre_silva
NXP Employee
NXP Employee

Hi Jojo,

Not sure the version of BSP are you using, but in the latest one we have this fix:

     070-base_cl2622_disabled_the_cursor_in_the_dfb_window_creation

    Disabled the cursor in the dfb window creation;

maybe is related to you issue.

you can download the latest bsp and give it a try.

regards,

Andre

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

     I download latest version L3.0.35_4.0.0_130424_source and not found any patches for DirectFB,

     could you tell me where is the patches about for this issue that is mentioned with "070-     base_cl2622_disabled_the_cursor_in_the_dfb_window_creation"?

0 Kudos

1,701 Views
andre_silva
NXP Employee
NXP Employee

I´m going to check where this patch is and I let you know soon as possible.

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

I appreciate your concern for this issue :smileyhappy:

Thanks,

- Jojo

在 2013年5月30日星期四,上午12:37,Andre Silva 写道:

can not display cursor when moving to HW accelerated DirectFB surface

created by Andre Silva (https://community.freescale.com/people/AndreSilva) in i.MX Community - View the full discussion (https://community.freescale.com/message/332037#332037)

I´m going to check where this patch is and I let you know soon as possible.

Reply to this message by replying to this email -or- go to the message on Freescale Community (https://community.freescale.com/message/332037#332037)

Start a new discussion in i.MX Community by email (mailto:discussions-community-imx@freescale-phx.hosted.jivesoftware.com ) or at Freescale Community (https://community.freescale.com/choose-container.jspa?contentType=1&containerType=14&container=2004)

>

0 Kudos

1,701 Views
andre_silva
NXP Employee
NXP Employee

The patch I mentioned was applied internally (FSL), if you are still facing problem using our latest BSP, please, enter a Customer ´s Service Request using FSL website and we will be able allocate resource to help you in this issue.

https://www.freescale.com/webapp/servicerequest.create_SR.framework

Best Regards,

Andre

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

I have submit the service request about for this issue :smileyhappy:

Thanks,

- Jojo

在 2013年5月30日星期四,上午10:47,Andre Silva 写道:

can not display cursor when moving to HW accelerated DirectFB surface

created by Andre Silva (https://community.freescale.com/people/AndreSilva) in i.MX Community - View the full discussion (https://community.freescale.com/message/332136#332136)

The patch I mentioned was applied internally (FSL), if you are still facing problem using our latest BSP, please, enter a Customer ´s Service Request using FSL website and we will be able allocate resource to help you in this issue.

https://www.freescale.com/webapp/servicerequest.create_SR.framework

Best Regards,

Andre

Reply to this message by replying to this email -or- go to the message on Freescale Community (https://community.freescale.com/message/332136#332136)

Start a new discussion in i.MX Community by email (mailto:discussions-community-imx@freescale-phx.hosted.jivesoftware.com ) or at Freescale Community (https://community.freescale.com/choose-container.jspa?contentType=1&containerType=14&container=2004)

>

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

      Let me ask a stupid question, meta-fsl-arm of yocto project is maintained by you or just by community members who are not freescale' employee ?

     I wan to use latest stable image to apply my solution,

     there two ways i can get build systems about for FSL, which is my prefer ?

     and where i can get release note about your bugfixes or new features added ?

my env is following :

Build Configuration:

BB_VERSION        = "1.18.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "CentOS-6.4"

TARGET_SYS        = "arm-poky-linux-gnueabi"

MACHINE           = "imx6qsabresd"

DISTRO            = "poky"

DISTRO_VERSION    = "1.4"

TUNE_FEATURES     = "armv7a vfp neon"

TARGET_FPU        = "vfp-neon"

meta             

meta-yocto        = "(nobranch):789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4"

meta-oe           = "(nobranch):8a350e3b4d3431f68d440f9d6ec079fdd1366617"

meta-fsl-arm      = "(nobranch):a636606f15061f85746350b75f804d7cc3823ab0"

meta-fsl-arm-extra = "(nobranch):5f5a9cfcad223f5a1c623346780510ffcdc012ab"

meta-fsl-demos    = "(nobranch):724cfb929748f47782dea3b1dc412b028f6f3515"

0 Kudos

1,701 Views
andre_silva
NXP Employee
NXP Employee

answering your questions:

1 - Yocto project is maintained by Community, Freescale only provides the specifics drivers. But it is not maintained by FSL.

2 - So far I know there are no stable images of yocto with our drivers,  you have to get the source from Yocto branch (latest) and build your own image.  We are going to release one stable image around 3rd quarter of this year.

3 - the only way so far to you get the yocto source is from yocto branch you mentioned. The second place you will be able to get is the pre-built image from Freescale, around 3rd quarter of this year.

4 - As longe we didn´t release any stable (official) image yet, we don´t have any release not, what we have so far is what the community plus freescale´s employees added to yocto project, you can check it here:

http://freescale.github.io/doc/release-notes/1.4/

after releasing our first stable image, we are going to provide the related release note.

Hope this answers help you in your project.

Regards,

Andre

1,701 Views
andre_silva
NXP Employee
NXP Employee

Hi Jojo,

Unfortunately I can´t say which one is better because it is customer´s relative, the main difference between them right now is that as LTIB is officially supported by FSL can provide support for any issue customer could face, we also have a complete documentation for it. Once we release our first Official release for yocto, it is going to have it too.

Regards,

Andre

0 Kudos

1,701 Views
jojorong
Contributor IV

Hi,

Ok & thanks your reply,

about for "LTIB(linux target image builder)" of official ?

maybe it's better(or more stable) than yocto project relative ?

Thanks,

- Jojo

在 2013年5月30日星期四,上午12:37,Andre Silva 写道:

can not display cursor when moving to HW accelerated DirectFB surface

created by Andre Silva (https://community.freescale.com/people/AndreSilva) in i.MX Community - View the full discussion (https://community.freescale.com/message/332036#332036)

answering your questions:

1 - Yocto project is maintained by Community, Freescale only provides the specifics drivers. But it is not maintained by FSL.

2 - So far I know there are no stable images of yocto with our drivers, you have to get the source from Yocto branch (latest) and build your own image. We are going to release one stable image around 3rd quarter of this year.

3 - the only way so far to you get the yocto source is from yocto branch you mentioned. The second place you will be able to get is the pre-built image from Freescale, around 3rd quarter of this year.

4 - As longe we didn´t release any stable (official) image yet, we don´t have any release not, what we have so far is what the community plus freescale´s employees added to yocto project, you can check it here:

http://freescale.github.io/doc/release-notes/1.4/

after releasing our first stable image, we are going to provide the related release note.

Hope this answers help you in your project.

Regards,

Andre

Reply to this message by replying to this email -or- go to the message on Freescale Community (https://community.freescale.com/message/332036#332036)

Start a new discussion in i.MX Community by email (mailto:discussions-community-imx@freescale-phx.hosted.jivesoftware.com ) or at Freescale Community (https://community.freescale.com/choose-container.jspa?contentType=1&containerType=14&container=2004)

>

0 Kudos