Avoid Skype crash with video conversation on Linux

April 17th, 2009 at 10:47pm dark

There is a recurring problem that (used to) annoy me when I tried to use my webcam with Skype on Linux. Being a proud owner of a

00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

the number of Xv ports that the display driver (xf86-video-intel) exports to the applications is quite limited:
$ xvinfo | grep ports
number of ports: 1

Yep, only one, not enough to show both the incoming and the outgoing video stream. Skype underlines the problem by printing
Xv ports available: 1
on the console and, most importantly, by crashing whenever I try a full-duplex video conversation.

The workaround I found this evening is quite simple and I wonder why my previous attempts were unable to hit the target:

  1. Establish the audio conversation with the counterpart.
  2. Enable my own video stream: I see the video thumbnail and the peer starts receiving my image.
  3. Disable the local visualization of my video stream: I no longer see the preview, but the counterpart still receives my video. More importantly, the video resource (the Xv port) is still held by the application, so the attempt to show a new video window, in this moment, would crash Skype.
  4. Stop streaming my own video: the peer no longer sees my image. Probably Skype releases the Xv port in this moment.
  5. Ask the peer to start streaming his/her image: Skype allocates the (now free) Xv port to the incoming video, thus showing the counterpart data.
  6. Restart my video stream: Skype remembers that I desired not to see my preview in the current session, so no allocation attempt takes place, thus no crash.

Maybe there are some variations of the algorithm that work as well, but that’s enough for me 🙂 (and this method is almost transparent to the counterpart).

Entry Filed under: English,IT,Software

3 Comments Add your own

  • 1. Jordi CJ  |  October 24th, 2009 at 11:38:30

    I have the same issue, but when I start the video, despite the counterpart have the webcam disabled, my skype also crashes. Then, I do not have time to disable my video window.

    Any new solution on that bug?


  • 2. dark  |  November 1st, 2009 at 12:13:13

    Hi.
    There are many possible causes for your problem, I guess.

    Outdated/malfunctioning video drivers (can you play videos at all)?

    Troublesome webcam (does it work, or used to, with other programs)?


  • 3. dark cave » Quello &hellip  |  October 2nd, 2010 at 05:33:32

    […] ricerche più frequenti riguardano gli articoli tecnici, vedi quelli su Skype e Virtualbox. […]


Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Rate:  

Calendar

April 2009
M T W T F S S
« Mar   May »
 12345
6789101112
13141516171819
20212223242526
27282930  

Badges

Most Recent Posts

What's played in the cave