[DONE]Upgrade from 6 to 7 couse black screen

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby doktor5000 » Jul 19th, '19, 00:30

mackowiakp wrote:In ver M6 there was Nvidia driver in kernel. After upgrade to M7 it disappear. Looking to the desktop PC equipped only in Nvidia (without Intel) such packages are present:
[...]
How do You think. Can I simply install above packages?

You basically answered your question yourself already, no ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby mackowiakp » Jul 20th, '19, 11:13

OK, Nvidia packages installed but can not load Nvidia module. See below:

Code: Select all
[root@piotr-l ~]# rpm -qa|grep nvidia
nvidia-nsight-10.1.168-1.mga7.nonfree
x11-driver-video-nvidia340-340.107-9.mga7.nonfree
nvidia-current-cuda-opencl-430.26-1.mga7.nonfree
dkms-nvidia340-340.107-9.mga7.nonfree
nvidia-current-utils-430.26-1.mga7.nonfree
x11-driver-video-nvidia-current-430.26-1.mga7.nonfree
nvidia340-doc-html-340.107-9.mga7.nonfree
nvidia-current-devel-430.26-1.mga7.nonfree
nvidia-current-doc-html-430.26-1.mga7.nonfree
dkms-nvidia-current-430.26-1.mga7.nonfree
[root@piotr-l ~]# lsmod|grep nvidia
[root@piotr-l ~]# modprobe nvidia
modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.1.14-desktop-1.mga7


So lets look to /lib/modules/5.1.14-desktop-1.mga7 dir:

Code: Select all
[root@piotr-l ~]# du -a  /lib/modules/5.1.14-desktop-1.mga7|grep nvidia
4,0K    /lib/modules/5.1.14-desktop-1.mga7/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko.xz
32K     /lib/modules/5.1.14-desktop-1.mga7/kernel/drivers/net/ethernet/nvidia/forcedeth.ko.xz
36K     /lib/modules/5.1.14-desktop-1.mga7/kernel/drivers/net/ethernet/nvidia
24K     /lib/modules/5.1.14-desktop-1.mga7/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko.xz
28K     /lib/modules/5.1.14-desktop-1.mga7/kernel/drivers/video/fbdev/nvidia
20K     /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-drm.ko.xz
292K    /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-uvm.ko.xz
3,5M    /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia340.ko.xz
440K    /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-modeset.ko.xz
11M     /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-current.ko.xz


And there is no definitions in xorg.cof related to Nvidia.

Any idea what to do?

UPDAT - 1

Additional infos:

Code: Select all
[root@piotr-l ~]# rpm -qa|sort|grep -iE "dkms|kernel|nvidia"
dkms-2.0.19-40.mga7
dkms-minimal-2.0.19-40.mga7
dkms-nvidia340-340.107-9.mga7.nonfree
dkms-nvidia-current-430.26-1.mga7.nonfree
kernel-desktop-5.1.14-1.mga7-1-1.mga7
kernel-desktop-devel-5.1.14-1.mga7-1-1.mga7
kernel-desktop-devel-latest-5.1.14-1.mga7
kernel-desktop-latest-5.1.14-1.mga7
kernel-firmware-20190603-1.mga7
kernel-userspace-headers-5.1.14-1.mga7
nvidia340-doc-html-340.107-9.mga7.nonfree
nvidia-current-cuda-opencl-430.26-1.mga7.nonfree
nvidia-current-devel-430.26-1.mga7.nonfree
nvidia-current-doc-html-430.26-1.mga7.nonfree
nvidia-current-utils-430.26-1.mga7.nonfree
nvidia-nsight-10.1.168-1.mga7.nonfree
virtualbox-kernel-5.1.14-desktop-1.mga7-6.0.8-22.mga7
virtualbox-kernel-desktop-latest-6.0.8-22.mga7
x11-driver-video-nvidia340-340.107-9.mga7.nonfree
x11-driver-video-nvidia-current-430.26-1.mga7.nonfree
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby doktor5000 » Jul 20th, '19, 23:30

mackowiakp wrote:OK, Nvidia packages installed but can not load Nvidia module. See below:

Code: Select all
[root@piotr-l ~]# modprobe nvidia
modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.1.14-desktop-1.mga7


Code: Select all
[root@piotr-l ~]# du -a  /lib/modules/5.1.14-desktop-1.mga7|grep nvidia
20K     /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-drm.ko.xz
292K    /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-uvm.ko.xz
3,5M    /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia340.ko.xz
440K    /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-modeset.ko.xz
11M     /lib/modules/5.1.14-desktop-1.mga7/dkms/drivers/char/drm/nvidia-current.ko.xz




It's pretty obvious, no? There's no such module, so the error is correct. It's either nvidia340 or nvidia-current.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby mackowiakp » Jul 21st, '19, 05:11

Still does not work. New kernel (just released today):

Code: Select all
[root@piotr-l Pobrane]# uname -a
Linux piotr-l 5.1.18-desktop-1.mga7 #1 SMP Sun Jul 14 10:08:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@piotr-l Pobrane]# modprobe nvidia-current
modprobe: ERROR: could not insert 'nvidia_current': Cannot allocate memory
[root@piotr-l Pobrane]# modprobe nvidia_current
modprobe: ERROR: could not insert 'nvidia_current': Cannot allocate memory
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby martinw » Jul 22nd, '19, 20:28

Reading viewtopic.php?f=23&t=12934#p75844, your problem might be that you have both nvidia340 and nvidia-current installed. Try removing the one you don't need.

Do you know what caused both to be installed?
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby mackowiakp » Jul 23rd, '19, 08:08

Yes, I have both installed. Where was both drivers installed in M6 too. Each kernel or Nvidia driver update of M6, caused re-linking the kernel. In M6 it worked like a charm. Especially with Dassault Systèmes 3D CAD system, using Nvidia CUDA. Now it work only using on-processor Intel GPU so CAD app does not has such performance as it has under M6. This error occurs only when I try to load Nvidia library. The driver is already present in kernel. I have to mention once more. There is no two separate graphic cards. It is kind of "combo" card. And I need both drivers. The hardware is laptop ASUS G551J, 4 core 8 thread CPU, 32 GB RAM, M2 type SSD HDD 256 GB and 1 TB "ordinary" HDD.
BTW. It work properly under WIN10, but the performance under M6 (with Nvidia driver working) was much better.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby martinw » Jul 23rd, '19, 09:50

So have you tried removing the unnecessary driver, as discussed in the thread I referenced?
Just to be clear, nvidia340 is an old version of the nvidia proprietary driver that only supports older NVIDIA cards. nvidia-current is the latest version of the nvidia proprietary driver that only supports recent NVIDIA cards. You only need the one that supports your card.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby mackowiakp » Jul 24th, '19, 08:17

Every Nvidia modules I have installed, are relayed tu driver version 3.40, including nvidia-current:

Code: Select all
[root@piotr-l ~]# rpm -qa|grep nvidia
nvidia-nsight-10.1.168-1.mga7.nonfree
x11-driver-video-nvidia340-340.107-9.mga7.nonfree
nvidia-current-cuda-opencl-430.26-1.mga7.nonfree
dkms-nvidia340-340.107-9.mga7.nonfree
nvidia-current-utils-430.26-1.mga7.nonfree
x11-driver-video-nvidia-current-430.26-1.mga7.nonfree
nvidia340-doc-html-340.107-9.mga7.nonfree
nvidia-current-devel-430.26-1.mga7.nonfree
nvidia-current-doc-html-430.26-1.mga7.nonfree
dkms-nvidia-current-430.26-1.mga7.nonfree


This output above is taken from laptop equipped with "combo" Intel/Nvidia card. And it cause error:
Code: Select all
[root@piotr-l ~]# modprobe nvidia-current
modprobe: ERROR: could not insert 'nvidia_current': Cannot allocate memory

As I wrote, it worked properly in M6.
Below output from desktop PC equipped only in Nvidia card:

Code: Select all
[root@Piotr Pobrane]# rpm -qa |grep nvidia
nvidia340-doc-html-340.107-9.mga7.nonfree
nvidia-current-cuda-opencl-430.26-1.mga7.nonfree
dkms-nvidia340-340.107-9.mga7.nonfree
x11-driver-video-nvidia-current-430.26-1.mga7.nonfree
nvidia-nsight-10.1.168-1.mga7.nonfree
nvidia-current-utils-430.26-1.mga7.nonfree
nvidia-current-doc-html-430.26-1.mga7.nonfree
dkms-nvidia-current-430.26-1.mga7.nonfree
x11-driver-video-nvidia340-340.107-9.mga7.nonfree
nvidia-current-devel-430.26-1.mga7.nonfree


And it works properly in M7. As You can see, both outputs are identical. So what the problem is?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby martinw » Jul 24th, '19, 17:18

mackowiakp wrote:Every Nvidia modules I have installed, are relayed tu driver version 3.40, including nvidia-current:

Read again:
Code: Select all
x11-driver-video-nvidia-current-430.26-1.mga7.nonfree

martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: [DONE]Upgrade from 6 to 7 couse black screen

Postby mackowiakp » Aug 1st, '19, 07:26

Because black screen after reboot is DONE, so I create separate topic about INTEL.NVIDIA combo card problem. So close this topic
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Previous

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron