[vlc] vlc on PXA-framebuffer - initialization problem

Holger Kummert kummert at nentec.de
Wed Jul 16 09:29:06 CEST 2003


Hello,

I have problems to run vlc 0.6.0 on an embedded arm-based system without
any X/GTK/wxWindows support. The processor is an Intel XScale PXA250. The
only graphical output-device is the framebuffer.  It seems that vlc isn't
able to initialize the framebuffer.
I thing that the main error message is

    fb video output error: cannot get terminal mode (Invalid argument)

When I look in the kernel code (version is 2.4.19, with patches to run on
PXA250), I can see that vlc tries to get tty-information from device '0'
(hardcoded in fb.c, function Create()). Is this related to /dev/fb0?

When I start vlc from a serial connection (ttyS0) or from tty0, the
framebuffer (resolution is 400x234) remains unchanged.  But framebuffer is
actually working, e.g.  "cat bootsplash > /dev/fb0" shows a picture on the
screen, Qt (OPIE) is also running.

The output when I start vlc is:

# vlc -vvv nbsaintro.mpg --fbdev /dev/fb0 --fullscreen
VideoLAN Client 0.6.0 Trevelyan
[00000000] main root debug: VLC media player - version 0.6.0 Trevelyan - (c) 1996-200
3 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --host=arm --disab
le-dvd --disable-dvbpsi --enable-faad --prefix=/my/working/directory/project/nfs_fs/usr/l
ocal --without-x --without-x11 --disable-xvid --disable-x11 --disable-xvideo --disabl
e-gtk --disable-wxwindows --with-tuning=xscale --with-ffmpeg-tree=/my/working/directo
ry/project/packages/videolan/ffmpeg-20030622
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing `modules'
[00000000] main root debug: recursively browsing `/usr/local/lib/vlc'
[00000000] main root debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 112 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 1 candidate
[00000024] main module debug: using memcpy module "memcpy"
[00000123] main playlist debug: waiting for thread completion
[00000123] main playlist debug: thread 1026 (playlist) created at priority 0 (src/pla
ylist/playlist.c:76)
[00000123] main playlist debug: adding playlist item « nbsaintro.mpg »
[00000124] main interface debug: looking for interface module
[00000124] main interface debug: probing 2 candidates
remote control interface initialized, `h' for help
[00000025] main module debug: using interface module "rc"
[00000124] main interface debug: interface initialized
[00000124] main interface debug: thread 2051 (manager) created at priority 0 (src/int
erface/interface.c:118)
[00000123] main playlist debug: creating new input thread
[00000125] main input: playlist item `nbsaintro.mpg'
[00000125] main input debug: waiting for thread completion
[00000125] main input debug: thread 3076 (input) created at priority 0 (src/input/inp
ut.c:157)
[00000125] main input debug: access `', demux `', name `nbsaintro.mpg'
[00000125] main input debug: looking for access module
[00000125] main input debug: probing 4 candidates
[00000125] vcd input debug: trying .cue file: nbsaintro.cue
[00000125] vcd input warning: could not open nbsaintro.mpg
[00000125] cdda input debug: trying .cue file: nbsaintro.cue
[00000125] cdda input warning: could not open nbsaintro.mpg
[00000125] access_file input debug: opening file `nbsaintro.mpg'
[00000065] main module debug: using access module "access_file"
[00000125] main input debug: looking for demux module
[00000125] main input debug: probing 13 candidates
[00000125] mp4 input warning: MP4 plugin discarded (not a valid file)
[00000125] avi input warning: avi module discarded (invalid header)
[00000125] asf input warning: ASF v1.0 plugin discarded (not a valid file)
[00000125] ts input warning: TS module discarded (no sync)
[00000125] a52sys input warning: a52 module discarded (no startcode)
[00000125] es input warning: ES module discarded (system startcode)
[00000125] wav input warning: WAV plugin discarded (not a valid file)
[00000125] au input warning: AU plugin discarded (not a valid file)
[00000125] main input debug: looking for id3 module
[00000125] main input debug: probing 2 candidates
[00000125] id3tag input debug: Checking for ID3 tag
[00000044] main module debug: using id3 module "id3tag"
[00000044] main module debug: unlocking module "id3tag"
[00000125] main input debug: looking for mpeg-system module
[00000125] main input debug: probing 1 candidate
[00000059] main module debug: using mpeg-system module "mpeg_system"
[00000125] main input debug: selecting ES 0xe0
[00000126] main decoder debug: looking for decoder module
[00000126] main decoder debug: probing 12 candidates
[00000040] main module debug: using decoder module "libmpeg2"
[00000126] main decoder debug: thread 4101 (decoder) created at priority 0 (src/input
/input_dec.c:113)
[00000125] main input debug: selecting ES 0xc0
[00000127] main decoder debug: looking for decoder module
[00000127] main decoder debug: probing 12 candidates
[00000034] main module debug: using decoder module "mpeg_audio"
[00000127] main decoder debug: thread 5126 (decoder) created at priority 0 (src/input
/input_dec.c:113)
[00000125] main input debug: dumping stream ID 0x0 [OK:0/D:0]
[00000125] main input debug: seekable stream, position: 0/2226180 (-:--:--/-:--:--)
[00000125] main input debug: dumping program 0x0, version 0 (complete)
[00000125] main input debug: ES 0xbe, stream 0xbe, fourcc `    ', not selected [OK:0/
ERR:0]
[00000125] main input debug: ES 0xe0, stream 0xe0, fourcc `mpgv', selected [OK:0/ERR:
0]
[00000125] main input debug: ES 0xc0, stream 0xc0, fourcc `mpga', selected [OK:0/ERR:
0]
[00000060] main module debug: using demux module "ps"
[00000126] main decoder debug: no usable vout present, spawning one
[00000128] main video output debug: looking for video output module
[00000128] main video output debug: probing 3 candidates
[00000128] fb video output error: cannot get terminal mode (Invalid argument)
[00000019] main module debug: using video output module "dummy"
[00000128] main video output debug: waiting for thread completion
[00000128] main video output debug: got 8 direct buffer(s)
[00000128] main video output debug: picture in 160x128, chroma 0x32315659 (YV12), asp
ect ratio 4:3
[00000128] main video output debug: picture out 160x128, chroma 0x36315652 (RV16), as
pect ratio 4:3
[00000128] main video output debug: looking for chroma module
[00000128] main video output debug: probing 6 candidates
[00000074] main module debug: using chroma module "i420_rgb"
[00000128] main video output debug: indirect render, mapping render pictures 0-7 to s
ystem pictures 8-15
[00000128] main video output debug: thread 6151 (video output) created at priority 0
(src/video_output/video_output.c:429)
[00000126] libmpeg2 decoder debug: 160x128, aspect 576000, 30.000 fps
[00000128] main video output warning: late picture skipped (1070083497)
[00000129] main private warning: vout synchro warning: pts != current_date (-727042)
[00000127] main decoder debug: no aout present, spawning one
[00000130] main audio output debug: looking for audio output module
[00000130] main audio output debug: probing 3 candidates
[00000130] oss audio output error: cannot open audio device (/dev/dsp)
[00000018] main module debug: using audio output module "dummy"
[00000130] main audio output debug: output 'mpga' 44100 Hz Mono frame=1152 samples/12
62 bytes
[00000130] main audio output debug: mixer 'mpga' 44100 Hz Mono frame=1152 samples/126
2 bytes
[00000130] main audio output debug: filter(s) 'fi32'->'mpga' 44100 Hz->44100 Hz Mono-
>Mono
[00000131] main private debug: looking for audio filter module
[00000131] main private debug: probing 21 candidates
[00000130] main audio output error: couldn't find a filter for the conversion
[00000130] main audio output error: couldn't set an output pipeline
[00000018] main module debug: unlocking module "dummy"
[00000129] main private debug: stream periodicity changed from P[5] to P[7]
[00000129] main private debug: decoded 111/112 pictures
[00000129] main private debug: decoded 112/112 pictures


signal 2 received, terminating vlc - do it again in case it gets stuck
[00000001] main vlc debug: removing all interfaces
[00000124] main interface debug: thread 2051 joined (src/interface/interface.c:158)
[00000025] main module debug: unlocking module "rc"
[00000001] main vlc debug: removing all playlists

[00000125] main input debug: 7 loops consuming user: 2, system: 8
[00000125] main input debug: freeing info structures...
[00000125] main input debug: dumping stream ID 0x0 [OK:0/D:179]
[00000125] main input debug: seekable stream, position: 356364/2226180 (0:00:09/0:00:
59)
[00000125] main input debug: dumping program 0x0, version 0 (complete)
[00000125] main input debug: ES 0xbe, stream 0xbe, fourcc `    ', not selected [OK:0/
ERR:0]
[00000125] main input debug: ES 0xe0, stream 0xe0, fourcc `mpgv', selected [OK:144/ER
R:0]
[00000125] main input debug: ES 0xc0, stream 0xc0, fourcc `mpga', selected [OK:27/ERR
:0]
[00000125] main input debug: unselecting ES 0xe0
[00000126] main decoder debug: thread 4101 joined (src/input/input_dec.c:152)
[00000126] main decoder debug: killing decoder for 0xe0, fourcc `mpgv', 20 PES in FIF
O
[00000040] main module debug: unlocking module "libmpeg2"
[00000125] main input debug: unselecting ES 0xc0
[00000127] main decoder debug: thread 5126 joined (src/input/input_dec.c:152)
[00000127] main decoder debug: killing decoder for 0xc0, fourcc `mpga', 9 PES in FIFO
[00000034] main module debug: unlocking module "mpeg_audio"
[00000125] main input debug: no more selected ES
[00000059] main module debug: unlocking module "mpeg_system"
[00000060] main module debug: unlocking module "ps"
[00000125] access_file input: closing `/://nbsaintro.mpg'
[00000065] main module debug: unlocking module "access_file"
[00000125] main input debug: pes: 22 packets
[00000125] main input debug: data: 22 packets
[00000125] main input debug: buffers: 12 packets
[00000074] main module debug: unlocking module "i420_rgb"
[00000019] main module debug: unlocking module "dummy"
[00000128] main video output debug: thread 6151 joined (src/video_output/video_output
.c:452)
[00000125] main input debug: thread 3076 joined (src/input/input.c:191)
[00000123] main playlist debug: thread 1026 joined (src/playlist/playlist.c:98)
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000024] main module debug: unlocking module "memcpy"


Does anyone have an idea?

Many thanks in advance,
Holger


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list