You are not logged in.

#1 2024-07-13 00:33:31

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

[SOLVED] NVIDIA driver issues

Hey, I'm using Arch + dwm (6.9.9-arch1-1 + dwm-6.5), I have been relying on nouveau drivers for a while because of nvidia driver issues, i had the same experience with fedora as well so may not be arch specific problem. I'm using a old gt710 (could be due to that too). As gt710 is listed under support with nvidia-470xx drivers, i first installed nvidia-470xx-dkms package through but it gave me errors and so i tried others too, i logged xorg.0.log, journalctl and dmesg after every install of drivers, removed the previous driver through yay and launched with following grub parameters
blacklist nouveau nouveau.modeset=0 nvidia-drm.modeset=1
I use startx (configured .zprofile to run startx if on tty1) it just gets me back to login in tty when i login in tty1
when i manually startx in tty2 it gives me an error (couldnt log in text form so i took a photo, uploaded it to git)
i uploaded all the logs in [my git repo] (https://github.com/Elixirslayer2/nvidia-logs.git)
some xorg logs may be missing.

 lspci -k | grep -A 2 -E "(VGA|3D)"

01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
        Subsystem: ZOTAC International (MCO) Ltd. Device 7326
        Kernel driver in use: nouveau

if there's requirment of any more logs pls tell me how to get them and ill upload them.

Last edited by Elixirslayer (2024-07-13 09:04:30)

Offline

#2 2024-07-13 01:50:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] NVIDIA driver issues

I only looked at the nvidia-470xx logs. The journal is from a boot with nvidia, but the xorg log is an attempt with nouveau. We need logs that match.

Online

#3 2024-07-13 01:54:58

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] NVIDIA driver issues

Oh mb, I will update the logs later I was hasty anyways. I did Blacklist nouveau tho
Should I reinstall all those and upload their logs or just do 470xx one

Offline

#4 2024-07-13 01:56:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] NVIDIA driver issues

You haven't blacklisted nouveau, the command line you're using does nothing, but installing nvidia-utils does. You need to follow all 6 steps listed for installation in the wiki.

Online

#5 2024-07-13 02:00:34

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] NVIDIA driver issues

Oh got it, also when the system fails to boot with nvidia drivers it falls back to Nouveau, is it supposed to do that even after being blacklisted?

Offline

#6 2024-07-13 07:13:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] NVIDIA driver issues

is it supposed to do that even after being blacklisted?

No.

Scimmia wrote:

You need to follow all 6 steps listed for installation in the wiki.

Especially step #5…

Offline

#7 2024-07-13 07:57:21

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] NVIDIA driver issues

i did reinstall nvidia-470xx-dkms drivers with lib32-nvidia-470-utils, also there was no "kms" in the hooks array in /etc/mkinitcpio.conf (i always checked it never was there so i always ignored and it did blacklist nouveau)
https://github.com/Elixirslayer2/nvidia … w470xxlogs (do these logs even show anything about nvidia, if not what other logs do i need to send)

also here's my. xinitrc and .zprofile files just incase i did something wrong with them

  cat .zprofile
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
  exec startx
fi
cat .xinitrc                                                                                                    
exec dwm

Last edited by Elixirslayer (2024-07-13 08:10:07)

Offline

#8 2024-07-13 08:19:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] NVIDIA driver issues

"blacklist nouveau" is just nonsense and not how you'd blacklist a module in the kernel commandline.
The journal contains 11-12 boots, many of them have

Jul 13 05:28:30 ArchOP kernel: NVRM: The NVIDIA GeForce GT 710 GPU installed in this system is
                               NVRM:  supported through the NVIDIA 470.xx Legacy drivers. Please
                               NVRM:  visit http://www.nvidia.com/object/unix.html for more
                               NVRM:  information.  The 555.58.02 NVIDIA driver will ignore
Jul 13 05:28:30 ArchOP kernel: NVRM: No NVIDIA GPU found.

in two instances

Jul 13 05:43:21 ArchOP kernel: nouveau 0000:01:00.0: NVIDIA GK208B (b060b0b1)
Jul 13 12:31:11 ArchOP kernel: nouveau 0000:01:00.0: NVIDIA GK208B (b060b0b1)

where used and at no point any nvidia kernel module was loaded.

dkms status
pacman -Qs 'kernel|nvidia'

Offline

#9 2024-07-13 08:38:03

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] NVIDIA driver issues

i get it i cant blacklist nouveau through cmd line


pacman -Qs 'kernel|nvidia'

local/dkms 3.0.12-1
    Dynamic Kernel Modules System
local/egl-wayland 2:1.1.13-2
    EGLStream-based Wayland external platform
local/fuse2 2.9.9-5
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.10-2
    Linux kernel packet control tool (using legacy interface)
local/kmod 32-1
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.122-1
    Userspace interface to kernel DRM services (32-bit)
local/lib32-nvidia-470xx-utils 470.256.02-1
    NVIDIA drivers utilities (32-bit)
local/libdrm 2.4.122-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 46.0-3
    Kernel based performance profiler - capture library
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/linux 6.9.9.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.8-1
    Kernel headers sanitized for use in userspace
local/linux-headers 6.9.9.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/mtdev 1.1.7-1
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/nvidia-470xx-dkms 470.256.02-5
    NVIDIA drivers - module sources
local/nvidia-470xx-utils 470.256.02-5
    NVIDIA drivers utilities
dkms status
nvidia/470.256.02, 6.9.9-arch1-1, x86_64: installed

Offline

#10 2024-07-13 08:43:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] NVIDIA driver issues

You can but you don't have to, https://wiki.archlinux.org/title/Kernel … and_line_2

The output looks ok and the dmesg actually has

[    3.311580] Missing ENDBR: _nv010991rm+0x0/0x10 [nvidia]

=> try to add "ibt=off" to the kernel commandline, that would have been step #3…

Offline

#11 2024-07-13 08:58:43

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] NVIDIA driver issues

nvidia-smi
Sat Jul 13 14:25:28 2024
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02   Driver Version: 470.256.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 N/A |                  N/A |
| 40%   53C    P8    N/A /  N/A |     37MiB /  1993MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

┌──(oc㉿ArchOP)-[~]
└─$ lsmod | grep nvidia

nvidia_drm             81920  3
nvidia_uvm           2789376  0
nvidia_modeset       1511424  5 nvidia_drm
nvidia              40759296  233 nvidia_uvm,nvidia_modeset
video                  77824  2 asus_wmi,nvidia_modeset

thank you so much it was my dumbass who ignored that note after improperly trying it (i did read that and try someday, maybe didnt do it correctly or smth), ibt was indeed the issue

Last edited by Elixirslayer (2024-07-13 09:00:02)

Offline

#12 2024-07-13 09:01:47

Elixirslayer
Member
Registered: 2024-07-12
Posts: 54

Re: [SOLVED] NVIDIA driver issues

should i mark the thread as solved

Offline

Board footer

Powered by FluxBB