[jitsi-dev] [Bug] [Debian amd64] No video, gray frame instead


#1

Hello,

While trying out Jitsi, I encountered that annoying problem.

Everywhere a video is supposed to be displayed, (that is, in the test
frame from the option window, and in call windows), I get a gray frame
instead (see screenshot [1]). My camera starts recording correctly
however, and during video calls my interlocutor can see my video (using
Google Mail's video chat plugin, actually), but I cannot see his.

    [1] http://java.net/jira/secure/attachment/49380/jitsi-options-video-nq8.png

I thought that could be related to the window manager I use since Java
is known to have problems with non-reparenting WMs, but I reproduced the
problem with GNOME which is a more classical one, so it seems unrelated.

Regards,

···

--
Tanguy Ortolo

PS: Sorry for having opened an issue [2] in the BTS without discussing
    it first, I guess I simply forgot to read the instructions…


#2

Hey Tanguy,

Seems like a problem with the Linux renderer. Could we please see your
logs [0] ?

Thanks,
Emil

[0] http://jitsi.org/faq/logs

···

On 22.02.12 12:40, Tanguy Ortolo wrote:

Hello,

While trying out Jitsi, I encountered that annoying problem.

Everywhere a video is supposed to be displayed, (that is, in the test
frame from the option window, and in call windows), I get a gray frame
instead (see screenshot [1]). My camera starts recording correctly
however, and during video calls my interlocutor can see my video (using
Google Mail's video chat plugin, actually), but I cannot see his.

    [1] http://java.net/jira/secure/attachment/49380/jitsi-options-video-nq8.png

I thought that could be related to the window manager I use since Java
is known to have problems with non-reparenting WMs, but I reproduced the
problem with GNOME which is a more classical one, so it seems unrelated.

Regards,

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#3

Tanguy Ortolo, 2012-02-22 11:40+0100:

Everywhere a video is supposed to be displayed, (that is, in the test
frame from the option window, and in call windows), I get a gray frame
instead (see screenshot [1]). My camera starts recording correctly
however, and during video calls my interlocutor can see my video (using
Google Mail's video chat plugin, actually), but I cannot see his.

After some investigation (on that plus on a similar problem with VLC) it
appears that it was caused by an incorrect behaviour of my graphic card
driver: when used to play video with the X video extension, it displayed
nothing at all.

I was able to solve that by doing some adjustments with my driver stack,
but it could be useful to offer an option to avoid using Xv. For
instance, in its video settings, VLC offers a choice between regular
X11, OpenGL and Xv output.

Regards,

···

--
Tanguy Ortolo


#4

Hi Tanguy,

···

Le 23/02/12 10:21, Tanguy Ortolo a écrit :

Tanguy Ortolo, 2012-02-22 11:40+0100:

Everywhere a video is supposed to be displayed, (that is, in the test
frame from the option window, and in call windows), I get a gray frame
instead (see screenshot [1]). My camera starts recording correctly
however, and during video calls my interlocutor can see my video (using
Google Mail's video chat plugin, actually), but I cannot see his.

After some investigation (on that plus on a similar problem with VLC) it
appears that it was caused by an incorrect behaviour of my graphic card
driver: when used to play video with the X video extension, it displayed
nothing at all.

I was able to solve that by doing some adjustments with my driver stack,

Just for information, can you please describe what you have done ?

Regards,
--
Seb

but it could be useful to offer an option to avoid using Xv. For
instance, in its video settings, VLC offers a choice between regular
X11, OpenGL and Xv output.

Regards,


#5

Hi Tanguy,

···

Le 23/02/12 10:21, Tanguy Ortolo a écrit :

Tanguy Ortolo, 2012-02-22 11:40+0100:

Everywhere a video is supposed to be displayed, (that is, in the test
frame from the option window, and in call windows), I get a gray frame
instead (see screenshot [1]). My camera starts recording correctly
however, and during video calls my interlocutor can see my video (using
Google Mail's video chat plugin, actually), but I cannot see his.

After some investigation (on that plus on a similar problem with VLC) it
appears that it was caused by an incorrect behaviour of my graphic card
driver: when used to play video with the X video extension, it displayed
nothing at all.

I was able to solve that by doing some adjustments with my driver stack,

Just for information, can you please describe what you have done ?

Regards,
--
Seb

but it could be useful to offer an option to avoid using Xv. For
instance, in its video settings, VLC offers a choice between regular
X11, OpenGL and Xv output.

Regards,


#6

Thanks for the feedback Tanguy,

Could you please also add your comment and close the ticket you've created?

Thanks,
Emil

···

On 23.02.12 11:21, Tanguy Ortolo wrote:

Tanguy Ortolo, 2012-02-22 11:40+0100:

Everywhere a video is supposed to be displayed, (that is, in the test
frame from the option window, and in call windows), I get a gray frame
instead (see screenshot [1]). My camera starts recording correctly
however, and during video calls my interlocutor can see my video (using
Google Mail's video chat plugin, actually), but I cannot see his.

After some investigation (on that plus on a similar problem with VLC) it
appears that it was caused by an incorrect behaviour of my graphic card
driver: when used to play video with the X video extension, it displayed
nothing at all.

I was able to solve that by doing some adjustments with my driver stack,
but it could be useful to offer an option to avoid using Xv. For
instance, in its video settings, VLC offers a choice between regular
X11, OpenGL and Xv output.

Regards,

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#7

Emil Ivov, 2012-02-23 11:29+0200:

Could you please also add your comment and close the ticket you've created?

I am adding the comment, but I do not think I am able to close it. But
perhaps that could be transformed into a feature request instead?

···

--
Tanguy Ortolo


#8

Sebastien Vincent, 2012-02-23 10:57+0100:

Just for information, can you please describe what you have done ?

Sure.

First, I was using the proprietary fglrx driver. On amd64, it simply
crashes when Xv is used, so at that time, my problem was not [no video
with Jitsi] but rather [X server crash with Jitsi], which I did not
report since I knew it was probably not caused by Jitsi itself.

So, I stopped using the proprietary fglrx driver, and switched to the
free radeon driver instead. This is when I got gray frames instead of
Xv-displayed videos, and when I reported this issue. But after that, I
realized that I had the same problem with VLC, and that I was able to
work around it by configuring it for plain X11 output instead of Xv.

Finally I tried to get rid of every possible remaining bit of fglrx,
including the kernel module which appeared to be still loaded, and that
solved the issue: now I have Xv working (but I am unable to play some
3D games, unfortunately).

···

--
Tanguy Ortolo