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.

SGX build on DM3730 based beagleboard-xm

Hi,

We are trying to get latest SGX 4.10.00.01 on beagleboard-xm. Linux version on beagle board-xm: 3.4.7

Here are the steps:

1. Build and install latest Graphics SDK using command:

make BUILD=release OMAPES=5.x SUPPORT_XORG=1 PM_RUNTIME=1 all

make BUILD=release OMAPES=5.x SUPPORT_XORG=1 PM_RUNTIME=1 install

2. On target, run /etc/init.d/omap-demo.

Here is the output:

X.Org X Server 1.12.0
Release Date: 2012-03-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.35-30-generic-pae i686
Current Operating System: Linux Freezer01 3.4.7-x1 #50 SMP Thu Feb 27 12:08:47 IST 2014 armv7l
Kernel command line: console=ttyO2,115200n8 splash quiet text vram=12MB omapfb.mode=dvi:640x480MR-16@60 omapfb.vram=0:4M,1:3M,2:3M omapdss.def_disp=dvi root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mpurate=auto buddy=none buddy2=none
Build Date: 05 July 2013 03:04:09PM

Current version of pixman: 0.24.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Thu Feb 27 16:18:54 2014
(++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "ServerLayout0"
(**) |-->Screen "Screen" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Video Device"
(==) No monitor specified for screen "Screen".
Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/local/XSGX/share/fonts/X11/misc/,
/usr/local/XSGX/share/fonts/X11/Type1/,
/usr/local/XSGX/share/fonts/X11/100dpi/,
/usr/local/XSGX/share/fonts/X11/75dpi/
(==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
(==) |-->Input Device "Keyboard"
(==) |-->Input Device "<default keyboard>"
(==) The core pointer device wasn't specified explicitly in the layout.
Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.0.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.0.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.0.0
(==) AIGLX enabled
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.13.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.0.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.2.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
(II) Module PVR: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 110.235.9475
(II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 2.6.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.12.0, module version = 1.6.1
(II) pvr: Driver for PowerVR chipsets: PowerVR SGX
(--) using VT number 7

(WW) xf86OpenConsole: setpgid failed: Operation not permitted
(WW) Falling back to old probe method for pvr
FATAL: Module pvrsrvkm not found.
(EE) Couldn't get PVR Services status
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.

Any pointers towards these errors?

Regards,

Ketan

  • Hi,

    Have you gone through the pointers in below link & taken care of these points -

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

    Thanks,

    Prathap.

  • Hi Prathap,

    I have tried these steps. Here is what I notice:

    1. matrix-gui is not running as seen in ps output.

    2. pvrsrvkm fails to load even after depmod -a command. and these dmesg log is seen when trying to insert this module:

    [ 41.214904] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)
    [ 41.215393] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)
    [ 69.981933] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)
    [ 69.983032] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)

    Thanks,

    Ketan

     

  • Hi Ketan,

    The default Kbuild file(under GFX_Linux_KM/services4/3rdparty/linux_drm) works till 3.2 kernel. This is as per the kernel version the graphics SDK release has been validated against and is also mentioned in release notes.

    The Graphics SDK 04.10.00.01 release notes mentions the kernel versions validated against -

    http://processors.wiki.ti.com/index.php/RN_4_10_00_01#Kernel.28Linux_PSP.29_versions_supported_or_used_for_validation

    The same GFX_Linux_KM/services4/3rdparty/linux_drm/Kbuild file has commented section listing the drm files to be used for kernel versions > 3.4. This is to provide reference for users who are using kernel versions greater than what is listed in gfx sdk release notes.Please use that if you are building against kernels >=3.4 & <3.8.

    Thanks,

    Prathap.

     

  • Hi Prathap,

    I  tried these steps and still I am getting the same error. Attaching the Xorg.0.log file for reference.

    Steps followed:

    1. Build kernel and modules for 3.4.7 on Linux Vmware

    2. Build Graphics SDK on Linux Vmware with commands:

    make BUILD=release OMAPES=5.x SUPPORT_XORG=1 PM_RUNTIME=1 all

    make BUILD=release OMAPES=5.x SUPPORT_XORG=1 PM_RUNTIME=1 install

    3. Install commands loads files in to a directory ~/targetfs which I tar using tar czf ../sgxbuild.tar.gz * and then untar it on target board at / location.

    4. Run ./omap-demo from /etc/init.d directory. 

    Please correct me if any changes are required for these steps.

    Regards,

    Ketan

    [2276624.531] 
    X.Org X Server 1.12.0
    Release Date: 2012-03-04
    [2276624.533] X Protocol Version 11, Revision 0
    [2276624.533] Build Operating System: Linux 2.6.35-30-generic-pae i686 
    [2276624.534] Current Operating System: Linux Freezer01 3.4.7-x1 #50 SMP Mon Mar 3 10:59:35 IST 2014 armv7l
    [2276624.534] Kernel command line: console=ttyO2,115200n8 splash quiet text vram=12MB omapfb.mode=dvi:640x480MR-16@60 omapfb.vram=0:4M,1:3M,2:3M omapdss.def_disp=dvi root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mpurate=auto buddy=none buddy2=none
    [2276624.536] Build Date: 05 July 2013  03:04:09PM
    [2276624.537]  
    [2276624.537] Current version of pixman: 0.24.4
    [2276624.538] 	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    [2276624.538] Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [2276624.542] (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Mon Mar  3 11:27:08 2014
    [2276624.543] (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
    [2276624.544] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [2276624.544] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [2276624.548] (==) ServerLayout "ServerLayout0"
    [2276624.549] (**) |-->Screen "Screen" (0)
    [2276624.550] (**) |   |-->Monitor "<default monitor>"
    [2276624.551] (**) |   |-->Device "Video Device"
    [2276624.552] (==) No monitor specified for screen "Screen".
    	Using a default monitor configuration.
    [2276624.552] (**) Option "BlankTime" "0"
    [2276624.552] (==) Not automatically adding devices
    [2276624.553] (==) Not automatically enabling devices
    [2276624.553] (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
    [2276624.554] 	Entry deleted from font path.
    [2276624.554] (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
    [2276624.555] 	Entry deleted from font path.
    [2276624.555] (==) FontPath set to:
    	/usr/local/XSGX/share/fonts/X11/misc/,
    	/usr/local/XSGX/share/fonts/X11/Type1/,
    	/usr/local/XSGX/share/fonts/X11/100dpi/,
    	/usr/local/XSGX/share/fonts/X11/75dpi/
    [2276624.556] (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
    [2276624.556] (==) |-->Input Device "Keyboard"
    [2276624.557] (==) |-->Input Device "<default keyboard>"
    [2276624.557] (==) The core pointer device wasn't specified explicitly in the layout.
    	Using the first mouse device.
    [2276624.558] (==) The core keyboard device wasn't specified explicitly in the layout.
    	Using the default keyboard configuration.
    [2276624.558] (II) Loader magic: 0x279c38
    [2276624.558] (II) Module ABI versions:
    [2276624.559] 	X.Org ANSI C Emulation: 0.4
    [2276624.559] 	X.Org Video Driver: 12.0
    [2276624.559] 	X.Org XInput driver : 16.0
    [2276624.559] 	X.Org Server Extension : 6.0
    [2276624.559] (II) LoadModule: "extmod"
    [2276624.561] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
    [2276624.562] (II) Module extmod: vendor="X.Org Foundation"
    [2276624.563] 	compiled for 1.12.0, module version = 1.0.0
    [2276624.564] 	Module class: X.Org Server Extension
    [2276624.564] 	ABI class: X.Org Server Extension, version 6.0
    [2276624.564] (II) Loading extension MIT-SCREEN-SAVER
    [2276624.564] (II) Loading extension XFree86-VidModeExtension
    [2276624.564] (II) Loading extension XFree86-DGA
    [2276624.564] (II) Loading extension DPMS
    [2276624.564] (II) Loading extension XVideo
    [2276624.564] (II) Loading extension XVideo-MotionCompensation
    [2276624.564] (II) Loading extension X-Resource
    [2276624.565] (II) LoadModule: "dbe"
    [2276624.565] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
    [2276624.566] (II) Module dbe: vendor="X.Org Foundation"
    [2276624.567] 	compiled for 1.12.0, module version = 1.0.0
    [2276624.568] 	Module class: X.Org Server Extension
    [2276624.568] 	ABI class: X.Org Server Extension, version 6.0
    [2276624.568] (II) Loading extension DOUBLE-BUFFER
    [2276624.568] (II) LoadModule: "glx"
    [2276624.569] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
    [2276624.570] (II) Module glx: vendor="X.Org Foundation"
    [2276624.571] 	compiled for 1.12.0, module version = 1.0.0
    [2276624.572] 	ABI class: X.Org Server Extension, version 6.0
    [2276624.572] (==) AIGLX enabled
    [2276624.573] (II) Loading extension GLX
    [2276624.573] (II) LoadModule: "record"
    [2276624.574] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
    [2276624.575] (II) Module record: vendor="X.Org Foundation"
    [2276624.576] 	compiled for 1.12.0, module version = 1.13.0
    [2276624.576] 	Module class: X.Org Server Extension
    [2276624.576] 	ABI class: X.Org Server Extension, version 6.0
    [2276624.576] (II) Loading extension RECORD
    [2276624.577] (II) LoadModule: "dri"
    [2276624.577] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
    [2276624.580] (II) Module dri: vendor="X.Org Foundation"
    [2276624.580] 	compiled for 1.12.0, module version = 1.0.0
    [2276624.581] 	ABI class: X.Org Server Extension, version 6.0
    [2276624.581] (II) Loading extension XFree86-DRI
    [2276624.581] (II) LoadModule: "dri2"
    [2276624.582] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    [2276624.583] (II) Module dri2: vendor="X.Org Foundation"
    [2276624.584] 	compiled for 1.12.0, module version = 1.2.0
    [2276624.585] 	ABI class: X.Org Server Extension, version 6.0
    [2276624.585] (II) Loading extension DRI2
    [2276624.585] (II) LoadModule: "pvr"
    [2276624.586] (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
    [2276624.589] (II) Module PVR: vendor="X.Org Foundation"
    [2276624.589] 	compiled for 1.12.0, module version = 110.235.9475
    [2276624.590] 	Module class: X.Org Video Driver
    [2276624.590] 	ABI class: X.Org Video Driver, version 12.0
    [2276624.591] (II) LoadModule: "evdev"
    [2276624.592] (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
    [2276624.593] (II) Module evdev: vendor="X.Org Foundation"
    [2276624.593] 	compiled for 1.12.0, module version = 2.6.0
    [2276624.594] 	Module class: X.Org XInput Driver
    [2276624.594] 	ABI class: X.Org XInput driver, version 16.0
    [2276624.594] (II) LoadModule: "kbd"
    [2276624.595] (II) Loading /usr/local/XSGX/lib/xorg/modules/input/kbd_drv.so
    [2276624.597] (II) Module kbd: vendor="X.Org Foundation"
    [2276624.597] 	compiled for 1.12.0, module version = 1.6.1
    [2276624.598] 	Module class: X.Org XInput Driver
    [2276624.598] 	ABI class: X.Org XInput driver, version 16.0
    [2276624.598] (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
    [2276624.600] (--) using VT number 7
    
    [2276624.601] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
    [2276624.606] (WW) Falling back to old probe method for pvr
    [2276624.607] drmOpenDevice: node name is /dev/dri/card0
    [2276624.621] drmOpenDevice: open result is -1, (No such device or address)
    [2276624.635] drmOpenDevice: open result is -1, (No such device or address)
    [2276624.635] drmOpenDevice: Open failed
    [2276624.645] [drm] failed to load kernel module "pvrsrvkm"
    [2276624.645] (EE) Couldn't get PVR Services status
    [2276624.645] (EE) No devices detected.
    [2276624.646] 
    Fatal server error:
    [2276624.646] no screens found
    [2276624.647] 
    Please consult the The X.Org Foundation support 
    	 at http://wiki.x.org
     for help. 
    [2276624.647] Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for additional information.
    [2276624.648] 
    [2276624.657] Server terminated with error (1). Closing log file.
    

  • Hi Prathap,

    Got some success with the following changes:

    make BUILD=release OMAPES=5.x SUPPORT_XORG=1 all (without PM_RUNTIME set)

    Steps on board:

    1. run ./omap_demo (these failed to load the pvrsrvkm module). Looks like I need to run this always after reboot.

    2.  insmod drm.ko and insmod pvrsrvkm.ko from /lib/module/3.4.7-x1/extra folder

    3. Run /usr/local/XSGX/bin/X :0 -verbose -config /usr/local/XSGX/etc/xorg.conf &

    4. Run xgles1test1 displays 2 triangles as expected.

    I tried running other demos (from /opt/gfxsdkdemos/ogles folder) but with no success. I get such errors:

    ./OGLESFilmTV: No such file or directory

     

    Thanks,

    Ketan

  • Hi Ketan,

    Good to know that you have been able to build the graphics SDK release and get the Xorg driver working with xgles1test1 running fine.

    What graphics SDK release package are you using? The release page has muliple packages. For example if you are using Graphics_SDK_setuplinux_4_10_00_01_minimal_demos.bin, then you should be using softfp toolchain & file system.

    If you are using the Graphics_SDK_setuplinux_4_10_00_01_hardfp_minimal_demos.bin, then as the name suggests you should be using hardfp toolchain to build the graphics sdk release package and hardfp file system.

    Make sure you are using the right toolchain for the package you have downloaded ie if you have downloaded a hardfp package you should be using a hardfp toolchain and hardfp file system only.

    Thanks,

    Prathap.

     

  • Hi Prathap,

    I used Graphics_SDK_setuplinux_4_10_00_01.bin and the target filesystem is hardfp. I guess the hardfp toolchain that I need to install is g++-arm-linux-gnueabihf.Can you please confirm?

    Thanks,

    Ketan

  • Hi Prathap,

    I used the Graphics_SDK_setuplinux_4_10_00_01_hardfp_minimal_demos.bin (and hardfp toolchain) and could even run the OGLESEvilSkull and OGLESFilmTV on the target. However I am facing issues running the demos from ogles2 directory. I tried both OGLES2ChameleonMan and OGLES2MagicLantern demos. Both failed with following error:

    symbol lookup error: /usr/lib/arm-linux-gnueabihf/egl/egl_gallium.so: undefined symbol: _XGetRequest

    Any pointers towards this? 

    Thanks,

    Ketan

  • Hi Ketan,

    Good to know that you could get the OGLES demos working on the target.

    Also through your mail update, saw that you have OGLES2 demos also working now.

    At a preliminary level to see if GPU is being used, you could do cat /proc/interrupts | grep -i sgx to see that SGX interrupts are continously incrementing when you are running the demos. Further for performance analysis and GPU utilization , you can use PVRTune. The below section in sgxdbg page discusses similar topic related to your query -

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

    PVRTune can be downloaded from -

    http://www.imgtec.com/powervr/insider/powervr-pvrtune.asp

    Thanks,

    Prathap.

     

  • Hi Ketan,

    I see that you have opened another thread as below for the discussion -

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/537/p/329576/1149395.aspx#1149395

    In this context, can you please close the current thread by marking the verified answer.

    Further discussions will happen on the new thread you have created.

    Thanks,

    Prathap.

  • Hi Prathap,

    I do not get verified answer button in this thread and if i click yes for "Did this answer your question?", then also this does not get marked as verified. 

    Regards,

    Ketan

  • Hello Ketan

    I also try to start SGX on beagleboard xm (OM3730), but failed.

    kernek version is 3.6.7+ from https://github.com/beagleboard/kernel/tree/beagleboard-3.6

    I use the Graphics_SDK_setuplinux_4_10_00_01_BinOnly.bin  and cross_compile arm-angstrom-linux-gnueabi-

    My steps:

    1. Build and install kernel and modules for 3.6.7 on Ubuntu 12.10

    2. Build Graphics SDK on Ubuntu 12.10 with commands:

    make BUILD=release OMAPES=5.x SUPPORT_XORG=1 all_km

    make BUILD=release OMAPES=5.x SUPPORT_XORG=1 install_km

    3. when try insmod /opt/gfxlibraries/gfx_rel_es5.x/bufferclass_ti.ko  drm.ko pvrsrvkm.ko error

    [  582.408599] bufferclass_ti: Unknown symbol PVRGetBufferClassJTable (err 0)

    [  568.925354] drm: Unknown symbol drm_prime_remove_imported_buf_handle (err 0)             
    [  568.933288] drm: Unknown symbol drm_prime_fd_to_handle_ioctl (err 0)                     
    [  568.940460] drm: Unknown symbol drm_prime_handle_to_fd_ioctl (err 0)                     
    [  568.947509] drm: Unknown symbol drm_prime_destroy_file_private (err 0)                   
    [  568.954559] drm: Unknown symbol drm_prime_init_file_private (err 0)

    [  520.999633] pvrsrvkm: Unknown symbol drm_open (err 0)                                    
    [  521.005187] pvrsrvkm: Unknown symbol drm_fasync (err 0)                                  
    [  521.010803] pvrsrvkm: Unknown symbol drm_poll (err 0)                                    
    [  521.016113] pvrsrvkm: Unknown symbol drm_pci_init (err 0)                                
    [  521.021942] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)                          
    [  521.028564] pvrsrvkm: Unknown symbol drm_ioctl (err 0)                                   
    [  521.034240] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)                             
    [  521.040618] pvrsrvkm: Unknown symbol drm_mmap (err 0)                                    
    [  521.046081] pvrsrvkm: Unknown symbol drm_pci_exit (err 0)                                
    [  521.051910] pvrsrvkm: Unknown symbol drm_release (err 0)


    this just like you post, could you tell me how to solve this?

    thanks

    cly

  • Hello,

    I think you need to look at changes mention at:http://processors.wiki.ti.com/index.php/SGXDbg#Unable_to_build_graphics_SDK_with_SUPPORT_XORG.3D1_for_3.3_.26_above_kernels

    i.e. In your Graphics SDK install path, edit GFX_Linux_KM/services4/3rdparty/linux_drm/Kbuild to remove drm_sman.o and add drm_prime.o to list . 

    Regards,

    Ketan

  • hello, Ketan

    thanks your reply

    do what you said, I modprobe pvrsrvkm drm successfully.

    But when I run ./xgles1test1  failed

    lib/libc.so.6 version 'GLIBC_2.10' not found

    thanks

    cly

  • Hello Lin,

    I guess you could try  upgrading your distribution or package. I am not sure in this regards as I never faced this issue. Perhaps Prathap could provide you some pointer in this case.

    Regards,

    Ketan

  • Hello Ketan,

    with your help, I can start the ogles demos with SUPPORT_XORG=0

    but, I want to SUPPORT_XORG=1,  error happen

    it can insmod drm.ko, while try to insmode pvrsrvkm.ko show error 

    [  367.013397] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)

    [ 367.025695] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)

    so, I changed the rootfs and kernel using 

    ti-sdk-beagleboard-06.00.00.00-Linux-x86-Install.bin  and  Graphics_SDK_setuplinux_4_10_00_01.bin

    also some errors when run ./omap-demo

     line 14: /usr/local/XSGX/bin/X: No such file or directory 

    according to http://e2e.ti.com/support/arm/sitara_arm/f/791/t/285078.aspx  

    this may imcompatibility between ti-sdk-beagleboard-06.00.00.00-Linux-x86-Install.bin  and  Graphics_SDK_setuplinux_4_10_00_01.bin

    could you tell which rootfs and kernel you choose so that make the SUPPORT_XORG=1 works

     

  • Hello Ketan,

    Just a moment after I last reply,  I found when I rmmod drm.ko and insmod drm.ko again then I can insmod pvrsrvkm.ko successfully.

    but when I try your step Run /usr/local/XSGX/bin/X :0 -verbose -config /usr/local/XSGX/etc/xorg.conf &

    the screen shows nothing and can't input

    my rootfs have GNOME X support, then I startup with init 3 level, so does it matters? 

    thanks

    cly

  • Hi Lin,

    Even I was not able to see anything on the screen, nor was it accepting inputs. But launching of examples from /opt/gfxsdkdemos/ogles worked fine after running "export DISPLAY=:0". As I understand, now the Xorg is based on what SGX is provided i.e. from within /usr/local/XSGX folder. I was able to get touchscreen inputs after modifying /usr/local/XSGX/etc/xorg.conf file. 

    How do I check the init level of my startup?

    Regards,

    Ketan

  • Hi Ketan,

    taht's a good idea modfiying xorg.conf 

    you can run runlevel command to get the current runlevel, or open /etc/inittable file edit default init level.

    thanks & regards,

    cly