- Rebase on Linux 3.4.11- Panda DVI connector support- DSS off mode support
Known Issues:* BT is not supported - shall be fixed next month.* Black screen issue on some HW - workaround: Ctrl+Alt+F1 then Ctrl+Alt+F7 or boot with screen un-plugged, plug it after 1 minute. Issue under investigation.
Hi Xavier,
I have found another memory leak, maybe you have the possibility to look in to that. I run a looped video on the pandaboard (ES) with this command:
gst-launch-0.10 --loop playbin2 video-sink="dri2videosink" uri=file://<movie>.mov &
After running for 2 days the video stops. This was with the August update, but now after trying the latest October update, the problem persists.
Restarting the video shows a memory issue:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
libdce-x11.c:64: dce_auth_x11 info: attempting to open X11 connection
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
(gst-launch-0.10:19644): GStreamer-ERROR **: gstbuffer.c:455: failed to allocate 3637248 bytes
[1]+ Trace/breakpoint trap gst-launch-0.10 --loop playbin2 video-sink="dri2videosink" uri=....
Looking at the memory usage it's clear that all the memory is exhausted:
# free
total used free shared buffers cached
Mem: 1024012 956432 67580 0 200 42208
-/+ buffers/cache: 914024 109988
Swap: 0 0 0
And seeing that Xorg is the culprit
# top
[7m PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
(B [m 1677 root 20 0 771m 763m 15m S 2 76.3 64:44.14 Xorg
(B [m19609 opticon 20 0 10756 5220 1064 S 0 0.5 0:01.78 xterm
(B [m 1687 opticon 20 0 13544 3480 1504 S 0 0.3 0:00.72 openbox
(B [m19615 opticon 20 0 6096 2868 984 S 0 0.3 0:01.76 bash
Any ideas?
Thanks in advance,
Dennis Karmelk
Op woensdag 3 oktober 2012 15:07:05 UTC+2 schreef Boudet, Xavier het volgende:
DKMS make.log for pvr-omap4-1.9.0.6.1.1 for kernel 3.2.0-1420-omap4 (armv7l) Tue Oct 16 15:35:41 CEST 2012
make[1]: Entering directory `/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/build/linux2/omap4430_linux'
../config/core.mk:292: Setting SGX_DISABLE_VISTEST_SUPPORT=1 because PVRSRV_USSE_EDM_STATUS_DEBUG=1
../config/core.mk:339: CROSS_COMPILE is not set. Target components will be built with the host compiler
../config/core.mk:419: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
LD /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/built-in.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pdump.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o
In file included from /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:132:0:
/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/services4/srvkm/env/linux/private_data.h:95:28: fatal error: linux/omap_drv.h: No such file or directory compilation terminated.
/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:368:28: fatal error: linux/omap_drv.h: No such file or directory compilation terminated.
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_bridge_k.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_debug.o
In file included from /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_bridge_k.c:52:0:
/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/services4/srvkm/env/linux/private_data.h:95:28: fatal error: linux/omap_drv.h: No such file or directory compilation terminated.
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mm.o
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o] Error 1
/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mm.c:1774:30: fatal error: linux/omap_drv.h: No such file or directory compilation terminated.
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_bridge_k.o] Error 1
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mm.o] Error 1
make[3]: *** [_module_/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild] Error 2
make[2]: *** [kbuild] Error 2
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/build/linux2/omap4430_linux'
make: *** [all] Error 2
Hi Xavier,
I am new to here.
I have successfully install the update and confirm the video H/W acceleration is working.
But the system would crash when I try to play a MPEG-2 ( Full-HD ) file that has more than 2 min length.
I am using openbox as window-manager, gst-lauch to play the video, the MPEG-2 file is located inside the SD-card.
And I have disabled the swap area.
Here is my crash log from serial terminal:
http://pastebin.com/hBJedMT8
If you need more information, please let me know.
Thank you all the hard work.
Linus
I just installed the this using the new installation procedure. Now my pandaboard has frequent freezes and sometimes does not start up. Also when i hover over anything with the cursor the screen flashes with artifacts.
I dont really know what to do about it.
Thanks in advance
ro elevator=noop console=ttyO2,115200n8 mem=1G@0x80000000 root=<your root>Be sure not to use anymore vram=xxx.
Hello,
I am having the same trouble with my pandaboard ES freezing very often and having troubles rebooting or starting up. I explained my trouble here but didn't get any reply so far.
Reading the comments below, I checked if omapdrm_pvr is loaded. Running lsmod show me this:Module Size Used by
omapdrm_pvr 336605 0
The board freezes when I am either downloading and transferring files (180+ Mo) or when I install packages.
I also had the mouse flashing problem but this is solved by disabling HWcursor ;).
Cheers!
Mathieu
Thank you for the quick respond.
I will try out all your advices.
My G-streamer command is :
gst-lauch-0.10 playbin2 uri=<path_to_MPEG-2_file>
I haven't mastered all the pipeline commands yet.
One little thing is, I am using the SanDisk Extreme Pro 8GB( 95MB/s ), could this SD-card would have the best
performance or a USB drive is still the best?
Linus
Hi ndec,thank you for your reply.
I have built the example (using the supplied make script) and still fail to run them on my pandaboard:
me@me-dt-panda:~$ ./OGLESHelloAPI
-bash: ./OGLESHelloAPI: No such file or directory
You are clearly using "aeabi". I suppose you are cross compiling, please use armhf cross compiler and that you have "-mfloat-abi=hard" in your CFLAGS (and not "-mfloat-abi=softfp")me@me-dt-panda:~$ ldd OGLESHelloAPInot a dynamic executableme@me-dt-panda:~$ readelf -A OGLESHelloAPIAttribute Section: aeabi
I have executed the test application you suggested and saw for a glance the triangle:me@me-dt-panda:/usr/bin$ xgles2test1--------------------- started ---------------------gbmpvr: WSEGL_IsDisplayValid:77: hNativeDisplay=0x1f95070
PVR:(Warning): LoadWSModule: Window system module libpvrws_KMS.so did not validate native display [98, /generic_ws.c]
wlpvr: WSEGL_IsDisplayValid:174: hNativeDisplay=0x1f95070
PVR:(Warning): LoadWSModule: Window system module libpvrws_WAYLAND.so did not validate native display [98, /generic_ws.c]
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
Yes, DDK is correctly installed.Compiling program '/usr/share/sgx-lib/glsltest1_vertshader.txt', 262 bytes longCompiling program '/usr/share/sgx-lib/glsltest1_fragshaderA.txt', 81 bytes longCompiling program '/usr/share/sgx-lib/glsltest1_fragshaderB.txt', 214 bytes longPVR:(Warning): PVRDRMSetFD: DRM fd already set [57, /pvr_bridge_u.c]--------------------- finished ---------------------
Does this mean the TI DDK for SGX is installed and configured correctly in my system?
DDK libs are in /usr/lib, you can have the list of SGX packages with "dpkg -l | grep SGX".Can you please point me to the exact location (on the target) of the graphics library mentioned in Imagination SDK user guide?
I will try next to run kmscube.Again, thank you for your help.
A major update has been done on TI PPA. Please read the below e-mail especially for upgrade.If you do not have installed the TI release PPA, please refer to New installation procedure.
Known Issues:* BT is not supported - shall be fixed next month.