The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Can I enable mode switching from wayland/weston?
norserob


Joined: 28 Sep 2015
Posts: 1
I need to display video in different resolutions (the resolution of the recording), but with weston/wayland I always end up with the resolution preferred by the monitor (1920x1080 in my current setup).

SDL2 thinks it is producing e.g. 1280x720, but that is not the real output to screen. This is probably due to weston scaling this to 1920x1080 for the monitor, intstead of doing a mode switching, which is what I require for my application.

I am using arch linux with SDL2 2.0.3-1 and weston 1.8.0-1. If I use X11 instead of wayland/weston I get tmode switching ouput resolutions I require.

Maybe there are some settings to weston I am missing? Googling gave me references to weston fullscreen-shell. Can I get weston to output fullscreen resolutions other than the one preferred by the monitor?