Wednesday January 17, 2018

Latest Blog Entries

gregh  (1490) 0  - Joined December, 2010

Centos 7 login hangs on laptop

Centos 7 login hangs on laptop

Can't login/boot laptop on Dell docking station

Recently I was having trouble getting my Centos 7 laptop to boot correctly on it's Dell docking station. The GDM greeter would display correctly, but hover over user names was very slow and when logging in would get a corrupt desktop with no menus. The login screen would shift to the left and hang. Opening and closing the laptop lid would sometimes make the login work OK.

I could not find an direct answer, seems there are many issues with docking stations and with booting with the lid open/closed. Googling, I found a working solution.

lspci showed an Intel graphics card, and there are issues with SNA (Sandybridge's New Acceleration) acceleration, especially on older hardware.

For me, a working solution is to create an Xorg configuration that switches the Intel graphics card from SNA to UXA (Unified Acceleration Architecture).

Create a file in /etc/X11/xorg.conf.d/20-intel.conf with the contents below:

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"

Would be nice to have this config apply only when docked, as undocked the laptop works great. But no more opening and closing the laptop lid. :-)


Category : Technology
Published : Jan 10 2018, 09:55:42 AM