benzea/gnome-network-displays

Notebook display error with "--display" option

b1oki opened this issue · 1 comments

b1oki commented

Samsung R428, Intel GMA4500, display 1366 x 768.

If run without "--display" catched some warnings about X11 and this software choose fallback FullHD.

# xrandr --query
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm

# G_MESSAGES_DEBUG=all GST_DEBUG=*:5 gnome-network-displays --display=LVDS-1

0:00:01.655781583 161620 0x5610260e2a00 INFO            GST_REGISTRY gstregistry.c:1696:scan_and_update_registry: Registry cache written successfully
0:00:01.656037961 161620 0x5610260e2a00 INFO            GST_REGISTRY gstregistry.c:1755:ensure_current_registry: registry reading and updating done, result = 1
0:00:01.656066665 161620 0x5610260e2a00 INFO                GST_INIT gst.c:806:init_post: GLib runtime version: 2.64.2
0:00:01.656083915 161620 0x5610260e2a00 INFO                GST_INIT gst.c:808:init_post: GLib headers version: 2.63.1
0:00:01.656095019 161620 0x5610260e2a00 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
0:00:01.656108358 161620 0x5610260e2a00 DEBUG                default gsttracerutils.c:79:_priv_gst_tracing_init: Initializing GstTracer
Unable to init server: Broadway display type not supported: LVDS-1

(gnome-network-displays:161620): Gtk-WARNING **: 14:36:47.704: cannot open display: LVDS-1

You are misunderstanding the --display option. It is a GTK+ option for the X11 display (which has nothing to do with a "display" in the monitor sense and is the DISPLAY environment variable), not a gnome-network-display option.

Yeah, FullHD is currently hardcoded … it will scale the image up for sending to the monitor. See #99