LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2009, 11:17 AM   #16
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15

Hello H_TeXMeX_H,
I tried to install xdtv but not able to install... I am using FC9, i386.
Can u help me...
 
Old 04-06-2009, 11:21 AM   #17
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I'm not sure I can, unless the package works, then you should try compiling it from source.
 
Old 04-06-2009, 01:20 PM   #18
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15
I have executed xdtv:
Quote:
[sharath@OS ~]$ xdtv
and result is

Quote:
This is xdtv 2.4.0 running on Linux/i686 (2.6.27.19-78.2.30.fc9.i686).
scandir: No such file or directory
filename = /home/sharath/.xdtv/xdtvrc
Syntax error: "" is not a correct argument of option -mixer_tvchan
Do "man xdtv" to read the complete syntax
[sharath@OS ~]$ xdtv

This is xdtv 2.4.0 running on Linux/i686 (2.6.27.19-78.2.30.fc9.i686).
scandir: No such file or directory
filename = /home/sharath/.xdtv/xdtvrc
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 136 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1440x900+0+0
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "star" to type Pixmap
wmhooks: netwm detected
wmhooks: netwm state above supported
wmhooks: netwm fullscreen supported
wmhooks: nothing found...
DGA: server=2.0, include=2.0
VidMode: server=2.2, include=2.2
available video mode(s): 1440x900 1024x768 800x600 800x600 700x525 640x512 640x480 640x480 512x384 400x300 320x240
Selected XvImage adaptor with yuyv support: NV17 Video Texture on port 280 (grabdisplay)
No XvVideo port available.
Warning: Cannot convert string "black" to type Pixmap
ioctl VIDIOC_G_FBUF: Invalid argument
classical overlay is disabled*** GRABBER DEVICE TYPE = v4l2
/home/sharath/.xdtv/xdtvrc:4: invalid value for norm: (null)
Warning: Missing charsets in String to FontSet conversion
MMX, SSE, AMD MMX extensions, SSE2, have been detected.
Method mmx
*** AUDIO DEVICE TYPE = alsa
*** MIXER DEVICE TYPE = alsa

You should launch XdTV with the -mixer_tvchan parameter.
Goto the man page to get more informations about that switch.
Your Alsa mixer doesn't propose any of those channels:

Line, PCM, Capture, Aux, Wave Surround
SB Live Analog/Digital Output Jack or Master

Select the good one for your own audio card.
Or use OSS with the -noalsa parameter.

ioctl VIDIOC_S_STD: Invalid argument
VIDIOC_S_FREQUENCY: Invalid argument
ioctl VIDIOC_STREAMON: Invalid argument
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
ioctl VIDIOC_REQBUFS: Device or resource busy
what can be the problem
 
Old 04-06-2009, 02:19 PM   #19
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15
Is it possible to capture photos using "gphoto2" from integrated web cam...
 
Old 04-06-2009, 10:16 PM   #20
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15
After a long research I understood that this problem is because of nvidia graphics card not supporting DGA. If it so how I can get support on nvidia graphics card... Any help is appreciable...
 
Old 04-07-2009, 04:14 AM   #21
Chris.len
LQ Newbie
 
Registered: Apr 2009
Posts: 10

Rep: Reputation: 0
If it can identify,your computer and your system must be so intelligent!!!!
 
Old 04-07-2009, 04:31 AM   #22
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Post your xorg.conf or relevant parts of it, it might be that xorg is not loading the dga module, for example:

Code:
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
 
Old 04-07-2009, 11:10 AM   #23
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15
xorg.conf content is

Quote:
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 04-07-2009, 12:36 PM   #24
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
There doesn't seem to be a module section, but either way you should fix it by running 'nvidia-settings' and having it generate an xorg.conf (to save it to the right place you should be root).

Here's my module section:
Code:
Section "Module"
    Load           "dbe"
    SubSection  "extmod"
    	Option    "omit xfree86-dga"
    EndSubSection
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection
You may want to commend out the omit xfree86-dga if that is the problem.
 
Old 04-11-2009, 10:50 AM   #25
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15
Hello H_TeXMeX_H,
Sorry for late reply.... I have updated my system from fc9 to fc10. Now xawtv is working some what better. But when I am capturing photo using following command.
Quote:
$ streamer -c /dev/video0 -b 65 -o Desktop/out.jpeg
out put is like this.
Quote:
files / video: JPEG (JFIF) / audio: none
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 9 more bits
some time it capturing full photo... but most of the times it is capturing part of the photo.
What can I do??????????????
 
Old 04-11-2009, 11:09 AM   #26
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
why -b 65 ? shouldn't it be:

Code:
streamer -c /dev/video0 -b 16 -o outfile.jpeg
You can also try ffmpeg.
 
Old 04-11-2009, 11:59 AM   #27
Mogli
Member
 
Registered: Jun 2008
Posts: 41

Original Poster
Rep: Reputation: 15
what ever it is same problem...
I used above command and uploaded photo taken.
Attached Thumbnails
Click image for larger version

Name:	outfile.jpeg
Views:	10
Size:	4.3 KB
ID:	443  
 
Old 04-11-2009, 01:57 PM   #28
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Looks like it only got part of the frame.

I'm not sure what the '-b' option does. Does anyone know. It seems the man page is severely lacking.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script- capture cdparanoia text output code-breaker Linux - Software 7 08-03-2006 10:13 PM
bash script Want to capture return key and assign a value procfs Programming 9 07-07-2006 01:38 AM
Getting pictures from webcam Four Programming 5 08-28-2005 06:19 PM
webcam creative don't capture pitufobcn Slackware 0 12-19-2004 11:26 AM
Taking pictures with webcam shinkm Linux - Newbie 1 01-13-2004 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration