Closed rderooy closed 2 years ago
I do not note anything of the sort under the Sway.
https://user-images.githubusercontent.com/452325/171691428-97acf3c0-53bb-4997-89d9-62478e508c0d.mp4
Although I have to admit that dosbox-x has some shortcomings under Wayland. I do not recommend. I suggest using x11 in this case, which is Xwayland.
I checked with the system sdl2-2.0.22 and it doesn't work properly with it.
https://user-images.githubusercontent.com/452325/171700238-27b4367c-1f95-4bda-ba5b-39b170fdaf51.mp4
That's why I always use the latest (git) version of SDL2. Waiting for new bugs to be fixed is much shorter.
@grapeli thanks for confirming. Yes I was using 2.0.22.
Closing this as it is apparently an SDL2 issue that was already fixed upstream.
@rderooy This is definitely an SDL2 bug that has now been fixed. You can see exactly which commit fixed this. I do not want to.
I am applying additional patches to each version of dosbox-x. It's not just about dosbox-x behavior under wayland. 0002-voodoo-disable-some-LOGS.patch.txt 0004-opengl-flicker-glitch-workaround.patch.txt Fixes buggy dosbox-x behavior. 0006-partial-revert-Make-HMENU-the-default-menu-17918c.patch.txt Bug in dosbox-x. If you want to avoid Segmentation fault when you close mapper editor and then resize the window.
Additionally, I undo the following commits: 1624f04 61801c9.
I have misled you. SDL2 upstream doesn't fix that either. To fix this, you need to undo this commit. I have been doing this since the release of 2.0.22. I do it automatically and I missed it. And today I checked it out exactly. Unfortunately, this commit breaks a lot.
It is very likely causing the problems with dosbox-x on bug #3491. Although the reporting person provided too little details.
I reported bug #3491. Sorry was not following up on this topic. Issue persists even after updating to latest version 0.84
Describe the bug
Unfortunately it seems there is an issue when starting DOSBox-X with Wayland, which the SDL2 on Fedora 36 defaults to.
When I start DOSBox-X SDL2 with
-set machine=ega
(or ega200, or hercules), it gets stuck at the "bios" screen and flickers between the bios screen and a black screen with grey block in the upper-left quadrant of the screen.The menu bar also flickers and trying to select an option from the menu just turns the menu black.
ega
ega200
Hercules
Using other video modes, or when using the SDL1 build, or forcing the SDL2 version to use X11 with:
And it starts just fine.
Steps to reproduce the behaviour
DOSBox-X SDL2 using native wayland, using either the default Fedora SDL2, or forcing wayland with:
Expected behavior
DOSBox-X to work normally on Wayland like it does on X11.
What operating system(s) this bug have occurred on?
Fedora 36
What version(s) of DOSBox-X have this bug?
0.84.0 + git
Used configuration
No response
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines