Bug 18905

Summary: Video card NVIDIA - Problem starting the graphical display after installation
Product: Mageia Reporter: Béat E <ed1>
Component: InstallerAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: fri
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Xorg.0.log
output of journalctl -ab
output of journalctl -ab of 12.07.2016
Xorg.0.log of 12.07.2016
boot parameters in grub

Description Béat E 2016-07-09 13:33:25 CEST
I installed the stabilisation snapshot 1 (Mageia-6-sta1-x86_64-DVD) on my laptop Lenovo Thinkpad W520 on which I have been running Mageia for years without any problem. The installation itself worked fine.

When I boot after the installation I can't access the graphical desktop. I get a message that starts with "Sorry there has been a problem starting your graphical display"

On Mageia 5 my video card is detected correctly: "NVIDIA GF108GLM (Quadro 1000M)". The driver automatically chosen is "GeForce 8100 to GeForce 415". The proprietary and the free driver work both without any problem. 

Then I install stabilisation snapshot 1 of Mageia 6 the same driver is automatically chosen. When I boot after the installation there is no graphical desktop. It doesn't matter whether I choose the proprietary or the free driver. Even when I run drakex11 and choose the driver by hand the problem remains.

There is an interesting thing. When I install Mageia 6 from the live DVD (Mageia-6-sta1-LiveDVD-PLASMA5-i586-DVD) the problem doesn't exist. After boot I access the graphical display automatically without problem.

How reproducible: with Mageia-6-sta1-x86_64-DVD, but not with Mageia-6-sta1-LiveDVD-PLASMA5-i586-DVD

Steps to Reproduce: 

1. install Mageia-6-sta1-x86_64-DVD on the laptop Lenovo Thinkpad W520
2. boot after the installation
Comment 1 Morgan Leijström 2016-07-10 18:43:10 CEST
You mean that also when you run drakx11 and choose nouveau and reboot, graphics fail?  (on the system installed using the install media)

So after installing from liveDVD graphics was OK...
Did you by chance see what boot parameter was given to kernel?
Did it continue to work after updates? 

Which is your installed system right now: the broken or working one?

I think it would be interesting if you from the broken system attach
 /var/log/Xorg.0.log , and the output of # journalctl -ab

Maybe some kernel boot option was not correct, but this is not my cup of tea...

CC: (none) => fri

Comment 2 Béat E 2016-07-10 20:06:31 CEST
Created attachment 8152 [details]
Xorg.0.log
Comment 3 Béat E 2016-07-10 20:07:16 CEST
Created attachment 8153 [details]
output of journalctl -ab
Comment 4 Béat E 2016-07-10 20:13:46 CEST
Yes, during installation I choose the proprietary driver. After reboot there was no graphical desktop. I ran drakx11 and choose nouveau. I rebooted and still couldn't access the graphical desktop.

After installing from the liveDVD graphics were fine.
No, I don't know where I could have seen the boot parameters.
I have several partitions on my hard disk. I installed the system on a test partition so that I can see if there would be problems with the coming mageia 6. I still work on mageia 5. 

I attached Xorg.0.log and the output of # journalctl -ab
Comment 5 Morgan Leijström 2016-07-11 09:21:13 CEST
__________In the journal i see:

Jul 10 17:55:26 localhost kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Jul 10 17:55:26 localhost kernel: NVRM: This can occur when a driver such as: 
                                  NVRM: nouveau, rivafb, nvidiafb or rivatv 
                                  NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Jul 10 17:55:26 localhost kernel: NVRM: Try unloading the conflicting kernel module (and/or
                                  NVRM: reconfigure your kernel without the conflicting
                                  NVRM: driver(s)), then try loading the NVIDIA kernel module
                                  NVRM: again.
Jul 10 17:55:26 localhost kernel: NVRM: No NVIDIA graphics adapter probed!
Jul 10 17:55:26 localhost kernel: [drm] Module unloaded
Jul 10 17:55:26 localhost kernel: NVRM: NVIDIA init module failed!


__________In Xorg.0.log i spot:

[  1743.573] (EE) Failed to load module "nv" (module does not exist, 0)

Why it should try to load nv i do not understand.

But it did load nouveau and printed a lot of what i think are normal lines about that.

___________Trying to understand
I am no expert on this, but from my limited knowledge it looks like it tries both Nvidia and nouveau and they conflict.

I wonder if something went wrong in installation. Try to change back to nvidia proprietary now and see if it works, see if it then succeed loading nvidia (see journal) and see if Xorg then lists nvidia instead of nouveau.

The kernel boot parameters can be seen and changed(for the current boot) in grub boot menu, when booting press F3
Rémi Verschelde 2016-07-11 10:48:06 CEST

Assignee: bugsquad => tmb

Comment 6 Béat E 2016-07-12 20:20:59 CEST
Created attachment 8164 [details]
output of journalctl -ab of 12.07.2016
Comment 7 Béat E 2016-07-12 20:21:48 CEST
Created attachment 8165 [details]
Xorg.0.log of 12.07.2016
Comment 8 Béat E 2016-07-12 20:24:25 CEST
I changed back to the proprietary driver. I still can't access the graphical desktop. I've added the new output of journalctl and the new Xorg.0.log.
Comment 9 Béat E 2016-07-12 20:40:49 CEST
Created attachment 8166 [details]
boot parameters in grub
Comment 10 Béat E 2016-11-14 14:34:44 CET
I'm not sure. This bug might be a duplicate of bug 16245.
Comment 11 Béat E 2017-03-27 13:50:57 CEST
I installed sta2 and the problem doesn't exist anymore. The bug can be closed.

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