You are not logged in.

#1 2017-02-22 20:53:44

leian
Member
Registered: 2017-02-22
Posts: 3

[SOLVED] i915 finds no devices on Intel integrated graphics on LTS

Hi all, I got a new laptop, installed arch and now I'm having bit of a video problem and can't seem to solve it.
Read wiki and most of the threads regarding the i915 driver, no luck.

Problem: On my Intel integrated graphics, X will not start when using the i915 driver. If enabled it chooses VESA instead, if I force i915, X will not start because no screens are found.

Setup: HP ProBook 430 G4, i5 7200, booting from UEFI, Arch with Linux-LTS kernel.
I read the wiki page regarding the model and use the exact same Xorg.conf mentioned there:

cat /etc/X11/xorg.conf.d/20-gpudriver.conf
Section "Device"
      Identifier  "Intel Graphics"
      Driver "intel"
      Option      "AccelMethod"     "sna"
     Option      "Backlight"    
EndSection

With either "intel" or "modesetting" as Driver, X will not start and throw the following error. With "vesa" X starts, but there is no backlight control and no HDMI output. Below is a saved /var/log/Xorg.0.log from when it was set to "intel":

[   228.536] (II) LoadModule: "intel"
[   228.536] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   228.545] (II) Module intel: vendor="X.Org Foundation"
[   228.545] 	compiled for 1.19.1, module version = 2.99.917
[   228.545] 	Module class: X.Org Video Driver
[   228.545] 	ABI class: X.Org Video Driver, version 23.0
[   228.545] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   228.546] (II) intel: Driver for Intel(R) HD Graphics
[   228.546] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   228.546] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   228.549] (EE) No devices detected.
[   228.549] (EE) 
Fatal server error:
[   228.549] (EE) no screens found(EE) 
[   228.549] (EE) 

(full output)

If I don't specify a driver, or "vesa", lspci -v shows that the kernel driver is not in use, and is different from the one on wiki:

00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 822c
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at 1ffe000000 (64-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)

(full output)

Kernel mode setting is enabled in UEFI, and seems to work:

~ sudo cat /sys/module/i915/parameters/modeset 
1

I tried several other options I found, which all give the same results shown above:

- In grub: i915.modeset=0
- In grub: nomodeset
- Adding the driver to mkinitcpio as mentioned here

Does anyone know where I start debugging here? I feel a bit out of options. I'd really understand what's happening/not happening here so some questions:

- Did I overlook anything in the settings?
- Are there any more logs I should check/post to get an idea of what the problem is?
- Could the backlight problem (/sys/class/backlight is empty) be the result of the driver not loading?

Thank you very much

Last edited by leian (2017-02-22 22:37:09)

Offline

#2 2017-02-22 21:16:48

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: [SOLVED] i915 finds no devices on Intel integrated graphics on LTS

Try removing /etc/X11/xorg.conf.d/20-gpudriver.conf


Be aware of my Newbie Powers

Offline

#3 2017-02-22 21:40:05

leian
Member
Registered: 2017-02-22
Posts: 3

Re: [SOLVED] i915 finds no devices on Intel integrated graphics on LTS

olegabrielz wrote:

Try removing /etc/X11/xorg.conf.d/20-gpudriver.conf

Sorry should have mentioned: tried that already, it loads the vesa driver.

When I was typing the post I wondered if it could be due to using the linux-lts kernel. So I installed the normal linux kernel and booted it from grub.

With the normal linux kernel, everything works fine (HDMI, backlight and i915).
I still don't know what the problem is, but since everything works now I'm okay with that. Should I mark this as solved or try some things to get it to work on lts?

Last edited by leian (2017-02-22 21:40:36)

Offline

#4 2017-02-22 21:55:46

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [SOLVED] i915 finds no devices on Intel integrated graphics on LTS

The linux-lts kernel may be a bit old for kabylake support.  Does it also fail with the linux kernel?
Edit:
https://github.com/torvalds/linux/commi … da1566ecb7
So from 4.5 onwards had at least preliminary kabylake support.

Last edited by loqs (2017-02-22 22:34:21)

Offline

#5 2017-02-22 22:03:20

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: [SOLVED] i915 finds no devices on Intel integrated graphics on LTS

If you don't have any particular reason for sticking with the lts, the problem itself isn't solved, but yours is.

I won't be much of help trying to aid you in resolving this on the lts kernel (a blind guiding a blind). If someone here has a clue about this subject they would probably step in.

Good luck.

Edit: typo

Last edited by olegabrielz (2017-02-22 22:06:55)


Be aware of my Newbie Powers

Offline

#6 2017-02-22 22:36:36

leian
Member
Registered: 2017-02-22
Posts: 3

Re: [SOLVED] i915 finds no devices on Intel integrated graphics on LTS

loqs wrote:

The linux-lts kernel may be a bit old for kabylake support.  Does it also fail with the linux kernel?
Edit:
https://github.com/torvalds/linux/commi … da1566ecb7
So from 4.5 onwards had at least preliminary kabylake support.

Thanks for the info.
With Linux kernel is fine, so I guess the options here are to run either Linux or 4.5 LTS.
I guess that makes it solved.

Offline

Board footer

Powered by FluxBB