Bug 17174 - X fails to start after installation on ASUS Zenbook UX303UA-R4051T
Summary: X fails to start after installation on ASUS Zenbook UX303UA-R4051T
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 09:38 CET by Remco Rijnders
Modified: 2016-05-05 15:33 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
lspci output (2.27 KB, text/plain)
2015-11-19 09:40 CET, Remco Rijnders
Details
journal (83.95 KB, text/plain)
2015-11-19 09:40 CET, Remco Rijnders
Details

Description Remco Rijnders 2015-11-19 09:38:01 CET
Description of problem:
After succesfully installing on my new laptop, the machine fails to bring up X.

Please see the attached output of lspci and the journal


Reproducible: 

Steps to Reproduce:
Comment 1 Remco Rijnders 2015-11-19 09:40:08 CET
Created attachment 7216 [details]
lspci output
Comment 2 Remco Rijnders 2015-11-19 09:40:40 CET
Created attachment 7217 [details]
journal
Comment 3 Thomas Backlund 2015-11-19 10:02:33 CET
Yeah, that's a new skylake laptop

kernel 3.19 does not really support that one properly...

Technically all flavours of Skylake will only be supported in upcoming kernel 4.4 (~beginning of next year)

But a Little better support is in 4.1 series wich we have in updates.

Try to configure your system to use either modesetting or vesa (or switch/boot to console) and install the updates

You need atleast kernel-4.1.12-1.mga5 and kernel-firmware-nonfree-20151018-1.mga5 and a few other deps as pushed in theese:
http://advisories.mageia.org/MGASA-2015-0386.html
http://advisories.mageia.org/MGASA-2015-0435.html

And there is a kernel-4.1.13-2 currently in testing adding some more fixes:
https://bugs.mageia.org/show_bug.cgi?id=17129

There might be some other stuff needed too, but I dont have a skylake to test on yet

CC: (none) => tmb

Comment 4 Remco Rijnders 2015-11-19 13:23:49 CET
Thanks Thomas for the swift reply.

I have installed:
kernel-desktop-4.1.13-2.mga5-1-1.mga5.x86_64
kernel-firmware-20150722-1.mga5.noarch
kernel-firmware-nonfree-20151018-1.mga5.nonfree.noarch
perf-4.1.13-2.mga5.x86_64
cpupower-4.1.13-2.mga5.x86_64
libunwind-1.1-4.1.mga5.x86_64

but still the same result.

Even using XFDrake to select fb, it won't go.

Complicating matter is that I don't have a working network connection yet, so am currently operating on "boot windows, download rpm update, reboot, copy, reboot"-repeat loop.

What can I do next? Try and compile/install the latest linus kernel?
Comment 5 Remco Rijnders 2015-11-19 14:19:39 CET
After adding i915.preliminary_hw_support=1, it works.

I found this on http://www.phoronix.com/scan.php?page=news_item&px=intel-skl-prelim-support

Thanks!
Comment 6 Remco Rijnders 2015-11-19 14:20:43 CET
As per comment #5

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 Thomas Backlund 2015-11-19 14:28:15 CET
Ah, indeed... I forgot about that one... they flipped the switch iirc in 4.3

Could you add a note to the Mageia 5 errata about it...

I wonder if I should flip te switch in mga5 for all
Comment 8 Thomas Backlund 2015-11-19 14:33:53 CET
Next kernel update  > 4.1.13-2.mga5 will switch on preliminary support for all
Comment 9 Thomas Backlund 2015-11-19 14:36:42 CET
for the wireless support, please install this: http://mirrors.kernel.org/mageia/distrib/5/x86_64/media/nonfree/updates/iwlwifi-agn-ucode-20151018-1.mga5.nonfree.noarch.rpm 

(if you dont already have it)
Comment 10 Remco Rijnders 2015-11-19 15:25:55 CET
Thanks Thomas! I've updated the Errata as requested.

https://wiki.mageia.org/en/Mageia_5_Errata#X_might_fail_to_start_for_Intel_.22Skylake.22_based_systems
Comment 11 Thomas Backlund 2015-11-19 18:29:46 CET
(In reply to Remco Rijnders from comment #10)
> Thanks Thomas! I've updated the Errata as requested.
> 
> https://wiki.mageia.org/en/Mageia_5_Errata#X_might_fail_to_start_for_Intel_.
> 22Skylake.22_based_systems

Nice, thanks :)
Comment 12 Buchan Milne 2016-01-11 16:28:47 CET
I bought a new Skylake-based system (i3-6100 CPU) in December, and initially used the preliminary_hw_support=1 workaround.

However, performance was very poor (e.g. scrolling a page or switching a tab in Firefox took about 3-4 seconds before any changes were shown on screen, and various other problems). Also, some crashes (not sure if GPU or X) occurred after the X display blanked for any reason (power saving, or suspend/resume, or VT switch). I had to disable power saving to be able to use the machine at all.

I then installed the 4.4rc7 kernel from cauldron (including the other dependencies such as newer dracut but not the newer perl-base I think). The difference was amazing.

The errata page on the wiki states:
"Full skylake support will only be possible with kernel > 4.4."

Will there be a kernel update to 4.4 in the near now that it is out?

Should that be covered in this bug or a separate one?

I am willing to do testing on Mageia 5.

CC: (none) => bgmilne

Comment 13 Thomas Backlund 2016-01-14 20:58:07 CET
I dont think I will push 4.4 as an update on mga5 as 4.1 series is a -longterm kernel and works well for "older" hw and also is nicer for QA and for endusers that want "minimal changes" and so on...

However, in order to better support skylake users, I'm thinking of pushing the 4.4 (that is also a -longterm) through backports to keep all happy...
Comment 14 Remco Rijnders 2016-01-15 09:24:10 CET
+1 happy
Comment 15 R Ghetta 2016-01-15 22:45:04 CET
Hi I also have a skylake-based laptop, with less-than-stellar performance under current kernel.  I'd be glad to test a backported 4.4 ...

CC: (none) => birrachiara

Comment 16 Thomas Backlund 2016-01-24 19:40:10 CET
There is now a kernel-4.4.0-2.mga5 + nonfree firmware + dracut on the way to backports_testing

if you need fglrx or nvidia drivers, they are currently in nonfree updates_testing to be assigned to qa for validation...

Component: Installer => Backports

Comment 17 R Ghetta 2016-01-30 12:12:13 CET
tried 4.4.0-3; works.
Sometimes tiny black lines briefly appear or the screen flickers, but on the whole the system works very well.
I have a bumblebee laptop and sometimes the intel gpu freezes with games, for example with world of padman.
The nvidia gpu instead works well.

Thank you for backporting.
Comment 18 Thomas Backlund 2016-03-05 13:58:53 CET
Just fyi, we are switching to 4.4 as default kernel for Mageia 5, with a 4.4.4-1 currently heading to buildsystem and mga 5 core/updates_testing along with updates firmwares and some utils/drivers/...

Component: Backports => RPM Packages
Hardware: x86_64 => All

Comment 19 Thomas Backlund 2016-03-18 11:36:49 CET
kernel-4.4.6-1 is now in updates_testing....
please try it out and report on bug 18031

Depends on: (none) => 18031

Thomas Backlund 2016-05-05 15:33:35 CEST

Depends on: 18031 => (none)


Note You need to log in before you can comment on or make changes to this bug.