You are not logged in.
marol wrote:loqs wrote:Edit: ...
Yes, I had similar result.
You mean 470.199.02 worked for you too without requiring a patch for linux 6.4?
...
No, it didn't. I just remember this part:
--no-depmod nvidia/470.199.02 -k 6.4.1-arch2-1
Offline
nvidia-470xx-utils 470.182.03-2 currently in AUR produces the following DKMS failure with linux 6.4.1-arch2-1
(6/6) Install DKMS modules
==> dkms install --no-depmod nvidia/470.182.03 -k 6.4.1-arch2-1
Error! Bad return status for module build on kernel: 6.4.1-arch2-1 (x86_64)
Consult /var/lib/dkms/nvidia/470.182.03/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/470.182.03 -k 6.4.1-arch2-1' exited 10
After updating the PKGBUILD to use 470.199.02 without adding an additional patch for linux 6.4 and in fact removing the patch used for linux 6.3 DKMS no longer fails
(6/6) Install DKMS modules
==> dkms install --no-depmod nvidia/470.199.02 -k 6.4.1-arch2-1
==> depmod 6.4.1-arch2-1
Offline
I just rebooted and everything is working without a need to tty2! SOLVED!!!
Offline
Thanks a ton to loqs. Your solution worked like a charm and it installed nvidia-470xx-dkms-470.199.02-1 nvidia-470xx-utils-470.199.02-1
opencl-nvidia-470xx-470.199.02-1 packages for my GeForce GT 710 graphics card. Here are the steps for someone who might need them:
1. Uninstalled these packages : sudo pacman -R nvidia-470xx-utils nvidia-470xx-dkms nvidia-470xx-settings
2. In terminal entered : git clone https://aur.archlinux.org/nvidia-470xx-utils.git
3. Changed directory : cd nvidia-470xx-utils/
4. Downloaded patch : curl -o PKGBUILD.diff http://ix.io/4zP5
5. Applied the patch : git apply -v PKGBUILD.diff
6. Made package anew : makepkg -rsi
7. Installed nvidia-470xx-utils package group with pacman -U...Packages (3) nvidia-470xx-dkms-470.199.02-1 nvidia-470xx-utils-470.199.02-1 opencl-nvidia-470xx-470.199.02-1
8. All done! Install DKMS modules
==> dkms install --no-depmod nvidia/470.199.02 -k 6.1.38-1-lts
==> dkms install --no-depmod nvidia/470.199.02 -k 6.4.2-zen1-1-zen
==> dkms install --no-depmod nvidia/470.199.02 -k 6.4.2-arch1-1
==> dkms install --no-depmod nvidia/470.199.02 -k 6.4.2-x64v2-xanmod1-3
==> depmod 6.4.2-arch1-1
==> depmod 6.1.38-1-lts
==> depmod 6.4.2-x64v2-xanmod1-3
==> depmod 6.4.2-zen1-1-zen
Last edited by drtkm (2023-07-08 16:06:48)
Offline
I had this problème doing a update this morning pacman -Syu, and got stuck at booting 'Reached Graphical target interface' so did a timeshift and restored my system and then read these posts
So I'm back on the 6.3.9 kernel for the moment
Will this problem running >6.4 kernels and 470 nvidia be 'solved' in the coming days ? and therefore I can just wait awhile or must I try the above post from drtkm ?
Thanks
Last edited by Trevor_B (2023-07-09 07:54:48)
Offline
Will this problem running >6.4 kernels and 470 nvidia be 'solved' in the coming days ? and therefore I can just wait awhile or must I try the above post from drtkm ?
https://aur.archlinux.org/packages/nvid … ent-923362 At least a week. The prospective maintainer also wants to add a pointless patch for linux 6.4.
Last edited by loqs (2023-07-09 08:51:58)
Offline
Trevor_B wrote:Will this problem running >6.4 kernels and 470 nvidia be 'solved' in the coming days ? and therefore I can just wait awhile or must I try the above post from drtkm ?
https://aur.archlinux.org/packages/nvid … ent-923362 At least a week. The prospective maintainer also wants to add a pointless patch for linux 6.4.
Hi
Thanks, I'll just wait then, no worries
Offline
I tried drtkm work arround
all seems perfect from 1 to 6
But # 7 gives me an error
Installed nvidia-470xx-utils package group with
pacman -U...Packages (3) nvidia-470xx-dkms-470.199.02-1 nvidia-470xx-utils-470.199.02-1 opencl-nvidia-470xx-470.199.02-1
This doesn't work for me (probably because I'm doing something wrong)
I also tried
pacman -U nvidia-470xx-dkms-470.199.02-1 nvidia-470xx-utils-470.199.02-1 opencl-nvidia-470xx-470.199.02-1
But get
error: 'nvidia-470xx-dkms-470.199.02-1': could not find or read package
error: 'nvidia-470xx-utils-470.199.02-1': could not find or read package
error: 'opencl-nvidia-470xx-470.199.02-1': could not find or read package
what am I doing wrong ?
Offline
What was the error from makepkg -rsi? Does the following work? (Has to be run in the directory you built the packages in)
pacman -U nvidia-470xx-dkms-470.199.02-1-x86_64.pkg.tar.zst nvidia-470xx-utils-470.199.02-1-x86_64.pkg.tar.zst opencl-nvidia-470xx-470.199.02-1-x86_64.pkg.tar.zst
Offline
the makepkg -rsi went well
your line works as well, so tried contining with line 8
Line #8 onwards
doesn't work
dkms install --no-depmod nvidia/470.199.02 -k 6.1.38-1-lts
Error! Your kernel headers for kernel 6.1.38-1-lts cannot be found at /usr/lib/modules/6.1.38-1-lts/build or /usr/lib/modules/6.1.38-1-lts/source.
Please install the linux-headers-6.1.38-1-lts package or use the --kernelsourcedir option to tell DKMS where it's located
which is probably normal as I don't believe I have a lts kernel just the 6.3.9-arch-1
Last edited by Trevor_B (2023-07-13 13:42:55)
Offline
Forget step 8, it's completely unnecessary. Pacman takes care of that via an alpm hook.
Offline
Thanks, rebooted and installing latest updates now, either it works, or I'll timeshift back a day,
Offline
Step 7 is pointless as the i option passed to makepkg installs the generated packages, it also fails as the packag names passed to pacman -U must be complete filenames and include paths if needed.
Last edited by loqs (2023-07-13 13:52:02)
Offline
Okay 6.4.3-arch-1 installed and running
Effectively, I only needed
1. Uninstalled these packages : sudo pacman -R nvidia-470xx-utils nvidia-470xx-dkms nvidia-470xx-settings
2. In terminal entered : git clone https://aur.archlinux.org/nvidia-470xx-utils.git
3. Changed directory : cd nvidia-470xx-utils/
4. Downloaded patch : curl -o PKGBUILD.diff http://ix.io/4zP5
5. Applied the patch : git apply -v PKGBUILD.diff
6. Made package anew : makepkg -rsi
Many thanks for the heads up loqs & Scimmia
Maybe one day I'll buy a new nvidia card .... but it works just fine, but so so old
Offline
step 1 there is pointless as well
Offline
Maybe next time you could test precompiled packages from herecura repository maintained by Ike Devolder?
First remove all outdated packages from AUR (some of them not fit the same version), etc.
Repository listing:
pacman -Sql herecura | grep nvidia-470
nvidia-470xx-bede
nvidia-470xx-bede-lts
nvidia-470xx-dkms
nvidia-470xx-settings
nvidia-470xx-settings-debug
nvidia-470xx-utils
opencl-nvidia-470xx
Last edited by Fixxer (2023-07-13 19:00:09)
Offline
Okay 6.4.3-arch-1 installed and running
5. Applied the patch : git apply -v PKGBUILD.diff
When i execute this command, i get an error:
Checking patch PKGBUILD...
error: while searching for:
pkgbase=nvidia-470xx-utils
pkgname=('nvidia-470xx-utils' 'opencl-nvidia-470xx' 'nvidia-470xx-dkms')
pkgver=470.182.03
pkgrel=2
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom')
error: patch failed: PKGBUILD:6
error: PKGBUILD: patch does not apply
Any ideas how to solve it?
Offline
You don't, the AUR dkms package was updated on 2023-08-01 and has patches for 6.4 and 6.5
So try to just install that in ordinary fashion.
Offline
I wrote a blog on NVidia forum a similar one linuxquestions.org on this. I can't say it's your problem but it might be relevant. I'm using my NVidia 1050 at the moment using newest NVidia driver (1/1/2023 last updated).
"Nvidia driver, also many other ?alsa, do not work on new kernel because of ________"
(pre-made .ko or dowloaded and compiled from nvidia.com - either)
https://www.linuxquestions.org/question … 175721457/
believe it or not, Linux Kernel ACL changes a structure which effects IF THE (older) NVidia were downloaded / compiled / installed (failed during build - but if you got a pre-packaged .KO it might freeze your pc or who knows what). these drivers assume the kernel structure has (particularly important thing) so far down in the structure. ACL instead of adding at the end of structure put's elements scattered in it, causing good old .ko to fail ONLY for that reason.
background: i was upgrading from linux-kernel-4.16.x to linux-kernel-5.11.x. it was my option at the time that Ubuntu who'd caused the issue had interests in not fixing it while NVIDIA corporate on the other hand had no vested interest in (immediately) fixing it. why i (am not allowed) to say (for forum rules reasons).
i again state it may not be related to original post: idk
Last edited by xlfs-0.2 (2023-08-14 21:58:42)
Offline
i forgot to say i have full GL and EGL support for 1050 on my linux distro by disabling ACL (rather than changing structure and hoping some other problem doesn't pop in, yes, just removed ACL from kernel .config). however disabling ACL "isn't allowed on ubuntu" and I can't say what Arch has done.
Offline
@TempusNemini, if you didn't understand a single thing of what xlfs-0.2 wrote: don't worry.
Nothing of those incoherent ramblings makes any sense and the post gets disqualified "off topic" by "using newest NVidia driver" (GF 1050 is a pascal chip, so that's the 535xx driver)
If you've any doubts, look at their other, likewise incoherently rambling, posts.
Offline
I am certain that in early 2023 the new NVidia driver would not compile for linux-5.11.x and can prove it.
/usr/src
NVIDIA-Linux-x86_64-515.57 linux nvidia-uninstall.log
NVIDIA-Linux-x86_64-515.57.run linux-5.11.8 user.warn
NVIDIA-Linux-x86_64-525.85.05 nvidia-515.57 x
NVIDIA-Linux-x86_64-525.85.05.run nvidia-installer.log
I'm not un-certain about my build I'm 100% un-arguably able to prove it, and said it may or may not be related to his loading of a NVIDIA kernel module who's origin was not specified. I made 0 errors in my post and was trying to be helpful.
Last edited by xlfs-0.2 (2023-08-14 21:54:12)
Offline
And what do your dated kernel and nvidia drivers or your inability to compile something that might or not at the time have required a patch to align w/ more recent kernels (I assume what your disjointed ramblings about ALCs boil down to) to do with anything?
Also the thread subject is very specific about the relevant driver series, so i editing out
I said from the beginning I wasn't sure that my NVidia driver and his are the same.
was a good idea, because it would suggest that you don't know how numbers work.
And I don't think you made errors - I think you're a shitposting troll.
Offline