elementary / switchboard-plug-display

Switchboard Displays Plug
https://elementary.io
GNU General Public License v3.0
14 stars 18 forks source link

Toggling displays causes errors/crashes #20

Open elementaryBot opened 7 years ago

elementaryBot commented 7 years ago

Hi,

I have 2 Display. If i deactivate 1 i cant active the second one because the Displayapp crashes. I had to enable the monitor with xrandr over the terminal, than i can configure the two Displays.

The segmentation fault comes in the syslog.

Launchpad Details: #LP1443536 Daniel Witte - 2015-04-13 16:35:46 +0000

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44231739-toggling-displays-causes-errors-crashes?utm_campaign=plugin&utm_content=tracker%2F60457221&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60457221&utm_medium=issues&utm_source=github).
elementaryBot commented 7 years ago

Hi all, i've the same problem. I user xrandr to switch monitor. There is a better solution to solve this problem? Because everytime i boot up, os select by default the wrong monitor, and it is uncomfortable.

Launchpad Details: #LPC Mirko - 2015-04-29 19:01:23 +0000

elementaryBot commented 7 years ago

Hello,

i've had the same error. Installing & Setting up Elementary OS with two Monitors was no Problem. But when i removed one to use it for another PC and plug it back in it happend. The Display Application crashes as soon as i "checkbox" the second Monitor for use.

I also fixed it with arandr (xrandr + GUI), but i had to set the Monitors to mirrored first to set it at the Displays App to segmentation.

Launchpad Details: #LPC Sativa - 2015-06-22 14:51:09 +0000

elementaryBot commented 7 years ago

For me launching the display plug crashes switchboard as well. Kind of annoying:

jhoeve-a@laptop-jacco:~$ switchboard --display=:0 display

(switchboard:8144): WARNING : Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-k3wNWXxF7v: Connection refused [INFO 15:00:42.784368] Application.vala:155: System Settings version: 2.0 [INFO 15:00:42.784574] Application.vala:157: Kernel version: 4.2.0-040200-generic [INFO 15:00:42.882810] Tweaks.vala:229: Activating Tweak plug switchboard: symbol lookup error: /usr/lib/x86_64-linux-gnu/switchboard/hardware/pantheon-display/libpantheon-display.so: undefined symbol: gnome_rr_output_info_supports_rotation

Launchpad Details: #LPC JaccoH - 2016-05-26 13:01:09 +0000

elementaryBot commented 7 years ago

It is not tweak plug bug. I have the same issue, without tweaks:

jhoeve-a@laptop-jacco:~/GitCollections/authdns-ansible-code$ switchboard --display=:0 display

(switchboard:14874): WARNING : Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OFD4pWGdWq: Connection refused [INFO 14:38:31.672099] Application.vala:155: System Settings version: 2.0 [INFO 14:38:31.672176] Application.vala:157: Kernel version: 4.2.0-040200-generic switchboard: symbol lookup error: /usr/lib/x86_64-linux-gnu/switchboard/hardware/pantheon-display/libpantheon-display.so: undefined symbol: gnome_rr_output_info_supports_rotation

Launchpad Details: #LPC JaccoH - 2016-07-01 12:39:32 +0000

elementaryBot commented 7 years ago

Also see: https://bugs.launchpad.net/elementaryos/+bug/1590193

Launchpad Details: #LPC JaccoH - 2016-07-01 12:40:37 +0000

elementaryBot commented 7 years ago

Found the cause... sorry.

Somehow I was using daily instead of global on Freya. I never intentionally set that though.

Launchpad Details: #LPC JaccoH - 2016-07-01 12:50:14 +0000

Philip-Scott commented 7 years ago

Disabled displays don't seem to have values we're trying to get. So we get a whole bunch of errors when they're toggled.

Maybe disabled displays shouldn't be on the canvas, but we need a way to enable them (Maybe like one super old mockup @cassidyjames made? :smile: )

[FATAL 12:58:09.611739] [GnomeDesktop] gnome_rr_mode_get_width: assertion 'mode != NULL' failed
[FATAL 12:58:09.611760] [GLib-GObject] g_value_get_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
[FATAL 12:58:09.611781] [GnomeDesktop] gnome_rr_mode_get_height: assertion 'mode != NULL' failed
[FATAL 12:58:09.611803] [GLib-GObject] g_value_get_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
[FATAL 12:58:09.611824] [GnomeDesktop] gnome_rr_mode_get_width: assertion 'mode != NULL' failed
[FATAL 12:58:09.611846] [GLib-GObject] g_value_get_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
[FATAL 12:58:09.611867] [GnomeDesktop] gnome_rr_mode_get_height: assertion 'mode != NULL' failed
[FATAL 12:58:09.611888] [GLib-GObject] g_value_get_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
[FATAL 12:58:09.611908] [GnomeDesktop] gnome_rr_mode_get_width: assertion 'mode != NULL' failed
[FATAL 12:58:09.611928] [GLib-GObject] g_value_get_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
[FATAL 12:58:09.611948] [GnomeDesktop] gnome_rr_mode_get_height: assertion 'mode != NULL' failed