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

Unable to project to one of three monitors on Windows #249

Closed
FlippingBinary opened this issue Apr 1, 2024 · 4 comments
Closed

Unable to project to one of three monitors on Windows #249

FlippingBinary opened this issue Apr 1, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@FlippingBinary
Copy link

Bug Description
I can use the projection feature on only two of the three displays connected to my computer. They appear in the "SCREENS" list as follows:

\\.\DISPLAY1
\\.\DISPLAY2
\\.\DISPLAY5

When the main window is on my primary screen, the display 1 option is grayed out. When it's on my Wacom display, the display 5 option is grayed out. And when it is on my teleprompter display, the display 2 option is grayed out.

Unfortunately, it's the teleprompter display that I can't project onto. When I try projecting to display 2, it has the same effect as projecting to display 1. That's a bit annoying when the application window is on display 1 because the projection screen overlaps the application, and I can't just select "off" in the sequence of modes. I have to cycle through them.

Steps to Reproduce

  1. Open application
  2. Enable projection under the Screens display
  3. Restart application
  4. Select the teleprompter's display

Expected behavior
Projection on the teleprompter's display

Detailed description of display configuration (if applicable)
The display I'm using in the teleprompter is a generic display off of Amazon connected over HDMI, and it works fine as an extended display. I can drag applications to that display, same as I can on my secondary display.

Screenshots (optional)
Feel free to request specific screenshots, but I don't know of any that would be helpful.

Device information

  • QPrompt Version: 1.1.6
  • Operating System: Windows 10 Pro

Additional context

Please note: Although two are connected through a Gigabyte GeForce RTX 4060 Ti graphics card and one is connected through the integrated HDMI port on the motherboard, I swapped the secondary display with the teleprompter just to rule out problems with projecting over a different graphics card than the one the main window is on.

@Cuperino Cuperino changed the title Unable to project to one of three monitors Unable to project to one of three monitors on Windows Apr 1, 2024
@Cuperino Cuperino added the bug Something isn't working label Apr 1, 2024
@Cuperino Cuperino added this to the 2.x milestone Apr 1, 2024
@Cuperino Cuperino added this to QPrompt Apr 1, 2024
@github-project-automation github-project-automation bot moved this to Uncategorized Issues in QPrompt Apr 1, 2024
@Cuperino Cuperino moved this from Uncategorized Issues to Bugs in QPrompt Apr 1, 2024
@Cuperino
Copy link
Owner

Cuperino commented Apr 2, 2024

Thank you for taking your time to report this bug.

Projecting across multiple GPUs is not supported due to the textures in one GPU being inaccessible from other GPUs. Having said that, I don't think your issue is because of this. If it were, the app probably would've crashed.

The graying out of screens is done exclusively on Windows to prevent Windows specific crashes. Linux is unaffected, MacOS on Apple Silicon can only project up to two screens at once.

Your issue seems like a bug in the logic for graying out the display the main window is currently at. Unfortunately, I don't have the time to replicate your issue. Instead I'm writing a new implementation of this feature, because the current implementation is incompatible with more current versions of an underlying framework that we must update to keep things future proof.

I will keep this issue open, but it will likely not be addressed until the new implementation is completed. There's no timeline for this and progress has come about slowly. Consider using any of the Linux versions of QPrompt if you need this issue resolved today.

@FlippingBinary
Copy link
Author

No worries. Hopefully the new implementation resolves the problem naturally.

But just to clarify: the graying seems to work as expected. The problem is that the projection sent to the teleprompter's display appears on the primary display instead - even when the app's main window is also on the primary display and when both displays are connected to the same GPU. The app does not crash even when projecting on the secondary display that is connected to the other GPU. Unfortunately, I'm not sure how someone could reproduce this issue because I'm not sure what makes it different from any other multi-monitor setup. Maybe someone else will see this issue and happen to run into the same problem.

@Cuperino
Copy link
Owner

Cuperino commented Apr 3, 2024

Thanks for the clarification. That gives me a good idea of where to look.

@Cuperino
Copy link
Owner

Screen projections removed from v1.2/2.0 codebase and future implementation in the works won't be affected by this issue, therefore there's no need to keep this issue open.

@github-project-automation github-project-automation bot moved this from Bugs to Done in QPrompt Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants