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.

ths8200 testing as VGA output

Other Parts Discussed in Thread: THS8200

Hi every1,

we are using ths8200 encoder on dm8168 processor.we want to test ths8200 as VGA output with 1600*1200 resolution.Is there any software to do this????!!!! or can anyone give me idea about this?

Regards,

kripashree

  • Check the HDVPSS documentation which should be included in your software release for "timings" for information how to change the display resolution through sysfs entries.

    BR,

    Steve

  • k ll check...

    tanx steve :)

  • Hi Steve,


    Even I'm using THS8200 encoder chip for my VGA Out peripheral, I have gone through the document which u have suggested and followed the same as below in linux prompt

    insmod syslink.ko

    ./slaveloader startup VPSS-M3 ti816x_hdvpss.xem3
    insmod vpss.ko mode=sd:ntsc

    insmod ti81xxfb.ko

    insmod ti81xxvo.ko

    insmod ti81xxhdmi.ko

    echo 0 > /sys/devices/platform/vpss/graphics0/enabled
    echo 1:hdmi > /sys/devices/platform/vpss/graphics0/nodes
    echo 0 > /sys/devices/platform/vpss/display0/enabled
    echo "1080p-60" > /sys/devices/platform/vpss/display0/mode
    echo 1 > /sys/devices/platform/vpss/display0/enabled
    echo 1 > /sys/devices/platform/vpss/graphics0/enabled
    fbset -fb /dev/fb0 -xres 1920 -yres 1080 -vxres 1920 -vyres 1080 –t 148500 148 88 36 4 44 5


    cat "image" > /dev/fb0

    But Image is not displaying in the VGA display.

    Can you please let me know what wrong step I'm following and what is the solution for the same.


    Thanks and Regards,

    Nithin

  • Hi Nithin,

     

    Where is your THS8200 connected? Is it on DVO2 or DVO1? If it is on DVO2, below statement is incorrect. In this statement, you are trying to connect graphics0 to hdmi venc.

    echo 1:hdmi > /sys/devices/platform/vpss/graphics0/nodes

    You should have

    echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes

    to connect graphics0 to dvo2.

     

    Regards,

    Brijesh

  • You will also need to include the THS8200 driver I think.

    Unfortunately I am not a software expert so can't help much.

    I will try to get the correct person involved.

    BR,

    Steve

  • Hi Brijesh,

    After doing change u suggested I'm able to see image in display thank you very much for this info.

    Now I'm facing one more issue,  Image is displaying in 720p resolution while dumping image.raw to /dev/fb0.

    #:fbset -fb /dev/fb0 -xres 1280 -yres 720 -vxres 1280 -vyres 720 –t74250 220 110 20 5 40 5

    If I reset resolution to

    #:fbset -fb /dev/fb0 -xres 1920 -yres 1080 -vxres 1920 -vyres 1080 –t 148500 148 88 36 4 44 5

    also image is displaying in 720P resolution only.

    What is the problem and how to solve this.


    Thanks and Regards,

    Nithin

  • Hi Nithin,

     

    Output resolution cannot be changed using fbset, please use sysfs entries to change the output resolution, after changing output resolution, you could fbset to change buffer parameters and then you should be able to display image in 1080p resolution. Please make sure that your input image is 1080p

     

    Regards,

    Brijesh

  • Hi Brijesh,


    You are right, through fbset we cant set the resolution, I'm using below sysfs entries to set those things,

    Can you please tell me what I'm using is correct or not.

    echo 0 > /sys/devices/platform/vpss/graphics0/enabled
    echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
    echo 0 > /sys/devices/platform/vpss/display0/enabled
    echo "1080p-60" > /sys/devices/platform/vpss/display0/mode
    echo 1 > /sys/devices/platform/vpss/display0/enabled
    echo 1 > /sys/devices/platform/vpss/graphics0/enabled
    fbset -fb /dev/fb0 -xres 1920 -yres 1080 -vxres 1920 -vyres 1080 –t 148500 148 88 36 4 44 5


    Regards,

    Nithin

  • Hi Brijesh,

    Issue is solved. Thanks for your kind support.

    It is solved by following correct insmod and sysfs value setting sequence.

    I'm able to display full HD image correctly in Display.

    Thanks and Regards,

    Nithin

  • Hi Nithin,

     

    Good to hear it started working. Please close the thread by marking it resolved.

     

    Regards,

    Brijesh