thanks for your reply. I'm not sure that we are talking about the same thing though.
I want to be able to control the refresh rate programatically..... for a piece of software used in live video performance.
I dont know if my software is going to be spitting out 25 fps or 22.341 fps (depending on how much processing i am trying to do)..... so I want to make a call to the graphics card myself, to tell it to refresh exactly after each frame has been drawn.
etienne
Copying text from a PowerStrip config file into the XF86Config file
for configuring Interlaced Monitors
A useful method for finding out what to put into the XF86Config file to
get it to specify appropriate sync freequencies and refresh rates, is to
copy text from the configuration file of the PowerStrip program for
Windows 9x/NT/2000. That program allows the monitor to be configured
for many different graphics cards.
The sample XF86Config file, shown below, allows "1152x864" resolution on an
old interlaced monitor, a Compaq TE1420Q. Quality nVidea cards can provide a
lower 2D resolution (last time I checked).
The ModeLines lines can be copied.
If Powerstrip has also found all the best settings for different video
resolutions, then there woukld be enough enough information to allow the
"HorizSync" and "VertRefresh" lines to be specified.
Download PowerStrip: http://www.entechtaiwan.com/
At 2003\01\23 10:45 +1100 Thursday, etienne deleflie wrote:
>Hello,
>
>My application uses hardware acceleration (using xv) to draw YUV to
>screen.... using XvShmPutImage(...)
>
>Video is being displayed at the rate of 25 fps ........ refresh rate is
>higher, and not synced........... so I sometimes get really bad
>shearing when there is lots of movments in the video. (shearing: visible
>lines where the graphics card sends a half updated image to screen)
>
>anyone know if / how I can control the graphics card's refresh rate to
>match the video ?
>
>I am running Debian on a DELL 8200 laptop that has a Geforce Go card in it.
>
>etienne
Shearing can be the result of merely getting the refresh rate wrong.
The text "PowerStrip" does not appear in the XFree86 mailing list archives
I have a copy of.
An XF86Config file for using a Radeon 7000 card with a 1152x864 interlaced
monitor:
__________________________________________________________________________________
...
Section "Monitor"
Identifier "Compaq TE1420Q"
# HorizSync is in kHz unless units are specified.
# VertRefresh is in Hz unless units are specified.
UseModes "1152x864"
HorizSync 31-41.2
VertRefresh 39.15-81
EndSection
Section "Modes"
Identifier "1152x864"
ModeLine "1152x864" 51.456 1152 1164 1284 1408 864 866 869 914 Interlace -HSync +VSync
EndSection
...
Section "Modes"
Identifier "1152x864" # <-?
ModeLine "640x480" 24.325 640 665 761 800 480 501 503 547 -HSync -VSync
EndSection
Section "Device"
Identifier "Radeon 7000"
Driver "radeon"
# VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Radeon 7000"
Monitor "Compaq"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
__________________________________________________________________________________
XFree86 has an xvidtune program and it can be unhelpful.
Craig Carey
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel
_______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel