ares-emulator / ares

ares is a cross-platform, open source, multi-system emulator, focusing on accuracy and preservation.
https://ares-emu.net
Other
989 stars 121 forks source link

Linux: Fullscreen blanks second screen in dual-screen setups #1462

Open PaulTGG opened 6 months ago

PaulTGG commented 6 months ago

Describe the bug When using a dual-monitor set up on Linux, entering fullscreen put the content on the screen selected on the drivers settings window, but the second screen is also blanked. Ares correctly detects the monitors, but changing the fullscreen target monitor still blanks whichever screen is not the target. This is happening in all of the following scenarios:

  1. Linux Mint using X, Nvidia video card, all versions from 134 through 137, plus the latest github master as of today (April 26).
  2. Fedora, using Wayland, Intel video, version 137, and today's github master.
  3. On both systems, I tested all available Ares drivers (OpenGL 3 and 2, xshm, and whatever else I can't remember right now).
  4. This is even happening without a rom loaded.

To Reproduce Steps to reproduce the behavior:

  1. Build any Ares version from v134+, in one of the scenarios above, using two 1080 screens.
  2. Assign a fullscreen hotkey.
  3. Press the fullscreen hotkey. If you don't have a rom loaded, both the screens will go black. If you have a rom loaded, the rom will appear on whichever screen is assigned in the settings, and the other screen will be black.

Expected behavior Entering fullscreen should only affect either the assigned target monitor.

Screenshots Screenshot_2024-04-26_14-09-48 (I admit, not a great screenshot, but the right side is supposed to be my desktop.)

Additional context Here's a video showing the issue in action. (I'd already assigned a fullscreen hotkey): https://youtu.be/SwCscJweqZE

Roboguy420 commented 5 months ago

Having the same problem on v138. Running Arch Linux and X windowing system. Package is the third party one on the AUR.