[SOLVED] mga8: cannot use nvidia driver

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

[SOLVED] mga8: cannot use nvidia driver

Postby magfan » Apr 30th, '21, 15:51

I cannot get the nvidia driver working on my system. When I reboot the system after selecting the appropriate driver in mcc the driver is being replaced with nouveau during the boot process. And if I blacklist the nouveau driver I end up with a black screen.

Code: Select all
# rpm -qa | grep nvidia
nvidia-cuda-toolkit-samples-11.2.0-8.mga8.nonfree
nvidia-cuda-toolkit-devel-11.2.0-8.mga8.nonfree
nvidia-cuda-toolkit-11.2.0-8.mga8.nonfree
nvidia-current-doc-html-460.67-1.mga8.nonfree
nvidia-current-utils-460.67-1.mga8.nonfree
nvidia-current-devel-460.67-1.mga8.nonfree
dkms-nvidia-current-460.67-1.mga8.nonfree
nvidia-current-cuda-opencl-460.67-1.mga8.nonfree
x11-driver-video-nvidia-current-460.67-1.mga8.nonfree
lib64nvidia-egl-wayland1-1.1.5-3.mga8
#
Attachments
lspci.txt
(19.66 KiB) Downloaded 55 times
lsmod.txt
(8.57 KiB) Downloaded 54 times
lsinitrd.txt
(84.59 KiB) Downloaded 59 times
Last edited by magfan on May 3rd, '21, 12:23, edited 1 time in total.
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33

Re: mga8: cannot use nvidia driver

Postby doktor5000 » Apr 30th, '21, 17:16

Do you have "nokmsboot" in your kernel boot options ? Please provide the output as root of

Code: Select all
dkms status -m nvidia-current
rpm -qa|grep kernel|sort
uname -r
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: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: mga8: cannot use nvidia driver

Postby magfan » May 3rd, '21, 08:27

boot options:
Code: Select all
ro splash quiet noiswmd root=UUID=a2ba326c-21f0-447a-866f-cbfca4d4ac91 usbcore.autosuspend=-1 libata.atapi_passthru16=0 resume=UUID=26c92a5c-0d1f-4a8b-9ab3-d34cf6f0c90f


Code: Select all
# dkms status -m nvidia-current
# rpm -qa|grep kernel|sort
kernel-doc-5.10.30-1.mga8
kernel-firmware-20201218-1.mga8
kernel-firmware-nonfree-20210310-1.mga8.nonfree
kernel-server-5.10.30-1.mga8-1-1.mga8
kernel-server-devel-5.10.30-1.mga8-1-1.mga8
kernel-server-devel-latest-5.10.30-1.mga8
kernel-server-latest-5.10.30-1.mga8
kernel-source-5.10.30-1.mga8-1-1.mga8
kernel-source-latest-5.10.30-1.mga8
kernel-userspace-headers-5.10.30-1.mga8
# uname -r
5.10.30-server-1.mga8
#
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33

Re: mga8: cannot use nvidia driver

Postby magfan » May 3rd, '21, 12:22

The latest update this morning (kernl+nvidia) solved the problem:
Code: Select all
# dkms status -m nvidia-current
nvidia-current, 460.73.01-1.mga8.nonfree, 5.10.33-server-1.mga8, x86_64: installed
# rpm -qa|grep kernel|sort
kernel-doc-5.10.33-1.mga8
kernel-firmware-20201218-1.mga8
kernel-firmware-nonfree-20210426-1.mga8.nonfree
kernel-server-5.10.30-1.mga8-1-1.mga8
kernel-server-5.10.33-1.mga8-1-1.mga8
kernel-server-devel-5.10.30-1.mga8-1-1.mga8
kernel-server-devel-5.10.33-1.mga8-1-1.mga8
kernel-server-devel-latest-5.10.33-1.mga8
kernel-server-latest-5.10.33-1.mga8
kernel-source-5.10.30-1.mga8-1-1.mga8
kernel-source-5.10.33-1.mga8-1-1.mga8
kernel-source-latest-5.10.33-1.mga8
kernel-userspace-headers-5.10.33-1.mga8
# uname -r
5.10.33-server-1.mga8
#


Now just KDE/Plasma does not let me login (black screen). But this will be a new topic...
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33

Re: [SOLVED] mga8: cannot use nvidia driver

Postby doktor5000 » May 3rd, '21, 16:37

You were missing nokmsboot, FWIW.
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: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron