GPU driver installation

I came across two Errors while trying to install my nvidia drivers.


inxi -Fxxxa
System:    Host: Hakai Kernel: 5.12.6-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=4fc192a5-4dac-4f98-9627-c8c07b6f886c rw  
rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux  
base: Arch Linux  
Machine:   Type: Laptop System: Sony product: SVF1531GSAB v: C10J5E30 serial: <superuser required> Chassis: type: 10  
serial: <superuser required>  
Mobo: Sony model: VAIO serial: <superuser required> UEFI-[Legacy]: Insyde v: R1100DB date: 01/26/2016  
CPU:       Info: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP arch: Haswell family: 6 model-id: 45 (69)  
stepping: 1 microcode: 26 cache: L2: 4 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 19156  
Speed: 1849 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 1849 2: 1798 3: 1796 4: 1796  
Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported  
Type: l1tf mitigation: PTE Inversion  
Type: mds mitigation: Clear CPU buffers; SMT vulnerable  
Type: meltdown mitigation: PTI  
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp  
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization  
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling  
Type: srbds mitigation: Microcode  
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Sony driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:0a16 class-ID: 0300
Device-2: NVIDIA GK208M [GeForce GT 740M] vendor: Sony driver: N/A alternate: nouveau bus-ID: 04:00.0
chip-ID: 10de:1292 class-ID: 0302
Device-3: Chicony Front Camera type: USB driver: uvcvideo bus-ID: 2-5:5 chip-ID: 04f2:b3aa class-ID: 0e02
serial: 0001
Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: intel display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
Monitor-1: eDP1 res: 1920x1080 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
OpenGL: renderer: N/A v: N/A direct render: N/A
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Sony driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0a0c class-ID: 0403
Device-2: Intel 8 Series HD Audio vendor: Sony driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20
class-ID: 0403
Sound Server-1: ALSA v: k5.12.6-zen1-1-zen running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.28 running: yes
Network:   Device-1: Broadcom BCM43142 802.11b/g/n vendor: Foxconn driver: wl v: kernel port: 5040 bus-ID: 02:00.0
chip-ID: 14e4:4365 class-ID: 0280
IF: wlp2s0 state: up mac: 0c:84:dc:fd:05:e9
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Sony driver: r8169 v: kernel port: 4000
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac: 78:84:3c:3b:a9:8e
Bluetooth: Device-1: Foxconn / Hon Hai BCM43142A0 type: USB driver: btusb v: 0.8 bus-ID: 2-4:4 chip-ID: 0489:e062
class-ID: fe01 serial: 0C84DCFD05EA
Report: bt-adapter ID: hci0 rfk-id: 3 state: up address: 0C:84:DC:FD:05:EA
Drives:    Local Storage: total: 1.36 TiB used: 26.19 GiB (1.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS541010A9E680 size: 931.51 GiB block-size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: 130823JB1000131RZH4B rev: A5G0
scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Seagate model: ST9500325ASG size: 465.76 GiB block-size:
physical: 512 B logical: 512 B rotation: 5400 rpm serial: 5VEWSP5H rev: 0214 scheme: MBR
Partition: ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%) used: 26.19 GiB (5.6%) fs: btrfs dev: /dev/sdb1
maj-min: 8:17
ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%) used: 26.19 GiB (5.6%) fs: btrfs dev: /dev/sdb1
maj-min: 8:17
ID-3: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%) used: 26.19 GiB (5.6%) fs: btrfs dev: /dev/sdb1
maj-min: 8:17
ID-4: /var/tmp raw-size: 465.76 GiB size: 465.76 GiB (100.00%) used: 26.19 GiB (5.6%) fs: btrfs dev: /dev/sdb1
maj-min: 8:17
Swap:      Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100)
ID-1: swap-1 type: zram size: 2.9 GiB used: 8.9 MiB (0.3%) priority: 32767 dev: /dev/zram0
ID-2: swap-2 type: zram size: 2.9 GiB used: 11.6 MiB (0.4%) priority: 32767 dev: /dev/zram1
ID-3: swap-3 type: zram size: 2.9 GiB used: 11.4 MiB (0.4%) priority: 32767 dev: /dev/zram2
ID-4: swap-4 type: zram size: 2.9 GiB used: 7.8 MiB (0.3%) priority: 32767 dev: /dev/zram3
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:      Processes: 232 Uptime: 1h 04m wakeups: 1 Memory: 11.59 GiB used: 2.66 GiB (23.0%) Init: systemd v: 248
tool: systemctl Compilers: gcc: 11.1.0 clang: 11.1.0 Packages: pacman: 1314 lib: 344 Shell: fish v: 3.2.2
running-in: konsole inxi: 3.3.04

Driver Installation Log
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 319.17.....................................................................................................................................................................

Welcome to the NVIDIA Software Installer for Unix/Linux


WARNING: Skipping the runlevel check (the utility `runlevel` was not found).


Please read the following LICENSE and type "accept" followed by the Enter key to accept the license, or type anything else to not accept and exit nvidia-installer.

________

License For Customer Use of NVIDIA Software


IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of
NVIDIA Software ("LICENSE") is the agreement which governs use of
the software of NVIDIA Corporation and its subsidiaries ("NVIDIA")
downloadable herefrom, including computer software and associated
printed materials ("SOFTWARE").  By downloading, installing, copying,
or otherwise using the SOFTWARE, you agree to be bound by the terms
of this LICENSE.  If you do not agree to the terms of this LICENSE,
do not download the SOFTWARE.

RECITALS

Use of NVIDIA's products requires three elements: the SOFTWARE, the
hardware on a graphics controller board, and a personal computer. The
SOFTWARE is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and treaties.
The SOFTWARE is not sold, and instead is only licensed for use,
strictly in accordance with this document.  The hardware is protected
by various patents, and is sold, but this agreement does not cover
that sale, since it may not necessarily be sold as a package with
the SOFTWARE.  This agreement sets forth the terms and conditions
of the SOFTWARE LICENSE only.

1.  DEFINITIONS

1.1  Customer.  Customer means the entity or individual that
downloads the SOFTWARE.

2.  GRANT OF LICENSE

2.1  Rights and Limitations of Grant.  NVIDIA hereby grants Customer
the following non-exclusive, non-transferable right to use the
SOFTWARE, with the following limitations:

2.1.1  Rights.  Customer may install and use one copy of the SOFTWARE
on a single computer, and except for making one back-up copy of
the Software, may not otherwise copy the SOFTWARE.  This LICENSE
of SOFTWARE may not be shared or used concurrently on different
computers.

2.1.2  Linux/FreeBSD Exception.  Notwithstanding the foregoing terms
of Section 2.1.1, SOFTWARE designed exclusively for use on the Linux or
FreeBSD operating systems, or other operating systems derived from the
source code to these operating systems, may be copied and redistributed,
provided that the binary files thereof are not modified in any way
(except for unzipping of compressed files).

2.1.3  Limitations.

No Reverse Engineering.  Customer may not reverse engineer,
decompile, or disassemble the SOFTWARE, nor attempt in any other
manner to obtain the source code.

No Separation of Components.  The SOFTWARE is licensed as a
single product.  Its component parts may not be separated for use
on more than one computer, nor otherwise used separately from the
other parts.

No Rental.  Customer may not rent or lease the SOFTWARE to someone
else.

3.  TERMINATION

This LICENSE will automatically terminate if Customer fails to
comply with any of the terms and conditions hereof.  In such event,
Customer must destroy all copies of the SOFTWARE and all of its
component parts.

Defensive Suspension.  If Customer commences or participates in any legal
proceeding against NVIDIA, then NVIDIA may, in its sole discretion,
suspend or terminate all license grants and any other rights provided
under this LICENSE during the pendency of such legal proceedings.

4.  COPYRIGHT

All title and copyrights in and to the SOFTWARE (including but
not limited to all images, photographs, animations, video, audio,
music, text, and other information incorporated into the SOFTWARE),
the accompanying printed materials, and any copies of the SOFTWARE,
are owned by NVIDIA, or its suppliers.  The SOFTWARE is protected
by copyright laws and international treaty provisions.  Accordingly,
Customer is required to treat the SOFTWARE like any other copyrighted
material, except as otherwise allowed pursuant to this LICENSE
and that it may make one copy of the SOFTWARE solely for backup or
archive purposes.

5.  APPLICABLE LAW

This agreement shall be deemed to have been made in, and shall be
construed pursuant to, the laws of the State of California.

6.  DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY

6.1  No Warranties.  TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE
LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS
DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.

6.2  No Liability for Consequential Damages.  TO THE MAXIMUM
EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR
ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR
CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS
OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT
OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7.  MISCELLANEOUS 

The United Nations Convention on Contracts for the International
Sale of Goods is specifically disclaimed.  If any provision of this
LICENSE is inconsistent with, or cannot be fully enforced under,
the law, such provision will be construed as limited to the extent
necessary to be consistent with and fully enforceable under the law.
This agreement is the final, complete and exclusive agreement between
the parties relating to the subject matter hereof, and supersedes
all prior or contemporaneous understandings and agreements relating
to such subject matter, whether oral or written.  Customer agrees
that it will not ship, transfer or export the SOFTWARE into any
country, or use the SOFTWARE in any manner, prohibited by the
United States Bureau of Export Administration or any export laws,
restrictions or regulations.  This LICENSE may only be modified in
writing signed by an authorized officer of NVIDIA.

________

Accept? (Type "Accept" to accept, or anything else to abort): Accept
License accepted.
Installing NVIDIA driver version 319.17.

There appears to already be a driver installed on your system (version: 319.17).  As part of installing this driver (version: 319.17), the existing driver will be uninstalled.  Are you sure you want to continue? ('no' will abort
installation)
[default: (Y)es]: y

Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later.
[default: (N)o]: y
Installing both new and classic TLS OpenGL libraries.
Installing both new and classic TLS 32bit OpenGL libraries.

Install NVIDIA's 32-bit compatibility OpenGL libraries?
[default: (Y)es]: y
Parsing log file:
Parsing: [##############################] 100%
Validating previous installation:
Validating: [##############################] 100%

WARNING: Your driver installation has been altered since it was initially installed; this may happen, for example, if you have since installed the NVIDIA driver through a mechanism other than nvidia-installer (such as your distribution's
native package management system).  nvidia-installer will attempt to uninstall as best it can.  Please see the file '/var/log/nvidia-installer.log' for details.

Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86_64 (1.0-31917 (319.17)):
Uninstalling: [##############################] 100%
Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for Linux-x86_64 (319.17) is complete.
Searching for conflicting X files:
Searching: [##############################] 100%
Searching for conflicting OpenGL files:
Searching: [##############################] 100%
Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (319.17):
Installing: [##############################] 100%
Driver file installation is complete.
Installing DKMS kernel module:
Adding to DKMS: [##                            ]   5%
ERROR: Failed to run `/sbin/dkms build -m nvidia -v 319.17 -k 5.12.6-zen1-1-zen`:
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.12.6-zen1-1-zen module KERNEL_UNAME=5.12.6-zen1-1-zen...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.12.6-zen1-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/319.17/build/make.log for more information.

Adding to DKMS: [##############################] 100%

ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.


ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

I have no clue on how to resolve the matter, Since it is my first time trying to install drivers like this, Please help!

Right I already tried to install the driver when I went to my settings and clicked on "Auto Install Proprietary Divers", In the end my gpu driver status is at: N/A.

Do you know who is talking here? :point_up_2:

I think this is an intruder in Garuda system management. :cold_face:

2 Likes

Wait did i do something wrong?

Please, read and edit your post #1
"If you include terminal outputs in your post please use the proper output format in your post. Using "~" 3 times above and "~" 3 times below the text block will provide a readable, raw look."
from

1 Like

I am sorry I forgot about that :sweat:

1 Like

It’s not your first Garuda experience. You should already know about how we install video drivers (Garuda Hardware Manager).

You know how it goes… Restore a previous snapshot (before this mess…) and do it correctly. :wink:

3 Likes

I have to go to bed, Ill try it out tomorrow.

Good Night!

1 Like
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.