On our machines (XEON, Linux, 64-bit) we can't mplay full HD sequences in real-time. The biggest we can get is about 75% (using -z) before playback drags to a crawl. It's not a frame loading issue – even after all frames are loaded into memory, playback is still slow, so I'm guessing it's some kind of memory bandwidth issue.
64-bit RV (another image player) also suffers from the same slowness. However, 32-bit FrameCycler plays back in real-time at full-res (!).
We don't have any trouble playing HD quicktimes with mplayer, either. Otherwise I would suspect hardware configuration.
I've tried various combinations in “Video Card Options…”. Through one particular setting I was able to get real-time playback of a single channel, but not RGB.
The video card is pretty beefy, Quadro FX 4400 (NV45GL) with 171.06.01 drivers.
Has anyone else had a similar issue? If so, how did you resolve it?
thanks,
-Mark
Tweaking mplay for real-time 1080p playback?
6611 14 2- mark_visser
- Member
- 71 posts
- Joined:
- Offline
- keyframe
- Member
- 1529 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7709 posts
- Joined: July 2005
- Online
- malexander
- Staff
- 5156 posts
- Joined: July 2005
- Offline
- wolfwood
- Member
- 4256 posts
- Joined: July 2005
- Offline
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
Double-ugh…yeah, just tried it here and it's a huge difference, much faster. I understand the support issues that this can cause having it on by default and users trying out Houdini with old drivers getting a bad first impression, but this strikes me as something so important perhaps there could be a driver version query and use it automatically if the driver > <some version>?
Cheers,
J.C.
Cheers,
J.C.
John Coldrick
- edward
- Member
- 7709 posts
- Joined: July 2005
- Online
- malexander
- Staff
- 5156 posts
- Joined: July 2005
- Offline
There's also an issue with memory usage that needs to be addressed before it can become mainstream. OpenGL textures reside in main memory as well as on the GPU, so MPlay needs to avoid caching the image along with the texture. When using a single texture and piping data through it the way it currently operates, this isn't a big deal. But with a 1:1 texture-to-image setup, it would become very bloated for large sequences.
Because MPlay also needs to be able to read from the images as well (inspection, saving), it unfortunately isn't just a simple change.
Because MPlay also needs to be able to read from the images as well (inspection, saving), it unfortunately isn't just a simple change.
- mark_visser
- Member
- 71 posts
- Joined:
- Offline
edward
Does mplay -8 -C make a difference?
Yes, that definitely made it faster.
twod
You can try this env variable:
setenv HOUDINI_OGL_ENABLE_TEXTURE_SEQUENCES 1
It is not on by default because of compatibility issues with older drivers (it could cause Xserver reboots, but your 171 driver is much more recent than that).
Whoah. Now it plays crazy fast, even without forcing 8-bit loading.
twod
There's also an issue with memory usage that needs to be addressed before it can become mainstream.
It's definitely noticeable – memory gets chewed up a lot faster.
We're going to just use the -8 toggle here for now.
On to the next problem! So, we're also seeing redraw artifacts about halfway down. I seem to recall iplay had a “Double Buffer” option. Is this on by default? Could the redraw problem be due to my LCD screen? Anyone else see this?
cheers
- malexander
- Staff
- 5156 posts
- Joined: July 2005
- Offline
On to the next problem! So, we're also seeing redraw artifacts about halfway down. I seem to recall iplay had a “Double Buffer” option. Is this on by default? Could the redraw problem be due to my LCD screen? Anyone else see this?
Run mplay double buffered with mplay -b d and see if that helps (turning on double buffering interactively is currently rather broken). If not, in the video driver, try “Force to VSync”. That isn't very recommended, though, as it can seriously slow things down.
- wolfwood
- Member
- 4256 posts
- Joined: July 2005
- Offline
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
good question
related to: http://forums.odforce.net/index.php?showtopic=9294&view=findpost&p=61259 [forums.odforce.net] ?
related to: http://forums.odforce.net/index.php?showtopic=9294&view=findpost&p=61259 [forums.odforce.net] ?
Stephen Tucker
VFXTD
VFXTD
- deecue
- Member
- 412 posts
- Joined: July 2005
- Offline
- mark_visser
- Member
- 71 posts
- Joined:
- Offline
- edward
- Member
- 7709 posts
- Joined: July 2005
- Online
-
- Quick Links