Quantcast

Increasing frame rate - kinfu

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Increasing frame rate - kinfu

Isabel
Hi all,

I want to increase the frame rate when using kinfu. My graphic card is a GeForce GTX 970 (4096MB memory). I have tried kinfu_app as well as kinfu_remake, but I get a similar performance than with a GeForce GTX 560 Ti (~1GB), although the theoretical number of fps is higher (~ 84fps), the real one is max 15fps.

How can I increase the frame rate?

Thanks in advance,

--
Isabel C. Patiño Mejía


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

VictorLamoine
Administrator
Hey,

Are you compiling in release mode?
With kinfu_remake I got 30 real fps with a GTX 770.

With a 970 you should get at least 30 fps because there are more CUDA cores, memory etc...

http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-770/specifications
http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-970/specifications

Bye
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Isabel
Hi Victor,

thank you for your reply and sorry for my late reply.

Yes, I am compiling in release mode. However when I run ./demo I got: SetRegistration failed: Device Protocol: Bad Parameter sent!, maybe is this the reason why I am having such a bad performance?. I will try to figure out what is the problem, but if you know something, I appreciate any help.


Cheers,


2016-06-27 10:11 GMT+02:00 VictorLamoine <[hidden email]>:
Hey,

Are you compiling in release mode?
With  kinfu_remake <https://github.com/Nerei/kinfu_remake>   I got 30 real
fps with a GTX 770.

With a 970 you should get at least 30 fps because there are more CUDA cores,
memory etc...

http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-770/specifications
http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-970/specifications

Bye



--
View this message in context: http://www.pcl-users.org/Increasing-frame-rate-kinfu-tp4042024p4042059.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Isabel C. Patiño Mejía


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Isabel
Hi again,


I remove the error changing capture_.setRegistration(true); to false in the demo file. But I still have really bad rate frame. Do you have any idea of what else should I check, maybe other hardware requirements?


Thanks in advance,

2016-07-07 12:07 GMT+02:00 Isabel Patiño <[hidden email]>:
Hi Victor,

thank you for your reply and sorry for my late reply.

Yes, I am compiling in release mode. However when I run ./demo I got: SetRegistration failed: Device Protocol: Bad Parameter sent!, maybe is this the reason why I am having such a bad performance?. I will try to figure out what is the problem, but if you know something, I appreciate any help.


Cheers,


2016-06-27 10:11 GMT+02:00 VictorLamoine <[hidden email]>:
Hey,

Are you compiling in release mode?
With  kinfu_remake <https://github.com/Nerei/kinfu_remake>   I got 30 real
fps with a GTX 770.

With a 970 you should get at least 30 fps because there are more CUDA cores,
memory etc...

http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-770/specifications
http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-970/specifications

Bye



--
View this message in context: http://www.pcl-users.org/Increasing-frame-rate-kinfu-tp4042024p4042059.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Isabel C. Patiño Mejía




--
Isabel C. Patiño Mejía


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Isabel
Hi Victor,

I haven't been able to get 30 real fps. Could you tell me if I am doing some mistakes in the calculation: In the file core.cpp I have modified the timing function:

kf::SampledScopeTime::~SampledScopeTime()
{
    static int i_ = 0;
    static boost::posix_time::ptime starttime_ = boost::posix_time::microsec_clock::local_time();
    time_ms_ += getTime ();

   
    if (i_ % EACH == 0 && i_)
    {
      boost::posix_time::ptime endtime_ = boost::posix_time::microsec_clock::local_time();
        std::cout << "Average frame time = " << time_ms_ / EACH << "ms ( " << 1000.f * EACH / time_ms_ << "fps )"
    << "( real: " << 1000.f * EACH / (endtime_-starttime_).total_milliseconds() << "fps )" << std::endl;
        time_ms_ = 0.0;
   
    starttime_ = endtime_;
   
    }
    ++i_;
}

During the acquisition, I reduce the volume to 1m and the model of a dummy head, which rotates in front of the sensor, is acquired. Is there any value about the precision of kinfu?


Thanks in advance,



2016-07-07 15:38 GMT+02:00 Isabel Patiño <[hidden email]>:
Hi again,


I remove the error changing capture_.setRegistration(true); to false in the demo file. But I still have really bad rate frame. Do you have any idea of what else should I check, maybe other hardware requirements?


Thanks in advance,

2016-07-07 12:07 GMT+02:00 Isabel Patiño <[hidden email]>:
Hi Victor,

thank you for your reply and sorry for my late reply.

Yes, I am compiling in release mode. However when I run ./demo I got: SetRegistration failed: Device Protocol: Bad Parameter sent!, maybe is this the reason why I am having such a bad performance?. I will try to figure out what is the problem, but if you know something, I appreciate any help.


Cheers,


2016-06-27 10:11 GMT+02:00 VictorLamoine <[hidden email]>:
Hey,

Are you compiling in release mode?
With  kinfu_remake <https://github.com/Nerei/kinfu_remake>   I got 30 real
fps with a GTX 770.

With a 970 you should get at least 30 fps because there are more CUDA cores,
memory etc...

http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-770/specifications
http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-970/specifications

Bye



--
View this message in context: http://www.pcl-users.org/Increasing-frame-rate-kinfu-tp4042024p4042059.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Isabel C. Patiño Mejía




--
Isabel C. Patiño Mejía




--
Isabel C. Patiño Mejía


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

TomWim
Hi!

I have the same problem as you and was wondering if you figured out how to increase the frame rate of kinfu. I thought maybe it is an architecture issue as I have a similar Graphics card, but it is only a vague guess.

Im also open to help from other people ;)

Greetings,
Tom
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Sérgio Agostinho
Well, Victor keeps mentioning this again and again :) Have you guys tried the Nerei remake? If not, give it a try and let us know if it’s faster (it should be).

Cheers, 
Sérgio



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Isabel
Hi Sergio, I tried Kinfu remake and I had the same issue. I have never been able to work close to 30fps

2016-08-31 7:58 GMT+02:00 Sérgio Agostinho <[hidden email]>:
Well, Victor keeps mentioning this again and again :) Have you guys tried the Nerei remake? If not, give it a try and let us know if it’s faster (it should be).

Cheers, 
Sérgio



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users




--
Isabel C. Patiño Mejía


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Sérgio Agostinho
Well, my experience with CUDA is pretty limited, nevertheless here’s my two cents:

- Given the bad performance on both implementations I’m inclined to say that this might be a limitation of your particular card :/
- Second thing, CUDA offers a number of profiling tools you can try to use in case you want to understand what’s choking in your system. At least you’ll know what is choking and why.

Cheers,
Sérgio


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

TomWim
Hi Sergio,

thanks for the help! I still have no idea why I have the performance issues. I tried out the suggested Kinfu remake a few months ago and had some issues with it as will. But the main problem was that Marching Cubes and colors is not included. I found a fork though (https://github.com/gcuendet/kinfu_remake) that has great performance and has these features.

Maybe someone else finds this useful as well.

Best,
Tom
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Increasing frame rate - kinfu

Sérgio Agostinho
Thanks for sharing!

Cheers


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

smime.p7s (4K) Download Attachment
Loading...