Package Base Details: nvidia-340xx

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.22
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2024-03-17 06:41 (UTC)

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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 55 Next › Last »

sebalis commented on 2023-08-27 13:07 (UTC) (edited on 2023-08-27 13:09 (UTC) by sebalis)

I think it is getting old in a sense, because it seems that the driver doesn’t fully support what a modern OpenGL is expected to provide ... If I understand correctly.

I encountered something similar with baobab, the GNOME „disk usage analyzer“. Starting it from the command line, I get:

No provider of glGenSamplers found. Requires one of: Desktop OpenGL 3.3 GL_ARB_sampler_objects OpenGL ES 3.0

Research led me to https://gitlab.gnome.org/GNOME/gtk/-/issues/5858 and I ended up prefixing the command line with “usr/bin/env GDK_DEBUG=gl-glx” in my baobab starter. Now baobab is working again but I fear that this problem might spread.

auriculaire commented on 2023-08-26 14:47 (UTC)

Hello. I've been having some problems for a while with applications using OpenGL: 1- playing a video on Gnome's "totem" is no longer possible: "OpenGL support initialization failed"... 2- "gnome-calculator" no longer launches... 3- Qemu with "virtio-vga-gl" parameter is no longer possible (error messages). Is nvidia-340 getting old? or is it something else?

bigjuck commented on 2023-08-03 19:45 (UTC)

The very simple solution for me, is updating first gcc and so on, after that restart, and then updating linux and rebuilding nvidia dkms

sebalis commented on 2023-08-02 21:22 (UTC)

I tried it without rebooting after the upgrade, but then my X session would not start on the next reboot. I did not need to disable the login manager precisely for that reason :-) Just did the install again from the terminal and rebooted once again, and I’m back.

Regarding IGNORE_CC_MISMATCH=1, I still believe that prepending “env CC=gcc” to the two calls to “make” is the best recipe (although the maintainer disagreed previously). Normally I don’t get any messages about a mismatch, but I did get the error this time when dkms tried to install the old nvidia-340xx-dkms on the new kernel. That is of course correct and helpful as an alert that recompiling is needed.

Anakievs commented on 2023-08-02 19:42 (UTC) (edited on 2023-08-02 19:54 (UTC) by Anakievs)

It's just stupid every time gcc updates to ask for it. The kernel is build with the new gcc and your driver with the old one. You have to recompile the driver. And don't use IGNORE_CC_MISMATCH=1. This is how I do it (it also might be easier to build it in clean chroot https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot#Building_in_the_chroot):

Upgrade your system. Uninstall "nvidia-340xx-dkms" and "nvidia-340xx-utils". Reboot in tty (in grub add "3" to the kernel parameters) or disable the login manager. Clone and build both "https://aur.archlinux.org/nvidia-340xx-utils.git" and "https://aur.archlinux.org/nvidia-340xx.git". Install the new driver and reboot.

You may be able to rebuild it without reboot (after the system upgrade) but cannot confirm it because I haven't tried.

holyArch commented on 2023-08-02 02:37 (UTC)

dkms install --no-depmod nvidia/340.108 -k 6.4.7-arch1-2 Error! Bad return status for module build on kernel: 6.4.7-arch1-2 (x86_64) Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information. `dkms install --no-depmod nvidia/340.108 -k 6.4.7-arch1-2' exited 10

Workaround: sudo env IGNORE_CC_MISMATCH=1 dkms install -m nvidia -v 340.108 -k 6.4.7-arch1-2

Lostless commented on 2023-07-18 19:53 (UTC)

When loading kernel modules in Linux 6.4.3, GCC gives a different version error. When I load the module with IGNORE_CC_MISMATCH=1, it does not open.

lmh69 commented on 2023-07-11 20:36 (UTC)

@FuckNvidiaDS Yep.

FuckNvidiaDS commented on 2023-07-08 06:46 (UTC)

Will this work with kernel 6.4 ?