How do I downgrade an AUR package?
I'm having performance issues in Minecraft. My last known good configuration was Minecraft 1.14.4, Linux 4.14, and novideo 340.107 on Manjaro, installed to my mechanical hard drive. Now, I am on Minecraft 1.15, Linux 5.4.6, and novideo 340.108 on Arch, installed to my SSD. I think it's an issue with my novideo drivers because the Minecraft community was unable to point to any known performance issues with 1.15.x, and downgrading Minecraft to 1.14.4 did not fix the issue. Now, here's where my original question comes in. I know novideo 340.107 worked, so I want to try that version. My novideo drivers are provided by the AUR package nvidia-340xx. I was able to find out about the Arch Linux Archive to downgrade official packages, but that does not appear to cover the AUR. So how do I downgrade an AUR package, or is there a relevant known issue somewhere else?
Edited 30 Dec 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 4 · 100% up
- Kind
- Text
- ID
- ehph74
24 comments
I like how you call it novideo.
It's because throughout my history of using Linux, their crappy drivers alone have caused more trouble than everything else combined, across all distributions. Nouveau is performs well and runs cool, but is too unstable. The proprietary driver is buggy, performs badly, and runs hot, but doesn't crash. In fact, today I found out that the proprietary driver literally performs worse than no driver at all. The reason why I won't go with the no driver option is because it only displays at 1024x768, applications that want GPU acceleration (such as Minecraft) won't launch, and my system can't wake from sleep.
This really just sounds like you are configuring the wrong things...
FWIW what's your graphics card? Are you certain you need the 340xx line?
I know right.. It's a PITA. It took me over a year (and switching distros) to get my Optimus-equipped laptop to output video over HDMI.
Now everything runs on NVIDIA all the time, completely killing battery life. Great.
Once but never again, nvidia.
Take the PKGBUILD, change the pkgver down a version and rebuild, do the same for nvidia-340xx-utils and lib32-nvidia-340xx-utils packages.
That said, since this was primarily an update to fix build issues, and your version range being quite large, I'd suggest the LTS kernel or so before that, and actually verifying that you have glx properly set up by looking at e.g.
I installed nvidia-340xx with pacaur. Do I need to remove it and the dependencies with pacaur -R before doing this?
Does my "version range" refer to my kernel?
"glxinfo" and "glxinfo32" do not seem to appear in the PKGBUILD for nvidia-340xx and do not seem to be valid commands on my system.
No you can install old versions over new versions which will invoke a downgrade (and also properly handle "broken" dependency resolution).
The packages providing these commands are mentioned in the comment the '#' after the command tells you the package name.
Yes it refers to your kernel, that's two years worth of kernel updates you immediately jumped over, that holds a much more likely chance for regression than that nvidia version bump.
might not be enough to just reduce the version. could be other changes in the PKGBUILD. best is to go to https://aur.archlinux.org/cgit/aur.git/log/?h=nvidia-340xx , click on your old commit and download the .tar.gz with the old PKGBUILD and any other old files within
Changing the version did not work, so I'm going to try using an old commit like you suggested.
Also, today, I found out that the proprietary driver is so crappy that it literally has worse performance than software rendering and no driver at all. Unfortunately, I still have to use it because I need sleep mode (not functional without a driver) and 1920x1080 (no driver=1024x768), and cannot have random crashes (on nouveau). My next laptop will not have novideo hardware unless they fix their crappiness by then.
Now the nvidia-340xx package is whining about a nonexistent file.
........................................................................................... patching file kernel/uvm/nvidia_uvm_lite.c patching file kernel/nv-drm.c patching file kernel/os-interface.c patching file kernel/uvm/nvidia_uvm_lite.c patching file kernel/uvm/nvidia_uvm_lite.c patching file kernel/nv-drm.c ==> Starting build()... cat: /usr/lib/modules/extramodules-ARCH/version: No such file or directory ==> ERROR: A failure occurred in build(). Aborting...
Deleted before we saved it.
Deleted before we saved it.