Smooth video playback ?
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Smooth video playback ?

    by Just_Deweak » Sat May 11, 2019 3:27 pm

    Hi all,

    I can’t have a smooth playback with H264 files or generated textures or anything going out of MM, does someone has a clue ?

    Here is my setup :
    MSI laptop with 16GB Ram and a Nvidia RTX2060 chipset

    Graphics card set to 50Hz to match the 1080p @ 50 EDID from my Barco E2 high-end switching system (feeding a LED wall and LCD screens, all set to 50 Hz).

    With H.264 MP4 files encoded at 10Mbps at 25 or 50fps, MM is unusable since playback isn’t smooth at all. Locally (on my computer’s screen), I can have a smooth playback, though.

    Same issue with the FHD @ 50Hz outputs of my Matrox triple head DP...

    Hardware acceleration on media has no positive effect. My graphics driver are up to date, and forcing MM to start on the NVidia (Windows defaults it to the Intel UHD internal processor) has no effect.

    I’m a bit puzzled since I’d like to use MM as a light substitute for a Modulo Pi system sometimes, and this lag doesn’t make it a valid alternative...
  • mad-matt
    garageCube team
    Posts: 723
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Smooth video playback ?

    by mad-matt » Mon May 13, 2019 12:24 pm

    That's weird. On a basic machine you're supposed to be able to run many fullHD h264 smoothly.
    Are all of your screens at 50 Hz or do you have one at 60Hz and the output at 50 Hz ?
    Did you tweak any setting in nVidia Control Panel ?
    Could you try with MadMapper 3.7.0 Beta 2 (available from yourspace) ?
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Re: Smooth video playback ?

    by Just_Deweak » Mon May 13, 2019 5:10 pm

    Thanks Matt,

    Yes this is weird... This is what I did to try to solve this problem :

    - deactivating the Intel 630 UHD to run the system and MadMapper on te NVidia : no effect
    - installing the last drivers for the Intel graphics chipset& Nvidia : no effect
    - deactivating the video output and go fullscreen on ma laptop's screen : no effect
    - playing 25p, 30p, 50p, 60p versions of my test video : no effect
    - doing the same with the Beta : no effect

    What I noticed is that unlike with my previous laptop, I can't force the laptop's screen to 50 Hz to have everything running at this rate (the configuration tool refuses to create acustum resolution at this rate, too). But anyway, when this graphics processor is deactivated only the NVidia is running, and it's locked to 50Hz so it should be ok...

    The preview window looks smoother than the output in most cases, though, and as the laptop's screen runs only at 60Hz, I think there an issue with dual graphics boards systems like most of laptops equipped with an Intel board + a dedicated graphic card...

    Do you need more information ?
    Last edited by Just_Deweak on Mon May 13, 2019 5:16 pm, edited 1 time in total.
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Re: Smooth video playback ?

    by Just_Deweak » Mon May 13, 2019 5:13 pm

    ... something nice would be to be able to force Madmapper at its own internal rate, not following the system's one.
  • mad-matt
    garageCube team
    Posts: 723
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Smooth video playback ?

    by mad-matt » Mon May 13, 2019 10:44 pm

    I will request more testing with multi screen & different frequencies. Generally we try to run everything at 60Hz, but in production workflow you might be blocked with a 25 FPS video production. Recompressing the movie at 30 Hz with a video editing software and a high quality frame blending is generally an option, but anyway MadMapper is supposed to handle it properly. MadMapper engine will run at the frequency of the first activated projector in the list.
    You can display the FPS using
    Windows, in Cmd.exe: REG ADD HKCU\SOFTWARE\Garagecube\MadMapper /f /v logFPS /t REG_SZ /d 1
    macOS, in Terminal.app: defaults write com.garagecube.MadMapper logFPS 1
    And restart MadMapper.

    Do you have a single projector ? What FPS is MadMapper showing ?
    I suppose CPU/GPU usage is very low if you just play a single movie ?
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Re: Smooth video playback ?

    by Just_Deweak » Tue May 14, 2019 9:01 am

    Hello Matt,

    Thanks for your help !

    My laptop is connected to a Barco E2 system with 1080p@50Hz EDID. This is a setup we're using daily in corporate events since as the broadcast cameras run at 50Hz in France, every element in the video chain is based on this 25 (or 50) images / second basis...

    The fps while offline is 60fps when I'm playing a generator and 50fps when I'm playing my 50fps test movie. GL time is around 0.3ms and CPU 0.0ms

    When I go online the fps moves between 49fps and 50fps when playing generators and is almost fix at 50fps when playing my test movie. GL time is a bit lower, around 0.1ms, and CPU is still around 0ms

    I notice that when switching from one media to another in the same quad, the fps transitions between the media's (or generator's) fps to the output's 50fps.

    If it can help, here are my test files : https://www.dropbox.com/sh/x23w9doscizf ... XHGLa?dl=0

    (Diagonal motion with black and white stripes rendered at 25, 30, 50 and 60 fps)
  • franz
    madMapper master
    Posts: 725
    Joined: Fri Feb 18, 2005 7:05 pm
    Location: Paris, France
    Contact:

    Re: Smooth video playback ?

    by franz » Tue May 14, 2019 10:02 am

    try to run gpu-z at the same time, and let us know your gpu usage, fan speed , etc ....
    0.1 gltime means your gfx card has plenty of room for power hungry scenarios, since the total budget per frame at 60fps is 16.6 (ms)
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Re: Smooth video playback ?

    by Just_Deweak » Tue May 14, 2019 10:32 am

    Yep this MSI laptop must be comfortable with heavy scenarios...

    Right now I'm playing 4 quads with my 50fps test movie, and the GLtime is still 0.4ms. Here are the logs from GPU-Z :

    Image

    Image
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Re: Smooth video playback ?

    by Just_Deweak » Thu May 16, 2019 9:10 am

    @franz is this enough for you to know what’s going wrong, or do you need more information ?
  • franz
    madMapper master
    Posts: 725
    Joined: Fri Feb 18, 2005 7:05 pm
    Location: Paris, France
    Contact:

    Re: Smooth video playback ?

    by franz » Sat May 18, 2019 1:50 pm

    gpu load is 36%, so you're actually using it , that's good.
    what's your cpu reading with the same movie playing ?
  • User avatar
    Just_Deweak
    member
    Posts: 13
    Joined: Fri Apr 26, 2019 9:55 am
    Location: Picardie, France
    Contact:

    Re: Smooth video playback ?

    by Just_Deweak » Tue May 21, 2019 10:52 am

    Sorry for the late answer, I didn"t have a notification...

    When playing, my GPU load remains almost the same.

Who is online

Users browsing this forum: No registered users and 2 guests