Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Nvidia Graphics Card Not Recognized Even After Installing Drivers. (Read 1127 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] Nvidia Graphics Card Not Recognized Even After Installing Drivers.

I've installed Nvidia and nvidia-utils. I've uninstalled vulkan-intel and vulkan-radeon and all *xf86-video packages. Artix can't detect it. Then I installed Nvidia beta and nvidia-utils beta. It's still not detected.  It's detected on Windows.
Here’s nvidia-smi:

Code: [Select]
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| 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 RTX 3050         Off| 00000000:01:00.0  On |                  N/A |
|  0%   43C    P8                7W / 130W|    113MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                        
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2254      G   /usr/lib/Xorg                               111MiB |
+-------------------------------------------------------------------------------
vulkaninfo
Code: [Select]
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.3.245/vulkaninfo/vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

lshw
Code: [Select]
artix
 *-display
                description: VGA compatible controller
                product: GA106 [Geforce RTX 3050]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nvidia latency=0
                resources: irq:147 memory:a1000000-a1ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:3000(size=128) memory:c0000-dffff
           *-multimedia
                description: Audio device
                product: GA106 High Definition Audio Controller
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:01:00.1
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:17 memory:a2080000-a2083fff
    

lsmod | grep video
Code: [Select]
video                  73728  1 nvidia_modeset
wmi                    45056  2 video,wmi_bmof

 lspci -k | grep -EA3 'VGA|3D|Display'
Code: [Select]
01:00.0 VGA compatible controller: NVIDIA Corporation GA106 [Geforce RTX 3050] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 887c
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia

LIBGL_DEBUG=1 glxinfo -B
Code: [Select]
name of display: :0
\X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  110
  Current serial number in output stream:  111

Edit: I was able to fix the problem by reinstalling artix linux. Then I installed nvidia and nvidia-utils. Then I open /etc/default/grub with micro, I added
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
with
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet ibt=off"
I regenerated /boot/grub/grub.cfg
Code: [Select]
sudo grub-mkconfig -o /boot/grub/grub.cfg
For some reason lightdm didn't work. So I had to install sddm instead.
Code: [Select]
sudo pacman -S sddm sddm-openrc
Code: [Select]
sudo rc-update add sddm default

 

Re: Nvidia Graphics Card Not Recognized Even After Installing Drivers.

Reply #1
Glad you fixed it. Out of curiosity, which ISO did you use to install before and after?