FS#48974 - [linux/drm intel] gdm does not work with latest linux kernel on laptops with hybrid graphics

Attached to Project: Arch Linux
Opened by pavan yalamanchili (pavanky) - Saturday, 16 April 2016, 09:32 GMT
Last edited by Jan de Groot (JGC) - Friday, 20 May 2016, 10:57 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

GDM starts, but starts blinking and becomes unresponsive after a few seconds. However, starting gnome via startx seems to work fine.

The problem is reproducible without nvidia, nvidia-utils and bbswitch installed.

My current workaround has been to downgrade to an older linux kernel (and the corresponding nvidia / bbswitch packages).

I am attaching the output of journalctl -rb and Xorg logs
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 20 May 2016, 10:57 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Sunday, 17 April 2016, 20:22 GMT
reproducible *without* nvidia, nidia-utils, and bbswitch? You switch to Nouveau to try it?

Edit: it appears from the logs you're using the Intel card for X. Can you try downgrading xf86-video-intel, switching between UXA and SNA rendering modes, or switching to the modesetting ddx?
Comment by pavan yalamanchili (pavanky) - Sunday, 17 April 2016, 21:18 GMT
@scimmia

Looks like the problem is with SNA + linux 4.5-1 kernel with the all xf86-video-intel drivers I have tried so far.

When I switch to UXA, everything works fine (although a bit slower as expected).

I did not try switching the modesetting to ddx.
Comment by pavan yalamanchili (pavanky) - Sunday, 17 April 2016, 21:19 GMT
Forgot to mention, SNA + linux 4.4.5 works for all driver versions tested. So something about SNA + latest kernel is the problem.
Comment by pavan yalamanchili (pavanky) - Sunday, 17 April 2016, 21:23 GMT
Adding the proper Xorg log file when failure occurs. I did not realize I was attaching an ancient version.
Comment by Andreas Radke (AndyRTR) - Monday, 18 April 2016, 16:21 GMT
If a kernel 4.4.x works it should be a kernel drm bug. Please report it upstream.
Comment by pavan yalamanchili (pavanky) - Monday, 18 April 2016, 19:09 GMT
@andyRTR

I probably should. However I have only reproduced the problem with GDM + linux 4.5 + SNA. X seems to work fine if I start gnome without GDM. So I am unsure if it is a problem in the kernel or GDM.

I'll try to narrow it down next weekend and report to the proper upstream.
Comment by pavan yalamanchili (pavanky) - Friday, 20 May 2016, 05:52 GMT
This seems to be fixed as of 4.5-4

Loading...