elementary / switchboard-plug-display

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

"Use this Display" switch doesn't work #131

Closed jess-sch closed 3 years ago

jess-sch commented 5 years ago

I just installed Juno and I noticed that disabling my ThinkPad X230's internal display doesn't work. It just stays on.

Steps to reproduce: Boot into Juno install media or install it and then:

  1. Connect an external monitor to your laptop
  2. System Settings -> Display
  3. Flip the "Use this Display" switch on your internal display
  4. Apply the changes
  5. See how nothing has changed at all
mhanoglu commented 5 years ago

Same error for me. I can't disable internal screen on Juno. I can do it on Loki. Two screen are open permanently

image

megatux commented 5 years ago

Confirmed. Same here, Toshiba laptop w/Radeon chip. Loki works.

kr428 commented 5 years ago

Same here. HP EliteBook Folio w/ internal onboard intel HD chipset. See https://elementaryos.stackexchange.com/questions/16445/monitor-settings-do-not-work-cannot-disable-integrated-screen-of-the-laptop as well.

Note: On my device, closing the laptop would be a viable workaround but unfortunately even then, when locking the screen, the system will display the unlock screen on the "wrong" display.

deyvisonrocha commented 5 years ago

One way to work around this is to temporarily use Super + P to change until only the external monitor is left.

wout commented 5 years ago

I can confirm the same issue on my Dell XPS 15 9560. There are some related issues due to this problem.

No tray nor dock after sleep

While using an external monitor, my laptop is closed. This works fine as long as the system does not go to sleep. Waking it up is a pain because it does not listen to the wireless mouse or keyboard (also Dell). Touching the built-in keyboard wakes up the system but then I have two screens missing the to menu bar/tray as well as the dock. The only thing I can do in this scenario is a hard reboot.

Not dock nor tray after reboot

This morning I logged in and again, no tray or dock were showing, so I did a reboot without the external monitor. But even after a reboot, they didn't show up. I had to manually launch the switchbaord (/usr/bin/io.elementray.switchboard) though the terminal to be able to access display settings, where I fiddled a bit with the settings. After rebooting the tray and dock were back again.

nikitati commented 5 years ago

Confirmed on my ASUS zenbook UX360CA (Intel HD graphics card). The only option to disable laptop display is to cycle through monitor setups with super + P, as proposed above. But cycling sometimes breaks the ability to change wallpapers (sic!). Wallpaper change is then only applied after restarting the session. This is seriously messed up. Everything worked fine in Loki.

0x9394 commented 5 years ago

juno, tested w 3 notebooks:

0x9394 commented 5 years ago

more test:

msmaldi commented 5 years ago

Same problem, on acer E1-572 On Loki work perfect

LanceGundersen commented 5 years ago

Confirmed on Dell XPS 13 9360 with eGPU. Juno 5 fresh install last night.

0x9394 commented 5 years ago

tried multiple times today,

hw info:
model:  Dell Latitude E5250
cpu:    i5-5300U CPU @ 2.30GHz
mem:    12GB
disk:   256GB ADATA SP920SS SSD
auto start apps: albert luncher, synology cloudstation drive, fcitx input.
network: wired connected, wireless disabled.
cassidyjames commented 5 years ago

Marking as high priority and confirmed since it's affecting a lot of people and we've gotten a lot of reports of this.

cassidyjames commented 5 years ago

From #106:

Not sure if it's related (or the same) to #38 and it's a regression from Loki

Running Juno on an Optimus Enabled Laptop (with an GF106 GT630m). And i'm also on a "three monitor setup" (My broken laptop screen (which I disabled using the laptop Fn Key), my external monitor (probably isn't needed to give the model) on the VGA cable and the virtual nvidia screen.

Also using the nvidia-driver-390 package from AppCenter, with the Intel profile (Nvidia card can't draw anything on the screen..)

And the display settings (such as disabling the laptop screen and the nvidia virtual offscreen) doesn't do anything (not even blink the screens), worked fine on Loki.

How can I grab some logs from switchboard? –@h4ndshake

I'm unable to disable monitors too –@naaando

rsolvang commented 5 years ago

I have the same problem on my x220 with an external monitor – the internal display won't turn off. I solved it temporary by installing ARandR which allows me to turn it off, but not persistently. After a reboot, the internal display is activated again.

rafifos commented 5 years ago

@rsolvang You don't need ARandR, it's really simple to turn it off with the good ol' xrandr

Just type xrandr --output <your display name> --off

You don't even need to sudo this! But it's not persistent. (Will be reverted on reboot)

Enviado do meu M5 usando FastHub

matej-marcisovsky commented 5 years ago

First time digging into this but I noticed some unexpected things.

  1. https://github.com/elementary/switchboard-plug-display/blob/93bb86f1d07b49f4cd5e7b54687d46452a8bb088/src/Objects/VirtualMonitor.vala#L56 It always return true so this can not work at all.

  2. There is no turn off settings in org.gnome.Mutter.DisplayConfig. https://gitlab.gnome.org/GNOME/mutter/blob/7bd668e6d0081ff4a22617625347e54ca7138819/src/org.gnome.Mutter.DisplayConfig.xml

  3. Also noticed that org.gnome.SettingsDaemon.XRANDR plugin has been removed so maybe SettingsDaemon.vala is useless. https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/cbf313e689f5853b85c6f7c08ac233688408c8e8 https://github.com/elementary/switchboard-plug-display/blob/93bb86f1d07b49f4cd5e7b54687d46452a8bb088/src/SettingsDaemon.vala

I suggest to completely remove the switch until org.gnome.Mutter.DisplayConfig supports this feature.

wandertorres commented 5 years ago

O mesmo acontece aqui no meu Lenovo Ideapad 310. Além de não desativar os monitores através da funcionalidade Use this screen, por vezes a transparência do Wingpanel também não funciona com dois monitores, ficando apenas no modo Translucido.

Sou um entusiasta do Elementary OS e venho tento problemas com monitor externo desde o Loki.

Translated via Google Translate:

The same thing happens here on my Lenovo Ideapad 310. In addition to not turning off monitors using the Use this screen feature, sometimes the transparency of the Wingpanel also does not work with two monitors, but only in Translucent mode.

I am an elementary OS enthusiast and have been experiencing external monitor issues since Loki.

felix91gr commented 5 years ago

I'm experiencing this exact same problem. I'm gonna try @rafifos's suggestion, I hope it works as a temporary fix 🤞🏻

felix91gr commented 5 years ago

What is the state on this? Tell me if it's possible to accelerate this through more bountiness.

santropedro commented 5 years ago

Same exact issue, Lenovo Ideapad

floi commented 5 years ago

Not sure if further +1's are still helpful, but I'm having the same issue with a fresh Juno install on a Dell Precision 5530.

Thanks for the workaround @deyvisonrocha !

simgui8 commented 5 years ago

Same problem on a fresh Juno install

jean-lourenco commented 5 years ago

I'm having the same problem with Juno. The issue is worse when I lock my laptop and close the lid. When I open it again (even if I have disabled the display before) the unknow display is shown as default somewhat, and I can just see a black screen. I have to cycle through the displays with super + p to find the right one to log in.

Hedronmx commented 4 years ago

Still having this issue

asimsalam commented 4 years ago

I too still see this issue with a Thinkpad T490 connected to two external monitors. Moreover when I turned the monitor off using xrandr and locked the session, I did not get an unlock prompt. The only way out was to reboot the system.

Hedronmx commented 4 years ago

Just released version 5.1 and this basic feature is still buggy.... incredible.

felix91gr commented 4 years ago

It is a basic feature. But this system is free, and even though I don't like how they prioritize certain things, I do appreciate the work they take for it.

Hedronmx commented 4 years ago

It is a basic feature. But this system is free, and even though I don't like how they prioritize certain things, I do appreciate the work they take for it.

Of course!! This is my favorite OS of all time... It is just baffling that such issue can last unresolved for so long. Even when the developers themselves tagged it as priority

murermader commented 4 years ago

Just installed 5.1 Hero and am kinda amazed how this feature is still broken after over a year, without a real fix or viable workaround. Even a major version has been released during that period, and this bug is still not fixed.

starrabb1t commented 4 years ago

Same problem on my desktop with Hera 5.1.2 (intel haswell)

MarlonMrN commented 4 years ago

Just installed 5.1.2 Hera on my dell e5440 and I'm facing the same problem.

alfonsojon commented 4 years ago

I'd like to add that this issue doesn't just impact laptops; it also impacts desktops. I keep accidentally putting windows on my TV (third "monitor"). For now, I have it disconnected.

MarlonMrN commented 4 years ago

I'd like to add that this issue doesn't just impact laptops; it also impacts desktops. I keep accidentally putting windows on my TV (third "monitor"). For now, I have it disconnected.

Use Super+P as a workaround, so you can really disable it. Keep hitting it until you get your desired state

tp6060 commented 4 years ago

Same here. Worked well on loki - stopped working after upgrading to hera. Super+P works around.

ErikMvk commented 4 years ago

Hey. Running latest version of elementary OS Hera and same problem here, i clicked on "use this display" and nothing happens. Super+P works but I have to use it everytime I plug my TV to watch a show. It's kinda annoying. Thanks!

grmain commented 4 years ago

Hi, anything new?

alfonsojon commented 4 years ago

I have installed Switchboard from the Unstable PPA and it seems to be fixed there. This is not a suggestion to use the unstable PPA to fix it; rather, a fix seems to be on its way.

Edit: I lied

alfonsojon commented 4 years ago

For some reason my $15 bounty I provided for this bug report was refunded. Hmm...

felix91gr commented 4 years ago

Yah, they're switching from BountySource to Github Sponsors

cassidyjames commented 3 years ago

@alfonsojon Bountysource was being very unreliable and shady, see: https://blog.elementary.io/goodbye-bountysource-hello-github-sponsors/

We refunded all bounties and closed our Bountysource account.

alfonsojon commented 3 years ago

Just read about that, that is very sketchy. Big thanks to everyone at Elementary for being proactive about this; I would have never otherwise seen that! I need to read the blog more often.

Starcr0ss commented 3 years ago

This is still an issue on elementary OS 5.1.7 Hera. I had to use ARandR to disable my laptop display and only use my TV.

PetrBlaha commented 3 years ago

Is there any update (will be in OS 6) regarding this issue? I am experiencing this on fresh install of OS 5 (thinkpad t480, monitor connected via usb-c dongle). It is not showstopper for me, but it would be much better experince if this would work :)

jeremypw commented 3 years ago

The PR https://github.com/elementary/switchboard-plug-display/pull/228 provides at least a partial fix but is awaiting testing and review by a dev with a HiDPI monitor. Until someone approves it, it cannot be merged.

Hedronmx commented 3 years ago

Its incredible that a bug this important still unfixed. Eos 6 released with this same issue. 3 years have gone by....

grmain commented 3 years ago

« This comment was marked as spam ». I am amazed. 3 years ignoring a major bug, 1 hour to mark a comment reminding it as spam. Congrats. I moved away from eOS since first beta of eOS 6, I was already happy doing so, I am happy having a computer that simply works, but now I am totally thrilled you guys and girls confirm this OS is pointless as an OS. After years it is still no more than an icon pack.

Hedronmx commented 3 years ago

@grmain Just found out they marked my comment as spam... wow

davidmhewitt commented 3 years ago

At this point, the issue is confirmed and well understood. There are a large number of comments and it can be difficult for us as developers to find the information we need in the thread as a result.

So, any comments that do not add anything useful to the discussion will be hidden to save time as we're reading the thread.