I've been getting the error that /usr/src/linux doesn't exist. What can I do? Using manjaro with kernel 5.14.7-2
Search Criteria
Package Base Details: nvidia-340xx
Package Actions
Git Clone URL: | https://aur.archlinux.org/nvidia-340xx.git (read-only, click to copy) |
---|---|
Submitter: | simonsmh |
Maintainer: | JerryXiao |
Last Packager: | JerryXiao |
Votes: | 70 |
Popularity: | 0.21 |
First Submitted: | 2019-06-07 10:29 (UTC) |
Last Updated: | 2024-03-17 06:41 (UTC) |
Packages (2)
Latest Comments
« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 55 Next › Last »
Meganium97 commented on 2021-10-02 19:30 (UTC)
arch4ngel commented on 2021-09-25 09:35 (UTC) (edited on 2021-09-25 09:35 (UTC) by arch4ngel)
So, it now works in 5.14.7-arch1-1, but no longer boots (just a blank screen and _ in the top left corner) in 5.10.68-1 (linux lts)
I have linux lts installed as stable mainline often breaks (until there's a fix to this package). Given 5.10 will now be supported for many years, it was my mitigation against the instability of mainline non-lts.
It's nice 5.14 works but if it breaks in 5.15 at some point, I won't be able to use 5.10 in the interim. Any ideas?
vicpt commented on 2021-09-24 08:53 (UTC)
Sorry guys for not reply (special in gitlab) but I have been busy in rl. About the b2sum, it was correct to my local revision. Probably during the clone/merge process something escaped to my tired eyes.
I'm glad it helped.
auriculaire commented on 2021-09-24 07:55 (UTC)
Everything works very well. Thanks. However, I never found on the web the answer to this question about Nvidia:
why /dev/dri/renderD128 isn't in /dev/dri ?
Galard commented on 2021-09-21 10:55 (UTC)
Thank you very much! The driver is working.
MegaDeKay commented on 2021-09-21 01:14 (UTC)
Latest -24 version works great for me on 5.14.6.arch1-1. /dev/drm is present and SDDM works too. My hats off to the devs that are keeping my old laptop going with the latest and greatest!
tuxsavvy commented on 2021-09-16 12:41 (UTC) (edited on 2021-09-20 15:39 (UTC) by tuxsavvy)
@alou-S You need to manually create the /etc/X11/xorg.conf.d/20-nvidia.conf
. The filename 20-nvidia.conf
is totally optional here, I personally named it because:
-
It is easier to know exactly what sort of contents would be expected within that file, at a glance; it is pertaining to nvidia of course, and,
-
The prefixing of the numbers indicates that it has a higher priority/preference when Xorg starts.
Have a look at Arch Linux wiki, troubleshooting nvidia page. It gives you an idea of why I chose to use that filename, and to have that file there, even though that linked issue does not specifically apply to me.
alou-S commented on 2021-09-15 16:19 (UTC) (edited on 2021-09-15 16:29 (UTC) by alou-S)
@tuxsavvy Nvm, I figured it out. Just had to add this to my xorg.conf
Section "Files"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
Also realized that /etc/X11/xorg.conf.d/20-nvidia.conf
doesn't exist for me, coping it over from /usr/share/nvidia-340xx
doesn't seem to fix the issue so had to add it to xorg.conf
tuxsavvy commented on 2021-09-15 15:17 (UTC)
@alou-S There's not enough information with regards to your issue. I have found a workaround to ensure that glxinfo -B
does show my card. If this does not work, then I do not know how to solve your issue.
In my /etc/X11/xorg.conf.d/20-nvidia.conf
,
# (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
# (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
# (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
# (EE) NVIDIA(0): you continue to encounter problems, Please try
# (EE) NVIDIA(0): reinstalling the NVIDIA driver.
# https://bbs.archlinux.org/viewtopic.php?pid=1702290#p1702290
# https://bugs.archlinux.org/task/53090#comment164782
Section "Files"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "1"
BoardName "GeForce <censored>"
EndSection
Perhaps try referring to the links in lines prepended with #
character.
alou-S commented on 2021-09-15 12:25 (UTC)
@tuxsavvy Hmm other than the /dev/dri
listing issue and sddm
issue. The other problem is that OpenGL doesn't seem to work anymore. glxinfo
gives some sort of (NV-GLX)
error.
Pinned Comments
JerryXiao commented on 2022-10-13 03:51 (UTC) (edited on 2022-10-14 02:44 (UTC) by JerryXiao)
For testing users, contributors: check out https://github.com/archlinux-jerry/nvidia-340xx
Warning: force push may happen to match the aur tree