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.186961
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 .. 42 43 44 45 46 47 48 49 50 51 52 .. 55 Next › Last »

laggykiller commented on 2020-04-12 04:11 (UTC)

@osvxos Problem solved! The directory that contains 'nvidia-340xx' has blank space, this explains why the directory looks funny. Solved by renaming directories such that they don't contain blank space. Thank you!

osvcos commented on 2020-04-11 21:31 (UTC) (edited on 2020-04-11 21:32 (UTC) by osvcos)

@laggykiller - How are you building the package? (makepkg/chroot/aur helper) According to the logs you provided, you seem to be building in the "nvidia-340xx" directory inside your home directory, but this line

make[1]: *** No rule to make target 'Nvidia/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel'.  Stop.

indicates that there is a "Nvidia" directory preceding "nvidia-340xx". The error is because the Makefile in the kernel sources cannot switch back to 'Nvidia/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel' because it is a relative directory. It should be something like '/home/user/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel'.

laggykiller commented on 2020-04-11 18:21 (UTC) (edited on 2020-04-11 19:07 (UTC) by laggykiller)

~/nvidia-340xx/nvidia-340xx-340.108-7-x86_64-build.log https://pastebin.com/MecDxwV8

~/nvidia-340xx/nvidia-340xx-340.108-7-x86_64-prepare.log https://pastebin.com/LqVbeyhJ

Also, not sure if related, but installing driver from nvidia (https://www.nvidia.com/Download/driverResults.aspx/156163/en-us) does not work in linux kernel 5.6.3.arch1-1 as well. The driver installed and ran without any problem in linux kernel 5.5.13-arch2-1. Here is the log file from /var/log/nvidia-installer.log https://pastebin.com/QUt1bXPL

osvcos commented on 2020-04-10 21:43 (UTC)

@laggykiller - Builds well here. What is the error?

laggykiller commented on 2020-04-10 20:40 (UTC)

Does not work on linux 5.6.3.arch1-1 kernel even with the latest patch provided.

graysky commented on 2020-04-07 13:21 (UTC)

@osvcos - Thanks for the patch!

osvcos commented on 2020-04-07 05:30 (UTC)

@VijayPleo - Place the patch in the same directory than the PKGBUILD. Then with a text editor edit the PKGBUILD source array:

source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run"
  01-fix_multi_core_build.patch
  02-unfuck-for-340.108-build-fix.patch
  03-unfuck-for-5.5.x.patch
  04-fix_message_in_dmesg.patch
  kernel-5.6.patch
)

and then in the sha256sum array:

sha256sums=('995d44fef587ff5284497a47a95d71adbee0c13020d615e940ac928f180f5b77'
            '82d14e9e6ec47c345d225d9f398238b7254cd5ae581c70e8521b9157ec747890'
            '2b7e3ef24846a40f4492e749be946e4f7f70ebed054bc2c9079f6cbdcbfabe57'
            'c28d65854dd03e6a9e00d79fa0ca3521c11b2c198882bbd50870c8e71d18d765'
            '7f90e80be6338f6fc902d257d8ceb09e89b40d008f7a3ad9fe82833cd5b89316'
            'SKIP')

then save the file and run makepkg

VijayPleo commented on 2020-04-07 05:01 (UTC) (edited on 2020-04-07 05:10 (UTC) by VijayPleo)

@osvcos - How to apply the fix specified in this https://pastebin.com/3zaKNyDV ? Sorry I am a newbie to arch

I am also getting the error in kernel 5.6.2 arch 1-2

osvcos commented on 2020-04-07 00:14 (UTC)

Hello everyone, here is a patch: https://pastebin.com/3zaKNyDV

Manjaro was the first one as far as I know (https://gitlab.manjaro.org/packages/extra/linux56-extramodules/nvidia-340xx/-/blob/master/340.108-build-fix.patch) to release a patch, but:

  • It fixes things we fixed before
  • It modifies more files than this patch
  • This patch uses tests (conftest) instead of relying on kernel version

hackins commented on 2020-04-06 21:53 (UTC) (edited on 2020-04-06 21:59 (UTC) by hackins)

Can’t make to work this package on linux 5.6.2-arch1-2

anyone know what to fix?

Makepkg finishes with

“****

error: implicit declaration of function •drm_pci_exit•;

did you mean •drm_dev_exit•? [-Werror=implicit-function-declaration]


Some warnings being treated as errors

****”