Issues with the Intel HD Graphics 5500

Everything about X, Gnome, KDE, ... and everything running on it

Issues with the Intel HD Graphics 5500

Postby Cupain7 » 2018-06-15 08:27

Hello,

Back on Debian (Stretch, Gnome), I have graphic issues with my Lenovo Thinkpad X250, i5-5200U, Intel HD Graphics 5500 (Broadwell GT2).

A lot of lags appear when any application is launched, when i write something with the keyboard, the ventilation goes very fast... Sometimes, the screen is blocked, and i have to force a shutdown with the button. I have to precise that i didn't have this problem with Arch Linux (Manjaro, XFCE).

I tried altenative kernels, and the better is 4.9.0-6-amd64. Later ones are worst. I have the last Intel driver (xserver-xorg-video-intel 2:2.99.917+git20161206-1). I tried to remove it to try other drivers, but i think it didn't work, because the answer to the command
Code: Select all
lspci -nnk | egrep -A2 'VGA|3D'
is still :
Code: Select all
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
        Subsystem: Lenovo HD Graphics 5500 [17aa:2226]
        Kernel driver in use: i915


I don't find how to try other driver than i915.

Hope someone can help...
Cupain7
 
Posts: 5
Joined: 2018-06-15 08:12

Re: Issues with the Intel HD Graphics 5500

Postby Cupain7 » 2018-06-15 13:06

Maybe a pist of solution : i realize that i have two versions of my graphic driver :
Code: Select all
root@debian-cupain:/home# apt-cache show  xserver-xorg-video-intel|grep Version -B1
Package: xserver-xorg-video-intel
Version: 2:2.99.917+git20161206-1
--
Package: xserver-xorg-video-intel
Version: 2:2.99.917+git20161206-1~bpo8+1


I still have the two versions after a
Code: Select all
 apt-get remove xserver-xorg-video-intel
.

I don't understand why. I think reinstall the driver after updating to a newer kernel could be a solution. But how to reinstall the driver if i can't uninstall it ?

Please help!
Cupain7
 
Posts: 5
Joined: 2018-06-15 08:12

Re: Issues with the Intel HD Graphics 5500

Postby zguindavo » 2018-06-15 13:21

If it can help someone to help him find a solution, we have both the same graphic card and the same version of the pilote (even though I only have one installed), on my labtop it is working like a charm while on his it seems to be a very different story...
Last edited by zguindavo on 2018-06-15 13:29, edited 1 time in total.
zguindavo
 
Posts: 3
Joined: 2018-01-09 14:21

Re: Issues with the Intel HD Graphics 5500

Postby Cupain7 » 2018-06-15 13:25

Thank you zguindavo for your answer.
What kernel version do you use ?
Cupain7
 
Posts: 5
Joined: 2018-06-15 08:12

Re: Issues with the Intel HD Graphics 5500

Postby zguindavo » 2018-06-15 13:28

Code: Select all
uname -a

yields
Code: Select all
Linux nieri 4.14.0-0.bpo.2-amd64 #1 SMP Debian 4.14.7-1~bpo9+1 (2017-12-22) x86_64 GNU/Linux


I've been reading around that a solution might simply be to remove the xserver-xorg-video-intel package to use the built-in drivers. Have you been trying that?
zguindavo
 
Posts: 3
Joined: 2018-01-09 14:21

Re: Issues with the Intel HD Graphics 5500

Postby Cupain7 » 2018-06-15 13:32

I tried
Code: Select all
apt-get remove xserver-xorg-video-intel


which worked well, but now it says "package is not installed".
I don't know how to uninstall it ... and don't understand why the driver is still used.

Any idea ?
Cupain7
 
Posts: 5
Joined: 2018-06-15 08:12

Re: Issues with the Intel HD Graphics 5500

Postby bw123 » 2018-06-15 14:09

Cupain7 wrote:Maybe a pist of solution : i realize that i have two versions of my graphic driver :
Code: Select all
root@debian-cupain:/home# apt-cache show  xserver-xorg-video-intel|grep Version -B1
Package: xserver-xorg-video-intel
Version: 2:2.99.917+git20161206-1
--
Package: xserver-xorg-video-intel
Version: 2:2.99.917+git20161206-1~bpo8+1


I still have the two versions after a
Code: Select all
 apt-get remove xserver-xorg-video-intel
.

I don't understand why. I think reinstall the driver after updating to a newer kernel could be a solution. But how to reinstall the driver if i can't uninstall it ?

Please help!


you have jessie-backports ver listed there, but you said you are on stretch.
User avatar
bw123
 
Posts: 3150
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Issues with the Intel HD Graphics 5500

Postby Hallvor » 2018-06-15 15:14

Normally this issue is resolved by backporting the kernel and the Intel xorg driver. You can also backport the entire xorg if you are not sure what driver your card is using.

At own risk:
Code: Select all
nano /etc/apt/sources.list


Add
Code: Select all

deb http://http.debian.net/debian stretch-backports main


Save and exit

Code: Select all
apt-get update


Code: Select all
apt-get -t stretch-backports install linux-image-4.16.0-0.bpo.2-amd64 xserver-xorg-video-intel libgl1-mesa libgl1-mesa-glx libgl1-mesa-dri


You may also need to backport the non-free firmware:

Code: Select all
apt-get -t stretch-backports install firmware-misc-nonfree

Reboot.
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 815
Joined: 2009-04-16 18:35
Location: Norway

Re: Issues with the Intel HD Graphics 5500

Postby stevepusser » 2018-06-15 16:43

There is a "modesetting" kernel driver for recent Intel GPUs that will be used if the xorg intel driver is removed, or you can force its use with an /etc/X11/xorg.conf.d/20-intel.conf file that specifies the driver. Check what's currently being used by installing inxi and running "inxi -G".

If you search for "linux broadwell freezes", I think you'll find that that series is particularly troublesome with the xorg driver.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.4, Pale Moon 27.9.4, wine-staging 3.12, MPC-QT 18.03, Linux kernel 4.17.8, Krita 4.1.1
User avatar
stevepusser
 
Posts: 9729
Joined: 2009-10-06 05:53

Re: Issues with the Intel HD Graphics 5500

Postby Wheelerof4te » 2018-06-15 17:16

If you are on Stretch's kernel, remove xserver-xorg-video-intel as advised and install intel-microcode from the non-free repo.
User avatar
Wheelerof4te
 
Posts: 1042
Joined: 2015-08-30 20:14

Re: Issues with the Intel HD Graphics 5500

Postby Cupain7 » 2018-06-17 12:00

Hey,

Thank you all for your answers. I've been trying Halivor's solution, at my own risk as you said! And it wasn't successfull. I entered this command (i already had stretch backports in my sources) :
Code: Select all
apt-get -t stretch-backports install linux-image-4.16.0-0.bpo.2-amd64 xserver-xorg-video-intel libgl1-mesa libgl1-mesa-glx libgl1-mesa-dri


After rebooting, X couldn't start anymore. I tried installing firmware-misc-nonfree, i tried uninstalling xserver-xorg-video-intel... the driver used was modesetting, but nothing changed, I was not able to start X. I tried to come back to my previous configuration, uninstalling libgl1-mesa libgl1-mesa-glx libgl1-mesa-dri, but i had an error message about dependencies (i don't remember which ones) which didn't allow me to uninstall the packages.

So, I decided to reinstall Manjaro, Gnome version... Everything is ok. I use kernel 4.14.39, and i915 driver. I really don't understand why it did'nt work on Debian with theses settings. If it can help someone, this is the answer to inxi -G :
Code: Select all
[cupain@cupain-manjaro ~]$ inxi -G
Graphics:
  Card-1: Intel HD Graphics 5500 driver: i915 v: kernel
  Display: x11 server: N/A driver: i915 resolution: <xdpyinfo missing>
  OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
  v: 4.5 Mesa 18.1.1


Thank you for your help. As you said stevepusser, Broadwell series seems particularly troublesome with the xorg driver. I'll be back on Debian with my next computer !
Cupain7
 
Posts: 5
Joined: 2018-06-15 08:12

Re: Issues with the Intel HD Graphics 5500

Postby Wheelerof4te » 2018-06-17 14:04

Too bad you didn't work it out. If you are happy with Manjaro, then more power to Manjaro.
But as a fellow Broadwell user, I only had to uninstall xserver-xorg-video-intel package to get the bug-free experience. I don't even have microcode update installed, plus I'm using Wayland. No issues whatsoever.

From the looks of it, you had two intel driver versions installed side-by-side. Maybe you added one from the backports by accident.
Anyway, I hope you try Buster once it comes out. It will be a complete, modern desktop OS, I'm sure.
User avatar
Wheelerof4te
 
Posts: 1042
Joined: 2015-08-30 20:14


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable