LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not able to play DVD's - No YV12 overlays and XVideo support, 3D Blaster Banshee 16Mb (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-play-dvds-no-yv12-overlays-and-xvideo-support-3d-blaster-banshee-16mb-616178/)

Choucete 01-24-2008 11:57 PM

Not able to play DVD's - No YV12 overlays and XVideo support, 3D Blaster Banshee 16Mb
 
Hi,

I run a Slackware 12 out of the box on a Pentium III 450 MHz, 192Mb of RAM, 40 GB HDD, video card 3D Blaster Banshee 16Mb, ASUS DVD ± R / RW drive (DRW-1608P3S).

I’ve been for some time trying to play DVD’s with xine but I always get the same problem with the error:

The amount of dropped frame is too high, your system might be slow, not properly optimised or just too loaded.

BTW – DMA is enabled.

After googling for some time I found out about xine check (yes, I did not know about that –that’s why I’m a newbie, right?-), which gives me:

[ hint ] Your X server doesn't support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you'll find accelerated X servers on
http://www.linuxvideo.org/gatos/
press <enter> to continue...

[ hint ] Your X server doesn't support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you'll find accelerated X servers on
http://www.linuxvideo.org/gatos/
press <enter> to continue...

[ hint ] Your X server doesn't have any XVideo support...
XVideo is an X server extension introduced by XFree86 4.x. This
extension provides access to hardware accelerated color space
conversion and scaling, which gives a great performance boost.
If you have a fast (>1GHz) machine, you may be able to watch all
kinds of video, anyway. You will waste lots of CPU cycles, though...
press <enter> to continue...

When I saw this I turned to google once again and after many dead ends (and lots of never-got-an-answer threads in various forums) I found this:

http://www.rage3d.com/board/showthread.php?t=33810145

I’ve been going thru my XF86Config but could not find anything ATI related or saying “VideoOverlay” or “OpenGLOverlay”, I assume this is because I don’t have an ATI card. Or (most probable) I’m looking in the wrong place.

I also found this:
Why colours of overlays/subtitles seem to be "leaking"?
xine blends most overlays, specially the ones from DVD discs, directly over the image (scaled OSD). Unfortunately most codecs (like MPEG2) use a subsampled image format (YV12) that makes properly blending an interesting challenge.
In short, this is a known xine bug. There have being discussions on improving the blending quality but, so far, nobody implemented a better (scaled) overlay renderer. Contact developers if you want to try doing something about it.
I’m really not sure if that has something to do with my problem…

I did not get better results with MPlayer or Ogle.

Finally, my point is:
I want to know how could I solve this. Am I missing some configuration for the Video Card? Would nVidia drivers help with my card? (I assume not but asking won’t kill anyone :p) Should I add OpenGL to my box?

I was able to play DVD on this machine when it had Windows, which leads me to discard the “my machine is too slow” (I mean, I know the hardware is capable of doing it. I just have to figure out how! :)) Oh… and by the way I really appreciate the learning experience this is for me.

Note: I don’t have a connection to the internet at home, so please, if it takes some time for me to reply back, don’t take that as a lack of interest. :)

zoranp 01-26-2008 06:31 PM

Correct driver is tdfx (for 3dfx Voodoo series chips).

Anyway (from mplayer documentation):

"Older 3dfx drivers were known to have problems with XVideo acceleration, it didn't support either YUY2 or YV12, and so. Verify that you have XFree86 version 4.2.0 or greater, it works OK with YV12 and YUY2. Previous versions, including 4.1.0, crash with YV12."

Choucete 01-28-2008 01:53 AM

hey zoranp, thanks for the information... I will start researching about tdfx

I'm at work right now but I have also just downloaded XFree86 4.7.0 so I'll try it when I get back home... gonna have to do some more learning... that's for sure:p

I'll get back here as soon as I have some feedback

thanks again!!:)

Choucete 02-01-2008 03:17 AM

Success!!!
 
Well... I was able to fix it... after reading your reply I started doing research about the tdfx driver and the configuration of X and stuff...

as I said I had already downloaded X 4.7.0 in order to have it installed and see if that fixed the problem... but before getting to that I thought about trying to do a simple "whereis tdfx"... that took me to the drivers directory and I saw that it was there and that it was installed (the file clearly says it is :p)...

so... based on that I assumed that I was missing something in my X configuration... so I started reading the man pages for xorg.conf...

bottom line... I did the following:

- Xorg -configure --> this generated a xorg.conf.new file in the root directory. When reviewing it I was able to see in the device section Identifier "Card0" and Driver "tdfx"

- then I executed xorgcfg -config and that placed the configuration from xorg.conf.new into xorg.conf.

I just did startx, skipped the KDE wizard and went directly to a konsole to run xine-check which gave me the thumbs up. f course I tried a DVD right away and everything was working.:)

Thanks a lot!!!


All times are GMT -5. The time now is 07:45 PM.