melnijir / Dicaffeine

Repository for things connected to Dicaffeine player/streamer.
https://dicaffeine.com
MIT License
119 stars 5 forks source link

[glx_window/window_auto] FPS: 29.999 #65

Open ogmkp opened 8 months ago

ogmkp commented 8 months ago

Hi @melnijir and thank you for this great project !

I have a fps problem on x86 (Ubuntu 22.04) the NDI video is not fluid. When I play yuri on the configuration file, the log tells [glx_window/window_auto] FPS: 29.999

How to get 60 fps?

Thanks a lot!

ogmkp commented 8 months ago

yuri_simple works great but in 800x600 resolution windowed, so I made a test with a simple link from ndi to glx_window and I get 43 fps, I found a kernel module driver problem, when I put yuri in background I have 60 fps,

I'm investigating.

ogmkp commented 8 months ago

I solved the driver issue with removing tearing free, so, I had still 30 fps, I find the solution, can you add the fps parameter to 60 in ndi_combine from the web generator please ?

melnijir commented 8 months ago

Hi, I've added the max fps settings into the main config file:

/etc/dicaffeine/dserver.json

check the last line with parameter _maxframerate. It's still set to 30fps because of some speed drawbacks on RPi4 but you can change it to any value you want.

It's in the latest version 0.7.4.