Post Reply

Forums -> UltraMon™ -> Image flicker
Simon Bach   2005-09-05 20:58
Hi,

We are new to ultramon and have got everything working correctly except for a image flicker when sending an image to a monitor.
We have an app that continuously loops through playing an animated gif and we utilise ultramon to send the gif image to a secondary monitor.
Unfortunately what happens is that during third loop the gif flickers.
The code that runs the app is as follows:

Private Sub StartVideo(intIndex As Integer)
Dim Success As Integer
'cboVideos.Text
If intIndex = 0 Then
If BuildControlFile(marrstrListFiles(Me.LstFnames.ListIndex)) = False Then Exit Sub
iVideo = Me.LstFnames.ListIndex
mstrOldAgeGroup = Me.cboVideos.Text
bShowing = True
If vSlaveID <= 0 Then
If umSys.Monitors.Count >= 2 Then
umInd.DetachMonitors (Array(2))
vSlaveID = umInd.DetachedApps.LaunchAndAdd( _
App.Path & "\WMPSlave.exe", 2)
' If umWnd.GetAppMainWindow(vSlaveID, 0) = True Then
' umWnd.SHOWSTATE = vbMaximizedFocus
' umWnd.ApplyChanges 0
' End If
Else
Success = SetWindowPos(Me.hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, FLAGS)
vSlaveID = Shell(App.Path & "\WMPSlave.exe", vbNormalFocus)
Success = SetWindowPos(Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS)
End If
End If

CheckVideo
Else
Call SampleVideo(App.Path & "\Videos\" & marrstrListFiles(Me.LstFnames.ListIndex))
End If

End Sub


The image is not interfered with by the application unless the user stops it.
This flicker does not occur when to the local monitor.

Is this a problem with: the gif, our code or a bug in ultramon? Please help.

Simon Bach
Christian Studer   2005-09-06 00:41
Seems unlikely that this is related to UltraMon or your own code.

I ran the GIF via the Windows Picture and Fax Viewer (on XP), and also noticed a flickering border on one of the monitors. This only occurred on the monitor connected to the second video card (PCI), it didn't happen on the two monitors connected to the AGP video card. Both video cards are Nvidia Quadro NVS 280 cards, using the same driver.

If it's really related to the card being PCI, it might be a bandwidth issue, although that seems a bit odd for just playing an animated GIF. Or maybe it's due to the monitor connected to the card (I'm using 3 different LCDs connected via DVI).

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> Image flicker

Post Reply