If I install the nvidia-dkms package, will that be replacing a package in my system, if so which one?
Can the new module be loaded in runtime or does it require a reboot?
]]>Actually I tried all variations:
1. nvidia arch package
2. nvidia 455xx dkms from AUR
3. nvidia 450xx dkms from AUR
4. nvidia 455 from Nvidia web
5. nvidia 450 from Nvidia web
...2-5 with and without kmalloc patch.
Sadly no improvement in my case. Following nvidia forum and retesting after each realase.
]]>Warning: Avoid installing the NVIDIA driver through the package provided from the NVIDIA website. Installation through pacman allows upgrading the driver together with the rest of the system.
sudo systemctl stop gdm
and then retry to install successfully. Be aware that after you stop gdm, you have to switch to another console CTRL+ALT+F(2-9).
Hope this will help.
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 7723c97..2a80fd6 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -13,10 +13,12 @@ options=('!strip')
_pkg="NVIDIA-Linux-x86_64-${pkgver}"
source=('nvidia-drm-outputclass.conf'
'nvidia-utils.sysusers'
- "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
+ "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run"
+ 'http://people.freedesktop.org/~aplattner/reduce-kmalloc-limit-455.38.patch')
sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
- '0430e201f34ed40afbd393274bedb855a680e1439e52d58435ec5dcfc4037f72dbefa9598af66ffac455af2289df07cfa3b7de92d5e541e6c70c93ebba93b146')
+ '0430e201f34ed40afbd393274bedb855a680e1439e52d58435ec5dcfc4037f72dbefa9598af66ffac455af2289df07cfa3b7de92d5e541e6c70c93ebba93b146'
+ '2a23f98a9d7c498cdedb98a4b5753565bff0201d809c368f4e263139545ffffa72e3654ddb46818200edd2993fc7e41cdeadff49049ec503c872528f023b6ca3')
create_links() {
@@ -32,6 +34,9 @@ create_links() {
prepare() {
sh "${_pkg}.run" --extract-only
cd "${_pkg}"
+ pushd kernel
+ patch -p1 -i "$srcdir"/reduce-kmalloc-limit-455.38.patch
+ popd
bsdtar -xf nvidia-persistenced-init.tar.bz2
cd kernel
my machine has an Nvidia Geforce GTX 1060 6GB graphics card and I want a working driver for it.
Unfortunately the "nvidia" package has a bug that makes the system freeze (see https://forums.developer.nvidia.com/t/4 … nts/155250 and https://bbs.archlinux.org/viewtopic.php?id=260131)
Nvidia suggested
1. Download http://people.freedesktop.org/~aplattne … 5.38.patch 28
2. Apply it to the .run package with
bash NVIDIA-Linux-x86_64-455.38.run --apply-patch reduce-kmalloc-limit-455.38.patch
3. Install the resulting .run package
bash NVIDIA-Linux-x86_64-455.38-custom.run
The Problem is that I failed to install this driver:
When I run NVIDIA-Linux-x86_64-455.38-custom.run
I get:
ERROR: An NVIDIA kernel module ‘nvidia-drm’ appears to already be loaded in
your kernel. This may be because it is in use (for example, by an X
server, a CUDA program, or the NVIDIA Persistence Daemon), but this
may also happen if your kernel was configured without support for
module unloading. Please be sure to exit any programs that may be
using the GPU(s) before attempting to upgrade your driver. If no
GPU-based programs are running, you know that your kernel supports
module unloading, and you still receive this message, then an error
may have occured that has corrupted an NVIDIA kernel module’s usage
count, for which the simplest remedy is to reboot your computer.
So I removed the nvidia driver package (pacman -R nvidia) and rebooted. It rebooted into a text console and I ran NVIDIA-Linux-x86_64-455.38-custom.run again, but it tells me to unload Nouveau. I tried modprobe -r nouveau, but this returned “modprobe: FATAL: Module nouveau is in use.”. I also tried rmmod -f nouveau, but this made by screen go dark. The same problem arises when I try to execute it while arch-chrooting into my system from the Arch iso.
Any ideas on how to install this driver?
]]>