You are not logged in.

#1 2023-02-22 09:39:59

buyolitsez
Member
Registered: 2023-02-22
Posts: 2

NVIDIA drivers are not installed

Hi, I'm using sway on arch and have issueses with installing nvidia drivers for my RTX 3080

local/sway-git r7084.4666d178-1
local/linux 6.1.12.arch1-1

local/egl-wayland 2:1.1.11-3
local/libvdpau 1.5-1
local/libxnvctrl 525.89.02-1
local/nvidia 525.89.02-3
local/nvidia-settings 525.89.02-1
local/nvidia-utils 525.89.02-2
local/opencl-nvidia 525.89.02-2
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)

gpu:

$  lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 1622
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
--
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
	Subsystem: ASUSTeK Computer Inc. Device 1622
	Kernel driver in use: amdgpu
 

I've tried to install nvidia-beta and nvidia-open instead of just nvidia driver, but nvidia-smi anyway says:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

I've also added some env variables before starting sway:

/usr/share/wayland-sessions/sway.desktop:

[Desktop Entry]
Name=Sway
Comment=An i3-compatible Wayland compositor
Exec=bash -c '__GL_GSYNC_ALLOWED=0; __GL_VRR_ALLOWED=0; WLR_DRM_NO_ATOMIC=1; export QT_AUTO_SCREEN_SCALE_FACTOR=1; export QT_QPA_PLATFORM=wayland; export QT_WAYLAND_DISABLE_WINDOWDECORATION=1; export GDK_BACKEND=wayland; export XDG_CURRENT_DESKTOP=sway; export GBM_BACKEND=nvidia-drm; export __GLX_VENDOR_LIBRARY_NAME=nvidia; export MOZ_ENABLE_WAYLAND=1; export WLR_NO_HARDWARE_CURSORS=1; sway --unsupported-gpu'
Type=Application

And also set nvidia_drm.modeset=1 in kernel parameters:

/etc/default/grub :


GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1"

And the last thing, I've added some modules to mkinitcpio.conf:

/etc/mkinitcpio.conf:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
HOOKS=(base udev autodetect modconf keyboard keymap consolefont block filesystems fsck)

Maybe you have thoughts have can I fix it?
I don't have the strength anymore sad

Last edited by buyolitsez (2023-02-22 09:40:22)

Offline

#2 2023-02-22 13:02:54

loqs
Member
Registered: 2014-03-06
Posts: 18,962

Re: NVIDIA drivers are not installed

Please post the output of dmesg from a boot with the issue.

Offline

#3 2023-02-22 13:48:02

buyolitsez
Member
Registered: 2023-02-22
Posts: 2

Re: NVIDIA drivers are not installed

loqs wrote:

Please post the output of dmesg from a boot with the issue.

https://pastebin.com/DBRJcMJK

and errors and warns:

$ _ dmesg --level=err,warn                                                          
[sudo] password for buyolitsez: 
[    0.244856]   #2  #3  #4  #5  #6  #7  #8  #9 #10 #11 #12 #13 #14 #15
[    0.291367] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GP17.XHC0._S0W], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.291372] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.291391] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GP17.XHC1._S0W], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.291394] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.321576] Expanded resource Reserved due to conflict with PCI Bus 0000:00
[    0.335935] pci 0000:00:00.2: can't derive routing for PCI INT A
[    0.335937] pci 0000:00:00.2: PCI INT A: not connected
[    1.703007] v4l2loopback_dc: loading out-of-tree module taints kernel.
[    2.303099] systemd-journald[333]: /var/log/journal/7c7f104276b149a8ab288b77cf7cc20f/system.journal: Montonic clock jumped backwards relative to last journal entry, rotating.
[    2.999171] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.233766] ATPX version 1, functions 0x00000001
[    4.233816] ATPX Hybrid Graphics
[    4.252534] amdgpu 0000:06:00.0: amdgpu: PSP runtime database doesn't exist
[    4.252536] amdgpu 0000:06:00.0: amdgpu: PSP runtime database doesn't exist
[    4.518759] asus 0003:0B05:19B6.0005: Asus input not registered
[    4.518790] asus: probe of 0003:0B05:19B6.0005 failed with error -12
[    4.555277] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[    4.834354] Bluetooth: hci0: AOSP quality report is not supported
[    5.303429] amdgpu: SRAT table not found
[   29.498809] systemd-journald[333]: /var/log/journal/7c7f104276b149a8ab288b77cf7cc20f/user-1000.journal: Montonic clock jumped backwards relative to last journal entry, rotating.
 

Offline

#4 2023-02-22 14:31:35

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

Re: NVIDIA drivers are not installed

You wrote:

local/linux 6.1.12.arch1-1

But the system wrote:

6.1.6-arch1-g14-1

=> You'll need the dkms package for a custom kernel.

You wrote:

local/nvidia 525.89.02-3

Which you don't have.

Offline

Board footer

Powered by FluxBB