MadDeCoDeR / Classic-RBDOOM-3-BFG

DOOM: BFA (Big Freaking Anniversary) Edition (former Classic RBDoom 3 BFG) is a source port based on RBDOOM-3-BFG and enchance the experience of Ultimate DOOM, DOOM 2 and DOOM 3.
GNU General Public License v3.0
211 stars 22 forks source link

Broken video settings: only one fullscreen resolution #118

Closed Alerymin closed 11 months ago

Alerymin commented 11 months ago

Describe the bug There is only one fullscreen resolution in the display settings which is my 2 screens combined

To Reproduce Steps to reproduce the behavior:

  1. Start the Game
  2. Open Doom 3 BFG
  3. Open settings
  4. Go to system
  5. Look at the fullscreen resolutions

Expected behavior Resolutions for each one of my monitors

Screenshots image

Desktop (please complete the following information):

Additional context Doesn't happen on RBDoom3BFG

MadDeCoDeR commented 11 months ago

Have you try to run it with wayland?

Alerymin commented 11 months ago

No But using wayland with my GPU breaks a few things like sleep mode so I keep X11

Alerymin commented 11 months ago

Using wayland fixed it, but I need it to work on X11

MadDeCoDeR commented 11 months ago

BTW. RBDoom uses a static list of resolutions. Which on it's own can cause many issues, sadly the issue is SDL2 and X11, for some reason SDL2 can't read properly the number of monitors and their resolutions from X11. That's also the reason why DOOM BFA prefers Wayland over X11

Alerymin commented 11 months ago

Ok I see

MadDeCoDeR commented 11 months ago

Great news!!! I figure out how to make SDL2 and X11 to play along together. I had to add libxrandr on the action script. I tested it on my Steam Deck (X11) and not only it returns the available resolutions but also it can detect multiple monitors. If you want to see it check the latest nightly build

Alerymin commented 11 months ago

It didn't my latest issue in #119 but now resolution works.