Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: Doozer on September 25, 2019, 02:45:28 am

Title: Linux groovymame SDL2
Post by: Doozer on September 25, 2019, 02:45:28 am
For people anxious about the move from X to Mir (Wayland) one news on the subject:

Epic Games' Brandon Schaefer (and in fact former Canonical developer working on Ubuntu's Mir display server) has contributed a new SDL2 video driver back-end for offscreen rendering.

I will follow the progress to ensure GM can migrate smoothly to the new backend.

Cheers!
Title: Re: Linux groovymame SDL2
Post by: Substring on September 25, 2019, 03:54:09 am
Tell me if I'm wrong, but GM needs xrandr, whereas Wayland doesn't support it
Title: Re: Linux groovymame SDL2
Post by: keilmillerjr on September 25, 2019, 04:44:30 am
Not sure if any of this helps as such topics are a bit over my head.

https://fedoraproject.org/wiki/Wayland_features#XRandR_control_of_Wayland_outputs

https://www.phoronix.com/scan.php?page=news_item&px=SDL-2.0.10-Released

https://wiki.gnome.org/Initiatives/Wayland/Gaps/DisplayConfig
Title: Re: Linux groovymame SDL2
Post by: Calamity on September 25, 2019, 05:17:17 am
In order to create video modes, it looks like we'll have to migrate the implementation from libxrandr to drm mode setting: https://01.org/linuxgraphics/gfx-docs/drm/drm-mode-setting.html

Aside of that, it's still not clear if applications have control over mode setting.
Title: Re: Linux groovymame SDL2
Post by: Doozer on September 25, 2019, 06:14:11 am
Aside of that, it's still not clear if applications have control over mode setting.

We will have to make it happen. Applications are also not directly dealing with libxrandr normally ;-)

Nevertheless, before spending time into this, I would like to have some kind of unified GM (Windows+Linux) to allow smoother maintenance and integration. @Calamity, you are the lead, what do you think?
Title: Re: Linux groovymame SDL2
Post by: Calamity on October 01, 2019, 07:20:39 am
Nevertheless, before spending time into this, I would like to have some kind of unified GM (Windows+Linux) to allow smoother maintenance and integration. @Calamity, you are the lead, what do you think?

We definitely need to have this done, hopefully before the end of 2020.