Package Details: nvidia-340xx-dkms 340.108-37

Git Clone URL: https://aur.archlinux.org/nvidia-340xx.git (read-only, click to copy)
Package Base: nvidia-340xx
Description: NVIDIA driver sources for linux, 340xx legacy branch
Upstream URL: https://www.nvidia.com/
Licenses: custom
Conflicts: nvidia, nvidia-340xx
Provides: nvidia-340xx
Submitter: simonsmh
Maintainer: JerryXiao
Last Packager: JerryXiao
Votes: 70
Popularity: 0.162115
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2024-05-10 16:52 (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

1 2 3 4 5 6 .. 56 Next › Last »

MegaDeKay commented on 2024-05-10 13:57 (UTC)

Thank you for the clarification @Anakievs

Nebulosa commented on 2024-05-09 10:16 (UTC) (edited on 2024-05-09 18:13 (UTC) by Nebulosa)

Does not compile on gcc v14.

You should downgrade:

gcc 14.1.1+r1+g43b730b9134-1 -> 13.2.1-6

gcc-libs 14.1.1+r1+g43b730b9134-1 -> 13.2.1-6

AND

linux 6.8.9.arch1-2 -> 6.8.9.arch1-1

linux-headers 6.8.9.arch1-2 -> 6.8.9.arch1-1

Edit: may be this could help: https://bbs.archlinux.org/viewtopic.php?id=295600

sayonalion commented on 2024-05-09 09:46 (UTC) (edited on 2024-05-09 18:21 (UTC) by sayonalion)

When building it fails with the following error.

<...>/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:326:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
  326 | #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"

What can be the reason of this? How the problem can be tackled?

linux-lts 6.6.30; gcc 14.1.1+r1+g43b730b9134

Anakievs commented on 2024-05-07 10:11 (UTC) (edited on 2024-05-07 10:15 (UTC) by Anakievs)

@MegaDeKay Yes, everything works with kernel 6.8 without manual intervention (tested on real hardware). Read here for more information:
https://github.com/archlinux-jerry/nvidia-340xx/issues/8
I've left the original post if someone still has a problem and copying 'drm_legacy.h' is a solution for them.

earlybird commented on 2024-05-07 09:14 (UTC)

is it possible to add an extra conflict package from conflicts=('nvidia') to conflicts=('nvidia' 'nvidia-dkms')

MegaDeKay commented on 2024-05-07 01:02 (UTC)

@Anakievs: To clarify, you are saying that everything works now with this driver compiled on Arch with a new 6.8 kernel, including direct rendering?

Anakievs commented on 2024-04-23 08:12 (UTC) (edited on 2024-04-23 08:14 (UTC) by Anakievs)

$ glxinfo | grep "direct rendering"
direct rendering: Yes

$ uname -r
6.8.7-arch1-1

holyArch commented on 2024-04-23 00:07 (UTC)

@Anakievs: What's the output if you run: glxinfo | grep "direct rendering"?

"Yes" or "No"?

Anakievs commented on 2024-04-15 19:03 (UTC)

@NSLW I don't have a black screen issue. I've thought I've made something revolutionary about the drm issue. Then I've realised that I've made nothing.

I've just compiled the driver on Debian 12. I like Arch a lot more but I look for other options.

NSLW commented on 2024-04-13 15:53 (UTC) (edited on 2024-04-13 15:54 (UTC) by NSLW)

@Anakievs did you try to add

Section "Device"
    Identifier  "Videocard0"
    Driver      "nvidia"
EndSection

to your /etc/X11/xorg.conf to fix the black screen issue?