Help - Search - Members - Calendar
Full Version: Skype 2.0 no video
Skype Community > English > Development, Betas and Skype Garage > Archive > Skype 2.0 Beta for Linux
Haribo Ubuntu7.10 Skype2.0
Hi
Testing Skpe video and... nothing ,only black test screen
My web cam Canyon CN-WCAM23
VideoCard ATI x550 256RAM
keitsi-
Do you see video on other programs such as vlc?
Outspan
I have the same problem receiving video (blank screen) on Debian Etch 4.0r1. I can see other videos normally. Even if I let it go for several minutes with very low band usage from any other process, nothing happens, we can talk but I can't see the video. In what format is video sent?
Also, when I start a chat, the first message hardly ever shows up (as soon as I send the second, it'll show up and everything is fine, though).
SqUe
QUOTE
Also, when I start a chat, the first message hardly ever shows up (as soon as I send the second, it'll show up and everything is fine, though).

This bug exists for me and at 1.4 but randomly, If I send a message it isn't show in chat log until something else is added in chat log or if I manually click anywhere inside the chat log. There is somewhere a bug with when the chat log must be updated and the mouse click is like you manually trigger the "redraw window" function
Zimbo
QUOTE(Outspan @ Wed Nov 14 2007, 13:05) [snapback]463805[/snapback]

I have the same problem receiving video (blank screen) on Debian Etch 4.0r1. I can see other videos normally. Even if I let it go for several minutes with very low band usage from any other process, nothing happens, we can talk but I can't see the video. In what format is video sent?
Also, when I start a chat, the first message hardly ever shows up (as soon as I send the second, it'll show up and everything is fine, though).



Hi, I have video problems too - with Quickcam Messenger. It doesnt record the video to my recipients, just shows my big fat face on my Quick Capture screen of the webcam program. Have tried 3 times chatting to Logitech support but am getting nowhere. Skype gives me a message saying: Skype did not find preferred video source. Webcam could be in use by another application.

Which, of course, it isn“t!

Any ideas??
Outspan
QUOTE(Outspan @ Wed Nov 14 2007, 13:05) [snapback]463805[/snapback]

I have the same problem receiving video (blank screen) on Debian Etch 4.0r1. I can see other videos normally. Even if I let it go for several minutes with very low band usage from any other process, nothing happens, we can talk but I can't see the video.


Now I've tried installing the static (copying the executable in /usr/bin) and, instead of a merely grey screen, it draws the inner white thing with the name of the contact in it (see picture: I set the option to accept video from anybody, so it shouldn't be that problem), but apart from that, nothing's changed. What am I doing wrong?

thanks
Andypoo
Hi -- could you run xvinfo >xvinfo.txt and attach the xvinfo.txt file here?

Thanks,
Andy.
Outspan
QUOTE(Andypoo @ Thu Nov 15 2007, 00:40) [snapback]464022[/snapback]

Hi -- could you run xvinfo >xvinfo.txt and attach the xvinfo.txt file here?

Thanks,
Andy.


Sure, here it is.
Is it for bug tracking purposes, or may it just be a wrong setting on my machine?
domenico.marozzi
And here is my file. I have problem sending my video: i can see other people but i can't send mine; my webcam works well with other video software (like EKIGA) while in skype 2.0 beta i see a black screen when i test it. Hope you can fix that.
[attachmentid=11850]
Andypoo
QUOTE(domenico.marozzi @ Thu Nov 15 2007, 10:39) [snapback]464117[/snapback]

And here is my file. I have problem sending my video: i can see other people but i can't send mine; my webcam works well with other video software (like EKIGA) while in skype 2.0 beta i see a black screen when i test it. Hope you can fix that.

Hi -- what webcam do you have?

Thanks,
Andy.
daak
QUOTE(Andypoo @ Fri Nov 16 2007, 12:12) [snapback]464517[/snapback]

Hi -- what webcam do you have?

Thanks,
Andy.


Hi, I have the same problem, and identical output to xvinfo.
radeon igp 330m/340m/350m with creative Live Vista IM (ov51x-jpeg) works in Ekiga, not in Skype: black screen on test
kbela
I use openSuse 10.3 and Creative Live! Cam Video IM. I don't see my partner and on webcam test I get a black rectangle. The xvinfo output is this:

X-Video Extension version 2.2
screen #0
no adaptors present

I have an ASRock motherboard with onboard S3Unichrome Pro 3D/2D Graphics Controller.

How I can resolv that problem?

Thank you for help.
tomekp
I have another problem (maybe it has been reported already). Namely, I cannot see my local video (preview), everything, except of this, works very well. It started working without crashes after patching the gspca driver and setting the framerate not higer than 10fps. My webcam: A4Tech PK-333MB, USB ID: 0ac8:305b Z-Star Microelectronics Corp. I am testing the connection using my laptop and desktop, both working under Ubuntu Gutsy. On both sides I can see remote video and a smaller white box where should be my local video. I can't force Skype to show my video preview :-( Is there any way to fix this problem??
Best regards

TomekP
Sera
QUOTE(tomekp @ Sun Nov 18 2007, 22:15) [snapback]465385[/snapback]

I have another problem (maybe it has been reported already). Namely, I cannot see my local video (preview), everything, except of this, works very well. It started working without crashes after patching the gspca driver and setting the framerate not higer than 10fps. My webcam: A4Tech PK-333MB, USB ID: 0ac8:305b Z-Star Microelectronics Corp. I am testing the connection using my laptop and desktop, both working under Ubuntu Gutsy. On both sides I can see remote video and a smaller white box where should be my local video. I can't force Skype to show my video preview :-( Is there any way to fix this problem??
Best regards

TomekP

I too have the similar problem Toshiba TE2000, QuickCam Go, Debian GNU/Linux, Etch 4, gspca driver but it works fine with Ekiga

Sera
smile.png
kbela
QUOTE(kbela @ Sun Nov 18 2007, 16:07) [snapback]465246[/snapback]

I use openSuse 10.3 and Creative Live! Cam Video IM. I don't see my partner and on webcam test I get a black rectangle.


Problem solved. With a new nVidia GeForce FX 5500 graphics card everything works fine.
sorgud
Hi,
Congratulations for the video feature.
Great!
I have one machine with Nvidia driver in a Kubuntu-Edgy and a Creative Vista Plus with gspca driver, and there the video works great! yes.png
But, in the other machine with Kubuntu Feisty and the same Creative Vista Plus with gspca driver doesn't work. The camera works OK in the other applications (gspcagui, xawtv,camorama).
xvinfo:
X-Video Extension version 2.2
screen #0
no adaptors present

The video card is a onboard Via VT8237a
Any key for solving it?
thanks

talueguito
raul
Andypoo
sorgud: Change to the "via" driver instead of "vesa" driver.

Andy.
sorgud
QUOTE(Andypoo @ Tue Nov 27 2007, 23:44) [snapback]468957[/snapback]

sorgud: Change to the "via" driver instead of "vesa" driver.

Andy.

Andy,
I' ve been triying... but I can' t get the X to work it just freeze in the KU...
I also look at the ubuntu-openchrome forum with no luck
(https://help.ubuntu.com/community/OpenChrome)
If the solution is getting to work the via instead vesa driver... I' ll continue looking for solutions.
thanks
talueguito
raul
sorgud

Andy,
One more thing..or two.
1) I've been the las 3 or 4 hours googling for a solution... the problem since to be the via driver.
Tried, via, openchrome, no way! the X-Windows freezes
2) I know this is a Linux forum, but in this machine (dua boot) also the XP -Windows has problem.
I have to use an old version of Skype to have video.

Finally, the forums I visit recommend stick with vesa driver or buying any cheap nvidia video card...

thanks
talueguito
raul
StevensOnln1
If you are getting problems with your graphics chip when you are running Windows on the same computer, then there could be a hardware problem. It may be worth getting a cheap nVidia card - they are well supported and will probably give better performance than an onboard graphics chip.
Andypoo
There is no Xv support in the vesa driver unfortunately, so this means no Skype video sadsmile.png

I'd have to go with Stevens recommendation of a cheap nVidia card. Even a second-hand one - it doesn't need to be the latest and greatest technology.

If you have friends into computers, you might even be able to pick one up for free.

Andy.
sorgud
QUOTE(StevensOnln1 @ Wed Nov 28 2007, 18:50) [snapback]469261[/snapback]

If you are getting problems with your graphics chip when you are running Windows on the same computer, then there could be a hardware problem. It may be worth getting a cheap nVidia card - they are well supported and will probably give better performance than an onboard graphics chip.

I may be explained may self wrong.
It may be a problem of the video card, but *only* with Skype. All other program (either in MSWindows or Linux) work fine.
MsWindow:
Gizmo, MSN, WebcamCenter, Wengophone.
Linux:
Camorama, Spcagui, Kopete,Wengophone
talueguito
raul

QUOTE(Andypoo @ Thu Nov 29 2007, 12:18) [snapback]469561[/snapback]

There is no Xv support in the vesa driver unfortunately, so this means no Skype video sadsmile.png

I'd have to go with Stevens recommendation of a cheap nVidia card. Even a second-hand one - it doesn't need to be the latest and greatest technology.

If you have friends into computers, you might even be able to pick one up for free.

Andy.

OK, Andy. Thank you anyway. I don't believe I could get one for free. I am kind of new in town.
I will have to wait till you develop any solution or people from xorg, solve the problem with the via cards, or the via card people make a good driver for linux.
I have been waiting for the Skype-video-Linux for a long time... I can continue waiting then..
Once again, Thank you. Keep on with the good work, really

talueguito
raul
Andypoo
No worries -- sorry you can't enjoy it just yet sadsmile.png

Andy.
sorgud
QUOTE(Andypoo @ Tue Dec 4 2007, 12:34) [snapback]471276[/snapback]

No worries -- sorry you can't enjoy it just yet sadsmile.png

Andy.

Hi Andy,
I have already bought a Nvidia (GEForce 7200) . Installed the drivers using Envy.
And guess what? Yeah!! I have video in Skype!!!
As a side effect ( a good one), I had some problems on displaying movies.. now all the problems are gone!

Thanks

talueguito
raul
Chris Sharman
I've just downloaded the new 2.0.0.27, and it seems to work better - although it's a few weeks since I looked at .13 - but should I be able to see the remote video image as well as my own?

Tried videoecho123, but didn't get remote video (or video playback - just sound).
Is the port problem still there?
Is there a workaround (like can I turn off my self-preview)?

Thanks
Chris

PS - I know there's no release schedule - can we get an email or something when there's a new release to try?

Prins@je80
Same problem as the topic starter... Also a black test screen. This case on a laptop (so not possible to change video card tongueout.png). I do see video in camorama! My xvinfo output:

CODE
~>xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present


This is with Ubuntu 7.10, gspca v20071224

CODE
~>fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series
OpenGL version string: 2.0.6473 (8.37.6)


This is with skype v2.0.0.27. The camera is a Logitech Quickcam STX (046d:08d7 <- from lsusb)

When I start video in skype, in the console where I typed the command, I get "Starting the process", but no video shows up. I also cannot receive any video. I know that all has worked before (with v2.0.0.27, same camera and gspca) on this same laptop, but different OS, i.e. FC4 with a darn old kernel and an older version of the fglrx drivers... Could it be a setting in the xorg.conf?!? The new (Ubuntu) one is a bit barren in comparison to the old (FC4) one...
Prins@je80
Ok, I changed my /etc/X11/xorg.conf because I hope it will fix a hangup when my computer has slept for a long period. Now I do get a test image. I think that the video overlay was not initialised... My Device entry:

CODE
Section "Device"
    Identifier    "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
    Boardname    "ati"
    Busid        "PCI:1:0:0"
    Driver        "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    # vendor=1002, device=4e50
    Option        "no_accel" "no"
    Option        "no_dri" "no"
# === misc DRI settings ===
    Option        "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option        "DesktopSetup" "Clone"
    Option        "MonitorLayout" "AUTO, NONE"
    Option        "IgnoreEDID" "off"
    Option        "HSync2" "unspecified"
    Option        "VRefresh2" "unspecified"
    Option        "ScreenOverlap" "0"
# === TV-out Management ===
    Option        "NoTV" "no"
    Option "TVStandard"                 "PAL-G"
    Option "TVHSizeAdj"                 "0"    
    Option "TVVSizeAdj"                 "0"    
    Option "TVHPosAdj"                  "0"    
    Option "TVVPosAdj"                  "0"    
    Option "TVHStartAdj"                "0"    
    Option "TVColorAdj"                 "0"    
    Option "GammaCorrectionI"           "0x06419064"
    Option "GammaCorrectionII"          "0x06419064"
# === OpenGL specific profiles/settings ===
    Option        "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
    Option        "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
    Option        "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option        "PseudoColorVisuals" "off"
# === QBS Management ===
    Option        "Stereo" "off"
    Option        "StereoSyncEnable" "1"
# === FSAA Management ===
    Option        "FSAAEnable" "no"
    Option        "FSAAScale" "1"
    Option        "FSAADisableGamma" "no"
    Option        "FSAACustomizeMSPos" "no"
    Option        "FSAAMSPosX0" "0.000000"
    Option        "FSAAMSPosY0" "0.000000"
    Option        "FSAAMSPosX1" "0.000000"
    Option        "FSAAMSPosY1" "0.000000"
    Option        "FSAAMSPosX2" "0.000000"
    Option        "FSAAMSPosY2" "0.000000"
    Option        "FSAAMSPosX3" "0.000000"
    Option        "FSAAMSPosY3" "0.000000"
    Option        "FSAAMSPosX4" "0.000000"
    Option        "FSAAMSPosY4" "0.000000"
    Option        "FSAAMSPosX5" "0.000000"
    Option        "FSAAMSPosY5" "0.000000"
# === Misc Options ===
    Option        "UseFastTLS" "0"
    Option        "BlockSignalsOnLock" "on"
    Option        "UseInternalAGPGART" "yes"
    Option        "ForceGenericCPU" "no"
    Option        "VideoOverlay" "on"
    Screen    0
EndSection


And I think that the important line is:

CODE
    Option        "VideoOverlay" "on"

I must admit that that is quite a nasty thing to overlook... Can you devvers maybe use another method?!?

Hope this helps many people that have the same problem.

P.S.: Now my xvinfo gives:
CODE
~>xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Radeon Video Overlay"
    number of ports: 1
    port base: 115
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
      depth 24, visualID 0x2b
      depth 24, visualID 0x2c
      depth 24, visualID 0x2d
      depth 24, visualID 0x2e
      depth 24, visualID 0x2f
      depth 24, visualID 0x30
      depth 24, visualID 0x31
      depth 24, visualID 0x32
      depth 24, visualID 0x33
      depth 24, visualID 0x34
      depth 24, visualID 0x35
      depth 24, visualID 0x36
      depth 24, visualID 0x37
      depth 24, visualID 0x38
      depth 24, visualID 0x39
      depth 24, visualID 0x3a
      depth 24, visualID 0x3b
      depth 24, visualID 0x3c
      depth 24, visualID 0x3d
      depth 24, visualID 0x3e
      depth 24, visualID 0x3f
      depth 24, visualID 0x40
      depth 24, visualID 0x41
      depth 24, visualID 0x42
      depth 24, visualID 0x43
      depth 24, visualID 0x44
      depth 24, visualID 0x45
      depth 24, visualID 0x46
      depth 24, visualID 0x47
      depth 24, visualID 0x48
      depth 24, visualID 0x49
      depth 24, visualID 0x4a
      depth 24, visualID 0x4b
      depth 24, visualID 0x4c
      depth 24, visualID 0x4d
      depth 24, visualID 0x4e
      depth 24, visualID 0x4f
      depth 24, visualID 0x50
      depth 24, visualID 0x51
      depth 24, visualID 0x52
      depth 24, visualID 0x53
      depth 24, visualID 0x54
      depth 24, visualID 0x55
      depth 24, visualID 0x56
      depth 24, visualID 0x57
      depth 24, visualID 0x58
      depth 24, visualID 0x59
      depth 24, visualID 0x5a
      depth 24, visualID 0x5b
      depth 24, visualID 0x5c
      depth 24, visualID 0x5d
      depth 24, visualID 0x5e
      depth 24, visualID 0x5f
      depth 24, visualID 0x60
      depth 24, visualID 0x61
      depth 24, visualID 0x62
    number of attributes: 12
      "XV_SET_DEFAULTS" (range 0 to 1)
              client settable attribute
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 30)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLOR" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_RED_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GREEN_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_BLUE_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

WOOT!
Prins@je80
Alright, I did the test only with the "Test" button. When I wanted to talk to my parents, it completely failed. I finally saw them again, but now my video failed to show to myself and them. Skype continuously gave the console message "Starting the process..." about once every 10 seconds, but the video wouldn't come up... Any clues?!?
Andypoo
If you are using fglrx driver but the kernel module isn't loading/working, then this may be why you have no Xv support.

Prins@je80: Make sure you're running latest gspca. Quickcam STX should be working as this was one of the original cameras we used in development. You won't see yourself (with 1 Xv port), but the other people should see you.

Andy.
Prins@je80
Andy,

I'm using gspcav1-20071224 (can't go later than that smile.png). My parents weren't able to see me. There is some kind of change between FC4 and Ubuntu Gutsy 7.10, since it worked in FC4 and not in Ubuntu... Any suggestions how I can increase the number of Xv ports?!? The problem is that Skype continuously gives the message "Starting the process..." in the console (about once every 10 seconds), but the video wouldn't come up... Any clues?!? Anything I can do to help debugging this problem?!?
Mark Hiscock
Hi Andy and Prins@je80,

I have the same configuration and the same issue.

1) My device is the Logitech Comunicate STX Plus "046d:08d7 Logitech, Inc. "
2) OS is Ubuntu 7.10
3) Driver being used is "videodev 29312 1 gspca"
4) Hardware is Thinkpad T41 with fglrx driver:
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY FIRE GL T2/T2e
OpenGL version string: 2.0.6473 (8.37.6)

The camera works great in Camorama and other apps but I get the black screen in Skype when I try and test the video.

If there's anything I can do to help diagnose this problem please post and I'll try my best!

Mark
Mark Hiscock
Hi,

After specifying the line

Option "VideoOverlay" "on"

in my "Device"section of my xorg.conf I am able to successfully test my video, I can then start the video in a conversation and my video stream is transmitted to the person I am chatting with (and displayed locally in the call window).

The only problem I have is that I am unable to see the person I am calling when they start their video. They are able to see themselves in their window along with my video stream.

So, this is some progress.. thanks Prins@je80!

Mark
Mark Hiscock
Another update,

I'm able to see other people when they start their video before I start mine. However, when this happens I am unable to see myself.

Mark
Prins@je80
Mark, glad it worked at least to some degree smile.png. Now you have the same problem as I do. You can see the other person, but they cannot see me. From what Andy wrote, I notice that it could be possible that they can see you, but you won't see them, since there is only on Xv port on ones graphics card. The funny thing I still have is that it used to work under FC4 (with older graphics driver (latest livna available one), same gspca and same skype).

Andy, if you need more info than we have given before, just let us know!!

rico99
I've been trying out 2.0.0.27 under FC8 with a v4l2 capture card (HD3000) and Nvidia NV17 (Geforce4-MX440).
I'm running 2.6.23.9-85.

There's some "interesting" behavior with the preview "xv" widget. If I restart my X-server from scratch,
I can get video to appear in the preview box. (Although if change pointer focus to a different window, then
the video disappears; however it can be coaxed to reappear by generating an exposure event -- ie, drag
another window over the video preview section, or move the preview window around.) Not ideal, but okay.

However, once I use another video player (such as mplayer or mythfrontend) that uses xv, subsequently
I can't get the skype video preview back up. I have to restart the X-server again. Note that applications
like mplayer still work fine.

[Note that I've only done limited 2-way video sessions, so I'm not completely sure that the same thing
applies for the normal conferencing windows.]

--> This would seem to point to some issues with painting/repainting the color key. I'll refer the development
team to the mplayer source code -- for example libvo/vo_xv.c. =)
Andypoo
QUOTE(rico99 @ Sat Jan 5 2008, 09:20) [snapback]481912[/snapback]

--> This would seem to point to some issues with painting/repainting the color key. I'll refer the development
team to the mplayer source code -- for example libvo/vo_xv.c. =)

I'm afraid we can't go digging into GPL source code for Skype development.

Andrew.
jef29
QUOTE(Mark Hiscock @ Thu Jan 3 2008, 19:49) [snapback]481191[/snapback]

3) Driver being used is "videodev 29312 1 gspca"


Hello everybody,

I added the camera Syntek DV4000 (STK014) to the gspca driver, and it works fine with Skype (and nVidia GeForce FX 5200
+ driver from nVidia).

BTW, I think that I fixed the 100% CPU problem of this driver and may be more. Anybody to check it?

(as this development in not yet in the official release, please, apply the following patch to the gspcav1-20071224:
gspca.pat)

Cheers!
tnf
Does anybody know if the dependency on Xv will possibly be removed? I'm runnning on a Laptop with a ATI X1400 and have to use the radeonhd X-Server driver that currently and at least for the next few months doesn't have Xv support
StevensOnln1
I believe they are working on a solution to the lack of Xv ports issue for the next beta.
Andypoo
QUOTE(jef29 @ Sun Feb 3 2008, 10:11) [snapback]493573[/snapback]

(as this development in not yet in the official release, please, apply the following patch to the gspcav1-20071224:

Umm, wow. Just wow. You didn't go into details of this patch, but it seems you've added V4L2 support to gspca (or merged in the original V4L2 code?)

I haven't played with your patch yet, but looking at it - if you have indeed got v4l2 support working with gspca, then this will definitely fix the 100% CPU issue, which is due to us using the readwrite method on v4l cameras. v4l2 support allows us to use proper mmap'ing for camera access.

Update: Okay, I've played around with it now. The only real issue I'm having is that it seems very slow sadsmile.png So it's hard to know if the lower CPU usage is from the extra delays the driver seems to be putting out, or if it is indeed much improved through the different capture system. But it's still promising work.

Andy.
jef29
QUOTE(Andypoo @ Mon Feb 4 2008, 12:26) [snapback]493890[/snapback]

Umm, wow. Just wow. You didn't go into details of this patch, but it seems you've added V4L2 support to gspca (or merged in the original V4L2 code?)
-snip-
Update: Okay, I've played around with it now. The only real issue I'm having is that it seems very slow :( So it's hard to know if the lower


Hello Andy,

In fact, this only thing I changed is that I added the poll function which was lacking. Without it, Skype was always trying to read and got EGAIN most of the time. But I don't see why it could be slower.

About V4L2, the code is there, but it is not used: there is a '#if 1' at start of VIDIOC_QUERYCAP making this ioctl to return EINVAL.
Then, Skype goes back to V4L1.

When I change this '#if 1' to '#if 0', Skype does some V4L2 ioctl, it maps the first buffer, it asks for the 2nd buffer and it crashes with a segfault!

As I have no other V4L2 client (yet), I don't know where is the problem...

Other information:
- my nVidia GeForce FX 5200 works fine with the normal video driver (nv).
- when testing the webcam in Skype, the scale is not good (it looks like a 4/3 TV image seen on a 16/9 set!), but the transmitted image is fine.
Andypoo
No worries on the v4l2 front smile.png I just got a little excited to see the code in the patch.

As for the polling function, yes, Skype does try to read all the time and gets EGAIN most of the time. I have to look at the readwrite implementation a bit better to see if we can afford to do things a bit differently here.

With regards scaling, this issue is due to be fixed for our Gold release of 2.0.

Andy.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.