# Nvidia drivers not working

**URL:** <https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664>\
**Category:** Gaming, sound and video\
**Created:** [March 12, 2021, 11:04pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664 "2021-03-12T23:04:52Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 24, 2021, 3:57am UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/82 "2021-03-24T03:57:49Z")

</div>

I’m not an expert. I do a lot of nvidia installs that are non hybrid on desktops and they have installation issues also. The problem is i don’t have the hardware to try things plus i think that not all manufacturers hybrid systems work the same way. I still think with your system that you need to get it working on intel first and then use one of the many methods of switching graphics or set it to use one or the other only. I’m not sure if you checked your Bios to see if one or the other can be turned off. If you are able to turn off the intel and use the nvidia only then try that. Other then that just keep trying to find information from a source that has gotten similar equipment working. I wish i could make it work for you. The last link i gave should help as well as the video posted earlier.

Edit: I’m just happy to see you not give up because that is worthy and how one learns. It’s not always the result we want but the endeavour is worth it.

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [March 24, 2021, 10:54am UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/83 "2021-03-24T10:54:12Z")

</div>

Xorg log:

> [@kamazeuci](#):
>
> [6.593] (II) Loading sub module “glxserver\_nvidia”  
> [6.593] (II) LoadModule: “glxserver\_nvidia”  
> [6.593] (WW) Warning, couldn’t open module glxserver\_nvidia  
> [6.593] (EE) NVIDIA: Failed to load module “glxserver\_nvidia” (module does not exist, 0)

You should have file  
`/usr/lib/nvidia/xorg/libglxserver_nvidia.so`  
Have you installed package `nvidia-utils`?

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 6:30pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/84 "2021-03-25T18:30:06Z")

</div>

> [@ricklinux](#):
>
> I still think with your system that you need to get it working on intel first

My system **IS** working with Intel, and no problem with that! driver `i915`. Sorry if that wasn’t clear.

> [@ricklinux](#):
>
> I’m not sure if you checked your Bios to see if one or the other can be turned off

I did check and there is no such option or alike.

> [@ricklinux](#):
>
> I wish i could make it work for you

😁  
thanks! I’m not giving up yet!

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 6:39pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/85 "2021-03-25T18:39:09Z")

</div>

> [@manuel](#):
>
> You should have file  
> `/usr/lib/nvidia/xorg/libglxserver_nvidia.so`  
> Have you installed package `nvidia-utils`?

I do have `nvidia-utils` installed (I think it was probably installed by `nvidia-installer-dkms`)  
and this are the contents of:

> /usr/lib/nvidia/xorg

```auto
lrwxrwxrwx 1 root root 29 mar 19 02:23 libglxserver_nvidia.so -> libglxserver_nvidia.so.460.67
lrwxrwxrwx 1 root root 29 mar 19 02:23 libglxserver_nvidia.so.1 -> libglxserver_nvidia.so.460.67
-rwxr-xr-x 1 root root 12680840 mar 19 02:23 libglxserver_nvidia.so.460.67

```

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:06pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/86 "2021-03-25T19:06:41Z")

</div>

If the Intel is working have you tried installing the Optimus manager?

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 7:18pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/87 "2021-03-25T19:18:03Z")

</div>

That is exactly what I am doing right now. In fact, I am searching for"`Arch nvidia prime vs bumblebee vs optimus manager vs nvidia-xrun`", as I have all those options and don’t know which one to choose.  
[https://wiki.archlinux.org/index.php/NVIDIA\_Optimus#Use\_switchable\_graphics](https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_switchable_graphics)  
There is even an additional project not featured in the Arch Wiki:

> **[GitHub - dglt1/optimus-switch: \*installer finished\* installs nvidia prime and...](https://github.com/dglt1/optimus-switch)**
>
> \*installer finished\* installs nvidia prime and makes switching to intel only and back again easy as one command. intel mode fully disables the nvidia gpu to extend battery life. - GitHub - dglt1/op...

I really don’t mind if swtching between iGPU and dGPU needs reboot, I just would like to have a reliable system in which nVidia performance is as best as possible and intel performance is as energy saving as possible.  
Is optimus-manager the way to go?

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:19pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/88 "2021-03-25T19:19:49Z")

</div>

Try optimus manager first as it is the easiest as far as I’m concerned. What desktop are you on? The Instructions are in the wiki for them.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:22pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/89 "2021-03-25T19:22:05Z")

</div>

Are you sure there is no option to turn off the dedicated GPU? Or the integrated GPU? 😉

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 7:22pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/90 "2021-03-25T19:22:58Z")

</div>

Yes, I am totally completely positive that there is no option in the BIOS for anything like that.

I am on i3wm with lightdm

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:24pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/91 "2021-03-25T19:24:28Z")

</div>

Okay that explains a lot. I’m not that familiar with I3. I would bet that if you were on one of the other desktops it would be easier. 🙂

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 7:26pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/92 "2021-03-25T19:26:32Z")

</div>

I might consider going back to KDE just to try, but I love so much I3wm. Hard to go back, it is really more efficient IMHO.

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 7:27pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/93 "2021-03-25T19:27:33Z")

</div>

> [@ricklinux](#):
>
> Try optimus manager first as it is the easiest as far as I’m concerned. What desktop are you on? The Instructions are in the wiki for them.

I will follow this guide

> [@\[Guide\] Install Nvidia hybride graphics with Optimus and Vulkan support](https://forum.endeavouros.com/t/guide-install-nvidia-hybride-graphics-with-optimus-and-vulkan-support/1661):
>
> —\> Please consider reading the [EndeavorOS WIKI](https://discovery.endeavouros.com/category/nvidia/) to see the latest updates and changes Hi Everyone, Here i want to share my guide to properly install the Nvidia drivers on a laptop with hybride graphics (Intel/Nvidia), and also get the full performance of the Nvidia proprietary drivers with Optimus Manager. After a lot of trail and error, (non bootable Arch, editing conf files files etc.) i managed to find the best way and the easiest way to install the Nvidia drivers and get the full perform…

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:28pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/94 "2021-03-25T19:28:11Z")

</div>

I love kde and i’m looking at I3 on KDE as some others have done.

> [@Plasma launching alongside i3](https://forum.endeavouros.com/t/plasma-launching-alongside-i3/13034):
>
> Hi, I just installed EndeavourOS and I chose to install with both plasma and i3. When I launch plasma it works just fine, but when I launch i3 it launches both i3 and plasma. I had trouble finding any solutions, so I was wondering if anyone has experienced similar issues? Or maybe someone knows why this is happening? Thanks!

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:31pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/95 "2021-03-25T19:31:46Z")

</div>

That guide is good but i have done it with bypassing installing bumblebee. Not sure that is needed but try it via this guide as it doesn’t hurt anything. You are installing it and then you disable the service but maybe it configures everything properly without any manual intervention or hassle.

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 7:32pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/96 "2021-03-25T19:32:11Z")

</div>

> [@kamazeuci](#):
>
> > [@ricklinux](#):
> >
> > Try optimus manager first as it is the easiest as far as I’m concerned. What desktop are you on? The Instructions are in the wiki for them.
> 
> I will follow this guide  
> [[Guide] Install Nvidia hybride graphics with Optimus and Vulkan support](https://forum.endeavouros.com/t/guide-install-nvidia-hybride-graphics-with-optimus-and-vulkan-support/1661)

Maybe not. I think I’ll better follow OptimusManager official readme

> **[GitHub - Askannz/optimus-manager: A Linux program to handle GPU switching on Optimus...](https://github.com/Askannz/optimus-manager)**
>
> A Linux program to handle GPU switching on Optimus laptops.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:50pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/97 "2021-03-25T19:50:49Z")

</div>

I just switched to I3 on KDE and it’s awesome. Log into either one. My advantage is i have an AMD system with RX 590 Graphics card and a Ryzen 7 3800X.

---

<div class="post-metadata">

**Author:** ![kamazeuci](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/e9bcb4/32.png) [@kamazeuci](https://forum.endeavouros.com/u/kamazeuci)\
**Post date:** [March 25, 2021, 7:53pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/98 "2021-03-25T19:53:08Z")

</div>

Gentlemen: the day has come!  
Short answer: I was never able to run pure Nvidia graphics without Optimus Manager. After installing optimus manager, I managed to make it work. At the bottom of this post I paste the final working Xorg conf file that optimus manager generated for me.

The steps I took were:

1. Delete all GPU related conf files in both `/usr/share/X11/xorg.conf.d` and `/etc/X11/xorg.conf.d`
2. `yay nvidia-lts`, because I am using `linux-lts` kernel (although maybe this step was not needed)
3. `yay optimus-manager`
4. reboot
5. `sudo prime-offload`
6. `sudo optimus-manager --switch nvidia`

Now I am (at last!) running on my nVidia dGPU. Next time, I will try to get an AMD with open source drivers.  
I do have some issues though, I think I will solve tinkering with Arandr, and other issues like no backlight and no tray icons, but I will let you guys rest and bother somebody else (or maybe you again) in another forum post.

In case somebody is interested, here is the working xorg conf file:

> **/etc/X11/xorg.conf.d/10-optimus-manager.conf**
>
> ```auto
> ModulePath "/usr/lib/nvidia"
> ModulePath "/usr/lib32/nvidia"
> ModulePath "/usr/lib32/nvidia/xorg/modules"
> ModulePath "/usr/lib32/xorg/modules"
> ModulePath "/usr/lib64/nvidia/xorg/modules"
> ModulePath "/usr/lib64/nvidia/xorg"
> ModulePath "/usr/lib64/xorg/modules"
> EndSection
> 
> Section "ServerLayout"
> Identifier "layout"
> Screen 0 "nvidia"
> Inactive "integrated"
> EndSection
> 
> Section "Device"
> Identifier "nvidia"
> Driver "nvidia"
> BusID "PCI:8:0:0"
> Option "Coolbits" "28"
> EndSection
> 
> Section "Screen"
> Identifier "nvidia"
> Device "nvidia"
> Option "AllowEmptyInitialConfiguration"
> EndSection
> 
> Section "Device"
> Identifier "integrated"
> Driver "modesetting"
> BusID "PCI:0:2:0"
> EndSection
> 
> Section "Screen"
> Identifier "integrated"
> Device "integrated"
> EndSection
> 
> ```

EDIT: I want to thank @manuel, @joekamprad, @Mikro and specially @ricklinux for giving their time and effort on solving this issue. I think the lesson learned here is: If you are having trouble running Nvidia driver alone on an hybrid laptop, try doing it with optimus manager. Looking forward to keep in this Endeavour.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:54pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/99 "2021-03-25T19:54:28Z")

</div>

Awesome … I knew it would work! 😄

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [March 25, 2021, 7:55pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/100 "2021-03-25T19:55:44Z")

</div>

Great work! 👍

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 25, 2021, 7:56pm UTC](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664/101 "2021-03-25T19:56:24Z")

</div>

So does this mean you are strictly on I3 and able to switch graphics now?

[Previous page](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664.md?page=4)

[Next page](https://forum.endeavouros.com/t/nvidia-drivers-not-working/12664.md?page=6)
