PDA

View Full Version : Xvideo extension


GodEater
04-11-03, 04:23 PM
Hi,

I'm having trouble getting the XVideo extension working with my Geforce 2 MX.

Anything I try with either Xine or Mplayer attempting to use the extension ends up in black nothingness where the action's supposed to be.

Is there something extra I need in the XF86Config ?

I'm running Mandrake 9.1, and XFree86 4.3.0. My nVidia drivers are currently version 1.0-4191.

Any help much appreciated!

Bry

highflow
04-18-03, 08:47 AM
Hi,

I ran into exactly the same problems.
I also use Xfree86 4.3.0 with nVidia drivers 1.0-4349 on a GeForce MX 200.

Did you managed to solve the problems?

When I try to run xawtv the following error messages occur:

This is xawtv-3.72, running on Linux/i686 (2.4.20)
Xlib: extension "XVideo" missing on display ":0.0".
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")

Thanks for your help!

highflow
04-18-03, 08:49 AM
here is my x-config

highflow
04-18-03, 09:08 AM
I just realized the problem by viewing another thread.

I have to state the subsection "extmod" but of course not omitting DGA.

Section "Module"
Load "dbe"

SubSection "extmod"
# Option "omit xfree86-dga"
EndSubSection

Load "type1"
Load "freetype"
Load "glx"
EndSection

GodEater
04-18-03, 04:55 PM
No, I've not sorted this out yet.

I don't have the omit-dga option in my XF86Config, and never did.

I don't see what DGA has to do with the XVideo extension - could you explain please ?

Bryan

GodEater
04-18-03, 05:28 PM
After more searching around on the 'net for a while, I've finally found out how to make this work.

NVIDIA MODERATORS TAKE NOTE - THIS IS A BUG!

As far as I can make out from the post I found which led me to the solution, the XVideo extension provides "ports" for the movie playing programs like xine, mplayer and so forth to connect to. This connection is where the video data is sent, in order for the video drivers to render the images with the card hardware.

According to the post I found, some users have found that movie players under linux (all of them, not just one in particular) don't like using the first port provided by the current nvidia driver.

If you start two copies of a player, the second player is forced to use the next available port, and suddenly the video action is now visible!

Please please nice nVidia people - can you investigate this and fix it.

I've tried this method of fixing the issue with both xine, and mplayer now, and will try it with other video players as I install them!

Bry

highflow
04-19-03, 03:50 AM
Hmm, I'm pretty much a linux newbie.
Thus I don't know whether there is a connection between DGA and XVideo.

As you can see from xawtv's output that DGA support was missing.
Those messages are all gone now.

Just try to add those lines to your XF86Config-4:

Section "Module"
....
SubSection "extmod"
EndSubSection
....
EndSection

....

Section "DRI"
Mode 0666
EndSection

I have read another post on this forum which stated that you have to load "extmod", in order to get in running.
The point is not to disable DGA or not, it's just another feature you might want...

I think also to load "extmod" might work:

Section "Module"
...
Load "extmod"
...
EndSection

I have seen this at least once in another posting.

Good luck!

Florian

BTW: I don't have to start things twice

GodEater
04-19-03, 07:13 AM
Please read above.

I don't have the omit dga option. My extmod loads without, and always did.

The problem is to do with how the software access the drivers.

I have no intention of changing my XF86Config file - it's not at fault.

[Edited because of crappy spelling]

highflow
04-19-03, 08:22 AM
Originally posted by GodEater

My extmod loads without, and always did.


Aha, I didn't realize that you had extmod already included in your config.