On Fri, Dec 23, 2016 at 08:59:20AM +0000, Zhu, Lingyun wrote:
> Hi,

Hi,

> 
> I'm trying to set mode for a monitor from 4K@60Hz to 4K@30Hz (all supported) 
> under wayland/weston.
> But it seems there's no api for doing this.

That’s correct.

> The only mode setting related api is wl_output::mode event, but it's a 
> notifying event.
> 
> How can I change the mode of a monitor under wayland/weston?

The mode can currently only be set at launch time, in the weston.ini
configuration file, output section, in the mode option.

To set a specific refresh rate, you will have to generate a modeline
using the `cvt` tool and paste that in the mode option, see `man
weston.ini` and `man cvt` for more information.

> 
> 
> Thanks,
> Lingyun
> 

-- 
Emmanuel Gil Peyrot

Attachment: signature.asc
Description: PGP signature

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to