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)
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.
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.
7.1 64 bit live isos Plasma and xfce tried, I suppose Gnome performs similarly.
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 !! :)
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.
Created attachment 11214 [details]
Compressed journal Live 7.1 Plasma selecting Nvidia
Created attachment 11215 [details]
Compressed journal Live 7.1 xfce selecting Nvidia
Created attachment 11216 [details]
Compressed journal Live 7.1 xfce selecting free: desktop but no good
Created attachment 11217 [details]
Output from lspci -v
Does leaving xdriver=free and adding the option noxorgconf behave any differently?
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: 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)
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.
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.
Live isos fails on (some/most?) hybrid graphics laptops =>
Live isos fails on some hybrid graphics laptops - workaround: force Intel
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.
noxorgconf is now the default for the Mageia 8 Live ISOs, so this bug should be fixed. Morgan, can you confirm that?
Is it implemented in the now rather old 8b1 isos, or next versions?
It's implemented on both alpha1 and beta1.
Using 8beta1 64 bit plasma booted on USBstick
Testing boot options:
o live free: OK - maybe enough to call this bug solved.
o live + Nvidia fail, see below.
o memory test works
o Install not tested
Choosing Live + Nvidia, it shows the bobbling cauildron, then back to showing the textscreen that was visible before it.
Trying to get to console, but no Ctrl-AltFsomenting works.
More exactly i think it is not operating the GPU that is displaying...
Tried quitting using Ctrl-backspacebackspace and Ctrl-DeleteDelete repetitively, did not work. Shortly pressing power button make it shut down afters some blinking on the LED on USB stick, so it was not hung.
Are we satisfied with that it works choosing nonfree only, or should we try more solving Nvidia?
It does not seem to store logs in the persistent partition?
We'd need the logs to investigate why the proprietary driver fails. They should be stored in the persistent partition. Are you checking it from the live system or by plugging the USB stick into another system and browsing the persistent partition?
I failed both methods;
Bug 27356 - Live 8b1 Persistance is not working
Live isos fails on some hybrid graphics laptops - workaround: force Intel =>
Live isos fails for Nvidia choice on some hybrid graphics laptops
Created attachment 11909 [details]
Full journal from boot having selected Nvidia
Obsoleting all old logs; now we are working on mga8
Same laptop as ever in this bug.
Here booted on a USB stick created using isodumper, and manually finishing formatting and naming of the persistent partition as it is currently broken.
When at boot selecting to use Nvidia, this system never get to desktop, only black screen, and only power button works; short press and it shuts down cleanly.
I then took the log after having booted using the non-Nvidia option.
Looking in the log it is the DM that is segfaulting and get relaunched repetitively. (search "segfault") The iso used here is 8b1 xfce 64 bit.
For a Plasma Live iso it is similar, but it is SDDM that experience the problem and systemd retries again and again. I did not try Gnome.
Attachment 11215 is obsolete:
Attachment 11213 is obsolete:
Attachment 11214 is obsolete:
Attachment 11216 is obsolete:
Attachment 11219 is obsolete:
Investigating this, to use hybrid graphics, you must have the i915 (Intel GPU) kernel driver loaded, but the nokmsboot option prevents that driver loading.
"In all three cases, when configuring the graphics drivers, one must only configure the Intel card (at least in most Optimus configurations), as it is typically the only one physically connected to a monitor."
so it looks like attempting to force use of the NVIDIA proprietary drivers when booting the Live system is the wrong thing to do. You could experiment with the options described on the afore-mentioned Wiki page to see if you can get the NVIDIA GPU working after boot. I've not tried with my Optimus laptop, because turning the NVIDIA GPU on makes it overheat :-(
I think we can say that the original bug is fixed. Improved support for hybrid graphics is already a feature request (https://wiki.mageia.org/en/Feature:Hybrid_Graphics) but needs people to work on it.
We (my wifes laptop) have no own interest or need to use the Nvidia GPU, and i have already earlier given up on it in the installed system...
But i can test a future live iso. I have put a note and reference to this bug at the wiki link you gave.