EXT: [PATCH weston 0/1] Allow forcing outputs on

Tomasz Olszak olszak.tomasz at gmail.com
Thu Jun 21 09:03:36 UTC 2018


To reproduce the issue:

weston.ini:
[output]
name=HDMI-A-2
mode=74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync
force-on=true

Connect screen to HDMI-A-1 and start weston. You get weston info:
interface: 'wl_output', version: 3, name: 13
       x: 0, y: 0, scale: 1,
       physical_width: 410 mm, physical_height: 230 mm,
       make: 'PHL', model: 'Philips 196V',
       subpixel_orientation: unknown, output_transform: normal,
       mode:
...
interface: 'wl_output', version: 3, name: 14
       x: 1366, y: 0, scale: 1,
       physical_width: 0 mm, physical_height: 0 mm,
       make: 'unknown', model: 'unknown',
       subpixel_orientation: unknown, output_transform: normal,
       mode:
               width: 1280 px, height: 720 px, refresh: 59.855 Hz,
               flags: current


Now disconnect HDMI-A-1:
interface: 'wl_output', version: 3, name: 14
       x: 2732, y: 0, scale: 1,
       physical_width: 0 mm, physical_height: 0 mm,
       make: 'unknown', model: 'unknown',
       subpixel_orientation: unknown, output_transform: normal,
       mode:
               width: 1280 px, height: 720 px, refresh: 59.855 Hz,
               flags: current

That seems like a bug.

2018-06-20 14:14 GMT+02:00 Pekka Paalanen <ppaalanen at gmail.com>:
> On Tue, 19 Jun 2018 14:07:08 +0200
> Tomasz Olszak <olszak.tomasz at gmail.com> wrote:
>
>> Hi,
>>
>> While I was testing this patch I ended up with:
>>
>> interface: 'wl_output', version: 3, name: 14
>>         x: 2732, y: 0, scale: 1,
>>
>>
>> This happened when I used force-on on second "HDMI-A-2" display.
>>
>> When I used force-on on HDMI-A-1 everything worked as expected. anx x=y=0
>
> Hi,
>
> I did a quick test on a device with two connectors, both unplugged, and
> forcing each one on at a time. I didn't see the issue. I'll try to see
> how it could still happen. Would you have a weston log of the failure
> case along with full weston-info output?
>
>
> Thanks,
> pq


More information about the wayland-devel mailing list