Bug 25181 - Live isos fails on some hybrid graphics laptops - workaround: force Intel
Summary: Live isos fails on some hybrid graphics laptops - workaround: force Intel
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: ISO building group
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA7
Depends on:
Blocks:
 
Reported: 2019-07-26 00:23 CEST by Morgan Leijström
Modified: 2020-09-20 10:58 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Compressed journal Live 7.1 Plasma selecting free (23.86 KB, application/x-xz)
2019-07-26 00:23 CEST, Morgan Leijström
Details
Compressed journal Live 7.1 Plasma selecting Nvidia (31.48 KB, application/x-xz)
2019-07-26 00:31 CEST, Morgan Leijström
Details
Compressed journal Live 7.1 xfce selecting Nvidia (31.83 KB, application/x-xz)
2019-07-26 00:31 CEST, Morgan Leijström
Details
Compressed journal Live 7.1 xfce selecting free: desktop but no good (28.24 KB, application/x-xz)
2019-07-26 00:34 CEST, Morgan Leijström
Details
Output from lspci -v (11.96 KB, text/plain)
2019-07-26 00:35 CEST, Morgan Leijström
Details
Journal from booting of Live Plasma with added "noxorgconf". (31.39 KB, application/x-xz)
2019-07-27 03:40 CEST, Morgan Leijström
Details

Description Morgan Leijström 2019-07-26 00:23:58 CEST
Created attachment 11213 [details]
Compressed journal Live 7.1 Plasma selecting free

Description of problem:
At least on our Acer Aspire A7, live 7.1 isos fail showing desktop.
Using the boot menu i can select free (noveau) or nvidia driver.
But the only working solution is to force using Intel GPU.

Machine, from journal:
DMI: Acer Aspire A717-71G/Charizard_KLS, BIOS V1.13 12/26/2017

(side note: I gave up configuring hybrid graphics when I installed mga6 on this machine and Intel is fast enough for our use. And i have no intent for some time to update it to mga7)


Workaround:
Edit the boot command line and change xdriver=free to xdriver=intel. 

- It would be great if there were a ready made selectable mode for Intel.


Solution?
Best of course would be if hybrid graphics would work perfectly.
- But I doubt it ever will...
So i suggest that the Live system should prefer Intel GPU over nvidia CPU on hybrid hardware in the default selection menu, but also have entries for forcing Nvidia, mouveau, Intel.


Version:
7.1 64 bit live isos Plasma and xfce tried, I suppose Gnome performs similarly.

How reproducible:
Steps to Reproduce:
1. Boot a live system (I used USB sticks)
2. Select free or nonfree driver
3. a) for Plasma, either choice of graphics: screen turn full black after showing bubbling cauldron a few seconds. Klicking power button two seconds makes it do a controlled shut down.
   b) for xfce: as above with nvidia driver, with the free driver the desktop and windows actually works except windows "decorations" (close buttons etc...)  is not present. 

I dumped the logs by booting the stick on another laptop.
Persistence is great !! :)
Comment 1 Morgan Leijström 2019-07-26 00:27:04 CEST
This may be a turn off for users trying Mageia = High Prio.

This is for release media, and common is to set Cauldron on such, but it would be great if it went into 7.2 if we make such.

Priority: Normal => High
Version: 6 => Cauldron

Comment 2 Morgan Leijström 2019-07-26 00:31:11 CEST
Created attachment 11214 [details]
Compressed journal Live 7.1 Plasma selecting Nvidia
Comment 3 Morgan Leijström 2019-07-26 00:31:55 CEST
Created attachment 11215 [details]
Compressed journal Live 7.1 xfce selecting Nvidia
Comment 4 Morgan Leijström 2019-07-26 00:34:21 CEST
Created attachment 11216 [details]
Compressed journal Live 7.1 xfce selecting free: desktop but no good
Comment 5 Morgan Leijström 2019-07-26 00:35:15 CEST
Created attachment 11217 [details]
Output from lspci -v
Marja Van Waes 2019-07-26 08:47:44 CEST

CC: (none) => marja11
Assignee: bugsquad => isobuild

Comment 6 Martin Whitaker 2019-07-26 11:04:45 CEST
Does leaving xdriver=free and adding the option noxorgconf behave any differently?

CC: (none) => mageia

Comment 7 Morgan Leijström 2019-07-27 03:40:48 CEST
Created attachment 11219 [details]
Journal from booting of Live Plasma with added "noxorgconf".

Using Live xfce, adding noxorgconf it works :)


For Live Plasma the visual difference is that now the splash never goes away.
The journal contain:
jul 27 04:21:06 localhost korgac[2898]: org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
jul 27 04:21:08 localhost kernel: ------------[ cut here ]------------
jul 27 04:21:08 localhost kernel: nouveau 0000:01:00.0: timeout
...
jul 27 04:21:08 localhost kernel: [TTM] Buffer eviction failed
jul 27 04:21:23 localhost kernel: nouveau 0000:01:00.0: DRM: failed to idle channel 1 [DRM]
jul 27 04:21:23 localhost kernel: BUG: unable to handle kernel paging request at ffffaf057cbe8100
jul 27 04:21:23 localhost kernel: #PF error: [WRITE]
jul 27 04:21:23 localhost kernel: PGD 276540067 P4D 276540067 PUD 0 
jul 27 04:21:23 localhost kernel: Oops: 0002 [#1] SMP PTI
jul 27 04:21:23 localhost kernel: CPU: 3 PID: 45 Comm: kworker/3:1 Tainted: G        W         5.1.14-desktop-1.mga7 #1
jul 27 04:21:23 localhost kernel: Hardware name: Acer Aspire A717-71G/Charizard_KLS, BIOS V1.13 12/26/2017
jul 27 04:21:23 localhost kernel: Workqueue: pm pm_runtime_work
jul 27 04:21:23 localhost kernel: RIP: 0010:evo_wait+0x5a/0x130 [nouveau]

Attaching full journal (retrieved by booting that stick on another laptop)
Comment 8 Morgan Leijström 2019-07-27 03:44:16 CEST
BTW, to be sure it was nothing left in persistence affecting the boot, i rewrote the USB sticks used in comment 7 fresh, and it is the first boot they did.
Comment 9 Morgan Leijström 2019-07-27 14:15:42 CEST
Workarounds added to end of https://wiki.mageia.org/en/Mageia_7_Errata#Non-working_graphics , with a link to this bug.

To be updated when we know more.

Keywords: (none) => IN_ERRATA7

Morgan Leijström 2019-07-28 21:59:12 CEST

Summary: Live isos fails on (some/most?) hybrid graphics laptops => Live isos fails on some hybrid graphics laptops - workaround: force Intel

Comment 10 Aurelien Oudelet 2020-09-19 18:08:57 CEST
Hi,
This is High priority bug for a good reason.

Making Mageia even better than ever is best direction.
In order to do right thing, this bug should be examined and fixed as soon as possible.

Packagers, please make the status to Assigned when you are working on this.
Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it.

On October 1st 2020, we will drop priority to normal.
Comment 11 Martin Whitaker 2020-09-20 00:01:40 CEST
noxorgconf is now the default for the Mageia 8 Live ISOs, so this bug should be fixed. Morgan, can you confirm that?
Comment 12 Morgan Leijström 2020-09-20 10:54:20 CEST
Is it implemented in the now rather old 8b1 isos, or next versions?
Comment 13 Martin Whitaker 2020-09-20 10:58:32 CEST
It's implemented on both alpha1 and beta1.

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