Today, I have encountered an error when I tried to install a package and synchronize package databases.
The error refers to mesa-nonfree.db. I verified the site and is up and running, but is missing stable packages. Can someone point me in a good direction?
sudo pacman -Syy ✔
[sudo] password for xxxxxx:
:: Synchronizing package databases...
mesa-nonfree.db failed to download
core 144,7 KiB 312 KiB/s 00:00 [----------------------------------------------------------] 100%
extra 8,6 MiB 14,2 MiB/s 00:01 [----------------------------------------------------------] 100%
multilib 143,8 KiB 342 KiB/s 00:00 [----------------------------------------------------------] 100%
error: failed retrieving file 'mesa-nonfree.db' from nonfree.eu : The requested URL returned error: 404
error: failed to synchronize all databases (unexpected error)
I don’t really understand what to do next. To continue with this one, I must switch entirely to unstable branch all my system ? Till yesterday everything was ok. There were some announcements regarding this?
It was always an unsupported community effort.
Not very dissimilar to adding any other third party repository.
Read the thread. Its not a manjaro thing to ‘announce’, but it was discussed there.
Currently the discussion is at ‘maybe we will continue with smaller scope and help and a modified approach’.
You can choose to continue with it in whatever capacity it exists (which currently does mean using the Unstable Branch), or you can drop it; ex:
I removed the non-free repository and installed the official versions, of course without hardware decoding. The only viable option would be to manually modify and compile the mesa package with the addition of hardware decoding flags. I was expecting at least a common sense thread in which some indications would be given as to how this should be done safely, because I want to stay on the stable branch and not the unstable one.
Aur contains something like: amdonly-gaming-libva-mesa-driver
Maybe this is the simplest way, but it can probably go out of sync with Manjaro repos…
I probably cannot bother by it. From one side, hw decoding in browser is not a huge deal with me, from another, I probably need to find something that will not require my attention to make basic things work, at least not constantly.
P.S. amdonly-gaming-libva-mesa-driver
Ok. I manage to build it, and it works great.
Need to install directx-headers-git in order to build it.
Just thought about it after I did what I did. I also disabled directx dependency and tune CPU optimization.
So got this idea to make my own repo somewhere and build some stuff there.
Need to find time to do this stuff. Need some solution that done once and wold not bother me after.
I am doing this for stuff I don’t want to build on every system I run e.g. various Microsoft tools I use on Linux (dotnet, azure datastudio, visual studio code, vpn clients etc.)
I think it would have been nice and elegant if when the decision was made to remove the hardware decoding option, a small tutorial would have been made for those who want to recompile their own mesa with the respective options in the safest way to integrate preferably with Manjaro and not pieces thrown here and there through the whole forum.
It wold be nice if mesa got its own repo… Probably. I am not a big expert.
If you have some advice I really can use one now
Is this repo - Packages · GitLab right place to look for Manjaro PKGBUILD files?
Because I cannot compile mesa from here (maybe something on my side, intel vulkan driver wont build)
And, I cannot for example find there libva package.
I want to make few repos for mesa and some other stuff, Idea is to use Manjaro PKGBUILD files where possible, and apply paches to them if necessary. And make different repos for different march - using custom makepkg.conf files.
Any things that I should look firs?
cd /tmp/
git clone https://gitlab.manjaro.org/packages/extra/mesa.git
cd /tmp/mesa/
sed -i '/-D microsoft-clc=disabled/a \ -D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc\' PKGBUILD
makepkg -si
cd /tmp/
rm -Rf mesa
For context, the PGKBUILD just needs to be modified to just include -D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc flag under build()
PS: Please don’t judge people too hard. Not only computer geeks are using Manjaro… I hope you can smile also…
PS2: Think there was an error in my previous script, this one is ok? Can someone make a test, because I can’t right now, or maybe is missing something and must be completed ?
Better than switching to unstable, it would be better to just install arch instead, or one of its variants with graphical installers. Or compile and install mesa from manjaro repos with above change. Even fedora now offers a simple tick in installer to install relevant packages for hardware acceleration from RPMfusion (mentioning it since manjaro was copying their approach). Ubuntu does it since like forever. And this distro still can’t come out with a solution. At least copy the good stuff too while at it.
Why, except for a handful of Manjaro specific packages, Manjaro unstable gets their packages from Arch stable? It’s been my experience that Manjaro unstable is pretty darn stable (using unstable repositories without major problems for years).