problem : "display is not visible"

*nix specific usage questions
yangranger
Blank Cone
Blank Cone
Posts: 11
Joined: 25 Nov 2008 18:29

problem : "display is not visible"

Postby yangranger » 23 Sep 2011 09:31

Hi,

I use libvlc-qt in my program, and it works on a pc but it doesn't on another.
this program is a client to a H264 stream.
I think it's not a libvlc developping problem but a "standard vlc mode" so I posted it here.

here is the debug of the problem

Code: Select all

[0x886ef7c] main input debug: TIMER input launching for 'video.sdp' : 10.140 ms - Total 10.140 ms / 1 intvls (Avg 10.140 ms) [0x8a161c4] main video output debug: destroying useless vout [0x8a3472c] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 10295) [0x8a3472c] main inhibit debug: removing module "xdg_screensaver" [0x8a3436c] main window debug: removing module "xcb_window" [0x8a33604] main generic debug: removing module "xcb_xv" [0x8a161c4] main video output debug: removing module "vout_wrapper" [0xb33b2184] main blend debug: removing module "blend" [0x8a1a12c] main spu text debug: removing module "freetype" [0x8a20f74] main scale debug: removing module "yuvp" [0x8a1ac14] main scale debug: removing module "swscale" libvlc Media: "/home/qas/template/video.sdp" [0x8a32024] main input debug: Creating an input for 'video.sdp' [0x8a32024] main input debug: thread (input) created at priority 10 (input/input.c:220) [0x8a32024] main input debug: thread started [0x8a32024] main input debug: using timeshift granularity of 50 MiB [0x8a32024] main input debug: using timeshift path '/tmp' [0x8a32024] main input debug: `/home/qas/template/video.sdp' gives access `' demux `' path `/home/qas/template/video.sdp' [0x8a32024] main input debug: creating demux: access='' demux='' path='/home/qas/template/video.sdp' [0x896ef84] main demux debug: looking for access_demux module: 4 candidates [0x896ef84] main demux debug: no access_demux module matching "any" could be loaded [0x896ef84] main demux debug: TIMER module_need() : 0.545 ms - Total 0.545 ms / 1 intvls (Avg 0.545 ms) [0x8a32024] main input debug: creating access '' path='/home/qas/template/video.sdp' [0x896ef84] main access debug: looking for access module: 5 candidates [0x896ef84] vcd access debug: trying .cue file: /home/qas/template/video.cue [0x896ef84] vcd access debug: could not find .cue file [0x896ef84] filesystem access debug: opening file `/home/qas/template/video.sdp' [0x896ef84] main access debug: using access module "filesystem" [0x896ef84] main access debug: TIMER module_need() : 0.960 ms - Total 0.960 ms / 1 intvls (Avg 0.960 ms) [0x896f20c] main stream debug: Using AStream*Stream [0x896f20c] main stream debug: pre buffering [0x896f20c] main stream debug: received first data after 0 ms [0x896f20c] main stream debug: pre-buffering done 152 bytes in 0s - 883 KiB/s [0x896f0cc] main stream debug: looking for stream_filter module: 5 candidates [0x896f0cc] main stream debug: no stream_filter module matching "any" could be loaded [0x896f0cc] main stream debug: TIMER module_need() : 0.355 ms - Total 0.355 ms / 1 intvls (Avg 0.355 ms) [0x896f0cc] main stream debug: looking for stream_filter module: 1 candidate [0x896f0cc] main stream debug: using stream_filter module "stream_filter_record" [0x896f0cc] main stream debug: TIMER module_need() : 0.342 ms - Total 0.342 ms / 1 intvls (Avg 0.342 ms) [0x8a32024] main input debug: creating demux: access='' demux='' path='/home/qas/template/video.sdp' [0x89705cc] main demux debug: looking for demux module: 49 candidates [0x89705cc] live555 demux debug: RTP subsession 'video/H264' [0x8a32024] main input debug: selecting program id=0 [0x89705cc] live555 demux debug: setup start: 0.000000 stop:0.000000 [0x89705cc] live555 demux debug: play start: 0.000000 stop:0.000000 [0x89705cc] main demux debug: using demux module "live555" [0x89705cc] main demux debug: TIMER module_need() : 1.457 ms - Total 1.457 ms / 1 intvls (Avg 1.457 ms) [0x8971754] main decoder debug: looking for decoder module: 25 candidates [0x8971754] avcodec decoder debug: libavcodec already initialized [0x8971754] avcodec decoder debug: trying to use direct rendering [0x8971754] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started [0x8971754] main decoder debug: using decoder module "avcodec" [0x8971754] main decoder debug: TIMER module_need() : 2.101 ms - Total 2.101 ms / 1 intvls (Avg 2.101 ms) [0x8981f84] main packetizer debug: looking for packetizer module: 20 candidates [0x8981f84] main packetizer debug: using packetizer module "packetizer_h264" [0x8981f84] main packetizer debug: TIMER module_need() : 0.433 ms - Total 0.433 ms / 1 intvls (Avg 0.433 ms) [0x8971754] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301) [0x8971754] main decoder debug: thread started [0xb336561c] main demux meta debug: looking for meta reader module: 0 candidates [0xb336561c] main demux meta debug: no meta reader module matched "any" [0xb336561c] main demux meta debug: TIMER module_need() : 0.337 ms - Total 0.337 ms / 1 intvls (Avg 0.337 ms) [0x8a32024] main input debug: `/home/qas/template/video.sdp' successfully opened [0x8a32024] main input debug: control type=1 [0x8a32024] main input debug: Buffering 0% [0x8981f84] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0) [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 12% [0x8981f84] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0) [0x8a32024] main input debug: Buffering 24% [0x8a32024] main input debug: Buffering 41% [0x8a32024] main input debug: no usable vout present, spawning one [0x8a31b54] main spu text debug: looking for text renderer module: 3 candidates [0x8a31b54] freetype spu text debug: using fontsize: 2 [0x8a31b54] main spu text debug: using text renderer module "freetype" [0x8a31b54] main spu text debug: TIMER module_need() : 0.737 ms - Total 0.737 ms / 1 intvls (Avg 0.737 ms) [0x8a43ad4] main scale debug: looking for video filter2 module: 18 candidates [0x8a43ad4] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality) [0x8a43ad4] main scale debug: using video filter2 module "swscale" [0x8a43ad4] main scale debug: TIMER module_need() : 1.247 ms - Total 1.247 ms / 1 intvls (Avg 1.247 ms) [0x8a01a2c] main scale debug: looking for video filter2 module: 18 candidates [0x8a01a2c] yuvp scale debug: YUVP to YUVA converter [0x8a01a2c] main scale debug: using video filter2 module "yuvp" [0x8a01a2c] main scale debug: TIMER module_need() : 0.268 ms - Total 0.268 ms / 1 intvls (Avg 0.268 ms) [0x89f9ee4] main video output debug: window size: 480x480 [0x89f9ee4] main video output debug: cropping picture 640x480 to 80,0,480x480 [0x89f9ee4] main video output debug: window size: 480x480 [0x89f9ee4] main video output debug: Deinterlacing available [0x89f9ee4] main video output debug: deinterlace 0, mode blend, is_needed 0 [0x89f9ee4] main video output debug: looking for video output module: 1 candidate [0x89f9ee4] vout_wrapper video output debug: Opening vout display wrapper [0x8a13e14] main generic debug: looking for vout display module: 4 candidates [0x8a14bf4] main window debug: looking for vout window xid module: 3 candidates [0x8a14bf4] main window debug: using vout window xid module "xcb_window" [0x8a14bf4] main window debug: TIMER module_need() : 0.792 ms - Total 0.792 ms / 1 intvls (Avg 0.792 ms) [0x8a14f24] main inhibit debug: looking for inhibit module: 2 candidates [0x8a14f24] main inhibit debug: using inhibit module "xdg_screensaver" [0x8a14f24] main inhibit debug: TIMER module_need() : 0.341 ms - Total 0.341 ms / 1 intvls (Avg 0.341 ms) [0x8a14f24] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 10300) [0x8a13e14] xcb_xv generic debug: connected to X11.0 server [0x8a13e14] xcb_xv generic debug: vendor : The X.Org Foundation [0x8a13e14] xcb_xv generic debug: version: 11004000 [0x8a13e14] xcb_xv generic debug: using screen 0xab [0x8a13e14] xcb_xv generic debug: using XVideo extension v2.2 [0x8a13e14] xcb_xv generic debug: using adaptor Intel(R) Textured Video [0x8a13e14] xcb_xv generic debug: using port 72 [0x8a13e14] xcb_xv generic debug: using image format 0x30323449 [0x8a13e14] xcb_xv generic debug: using X11 visual ID 0x21 (depth: 24) [0x8a13e14] xcb_xv generic debug: using X11 window 0x00e00000 [0x8a13e14] xcb_xv generic debug: using X11 graphic context 0x00e00002 [0x8a13e14] main generic debug: VoutDisplayEvent 'fullscreen' 0 [0x8a13e14] main generic debug: VoutDisplayEvent 'resize' 708x708 window [0x8a13e14] main generic debug: using vout display module "xcb_xv" [0x8a13e14] main generic debug: TIMER module_need() : 3.558 ms - Total 3.558 ms / 1 intvls (Avg 3.558 ms) [0x89f9ee4] main video output debug: using video output module "vout_wrapper" [0x89f9ee4] main video output debug: TIMER module_need() : 3.995 ms - Total 3.995 ms / 1 intvls (Avg 3.995 ms) [0x89f9ee4] main video output debug: got 25 direct buffer(s) [0x89f9ee4] main video output debug: pic render sz 640x480, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 [0x89f9ee4] main video output debug: pic in sz 640x480, of (80,0), vsz 480x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 [0x89f9ee4] main video output debug: pic out sz 640x480, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 [0x89f9ee4] main video output debug: direct render, mapping render pictures 0-23 to system pictures 1-24 [0x8971754] avcodec decoder warning: disabling direct rendering [0x8a13e14] xcb_xv generic debug: unhandled event 0 [0x8a13e14] xcb_xv generic debug: display is not visible [0x8971754] main decoder debug: End of video preroll [0x8971754] main decoder debug: Received first picture [0x8a31b54] freetype spu text debug: using fontsize: 30 [0xb33657cc] main blend debug: looking for video blending module: 1 candidate [0xb33657cc] blend blend debug: chroma: YUVA -> I420 [0xb33657cc] main blend debug: using video blending module "blend" [0xb33657cc] main blend debug: TIMER module_need() : 0.406 ms - Total 0.406 ms / 1 intvls (Avg 0.406 ms) [0x8a32024] main input debug: Buffering 59% [0x8a32024] main input debug: Buffering 76% [0x8a32024] main input debug: Buffering 94% [0x89f9ee4] main video output debug: Post-processing available [0x89f9ee4] main video output warning: vlc_object_find_name(postproc) is not safe! [0x8a32024] main input debug: Stream buffering done (337 ms in 311 ms) [0x8a32024] main input debug: Decoder buffering done in 7 ms [0x89f9ee4] main video output warning: late picture skipped (23051 > -790) [0x8a13e14] main generic debug: auto hidding mouse corrupted macroblock 39 29 (total_coeff=-1) error while decoding MB 39 29 Invalid level prefix error while decoding MB 39 29 [0x8a32024] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms) [0x8a32024] main input debug: ES_OUT_RESET_PCR called [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x8a32024] main input debug: Buffering 0% [0x89705cc] live555 demux warning: no data received in 10s, eof ? [0x8a32024] main input debug: EOF reached [0x8a32024] main input debug: Stream buffering done (0 ms in 8712 ms) [0x8a32024] main input debug: Decoder buffering done in 0 ms [0x8971754] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped [0x8971754] main decoder debug: removing module "avcodec" [0x8971754] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO [0x89f9ee4] main video output debug: [0] 4 0 [0x89f9ee4] main video output debug: [1] 4 0 [0x89f9ee4] main video output debug: [2] 4 0 [0x89f9ee4] main video output debug: [3] 4 0 [0x89f9ee4] main video output debug: [4] 4 0 [0x89f9ee4] main video output debug: [5] 4 0 [0x89f9ee4] main video output debug: [6] 4 0 [0x89f9ee4] main video output debug: [7] 4 0 [0x89f9ee4] main video output debug: [8] 4 0 [0x89f9ee4] main video output debug: [9] 4 0 [0x89f9ee4] main video output debug: [10] 4 0 [0x89f9ee4] main video output debug: [11] 4 0 [0x89f9ee4] main video output debug: [12] 4 0 [0x89f9ee4] main video output debug: [13] 4 0 [0x89f9ee4] main video output debug: [14] 4 0 [0x89f9ee4] main video output debug: [15] 4 0 [0x89f9ee4] main video output debug: [16] 4 0 [0x89f9ee4] main video output debug: [17] 4 0 [0x89f9ee4] main video output debug: [18] 4 0 [0x89f9ee4] main video output debug: [19] 2 0 [0x89f9ee4] main video output debug: [20] 4 0 [0x89f9ee4] main video output debug: [21] 4 0 [0x89f9ee4] main video output debug: [22] 4 0 [0x89f9ee4] main video output debug: [23] 4 0 [0x8a32024] main input debug: saving a free vout [0x8981f84] main packetizer debug: removing module "packetizer_h264" [0x89705cc] main demux debug: removing module "live555" [0x896f0cc] main stream debug: removing module "stream_filter_record" [0x896ef84] main access debug: removing module "filesystem" [0x8a32024] main input debug: Program doesn't contain anymore ES [0x8a32024] main input debug: thread ended
I don't understand why the display works on one of the two PCs but not on the other.


thank you

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem : "display is not visible"

Postby Rémi Denis-Courmont » 23 Sep 2011 17:50

No data received from the network.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yangranger
Blank Cone
Blank Cone
Posts: 11
Joined: 25 Nov 2008 18:29

Re: problem : "display is not visible"

Postby yangranger » 24 Sep 2011 20:08

Hi
No data received from the network.
this is when I stopped the test, (when I realize it will not work)

Code: Select all

[0x8a32024] main input debug: Buffering 59% [0x8a32024] main input debug: Buffering 76% [0x8a32024] main input debug: Buffering 94% [0x89f9ee4] main video output debug: Post-processing available [0x89f9ee4] main video output warning: vlc_object_find_name(postproc) is not safe! [0x8a32024] main input debug: Stream buffering done (337 ms in 311 ms) [0x8a32024] main input debug: Decoder buffering done in 7 ms [0x89f9ee4] main video output warning: late picture skipped (23051 > -790) [0x8a13e14] main generic debug: auto hidding mouse corrupted macroblock 39 29 (total_coeff=-1) error while decoding MB 39 29 Invalid level prefix error while decoding MB 39 29
this means I receive a normal stream ; I can see this error "error while decodind" on the working other client, but it works well on the other client.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: problem : "display is not visible"

Postby Sébastien Escudier » 26 Sep 2011 08:27

maybe you have too much packet lost, and vlc can't decode the pictures.

yangranger
Blank Cone
Blank Cone
Posts: 11
Joined: 25 Nov 2008 18:29

Re: problem : "display is not visible"

Postby yangranger » 26 Sep 2011 11:18

Code: Select all

[0x8a13e14] xcb_xv generic debug: unhandled event 0 [0x8a13e14] xcb_xv generic debug: display is not visible
my first post was not clear, I mean, I don't understand why in these lines, my display is not visible.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem : "display is not visible"

Postby Rémi Denis-Courmont » 26 Sep 2011 14:09

That message is coming from the X server. Normally, it means the entire surface of the window is obscured by other windows.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yangranger
Blank Cone
Blank Cone
Posts: 11
Joined: 25 Nov 2008 18:29

Re: problem : "display is not visible"

Postby yangranger » 26 Sep 2011 16:55

it's weird because I use the same sources, and i don't launch any window manager.
there is only the application (which worked on another pc) in the .xinitrc . it is launched directly by X server, no kde no gnome....


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests