You are not logged in.

#1 2020-04-25 14:58:19

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

(solved) dia driver not being loaded by kernel with driver not running

Hi
I have installed the nvidia driver as mentioned in the Arch Wiki using pacman.I can see the nouveau driver being blacklisted , cat  /usr/lib/modprobe.d/nvidia.conf.But when the kernel boots up i see that kernel module in use as nouveau.
lspci -k | grep -A 2 -E "(VGA|3D)"

I have an lts kernel also installed but im not using that and havent installed nvidia-lts .I also have run nvidia-modprobe just in case.If i try anything with nvidia utils it gives me driver not running.
Im new to linux and some of the solutions mentioned in the wiki did not work for me.
Also i dont have any desktop installed yet.Just Xorg packages.Was hoping to get this going before running any desktop.
Thanks in advance!

Last edited by kaushikgn (2020-04-25 20:11:15)

Offline

#2 2020-04-25 15:07:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,822

Re: (solved) dia driver not being loaded by kernel with driver not running

Chances are, nouveau is loaded by the initramfs. Re-run makeinitcpio.
If that's not the cause, please post a complete system journal.

Offline

#3 2020-04-25 15:26:43

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

seth wrote:

Chances are, nouveau is loaded by the initramfs. Re-run makeinitcpio.
If that's not the cause, please post a complete system journal.

i ran mkinitcpio -p linux.nothing changed

Offline

#4 2020-04-25 15:35:07

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: (solved) dia driver not being loaded by kernel with driver not running

when running above mkinitcpio comand do you see any output regarding modules being uninstalled//built//installed ?

Offline

#5 2020-04-25 15:47:49

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

cirrus wrote:

when running above mkinitcpio comand do you see any output regarding modules being uninstalled//built//installed ?

No , i did not see any update of that sort.I have 2 kernels.Do i need to do something very specific to the kernel im in?

Offline

#6 2020-04-25 16:05:05

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: (solved) dia driver not being loaded by kernel with driver not running

What is the output of the following

pacman -Qs nvidia
uname -a
modinfo nvidia

Offline

#7 2020-04-25 16:08:44

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

Here is the whole journalctl log : http://ix.io/2jvi

Offline

#8 2020-04-25 16:13:07

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

loqs wrote:

What is the output of the following

pacman -Qs nvidia
uname -a
modinfo nvidia

modinfo tells nvidia module not found.U got the error.
pacman -Qs nvidia : nvidia drivers for linux, nvidia utils,nvidia driver utils
uname -a -  5.6.3-arch-1.This is the latest non-lts kernel im running
modinfo nvidia - no module nvidia found.

Last edited by kaushikgn (2020-04-25 16:14:53)

Offline

#9 2020-04-25 16:18:06

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: (solved) dia driver not being loaded by kernel with driver not running

Please post the actual outputs of the commands not a summary of the output.

pacman -Qs nvidia
lspci -nnk

Offline

#10 2020-04-25 16:53:36

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

loqs wrote:

Please post the actual outputs of the commands not a summary of the output.

pacman -Qs nvidia
lspci -nnk

Local/Nvidia 440.82-7
Nvidia drivers for Linux
Local/nvidia-utils 440.82-1
Nvidia driver utils

Lspci -nnk
Http://ix.io/2jv0

Offline

#11 2020-04-25 17:02:10

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: (solved) dia driver not being loaded by kernel with driver not running

http://ix.io/2jv0 is not a link to an lspci output.
nvidia-utils 440.82-1 is for linux 5.6.6.arch1-1 not linux 5.6.3.arch1-1
How did you update the kernel package?
Edit:
If you used `pacman -Syu` then the system's primary mirror is out of sync because it is serving extra from more recently than core and you need to change the mirror and perform a full system upgrade.
If you used `pacman -Sy nvidia` then that was a partial upgrade and you need to perform a full system upgrade.

Last edited by loqs (2020-04-25 17:37:37)

Offline

#12 2020-04-25 17:37:48

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

loqs wrote:

http://ix.io/2jv0 is not a link to an lspci output.
nvidia-utils 440.82-1 is for linux 5.6.6.arch1-1 not linux 5.6.3.arch1-1
How did you update the kernel package?

http://ix.io/2jv0/lspci1.log is the correct one.
I see 5.6.6-arch-1 in lib/modules.
I haven't updated the kernel using pacman explicitly after installation. Although I did install packages with -Sy

My uname -a is 5.6.3-arch-1

Thanks a lot for helping me out.

Offline

#13 2020-04-25 17:45:40

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: (solved) dia driver not being loaded by kernel with driver not running

pacman -Sy without the u would be the cause of the mismatch.  Please perform a full system upgrade to resolve that issue.
Perhaps there is some caching issue.  The contents of http://ix.io/2jv0/lspci1.log I am viewing starts:

### Activated Armbian ramlog partition with compression Tue Jun 18 05:17:05 UTC 2019 | S805 | 5.88 | armhf | armv7l | 5.1.0-aml-HEN-BonusCloud 

After getting the kernel and nvidia versions to match the output of lspci should contain something similar to the following the nvidia GPU:

	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

The important part being the 'Kernel driver in use' entry.

Last edited by loqs (2020-04-25 17:47:08)

Offline

#14 2020-04-25 17:55:05

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

loqs wrote:

pacman -Sy without the u would be the cause of the mismatch.  Please perform a full system upgrade to resolve that issue.
Perhaps there is some caching issue.  The contents of http://ix.io/2jv0/lspci1.log I am viewing starts:

### Activated Armbian ramlog partition with compression Tue Jun 18 05:17:05 UTC 2019 | S805 | 5.88 | armhf | armv7l | 5.1.0-aml-HEN-BonusCloud 

After getting the kernel and nvidia versions to match the output of lspci should contain something similar to the following the nvidia GPU:

	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

The important part being the 'Kernel driver in use' entry.

So you suggest should do a paman -syu for a full of the system upgrade.
After that do I need to run mkinitcpio? I'm not sure how to wire in the kernel to use when I run. Typically I have never done that before. Really appreciate your help.

Offline

#15 2020-04-25 18:03:37

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: (solved) dia driver not being loaded by kernel with driver not running

The mkinitcpio package supplies pacman hooks that cause mkinitcpio to run on kernel package updates.

Offline

#16 2020-04-25 19:05:48

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

loqs wrote:

The mkinitcpio package supplies pacman hooks that cause mkinitcpio to run on kernel package updates.

Thanks a ton loqs. Doing a full system upgrade resolved it. May I know how did you figure out which kernel version goes with what Nvidia drivers.? Thanks again.

Offline

#17 2020-04-25 19:08:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,822

Re: (solved) dia driver not being loaded by kernel with driver not running

Offline

#18 2020-04-25 19:20:20

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: (solved) dia driver not being loaded by kernel with driver not running


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#19 2020-04-25 20:03:41

kaushikgn
Member
Registered: 2020-04-12
Posts: 52

Re: (solved) dia driver not being loaded by kernel with driver not running

Offline

Board footer

Powered by FluxBB