![]() |
Xorg, 2 devices and screens, xvideo perormance on Screen 1
1 Attachment(s)
I have a setup with screens. On the first is my DFP connected and on the second a composite TV. Xorg starts both screens successfully.
But if I try to play a dvd on the second screen (Screen 1) I get a horrible xvideo performance and the xorg server cpu usage is unusally high. Mplayer even complains that my system is to slow. If i try the same dvd on my first screen (Screen 0) everything runs fine. If i switch both screens, make the dfp Screen 1 und the TV Screen 0, the problem occurs again on the second screen (DFP this time). thanks |
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
I have a second problem aside form the bad performance.
dvds and mpeg 2 and 4 movies have some ugly lines in them if displayed by the second screen 1 (Screen 1). I made a small video which shows the effect. the effect doesnt show on screenshots. heres the video: http://user.cs.tu-berlin.de/~exelnet/MOV00152.MPG thanks in advance |
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
I did not experienced that problem, but yes, Xv performance on tv-out (tried composite,svideo) are really bad for me too.
Overlay 'is said' to be unsupported by new hardware (even if i can enable it on windows side, very strange isn't?) , so the only choice for me was to enable the opengl video out driver (this means you'll consume more (cpu)power to play high resolution video). I don't know about 6800, try xvinfo|grep Adaptor to see if you have overlay. Or, to reduce a bit the cpu use with mplayer and opengl video output, do: mplayer yourvideo.avi -vo=gl:yuv=6 ...I still wonder why play a video on tv-out has became such a pain, with that good old 4400ti it was so smooth! |
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
xvinfo | grep Adap
Adaptor #0: "NV17 Video Texture" Adaptor #1: "NV05 Video Blitter" Adaptor #0: "NV17 Video Overlay" Adaptor #1: "NV17 Video Texture" Adaptor #2: "NV05 Video Blitter" Adaptor #3: "NVIDIA Video Interface Port" seems like overlay is available. well as i stated above tvout isnt really the source of the problem i think (at least not of the quality problem). I can view a mpeg video in perfect quality on my tv if I set it as Screen 0. To me it looks like the second device / screen (Screen 1) is missing something the first has. Quote:
|
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
Ah i found out that the first device offers this:
Adaptor #0: "NV17 Video Overlay" number of ports: 1 port base: 582 and the second device only this one: Adaptor #0: "NV17 Video Texture" number of ports: 32 port base: 275 so videos are played with "NV17 Video Overlay" on the first Screen 0 and with "NV17 Video Texture" on the second Screen 1. So Video Overlay is not supported on the second device? |
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
Overlay is the fastest method available,so it is preferred by any video player.
It's a driver limitation (and not an XV one, infact ati works well) to report it only available on the first screen. When you set your tv-out as screen 0, your player will use overlay and it just plays fine, otherwise it will use the next available adaptor which didn't works so well. Probably it uses: "NV17 Video Texture", but you have also "NV05 Video Blitter". if you give: xvinfo|more, you'll see that any of the adapters has a port that you can set in mplayer to tell him which adapter to use for fast HW-Scaling. Say: Quote:
"NV12 Video Texture": ports from 355 to 386 and "NV05 Video Blitter": ports from 387 to 418 I will use then: mplayer <my-nice-video> -vo xv:port=355 or mplayer <my-nice-video> -vo xv:port=387 to try if the video will play better with texture or blitter adaptor. If you had no luck, but if your 3d works fine, you can still use opengl output (as i said, at cost of a bit more cpu cycles). mplayer <my-nice-video> -vo=gl:yuv=6 |
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
thanks i tried those options ... blitter runs a bit better than texture adaptor. what about the video interface port? is it possible to use this with any video? (couldnt select it with mplayer) or is this the xvmc adaptor?
|
Re: Xorg, 2 devices and screens, xvideo perormance on Screen 1
You can use video blitter adaptor with any video.
Sorry, i don't know about video interface port. xvmc acceleration works actually only with mpeg2 videos/dvd and you can use it with: mplayer -vc ffmpeg12mc -vo xvmc video.mpeg2 |
| All times are GMT -5. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.