You are not logged in.
I have the same problem after I updated my desktop on Monday.
I tried to install lts kernel, reinstalled nvidia-470xx packages - nothing worked. I checked /var/log/Xorg.0.log - tit output error
"failed to initialize the nvidia kernel module"
. I stuck at this problem for 2 days and nobody, nothing can help me.
I've found discussion here but I didn't get how to make that patch. I cloned it to my home directory and couldn't makepkg. What's wrong I did and what should I do? Help me please. [SOLVED]
Last edited by marol (2023-07-05 19:30:02)
Offline
"failed to initialize the nvidia kernel module"
I severely doubt that this is the same problem, but please post a complete system journal and the complete Xorg log.
Offline
Journal
I tried to find how to post Xorg log, but I couldn't.
lspci -k | grep -A 2 -E "(VGA|3D)"
09:00.0 VGA compatible controller: NVIDIA Corporation Gk208B [GeForce GT 710] (rev a1)
Subsystem: ASUStek Computre Inc. GT710-4H-SL-2GD5
Kernel modules: nouveau
It's wierd... Whole year I used nvidia-470-xx and it worked flawlessly till Monday.
Offline
cat /path/to/your/xorg.0.log | curl -F 'f:1=<-' ix.io
Nouveau is blacklisted and there's no kernel module for 6.1.37-1-lts,
pacman -Qs 470xx; dkms status
Edit: the xorg log is currently not relevant.
Last edited by seth (2023-07-05 07:06:29)
Offline
cat /path/to/your/xorg.0.log | curl -F 'f:1=<-' ix.io
Thank you! Done
Nouveau is blacklisted and there's no kernel module for 6.1.37-1-lts,
So, it means that there's no need to remove it from blacklist and to install it?
pacman -Qs 470xx; dkms status
Edit: the xorg log is currently not relevant.
Here it is:
local/libxnvctrl-470xx 470.199.02-1
NVIDIA NV-CONTROL X extension
local/mhwd-nvidia-470xx 470.94-1
mhwd-nvidia-470xx PCI ID database
local/nvidia-470xx-dkms 470.182.03-2
NVIDIA drivers - module sources
local/nvidia-470xx-settings 470.199.02-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-470xx-utils 470.182.03-2
NVIDIA drivers utilities
local/opencl-nvidia-470xx 470.182.03-2
OpenCL implemention for NVIDIA
nvidia/470.182.03: added
Offline
nvidia/470.182.03: added
No modules have been built by dkms for nvidia/470.182.03. Lack of kernel headers? This proves the issue is unrelated to alu1's.
Please ask a moderator to split your issue off.
Last edited by loqs (2023-07-05 11:14:06)
Offline
Reported.
Offline
Offline
I removed xf86-video-amdgpu, which I wanted to use as integrated videocard. And linux-lts, which I thought could work instead of linux kernel. I followed some advices, given in other themes here. No result.
$ grep -Er '(nvidia|nouveau)' /{etc,usr/share}/X11/xorg.conf.d
/etc/X11/xorg.conf.d/20-nvidia.conf: Driver "nvidia"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf: Identifier "nvidia"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf: MatchDriver "nvidia-drm"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf: Driver "nvidia"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf: ModulePath "/usr/lib/nvidia/xorg"
I copied 10-nvidia-drm-outputclass.conf to /etc/X11/xorg.conf.d - didn't work.
lspci -k
09:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
Subsystem: ASUSTeK Computer Inc. GT710-4H-SL-2GD5
Kernel modules: nouveau
Offline
Lack of kernel headers?
pacman -Qs headers
Otherwise rebuild the dkms modules and post the build log, https://wiki.archlinux.org/title/Dynami … ld_modules
Offline
loqs wrote:Lack of kernel headers?
pacman -Qs headers
local/acl 2.3.1-3
Access control list utilities, libraries and headers
local/amf-headers 1.4.29-1
Header files for AMD Advanced Media Framework
local/libcups 1:2.4.6-1
OpenPrinting CUPS - client libraries and headers
local/linux-api-headers 6.3-1
Kernel headers sanitized for use in userspace
local/linux-headers 6.4.1.arch2-1
Headers and scripts for building modules for the Linux kernel
local/spice-protocol 0.14.4-1
Headers for SPICE protocol
local/vulkan-headers 1:1.3.256-1 (vulkan-devel)
Vulkan header files
local/xorgproto 2023.2-1
combined X.Org X11 Protocol headers
Offline
Did you look at it? How many header packages for the LTS kernel did you see?
Offline
Did you look at it? How many header packages for the LTS kernel did you see?
I'm sorry, I'm not so much advanced in Linux. I removed lts kernel and I see no mention "lts" at this list. I can only guess it's linux-api-headers 6.3-1.
Offline
Offline
I removed lts kernel
Why?
Online
Excuse me, but how this link can help me to solve my problem? There are lists of Dependencies, Required By along with Package Contents and Links to so-names. It's a huge amount of information. Please, can you point out what I should remove/install which commands to enter, so that I can see my computer is working as it was?
Thank you.
Offline
marol wrote:I removed lts kernel
Why?
Because after I installed it and edited boot-manager, nothing changed. May be I missed something... IDK.
Offline
You need to install linux-lts and linux-lts-headers packages so that nvidia-470xx-dkms package can build the nvidia module for the LTS kernel so that you can boot the LTS kernel and a working graphical session until the drivers have received an update for the 6.4 kernel.
Last edited by V1del (2023-07-05 14:39:06)
Offline
Please read Dynamic_Kernel_Module_Support#Installation
Offline
@V1del and @loqs - THANK YOU!!! It worked! The only thing - I see my screen only after I enter tty2 and make "startx".
Offline
FWIW there's a modified and patched version of the PKGBUILD available in the comments: https://aur.archlinux.org/pkgbase/nvidi … ent-922190 -- but going by the general confusion you might want to stick to the LTS kernel for now until the package is updated by the maintainer/nvidia themselves potentially.
As for the the additional quirk of you seeing the screen only after doing that. Is sddm not starting? Can you post a new journal as well as /var/log/Xorg.0.log ? Might have to enable early loading to make sure the drivers are up before SDDM tries to launch: https://wiki.archlinux.org/title/NVIDIA … de_setting
Offline
You need to install linux-lts and linux-lts-headers packages so that nvidia-470xx-dkms package can build the nvidia module for the LTS kernel so that you can boot the LTS kernel and a working graphical session until the drivers have received an update for the 6.4 kernel.
I missed 470xx had not been updated for 6.4
$ git clone https://aur.archlinux.org/nvidia-470xx-utils.git
$ cd nvidia-470xx-utils/
$ curl -o PKGBUILD.diff http://ix.io/4zP5 # Download patch
$ git apply -v PKGBUILD.diff # Apply patch
$ makepkg -rsi # Build and install updated 470xx packages
Edit:
Note I have not included the 6.4 patch as it is not needed.
(6/6) Install DKMS modules
==> dkms install --no-depmod nvidia/470.199.02 -k 6.4.1-arch2-1
==> depmod 6.4.1-arch2-1
Last edited by loqs (2023-07-05 15:18:58)
Offline
Ah so they did provide an update already, looks like we'd need to get a more active maintainer there.
Offline
Edit: ...
Yes, I had similar result.
FWIW there's a modified and patched version of the PKGBUILD available in the comments: https://aur.archlinux.org/pkgbase/nvidi … ent-922190 -- but going by the general confusion you might want to stick to the LTS kernel for now until the package is updated by the maintainer/nvidia themselves potentially.
Thank you, I read that topic and I couldn't make that patch. To me it's too sophisticated and complicated I'd like to stick to LTS until there will be stable patch for nvidia-470xx.
As for the the additional quirk of you seeing the screen only after doing that. Is sddm not starting? Can you post a new journal as well as /var/log/Xorg.0.log ? Might have to enable early loading to make sure the drivers are up before SDDM tries to launch: https://wiki.archlinux.org/title/NVIDIA … de_setting
I don't use SDDM or any other DM. Only autostart X by means of xinitrc.
Offline
loqs wrote:Edit: ...
Yes, I had similar result.
You mean 470.199.02 worked for you too without requiring a patch for linux 6.4?
V1del wrote:FWIW there's a modified and patched version of the PKGBUILD available in the comments: https://aur.archlinux.org/pkgbase/nvidi … ent-922190 -- but going by the general confusion you might want to stick to the LTS kernel for now until the package is updated by the maintainer/nvidia themselves potentially.
Thank you, I read that topic and I couldn't make that patch. To me it's too sophisticated and complicated I'd like to stick to LTS until there will be stable patch for nvidia-470xx.
Waiting for https://lists.archlinux.org/archives/li … 4F3LTLESO/ to be actioned.
Offline