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.

Window text displaying gibberish when using pvr xorg drivers.

Other Parts Discussed in Thread: AM3517

When switching from using fbdev to the sgx pvr drivers provided by the sgx sdk, the window text and any x application displays garbage text that changes every time.  All menus drop downs address bars have junk text displayed.  the text is fine while using the fbdev drivers, but that renders me unable to run any of the xgles demos.  Is this an issue with the pvr drivers or some xorg.conf configuration problem.  Any help would be appreciated.

  • can you baseline the environment and post the log ? Also see the installation guide below ?

    http://processors.wiki.ti.com/index.php/SGXDbg#Baselining_the_current_SGX_driver_environment

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide

     

     

  • root@cm-debian:/opt# ./baseline.sh

    WSEGL settings

    [default]

    WindowSystem=libpvrPVR2D_DRIWSEGL.so

    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

     

    ------

    ARM CPU information

    Processor       : ARMv7 Processor rev 7 (v7l)

    BogoMIPS        : 597.64

    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3

    CPU implementer : 0x41

    CPU architecture: 7

    CPU variant     : 0x1

    CPU part        : 0xc08

    CPU revision    : 7

     

    Hardware        : OMAP3517/AM3517 EVM

    Revision        : 0020

    Serial          : 0000000000000000

    ------

    SGX driver information

    Version 1.6.16.4117 (release) /home/brichmond/Graphics_SDK_4_04_00_02/GFX_Linux_KM

    System Version String: SGX revision = 1.2.1

    ------

    Framebuffer settings

     

    mode "640x480-59"

        # D: 23.500 MHz, H: 29.375 kHz, V: 59.464 Hz

        geometry 640 480 640 480 32

        timings 42553 80 48 7 3 32 4

        rgba 8/16,8/8,8/0,0/0

    endmode

     

    Frame buffer device information:

        Name        : omapfb

        Address     : 0x8f400000

        Size        : 1228800

        Type        : PACKED PIXELS

        Visual      : TRUECOLOR

        XPanStep    : 1

        YPanStep    : 1

        YWrapStep   : 0

        LineLength  : 2560

        Accelerator : No

    ------

    Rotation settings

    0

    ------

    Kernel Module information

    Module                  Size  Used by

    pvrsrvkm              169476  2

    drm                   170030  3 pvrsrvkm

    ------

    Boot settings

    console=ttyO2,115200n8 root=/dev/mmcblk0p5 rootwait ro mem=256M vram=12M omapfb.mode=800x600MR-16@60 omapdss.def_disp=dvi mpurate=600

    ------

    Linux Kernel version

    Linux cm-debian 2.6.37 #1 Tue Jun 28 15:53:05 EDT 2011 armv7l GNU/Linux

     

     

    I used the Graphics_SDK_Quick_installation_and_user_guide to create an xorg build.

  • Here's a screen shot of the chromium browser, running under xorg.  As you can see the title text is all giberish.  The correct text is displayed when using the fbdev driver.

     

  • Thanks for checking this on Chrome.  Since chrome is not in our roadmap currently, is it possible to get to a more narrower (API level) issue report so that we can see if there is a known issue with that API ?

     

  • I met the same bug.

    Any complicated application can not draw any text:

    gpe-login, evince.

    Here is evince screenshot:

    root@beagleboard:~# sh gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_DRIWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    Processor    : ARMv7 Processor rev 3 (v7l)
    BogoMIPS    : 717.37
    Features    : swp half thumb fastmult vfp edsp thumbee neon vfpv3
    CPU implementer    : 0x41
    CPU architecture: 7
    CPU variant    : 0x1
    CPU part    : 0xc08
    CPU revision    : 3

    Hardware    : OMAP3 Beagle Board
    Revision    : 0020
    Serial        : 0000000000000000
    ------
    SGX driver information
    Version 1.6.16.4117 (release) /home/user/projects/compas/planetable/civil/beagleboard/Graphics_SDK_4_05_00_03/GFX_Linux_KM
    System Version String: SGX revision = 1.2.1
    ------
    Framebuffer settings

    mode "800x480-60"
        # D: 28.800 MHz, H: 30.000 kHz, V: 60.484 Hz
        geometry 800 480 800 480 16
        timings 34722 80 48 3 6 32 7
        accel false
        rgba 5/11,6/5,5/0,0/0
    endmode

    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    pvrsrvkm              126656  2
    drm                   126236  3 pvrsrvkm
    omapfb                 23804  1
    cfbcopyarea             2696  1 omapfb
    cfbimgblt               1736  1 omapfb
    cfbfillrect             2704  1 omapfb
    panel_generic_dpi       1760  1
    omapdss               114048  2 omapfb,panel_generic_dpi
    max7359_keypad          2680  0
    spidev                  3852  0
    ------
    Boot settings
    console=ttyO2,115200n8 mpurate=720 buddy=unknown camera=lbcm3m1 vram=12M omapfb.mode=dvi:800x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
    ------
    Linux Kernel version
    Linux beagleboard 3.0.12+ #45 PREEMPT Thu Mar 15 02:36:28 GMT-4 2012 armv7l unknown
    root@beagleboard:~#

  • Here is simple application with qt3 usage, it show garbage instead of "test":

    int main(int argc, char *argv[])
    {
            QApplication app(argc, argv);
            QLabel w("test", 0);
            w.resize(100, 100);
            w.show();
            return app.exec();
    }

    As I see the same picture with gtk+.

    So application that works on the top of any complicated graphical toolkit,

    can not draw text. On the same time the applications like XTERM looks fine.

    The 3d examples that come with Graphics_SDK_4_05_00_03 works fine also.

    PS

    if replace /usr/local/XSGX/bin/X with orginal Xorg  (from April Narcissus angstrom distribution) all works fine.

    PS PS

    I take image from Narcissus, because of here:

    http://processors.wiki.ti.com/index.php/RN_4_05_00_03

    there is note that driver was tested with it.