This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Display on fb2 buffer for 1080p resolution

Hi All,

        I am able to display 1080p video through fb0 and fb1 buffer on HDMI /DVO2 display.

But i am not able to display video through fb2 framebuffer. i have tried

1) In bootarg I have give frame buffer memory as 0:16M,1:16M,2:16M

2) I have connected the fb2 to HDMI display with 1080p mode

3)  insmod /lib/modules/ti81xxfb.ko vram=0:16M,1:16M,2:16M

 

With above setting I am not able to display the video of 1920,1080 on HDMI display for fb2 framebuffer. It just display 720*480 video.

my current configuration for fb2 is

/sys/class/graphics/fb2/virtual_size = 1920,1080

/sys/class/graphics/fb2/size = 16777216

 /sys/class/graphics/fb2/stride = 7618

/sys/class/graphics/fb2/modes = U:720x480i-235

/sys/devices/platform/vpss/graphics2/nodes  = 1:hdmi

Please help me regading the issue.

 

Note:

Now I have tried to change the modes using "echo 1080p > /sys/class/graphics/fb2/modes" etc.

but it says invalid argument

Thanks and regards

Sandeep

 

  • Hi,

    By default FB0 and FB1 virtual screen info is set to 1080P, and for FB2 its set for 480P, you can use fbset utility to set the vscreeninfo to 1080P for fb2 as well.You can also modify example provided with Linux PSP to use FB2 instead of FB0. More details about fbset could be found here

  • Hi Hardik,

     Thanks for answering above question. The FB2 is working fine with the 1080p resolution.

    I  am facing one more problem regarding the cloning of graphic plane to HDMI and DVO2.

    I am able to clone graphic plane 0 ( FB0) on HDMI and DVO2 by using commands:

     echo 0 > /sys/devices/platform/vpss/graphics0/enabled

     echo 0 > /sys/devices/platform/vpss/display0/enabled 

     echo 0 > /sys/devices/platform/vpss/display1/enabled

     echo 5 > /sys/devices/platform/vpss/system/tiedvencs 

     echo 2:hdmi,dvo2 > /sys/devices/platform/vpss/graphics0/nodes 

     echo 1 > /sys/devices/platform/vpss/graphics0/enabled

    The display is proper on both HDMI and DVO2 displays.

    However if try to clone graphic plane 1 (FB1) or graphic plane 2 (FB2) on HDMI and DVO2 with below mention command

            echo 0 > /sys/devices/platform/vpss/graphics0/enabled

    echo 0 > /sys/devices/platform/vpss/graphics2/enabled

    echo 0 > /sys/devices/platform/vpss/display0/enabled

    echo 0 > /sys/devices/platform/vpss/display1/enabled

    echo 5 > /sys/devices/platform/vpss/system/tiedvencs

    echo 2:hdmi,dvo2 > /sys/devices/platform/vpss/graphics2/nodes

    echo 1 > /sys/devices/platform/vpss/graphics2/enabled

    echo 1 > /sys/devices/platform/vpss/graphics0/enabled

     

    I am not able to open the port for Fb1 or Fb2 with error message

     ti81xxfb ti81xxfb: failed to star.

     Not able to open device

    Is their any thing wrong with above commands. Please help in solving above problem.

    Thanks and Regards,

     

    Sandeep Gholap