You are not logged in.

#1 2021-01-07 20:14:08

Parimad
Member
Registered: 2020-04-27
Posts: 9

[SOLVED] Nvidia Graphic Card not working

The card is recognized but it is not working

I have both intel integrated graphics and an nvidia card, I was planning on using both. To do so I followed the installation proccess (https://wiki.archlinux.org/index.php/NVIDIA)

Following the installation if I use the nvidia-xconfig command the xorg server won't start so I removed the xorg.conf file generated, I also tried placing this same file at /etc/X11/xorg.conf.d/20-nvidia.conf with the same result, so I'm not using the automatic configuration

After that I followed the PRIME render offload instructions, since this is the approach I would want (https://wiki.archlinux.org/index.php/PR … er_offload). Tried both using the .conf suggested in that article and without it, with the same result

If I run

nvidia-smi

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01    Driver Version: 455.45.01    CUDA Version: 11.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  GeForce RTX 2060    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   41C    P0    20W /  N/A |      0MiB /  5934MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

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

I can see my card, and that the device is off

If I try running nvidia-settings i get

nvidia-settings

ERROR: Unable to load info from any available system

My buses info

lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05)
	Subsystem: CLEVO/KAPOK Computer Device 8520
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
	Subsystem: CLEVO/KAPOK Computer Device 8521
	Kernel driver in use: nvidia

I have the linux-lts kernel, these are the nvidia related packages I have

pacman -Qs nvidia
local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 455.45.01-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 455.45.01-1
    NVIDIA NV-CONTROL X extension
local/nvidia-lts 1:455.45.01-13
    NVIDIA drivers for linux-lts
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 455.45.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 455.45.01-1
    NVIDIA drivers utilities
local/nvtop 1.1.0-1
    An htop like monitoring tool for NVIDIA GPUs

If I try launching any program with prime-run the program will launch but it won't use the nvidia card (The card remains off)

I'm honestly out of ideas so any help will be appreciated

Tell me if you need any extra info and thanks for your time!

Last edited by Parimad (2021-01-08 13:34:04)

Offline

#2 2021-01-07 21:17:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Nvidia Graphic Card not working

Update your system a new nvidia driver was just released that has better compat with the 5.10 kernel and PRIME workloads.

Offline

#3 2021-01-07 22:50:16

Parimad
Member
Registered: 2020-04-27
Posts: 9

Re: [SOLVED] Nvidia Graphic Card not working

My system is updated, I have the linux-lts package, which currently is in the 5.4.87 version, should i try the linux package with the nvidia driver??

Offline

#4 2021-01-08 09:28:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Nvidia Graphic Card not working

Not necessarily no (... but anyway there's still a newer nvidia driver available tongue), maybe post a xorg log, what could also be needed is to alleviate potential race conditions by adding i915 and the nvidia modules to early KMS loading: https://wiki.archlinux.org/index.php/NV … de_setting https://wiki.archlinux.org/index.php/Ke … _KMS_start

Offline

#5 2021-01-08 12:31:41

Parimad
Member
Registered: 2020-04-27
Posts: 9

Re: [SOLVED] Nvidia Graphic Card not working

I saw the new nvidia driver, updated, but no luck sad

Here you have an xorg log (/var/log/Xorg.0.log)
https://pastebin.com/jJ3MceXB

I'm not sure what do you want me to try, should I try the DRM mode? Or just adding the 'i915' and 'nvidia' modules to the early KMS?

Offline

#6 2021-01-08 12:40:39

Parimad
Member
Registered: 2020-04-27
Posts: 9

Re: [SOLVED] Nvidia Graphic Card not working

Well I just resolved it, it seems like the new driver resolves the issue.

As you can imagine I tried A LOT of things trying to fix the issue yesterday, and it seems like on one of those tries I left a configuration file on my xorg.conf.d (ups), which was making it not work.

I removed it, reset xorg and now it does work, i can see my nvidia card as a provider  with

xrandr --listproviders

and run stuff with prime-run

I guess it was a problem of yesterday's nvidia package and I was lucky enough to be caught configuring a new machine.

Anyways thanks for your help V1del big_smile

Offline

#7 2021-01-08 12:59:43

Parimad
Member
Registered: 2020-04-27
Posts: 9

Re: [SOLVED] Nvidia Graphic Card not working

Ok, so I was wrong, it is not fixed.

This is what I discovered: when I first enter in the system the graphic car is not available, but I reset the Xorg enviroment it is (that's why I thought it was resolved, I just restarted the xorg server but didn't reboot the machine)

And also I noticed that after the nvidia card is available the system start acting laggy and not working properly, just the graphic enviroment though, the console still works fine

Offline

#8 2021-01-08 13:09:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Nvidia Graphic Card not working

Offline

#9 2021-01-08 13:33:42

Parimad
Member
Registered: 2020-04-27
Posts: 9

Re: [SOLVED] Nvidia Graphic Card not working

Ok, now it seems like it's working properly, I will make the pacman hook now.

Thanks for your help!

Offline

Board footer

Powered by FluxBB