Skip to content

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.

4 points22 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
4 · 100% up
Kind
Text
ID
ehph74

Author

21
posts
141
comments
2
media
View profile

24 comments

I like how you call it novideo.

7 points

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.

2 points

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?

3 points

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.

2 points

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.

glxinfo -B #mesa-demos
glxinfo32 -B #lib32-mesa-demos
3 points

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.

2 points

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.

2 points

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

2 points

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.

2 points

Now the nvidia-340xx package is whining about a nonexistent file.

==> Making package: nvidia-340xx 340.107-90 (Mon Dec 30 12:39:00 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading NVIDIA-Linux-x86_64-340.107-no-compat32.run...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36.9M  100 36.9M    0     0  7241k      0  0:00:05  0:00:05 --:--:-- 7378k
  -> Found kernel-4.11.patch
  -> Found kernel-5.0.patch
  -> Found kernel-5.1.patch
==> Validating source files with sha512sums...
    NVIDIA-Linux-x86_64-340.107-no-compat32.run ... Passed
    kernel-4.11.patch ... Passed
    kernel-5.0.patch ... Passed
    kernel-5.1.patch ... Passed
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-340.107-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.107............................................................................................................... 

........................................................................................... 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...

2 points
unknown author

Deleted before we saved it.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.