- Arch Linux User Repository
- lmh69 commented on 2022-05-29 12:52 (UTC) (edited on 2022-05-29 13:09 (UTC) by lmh69)
- poluyan commented on 2022-05-28 20:36 (UTC)
- calvinh commented on 2022-05-28 19:55 (UTC)
- Zodigram commented on 2022-05-20 05:43 (UTC)
- sebalis commented on 2022-05-20 03:13 (UTC)
- Arch Linux User Repository
- holyArch commented on 2023-07-03 16:49 (UTC)
- mirh commented on 2023-06-29 15:53 (UTC)
- visious5d commented on 2023-06-18 09:59 (UTC) (edited on 2023-06-18 10:53 (UTC) by visious5d)
- sebalis commented on 2023-06-15 13:51 (UTC)
- Anakievs commented on 2023-06-15 13:14 (UTC) (edited on 2023-06-15 13:18 (UTC) by Anakievs)
- sebalis commented on 2023-06-14 23:24 (UTC)
- Arch Linux User Repository
- kiffmet commented on 2019-10-08 20:18 (UTC) (edited on 2019-10-08 20:22 (UTC) by kiffmet)
- yigitdnz commented on 2019-10-07 15:34 (UTC)
- osvcos commented on 2019-10-07 11:55 (UTC)
- yigitdnz commented on 2019-10-06 21:20 (UTC) (edited on 2019-10-06 21:20 (UTC) by yigitdnz)
- leopseft commented on 2019-10-06 12:43 (UTC)
- JerryXiao commented on 2019-10-06 05:38 (UTC)
- taro_kun commented on 2019-10-06 02:10 (UTC) (edited on 2019-10-06 02:19 (UTC) by taro_kun)
- DavidK commented on 2019-09-19 21:22 (UTC)
- Arch Linux User Repository
- holyArch commented on 2023-07-03 16:49 (UTC)
- mirh commented on 2023-06-29 15:53 (UTC)
- visious5d commented on 2023-06-18 09:59 (UTC) (edited on 2023-06-18 10:53 (UTC) by visious5d)
- sebalis commented on 2023-06-15 13:51 (UTC)
- Anakievs commented on 2023-06-15 13:14 (UTC) (edited on 2023-06-15 13:18 (UTC) by Anakievs)
- sebalis commented on 2023-06-14 23:24 (UTC)
- Arch Linux User Repository
- JerryXiao commented on 2023-07-12 02:04 (UTC)
- TheExplorer commented on 2023-07-09 11:16 (UTC)
- commented on 2022-09-20 23:55 (UTC)
- airgap97 commented on 2022-02-15 21:18 (UTC) (edited on 2022-02-16 00:30 (UTC) by airgap97)
- Wild_Penguin commented on 2021-11-26 12:05 (UTC)
- auriculaire commented on 2021-11-14 09:39 (UTC)
Arch Linux User Repository
nvidia-340xx-dkms 340.108-30 on 5.18.0-arch1-1 works fine. Thank you very much.
lmh69 commented on 2022-05-29 12:52 (UTC) (edited on 2022-05-29 13:09 (UTC) by lmh69)
@poluyan I was able to get a clean compilation using the @Viterzgir patch for 5.18 kernel, with 2 modifications. First one to «fix» the error in nv-vm.c
- return pci_map_sg(dev, sg, 1, PCI_DMA_BIDIRECTIONAL); + return dma_map_sg(&dev->dev, sg, 1, DMA_BIDIRECTIONAL); - pci_unmap_sg(dev, sg, 1, PCI_DMA_BIDIRECTIONAL); + dma_unmap_sg(&dev->dev, sg, 1, DMA_BIDIRECTIONAL);
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'acpi_fetch_acpi_dev'
that was replacing the @Viterzgir patch for nv-acpi.c, using this one that disable the acpi for the nvidia module: https://gist.github.com/joanbm/c00f9e19731d80269a4badc595f63b68
Subject: [PATCH] Buildfix NVIDIA 470.103.01 for Linux 5.18-rc2 acpi_bus_get_device was removed and its trivial replacement acpi_fetch_acpi_dev is GPL-exported, so just disable ACPI support as I don't want to deal with it. -#if defined(NV_LINUX_ACPI_EVENTS_SUPPORTED) +#include +#if defined(NV_LINUX_ACPI_EVENTS_SUPPORTED) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0))
I havent check if the module is properly working using this, yet.
poluyan commented on 2022-05-28 20:36 (UTC)
@calvinh, no. I have an error using this patch. Something is wrong with pci_map_sg, pci_unmap_sg and PCI_DMA_BIDIRECTIONAL. I can't find extra patch for this error fix. Please share if you find it.
calvinh commented on 2022-05-28 19:55 (UTC)
Anybody has success using Viterzgir's patch?
Zodigram commented on 2022-05-20 05:43 (UTC)
Thanks so much for maintaining this!
sebalis commented on 2022-05-20 03:13 (UTC)
I was able to avoid the message about a compiler mismatch and the subsequent non-zero exit status of the dkms install by changing PKGBUILD. I added a setting to the environment variable CC to the calls to make, turning
for both lines. Maybe the maintainers would like to incorporate that change?
Arch Linux User Repository
@holyArch I guess you've missed my suggestion to recompile MPV with gl-x11 enabled. The compilation is just few minutes. Read below for the link.
holyArch commented on 2023-07-03 16:49 (UTC)
True vdpau (hwdec=vdpau and vo=vdpau) doesn't work in mpv for months now. The only workaround is to use hwdec=vdpau-copy and vo=gpu, but this is more CPU intensive than it used to be. It sucks.
mirh commented on 2023-06-29 15:53 (UTC)
Does any of you people still have any usage for xorg-server1.19-git? I got a delete request for it and I'm unsure about its usefulness too.
visious5d commented on 2023-06-18 09:59 (UTC) (edited on 2023-06-18 10:53 (UTC) by visious5d)
Hi all, for those who want the build the driver maually.
sebalis commented on 2023-06-15 13:51 (UTC)
Haven’t got a large variety of formats available, but it seems not to be working as you described.
Anakievs commented on 2023-06-15 13:14 (UTC) (edited on 2023-06-15 13:18 (UTC) by Anakievs)
@sebalis MPV works but the VDPAU doesn't work. Run this "mpv --no-config --hwdec=vdpau filename". When the video pops hold "i". On the first few lines you should see "(hwdec: vdpau)". Example:
Video: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) (hwdec: vdpau)" Try on different files with different codecs. if you see it at least once then it's working.
sebalis commented on 2023-06-14 23:24 (UTC)
mpv works for me (Dell Latitude E6510 with nvidia-340xx-dkms).
Copyright © 2004-2023 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.
Arch Linux User Repository
@JerryXiao - You'll need to modify this per kernel package changes.
kiffmet commented on 2019-10-08 20:18 (UTC) (edited on 2019-10-08 20:22 (UTC) by kiffmet)
Hey can you please add this patch? It fixes the usercopy error in dmesg. https://pastebin.com/7ERSX7D0
yigitdnz commented on 2019-10-07 15:34 (UTC)
@osvcos Thank you. It worked.
osvcos commented on 2019-10-07 11:55 (UTC)
@yigitdnz Try with sudo env IGNORE_CC_MISMATCH=1 dkms install -m nvidia -v 340.107 -k 4.19.77-1-lts
yigitdnz commented on 2019-10-06 21:20 (UTC) (edited on 2019-10-06 21:20 (UTC) by yigitdnz)
And upgrading to kernel 4.19.77-1-lts broke my nvidia. I timeshifted back to kernel 4.19.76-1-lts.
I get this when I try to upgrade: "Error! Bad return status for module build on kernel: 4.19.77-1-lts (x86_64) Consult /var/lib/dkms/nvidia/340.107/build/make.log for more information."
leopseft commented on 2019-10-06 12:43 (UTC)
Upgrading to the latest kernel 5.3.4 broke my nvidia and I had no graphics. Downgrading to the previous one 5.3.1 got error for gcc-version-check failed. Intalling the latest kernel again and removing the nvidia package and reinstalling it again triggerd the dkms hook with no error that time. Really strange.
JerryXiao commented on 2019-10-06 05:38 (UTC)
@taro_kun You currently have nvidia-340xx-dkms 340.107-90 installed, upgrade to 340.107-91
taro_kun commented on 2019-10-06 02:10 (UTC) (edited on 2019-10-06 02:19 (UTC) by taro_kun)
Package won't build for me on 5.3.1 kernel. Not sure if it just needs an update or if the problem is on my end. Here's the log: https://pastebin.com/trPMeCSB
DavidK commented on 2019-09-19 21:22 (UTC)
Needs updated patches for 5.3 kernel, won't compile as is.
Copyright © 2004-2023 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.
Arch Linux User Repository
@holyArch I guess you've missed my suggestion to recompile MPV with gl-x11 enabled. The compilation is just few minutes. Read below for the link.
holyArch commented on 2023-07-03 16:49 (UTC)
True vdpau (hwdec=vdpau and vo=vdpau) doesn't work in mpv for months now. The only workaround is to use hwdec=vdpau-copy and vo=gpu, but this is more CPU intensive than it used to be. It sucks.
mirh commented on 2023-06-29 15:53 (UTC)
Does any of you people still have any usage for xorg-server1.19-git? I got a delete request for it and I'm unsure about its usefulness too.
visious5d commented on 2023-06-18 09:59 (UTC) (edited on 2023-06-18 10:53 (UTC) by visious5d)
Hi all, for those who want the build the driver maually.
sebalis commented on 2023-06-15 13:51 (UTC)
Haven’t got a large variety of formats available, but it seems not to be working as you described.
Anakievs commented on 2023-06-15 13:14 (UTC) (edited on 2023-06-15 13:18 (UTC) by Anakievs)
@sebalis MPV works but the VDPAU doesn't work. Run this "mpv --no-config --hwdec=vdpau filename". When the video pops hold "i". On the first few lines you should see "(hwdec: vdpau)". Example:
Video: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) (hwdec: vdpau)" Try on different files with different codecs. if you see it at least once then it's working.
sebalis commented on 2023-06-14 23:24 (UTC)
mpv works for me (Dell Latitude E6510 with nvidia-340xx-dkms).
Copyright © 2004-2023 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.
Arch Linux User Repository
Well, it has two more patches (0012-kernel-6.2.patch and 0013-kernel-6.3.patch). That's why I'm asking. Anyway, thank you for the answer.
JerryXiao commented on 2023-07-12 02:04 (UTC)
TheExplorer commented on 2023-07-09 11:16 (UTC)
Hello! LTS is now 6.1.38. Please update the patches, or is it enough to have 0011-kernel-6.0.patch ?
commented on 2022-09-20 23:55 (UTC)
I just installed on my acer aspire 6920 laptop and it worked without problem. No extra kernel parameter added.
Kernel: 5.15.68-1-lts GCC: 12.2.0 GPU: Nvidia GeForce 9500M GS
airgap97 commented on 2022-02-15 21:18 (UTC) (edited on 2022-02-16 00:30 (UTC) by airgap97)
it does not work after update [gcc] [toolchain]
upd : you need to reinstall all the drivers (nvidia-utils, opencl-nvidia), so they pick up the new version of gcc.
Wild_Penguin commented on 2021-11-26 12:05 (UTC)
I'm having trouble getting X.org to pickup te IgnoreABI serverflag. See: https://bbs.archlinux.org/viewtopic.php?id=271620
auriculaire commented on 2021-11-14 09:39 (UTC)
After adding: Section "ServerFlags" Option "IgnoreABI" "1" EndSection in "/usr/share/X11/xorg.conf.d/10-nvidia.conf" which is in "/usr/share/X11/xorg.conf.d/20-nvidia.conf", the nvidia-340xx-lts-dkms module is working well on linux-lts. Thanks a lot.
Copyright © 2004-2023 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.