You are not logged in.

#1 2024-06-13 00:08:08

mollyag75
Member
Registered: 2024-06-12
Posts: 20

cant "enable" nvidia driver 310 that i installed from aur

I installed this from the aur with Yay

yay -S nvidia-390xx-utils opencl-nvidia-390xx nvidia-390xx-dkms nvidia-390xx-settings libxnvctrl-390xx lib32-nvidia-390xx-utils lib32-opencl-nvidia-390xx. 

nothing went wrong and there were no errors but it's still using Nouveau drivers


01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 310] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 1154
        Flags: bus master, fast devsel, latency 0, IRQ 123
        Memory at da000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=128M]
        Memory at d8000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 3000 [size=128]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nouveauode]. 

I don't know how to convince Arch to use the drivers I just installed I tried this

blacklist nouveau
bash: blacklist: command not found. 

and rn I'm pretty much stuck I have no idea what to do I've read this page ( https://wiki.archlinux.org/title/NVIDIA ) over and over again but I still have no idea what to do

Offline

#2 2024-06-13 01:40:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,880

Re: cant "enable" nvidia driver 310 that i installed from aur

Did you follow all 6 of the steps listed on the nvidia wiki page?

Online

#3 2024-06-13 01:47:10

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

I genuinely don't know how to do them cuz I'm not sure if it's the same steps for legacy drivers and cuz I'm an idiot and they seem pretty god-damn complicated when they type them out like that

Offline

#4 2024-06-13 02:03:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,880

Re: cant "enable" nvidia driver 310 that i installed from aur

The steps are the same. If you're having a problem on one of them, ask specific questions.

Online

#5 2024-06-13 06:07:32

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

Kernel modules: nouveauode].

Please don't manually transcribe output but if that's anything to go by, you don't have nvida modules for the running kernel.

dkms status
pacman -Qs headers
uname -a

https://wiki.archlinux.org/title/Dynami … le_Support

Online

#6 2024-06-13 07:34:25

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,883
Website

Re: cant "enable" nvidia driver 310 that i installed from aur

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2024-06-13 13:16:25

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

 [            ]$ dkms status
[            ]$ pacman -Qs headers
local/acl 2.3.2-1
    Access control list utilities, libraries and
    headers
local/libcups 2:2.4.9-1
    OpenPrinting CUPS - client libraries and headers
local/linux-api-headers 6.8-1
    Kernel headers sanitized for use in userspace
local/vulkan-headers 1:1.3.285-1 (vulkan-devel)
    Vulkan header files
local/xorgproto 2024.1-2
    combined X.Org X11 Protocol headers
[                ]$ uname -a
Linux arch 6.9.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 12 Jun 2024 20:17:17 +0000 x86_64 GNU/Linux 

I got no output from the first one and I'm sure its installed cuz

 sudo pacman -Qi nvidia-390xx-utils 
Name            : nvidia-390xx-utils
Version         : 390.157-9
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : https://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : vulkan-driver  opengl-driver
                  nvidia-libgl  nvidia-utils
                  nvidia-390xx-libgl
Depends On      : xorg-server  libglvnd  egl-wayland
Optional Deps   : nvidia-390xx-settings: configuration
                  tool [installed]
                  xorg-server-devel: nvidia-xconfig
                  [installed]
                  opencl-nvidia-390xx: OpenCL support
                  [installed]
Required By     : lib32-nvidia-390xx-utils  libglvnd
                  nvidia-390xx-dkms
                  nvidia-390xx-settings
Optional For    : ffmpeg  libvdpau  vulkan-icd-loader
Conflicts With  : nvidia-libgl  nvidia-utils
                  nvidia-390xx-libgl
Replaces        : None
Installed Size  : 106.63 MiB
Packager        : Unknown Packager
Build Date      : Thu Jun 13 13:33:27 2024
Install Date    : Thu Jun 13 13:35:15 2024
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : None 
sudo pacman -Qi nvidia-390xx-dkms
Name            : nvidia-390xx-dkms
Version         : 390.157-9
Description     : NVIDIA drivers - module sources
Architecture    : x86_64
URL             : https://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : NVIDIA-MODULE
Depends On      : dkms  nvidia-390xx-utils=390.157
                  libglvnd
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 27.20 MiB
Packager        : Unknown Packager
Build Date      : Thu Jun 13 13:33:27 2024
Install Date    : Thu Jun 13 13:38:13 2024
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None 

Offline

#8 2024-06-13 13:29:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,946

Re: cant "enable" nvidia driver 310 that i installed from aur

Please install linux-headers , then rerun dkms status


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#9 2024-06-13 13:58:28

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

Okay so well I ran the nvidia-xconfig command and my PC is not booting anymore it's stuck on
/Dev/sda6 : clean 33681372058192 files, 2915278/8213845

Offline

#10 2024-06-13 14:03:11

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

Nobody said anything about running nvidia-xconfig
I'm pretty sure you system will still boot, at least to the multi-user.target (2nd link below)
Then remove /etc/X11/xorg.conf and post the output of "dkms status" and your complete system journal

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#11 2024-06-13 14:06:33

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

Scimmia told me to follow the arch tutorial thingy and I did the automatic configuration thing

Offline

#12 2024-06-13 14:09:15

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

Dkms status
Nvidia/390.157, 6.9.4-arch1-1, x86_64: installed 

Offline

#13 2024-06-13 14:10:01

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

And we figured that you don't even have a kernel module.
Leaving aside

The wiki wrote:

The proprietary NVIDIA graphics card driver does not need any Xorg server configuration file.

you'll still have to do this step by step.
Trying to build a spire onto your roof while you've not yet laid any foundation is not gonna work.

Edit: ok, you have a kernel module. Remove the xorg.conf, see whether X11 starts  and if not, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Last edited by seth (2024-06-13 14:11:07)

Online

#14 2024-06-13 14:25:06

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

I'm in chroot and to delete it do I just use nano and delete or ...

Offline

#15 2024-06-13 14:29:34

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

"man rm", you do not need a static server config and it usually just gets in the way and the nvidia-xconfig generated one is full of cruft anyway.
Also try to boot the system into the multi-user.target

Online

#16 2024-06-13 14:33:20

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

I have no idea what is multi-year.target but I just used Pacman -r from the chroot and my PC booted
Edit: btw I litterely have no important data and wouldn't mind completely reinstalling if necessary also I'm sorry if I'm not good at this it's my first time trying to do this and it's so hard

Last edited by mollyag75 (2024-06-13 14:42:11)

Offline

#17 2024-06-13 14:42:13

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

"multi-user.target", and as mentioned, see the second link below.

So you gonna re-install arch and then what?
Do you firmly believe you'll end up in a different situation?

If you want to use the nvidia driver, install it, boot the multi-user.target and post the journal to show where you're at.

Online

#18 2024-06-13 14:47:19

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

im not reinstalling im just saying that incase things get too fucked I don't have any data to save
also what I'm I supposed to do now oh and the out put for

lspci -v

changed

VGA compatible controller: NVIDIA Corporation GF119 [NVS 310] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 1154
        Flags: bus master, fast devsel, latency 0, IRQ 126
        Memory at da000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=128M]
        Memory at d8000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 3000 [size=128]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia 

Last edited by mollyag75 (2024-06-13 14:49:44)

Offline

#19 2024-06-13 14:53:23

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

Good. Can you start X11? If not, post the xorg log.

Online

#20 2024-06-13 14:54:54

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

and how do i do that  ;-;

Offline

#21 2024-06-13 14:58:47

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

Do what? Start X11?
Start the graphical.target…

Online

#22 2024-06-13 15:08:14

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

i have no idea what ur talking about I looked at the second link and I still don't get it I'm sorry ;-;

Offline

#23 2024-06-13 15:09:34

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

How did you get to the output in #18? Where did you type that?

Online

#24 2024-06-13 15:15:21

mollyag75
Member
Registered: 2024-06-12
Posts: 20

Re: cant "enable" nvidia driver 310 that i installed from aur

well when my pc refused to start I got my USB booted into iso mounted the partitions used

arch-chroot /mnt

then I did -

nano /etc/X11/xorg.conf

deleted everything then went ahead and did

pacman -R xorg

and then exit and then reboot my PC booted like normally then I typed in the console

lspci -v

Last edited by mollyag75 (2024-06-13 15:16:28)

Offline

#25 2024-06-13 15:23:18

seth
Member
Registered: 2012-09-03
Posts: 65,882

Re: cant "enable" nvidia driver 310 that i installed from aur

You were supposed to to delete the /etc/X11/xorg.conf, not blank it with a text editor for crying out loud.
Also most certainly not to remove the entire xorg package group.

So step #1 would be to re-install any graphical environment that you then could start (resp. it'll start automatically because you didn't actually change the default target)

Online

Board footer

Powered by FluxBB