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.

Linux/DLPDLCR2000EVM: could't play the video on the beaglebone black

Part Number: DLPDLCR2000EVM

Tool/software: Linux

root@beaglebone:~# uname -a
Linux beaglebone 4.4.68-ti-r115 #1 SMP Sat Jul 29 21:04:28 UTC 2017 armv7l GNU/Linux
root@beaglebone:~# cd /opt/scripts/device/bone/capes/DLPDLCR2000/
root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# export DISPLAY=:0
root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# python MplayerTest.py
set slave address: 27
Make sure the display port is set. For example export DISPLAY=:0

1
SourceSel.EXTERNAL_VIDEO_PARALLEL_I_F_
2
Resolution.NHD_LANDSCAPE
##################################################################
play video
nhd_test.mp4
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team

Playing nhd_test.mp4.
Detected file format: QuickTime / MOV (libavformat)
[lavf] stream 0: video (h264), -vid 0
Clip info:
major_brand: mp42
minor_version: 1
compatible_brands: mp42avc1
creation_time: 2017-07-07 14:32:35
Load subtitles in .
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
[gl] OpenGL 3.x context creation not implemented.
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
SDL SetVideoMode failed: No video mode large enough for 320x200
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
[VO_SDL] Using driver: fbcon.
No protocol specified
vo: couldn't open the X11 display (:0)!
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Audio: no sound
Starting playback...
VIDEO: 640x360 30.000 fps 3600.5 kbps (450.1 kB/s)
VO: [sdl] 640x360 => 640x360 Planar YV12 [fs] [zoom]
[VO_SDL] Couldn't get any acceptable SDL Mode for output.
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)
None
Does the video play on the screen? (Pass/Fail/Stop) (Pass/Fail/Stop) and comment: Test passed
root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000#

What's the problem? I can't play the video by using DLP.

  • Hello user and welcome to the E2E forums,

    Just to confirm, did you follow this guide on E2E? 

    If you did our 2000EVM expert is out today but he should be able to get back to you tomorrow.

    Thanks,

    Kyle

  • Yes, I have totally followed that guide. But it didn't work.
    I have repeated the above steps at least 3 times.
    I hope that your 2000EVM expert can help me solve the problem.
    Thanks.
  • User,

    What version of Debian linux are you using? Can you provide the distro name?

    The system appears to be telling you that it cannot find X11. A GUI and X11 is necessary for the EVM to output video. If you are using a version of Debian with no GUI, the system will be unable to output to the display.

    If you don't want to reinstall the system with a different disto, you could try manually installing the above items using "apt-get".

    I hope this helps! Let me know if you encounter further issues.

    Best Regards,
    Philippe Dollo
  • root@beaglebone:/home/debian/Desktop# uname -a
    Linux beaglebone 4.4.68-ti-r115 #1 SMP Sat Jul 29 21:04:28 UTC 2017 armv7l GNU/Linux
    root@beaglebone:/home/debian/Desktop# cat /proc/version
    Linux version 4.4.68-ti-r115 (root@a1-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Sat Jul 29 21:04:28 UTC 2017
    root@beaglebone:/home/debian/Desktop# cat /etc/issue
    Debian GNU/Linux 8 \n \l

    BeagleBoard.org Debian Image 2017-08-01

    Support/FAQ: elinux.org/Beagleboard:BeagleBoneBlack_Debian

    default username:password is [debian:temppwd]

    root@beaglebone:/home/debian/Desktop# lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 8.9 (jessie)
    Release: 8.9
    Codename: jessie
    root@beaglebone:/home/debian/Desktop#

    My linux version has the GUI and X11. When I execute
    i2cset -y 2 0x1b 0x0b 0x00 0x00 0x00 0x00 i, i2cset -y 2 0x1b 0x0c 0x00 0x00 0x00 0x1b i.
    The desktop is displayed.

    There is no problem playing pictures, but there is a problem playing the video.
    What's the problem with my DLP?

    Thanks!
  • User,

    If you are able to display the desktop, then your DLP EVM is working fine. In this case, there is something wrong with your Linux software. Please double check your mplayer installation and reinstall if necessary. I would also request that you try running the video on its own without calling the python script, which simply automates some functionality. While the system is displaying the BeagleBone desktop, try doing:

    > export DISPLAY=:0
    > mplayer nhd_test.mp4

    I recommend exploring the mplayer man page to see what video driver options are available to you. You may need to add custom flags for your particular BeagleBone configuration.

    As this is definitely a linux-side issue, I also recommend that you seek additional assistance from the BeagleBoard.org community forums, as the users there may be able to provide extra feedback:

    beagleboard.org/discuss
  • 我解决了这个问题。当我作为普通用户登录时,它可以正常播放。但我不知道为什么。

    我很高兴解决这个问题。

    谢谢。

  • I am glad you were able to solve your issue. Python is somewhat picky about user permissions, so it expects a standard user and not a superuser when attempting to run scripts that access files.

    Best Regards,

    Philippe Dollo