Nvidia driver suddenly doesn't exist

I was trying to run a program and forcing it to use the nvidia GPU instead of the intel integrated one, but it showed an error. Something about it not existing? I checked with nvidia-smibut it said it couldn’t communicate with the nvidia driver. I ran journalctl -e to check logs and it showed this: “Module nvidia is blacklisted”. So I ran inxi -G and it clearly shows the GPU there, but its driver is N/A.

I’ve tried googling for fixes but none seems to work, even after restarts. nvidia-inst doesn’t fix it too. I’ve checked the blacklist files (in /etc/modprobe.d/ and /usr/lib/modprobe.d/) but there’s nothing related to nvidia being blacklisted. I have no idea when this issue occured cause I haven’t really utilize the GPU in a while. And also I really don’t want to reinstall the OS completely. Help appreciated.

Welcome aboard!

What does command

nvidia-inst --test

show?

it shows this after i ran the command

Summary

2025-12-09 21:50:16: Note: 0000:01:00.0 3D controller [0302]: NVIDIA Corporation GA107 [GeForce RTX 2050] [10de:25ad] (rev a1)
2025-12-09 21:50:16: Note: Currently installed packages related to Nvidia:
2025-12-09 21:50:16: egl-gbm 1.1.2.1-1
2025-12-09 21:50:16: egl-wayland 4:1.1.20-1
2025-12-09 21:50:16: egl-x11 1.0.3-1
2025-12-09 21:50:16: envycontrol 3.5.2-1
2025-12-09 21:50:16: lib32-nvidia-utils 580.105.08-1
2025-12-09 21:50:16: libvdpau 1.5-3
2025-12-09 21:50:16: libxnvctrl 580.105.08-1
2025-12-09 21:50:16: linux-firmware-nvidia 20251125-2
2025-12-09 21:50:16: nvidia-hook 1.5.2-1
2025-12-09 21:50:16: nvidia-inst 25.11-1
2025-12-09 21:50:16: nvidia-open-dkms 580.105.08-5
2025-12-09 21:50:16: nvidia-settings 580.105.08-1
2025-12-09 21:50:16: nvidia-utils 580.105.08-5
2025-12-09 21:50:16: Note: inxi -Gza
Graphics:
Device-1: Intel Alder Lake-P GT1 [UHD Graphics]
vendor: Acer Incorporated ALI driver: i915 v: kernel alternate: xe arch: Xe
process: Intel 10nm built: 2020-21 ports: active: eDP-1
empty: DP-1,DP-2,HDMI-A-1 bus-ID: 0000:00:02.0 chip-ID: 8086:46a3
class-ID: 0300
Device-2: NVIDIA GA107 [GeForce RTX 2050] vendor: Acer Incorporated ALI
driver: N/A alternate: nouveau, nvidia_drm, nvidia non-free: 550-580.xx+
status: current (as of 2025-11; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 bus-ID: 0000:01:00.0
chip-ID: 10de:25ad class-ID: 0302
Device-3: Quanta HD Webcam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:3 chip-ID: 0408:4033
class-ID: fe01 serial:
Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: AU Optronics 0xaf90 built: 2020 res:
mode: 1920x1080 hz: 144 scale: 100% (1) dpi: 142 gamma: 1.2
size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
drv: iris x11: drv: iris
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.3.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
device-ID: 8086:46a3 memory: 14.97 GiB unified: yes display-ID: :1.0
API: Vulkan Message: No Vulkan data available.
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdpyinfo, xprop, xrandr
2025-12-09 21:50:17: Info: nvidia-inst version 25.11-1
2025-12-09 21:50:17: Info: Command line: nvidia-inst --test
2025-12-09 21:50:17: Info: Selected mode: nvidia (Nvidia’s open source)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
==> Looks like all requested packages and settings are already OK!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hybrid gpu running on the igpu simply..

hi :waving_hand: @manuel :wink:

So is there anything I can do to fix it?

thats default way of what it will do, nvidia driver is doing so, you can switch Nvidia GPU on per application run or using a switcher tool to handle it.

https://discovery.endeavouros.com/nvidia/nvidia-optimus-notebooks-hybrid-graphics/2021/03/

Easiest way is to install nvidia-prime and use it as follows:

prime-run firefox (example)

Ah yeah, that’s the way it’s been before for a while. Thing is it doesn’t work now. It has no driver now. The system cannot use that GPU and has been sticking to iGPU for quite some time which I haven’t notice until now. I noticed it because I was trying to run a program using that GPU but it refuses cause the GPU doesn’t work.

you set something that is causing nvidia to be blacklisted?
adding configs or driver packages?

indeed it shows driver is not available also you checked and there is driver and modules installed

It could be but other than /etc/modprobe.d/ and /usr/lib/modprobe.d/, is there like anywhere else that could potential define nvidia to be blacklisted? And yeah nvidia drivers are installed and updated almost every week (with pacman -Syu)

cmd line? or as you said modules pathes..

systemd-boot would be in /etc/kernel/cmdline

I’ve just looked into that file and it showed some nvidia things blacklisted. So I removed the blacklisted nvidia modules and restarted my system. However, the GPU still isn’t working and it still says nvidia is blacklisted in journalctl.

Update: So I notice /proc/cmdline said the nvidia modules are blacklisted despite /etc/kernel/cmdline already edited to not have them blacklisted. I decided to dig further into what /proc/cmdline is actually reading from. Turns out it’s the .conf file of… idk what its technical name is but the path is /efi/loader/entries/somelonghashidthing-6.12.61-1-lts.conf. The file had the modules blacklisted so I edited it to remove the nvidia from the blacklist. Restarted my system and now it works!

Although, probably not the most optimal and efficient solution but I’ll take whatever for now. I think the reason why it happened in the first place was I had a previous boot issue before and I thought completely reinstalling the kernel from scratch was a good idea (it wasn’t even the solution, but eventually I fixed it).

something has written it there or you, but you woukld know so something :wink:
You may had a switcher tool installed before or still?

There was envycontrol installed. Maybe you used envycontrol and it blacklisted nvidia?

I said it the solution reply, it’s likely the fact that I did a clean reinstall of the kernel but without the nvidia tweaks so they became blacklisted by default. Still, thanks for your help with the cmdline though

from what i remeber using integrated mode on envycontrol will blacklist nvidia:

  -s MODE, --switch MODE
                        Switch the graphics mode. Available choices: integrated, hybrid, nvidia