joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.82k stars 383 forks source link

Wayland dpi aware default #3321

Open rderooy opened 2 years ago

rderooy commented 2 years ago

I installed Fedora 36 nightly with latest updates, and installed DOSBox-X SDL2 from my copr repo.

One thing I noticed when starting DOSBox-X was that it by default started as such:

image

The titlebar gives away that apparently SDL2 on F36 is defaulting to Wayland as SDL2 is using the (ugly) client-side drawn titlebar.

Starting DOSBox-X like this, solves the scaling issue:

dosbox-x -set "dosbox dpi aware"=false

So the default for Wayland for DPI aware apparently needs to be false.

To start DOSBox-X using xwayland like before (default 'auto' dpi aware scaling works fine):

SDL_VIDEODRIVER=x11 dosbox-x

SDL2 version:

SDL2-2.0.20-3.fc36.x86_64
maron2000 commented 2 years ago

Does disabling DPI aware option work for this(link) issue as well? I can't test it myself.

gingerbeardman commented 1 year ago

Does disabling DPI aware option work for this(link) issue as well? I can't test it myself.

No, it does not. Just tested it.