Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display applet in Settings causes system freeze #6224

Closed
Dad4Linux opened this issue Jan 25, 2017 · 21 comments
Closed

Display applet in Settings causes system freeze #6224

Dad4Linux opened this issue Jan 25, 2017 · 21 comments
Labels

Comments

@Dad4Linux
Copy link

Dad4Linux commented Jan 25, 2017

Linux Mint 18.1 crashes and completely unresponsive when connected to projector on a Dell Latitude D630 laptop or to an external monitor via DisplayPort on a Lenovo T430 laptop. As soon as the resolution or if the "mirror displays" option changes, the desktop background, any open windows, as well as the menu bar splits and the system freezes. System unresponsive to any keystrokes; Cinnamon menu button does not work. Disconnecting the external monitor or projector does not unfreeze the computers. Cannot recover except by powering off the laptops. Please see attached photos and screen shots for system info for both laptops running Cinnamon 3.2. However, Linux Mint 17.3 Display Settings app works with no issues on both laptops.

Screen after unchecking "mirror displays" option on Dell laptop connected to Acer PD113 DLP projector:
img_5347

Photo of frozen screen from the projector (note: the Cinnamon menu bar not completely at bottom of screen as in the laptop screen):
img_5348

System info for Lenovo T430 laptop:
t430-specs

System info for Dell Latitude D630 laptop:
dell-d630-cinnamon-freeze

@Marko-M
Copy link

Marko-M commented Feb 7, 2017

Same here with Dell 7559 and any external display (HDMI)

@zmertens
Copy link

zmertens commented Feb 7, 2017

I have this issue sporadically when I plug in an HDMI cable to my laptop. Sometimes, if I leave the laptop in a suspended state, plug in the HDMI, and then wake up the laptop the resolution will adjust but most of the time it freezes the system.

  • Linux Mint 18 "Sarah"
  • Cinnamon 3.0.7
  • HP ProBook 440 G3

@JosephMcc JosephMcc added the BUG label Feb 15, 2017
@nralbers
Copy link

nralbers commented Mar 17, 2017

I have this same issue when attempting to change my multi-monitor display geometry (move the second display position).

  • Linux Mint 18 "Sarah"
  • Cinnamon 64-bit
  • Asus SonicMaster S301L

Steps to reproduce:

  1. Open the Display applet
  2. Move the display to it's actual position
  3. Hit Apply.

At this point the display will "Scramble" and the confirmation dialog will not display. After the confirmation dialog timeout, the display will reset to another invalid combination. At all points after hitting Apply, the mouse is visible, but nothing is clickable. You can recover by dropping to a system terminal (Ctrl-Alt-F1) and killing the xorg process.

Workaround:

  • Use arandr tool to modify display. Downside: changes made here will reset after system sleep or restart.

@kameranis
Copy link

kameranis commented May 4, 2017

Same here on Mint 18.1 and Toshiba Satelite P755 with Nvidia GeForce 540m. Disconnecting my second screen, closing the lid, altering display settings through display app. When are we expecting a solution to this? (By the way, my installation is new, ran fine on Mint 17.2)

@Dad4Linux
Copy link
Author

Dad4Linux commented Jun 7, 2017

Problem persists in the beta release of Mint 18.2 Sonya Cinnamon version.

@clefebvre
Copy link
Member

clefebvre commented Jun 8, 2017

This is actually an issue in muffin. I'll leave it open here because other people are likely to be looking for it here.

We're chasing it, we've no solution for it yet.

@clefebvre
Copy link
Member

clefebvre commented Jun 22, 2017

OK, we've got news on this and it's turning to be (at least) an upstream issue in the Intel driver. We've got both good news and bad news about this....

Bad news: This driver is no longer maintained so it's very unlikely this will get fixed.

Good news: This driver is only useful for really old Intel GPUs (10 year old and more... the likes of i800x, i915, i965) and it is not recommended for recent Intel GPUs. Instead, it is recommended to use modesetting, not only to avoid this freeze issue, but also to get better performance.

Anyhow, there are two solutions to this problem:

Solution 1 - Recommended for people with modern Intel GPUs (2007 and newer)

Remove the Intel driver to use modesetting instead:

apt remove xserver-xorg-video-intel

And then reboot the computer.

Solution 2 - Recommended for people with old Intel GPUs (i965, i915, i8xx..etc)

Disable VSync:

echo CLUTTER_VBLANK=none >> ~/.profile

And then log out.

@akrus
Copy link

akrus commented Jun 30, 2017

Well, I have to stick with Intel driver as DisplayLink USB docking station doesn't work with modesetting. Do you know why it's working fine with GNOME 3 and doesn't in Cinnamon?

@mtwebster
Copy link
Member

mtwebster commented Jul 4, 2017

Gnome-shell and Cinnamon have diverged so much it'd be hard to say. Some of the main libraries we use, they've copied entirely into their window manager code, so they basically maintain their own copies now. The only thing that springs to mind that might help your particular issue is xrandr was re-done there. That's something we've considered porting eventually.

You said the docking station doesn't work with modesetting - have you tried recently? I only ask because everyone I've talked with over this has had poor prior experience with modesetting, then they try it, and it seems to have been greatly improved (relatively recently?)

@akrus
Copy link

akrus commented Jul 7, 2017

I've just tried modesetting driver - it simply hangs the system when I connect the docking station. It doesn't even work with Pageflip off as mentioned here:
http://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades

@leigh123linux
Copy link
Contributor

leigh123linux commented Jul 7, 2017

@akrus Your issue belongs at ubuntu bug tracker or DisplayLink, wringing here is never going to result in a fix as mint doesn't provide intel. modesetting or DisplayLink drivers!

@akrus
Copy link

akrus commented Jul 7, 2017

@leigh123linux, if you look above, you'll find out that it was response to @mtwebster. DisplayLink support is non-existent and Ubuntu bug tracker has nothing to do with it.

@netw0rkf10w
Copy link

netw0rkf10w commented Oct 3, 2017

Same problem here with Linux Mint 18.2 on a Dell Precision M4800 workstation and a Samsung S27E390HS monitor. When setting Mirror Display it freezes and I have to force shutdown.

The problem only occurs for HDMI only (VGA works fine).

@niessen
Copy link

niessen commented Oct 6, 2017

I came here, because I had the same issue (with Mint 18.2 on HP 250 G5), and removing xserver-xorg-video-intel fixed it. Thanks!
Perhaps this driver should no longer be installed by default?

@ghost
Copy link

ghost commented Dec 27, 2017

Thanks for the "fix" . (Linux Mint 18.3)
just wondering why this is used and not "modesetting" if this has "better performance"...

@nixgeekgirl
Copy link

nixgeekgirl commented Jan 12, 2018

I had the same issue after install a few items to watch a video. I ran the apt remove xserver-xorg-video-intel command, and I rebooted. Works great again. Thank you!!

@Dad4Linux
Copy link
Author

Dad4Linux commented Jan 19, 2018

Thank you Clem and Linux Mint team! Your solution worked for me also. Should this be marked as solved/closed?

@clefebvre
Copy link
Member

clefebvre commented Feb 1, 2018

Not yet.. the fact that it works in GNOME indicates there's a possible solution on our side (unless Intel hardcoded something specific for Mutter?).

@clefebvre
Copy link
Member

clefebvre commented Feb 1, 2018

We're also moving to a new base, it's possible the driver might behave a little better there... let's see how things go, whether this issue gets old or whether it continues to affect people with Mint 19 and LMDE 3.

@frostblooded
Copy link

frostblooded commented Jul 27, 2018

I had this same issue with both the nvidia-384 version 384.130-0ubuntu0.16.04.1 and the xserver-xorg-video-nouveau version 1:1.0.13+git20170208.1516d35b-0ubuntu0ricotz~xenial, but I fixed the problem when I started using nvidia-340 version 340.104-0ubuntu0.16.04.1

@camilotejeiro
Copy link

camilotejeiro commented Aug 25, 2018

Had exactly the same issue, after removing xserver-xorg-video-intel, it has been working without the display split freeze that used to happen upon changing display settings,

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests