Bug 2544 - v4l and xvideo
Summary: v4l and xvideo
Status: CLOSED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 02:26 UTC by Dan Smolik
Modified: 2011-09-25 07:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Dan Smolik 2005-02-15 02:26:56 UTC
I have compile latest Xorg + DRM + unichrome driver for my EPIA box. DRI,
Mplayer works. I have installed bttv card add to xorg.conf Load "v4l" but when I
start X xvinfo doesn't see video4linux adaptor. Without this doesn't work video
scaling with xawtv. When Xserver starts than says:
(II) v4l: init start
(II) v4l: /dev/video0 open ok   
(II) v4l: add attr XV_ENCODING  
(II) v4l: add attr XV_BRIGHTNESS
(II) v4l: add attr XV_CONTRAST  
(II) v4l: add attr XV_SATURATION
(II) v4l: add attr XV_HUE       
(II) v4l: add attr XV_MUTE
(II) v4l: init done, 1 device(s) found

but xvinfo doesn't see a adaptor.
Comment 1 Alex Deucher 2005-02-15 06:12:42 UTC
Actually, xawtv should work fine without the v4l module.  You may have to mess
with the xawtv -xv options depending on which XvPut() functions your GPU supports.  
Comment 2 Dan Smolik 2005-02-15 12:43:51 UTC
(In reply to comment #1)
> Actually, xawtv should work fine without the v4l module.  You may have to mess
> with the xawtv -xv options depending on which XvPut() functions your GPU
supports.  

On my main PC with Nvidia (Xfree 4.2.1) card withou v4l xawtv run only in DGA
mode (no scaling).
On my test machine with Xorg unichrome driver support only PutImage and with
this xawtv doesn't  work.
Comment 3 Alex Deucher 2005-02-16 06:38:55 UTC
double check the xawtv man page.  I believe there is an option to force
xvputimage().  you might also try and disable the other xv options.  Last time I
tried xawtv it worked fine without the v4l module once I had the right options
set.  The v4l module has always tended to be problematic.
Comment 4 Dan Smolik 2005-02-16 13:10:23 UTC
(In reply to comment #3)
You are right -xv-image forces usage of XvPutImage but only in grabdisplay mode
but I want overlay. But my main intersest is where is problem and why xvinfo
doesn't show video4linux adaptor. V4l module is loaded and initialized OK.


Comment 5 Daniel Stone 2007-02-27 01:25:24 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 6 Jeremy Huddleston Sequoia 2011-09-24 17:28:36 UTC
Is this still a problem with modern deliverables?
Comment 7 Dan Smolik 2011-09-25 07:54:25 UTC
I this time HW overlay with PCI bussmastering isn't supported on any HW I mean.
Please close the bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.