Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The rendering negatively affects the main window container drag operation. #10

Open
ghost opened this issue Aug 21, 2021 · 3 comments
Open

Comments

@ghost
Copy link

ghost commented Aug 21, 2021

During a drag event, the window container will impact QtDirect3D frames per seconds and start stuttering.

This issue is considerably more pronounced in real time and with—to be confirmed—iGPU.
2.mp4
@giladreich
Copy link
Owner

giladreich commented Aug 22, 2021

Thanks a lot for reporting and for the videos!

This is quite interesting. Did you change something that in the second video doesn't happen anymore?

When I tested this on my machine (GTX 1050 Ti), it was only dropping 5 frames at max, so it didn't drop below 55 FPS. I'm suspecting it could possibly be related to QTimer that Qt's dragging event interferes with it.
Since the real interaction with the windows takes place within the actual scene/render surface, it's not a major issue, however It would be nice to solve it once I get better reproducibility.

@ghost
Copy link
Author

ghost commented Aug 22, 2021

Hey sorry about that, the second video is a standalone DirectX rendering with ImGui and not related to Qt and QtDirect3D. The confusion is on me. That aside, I currently run with Intel® UHD Graphics 750 which explain the disparity between our tests. I’d suggest to try CPU Rendering to get a possibly better reproducibility.

@giladreich
Copy link
Owner

I’d suggest to try CPU Rendering to get a possibly better reproducibility.

Many thanks! I'll try to have a look at this next weekend hopefully. 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant