This projects builds mesa git frequently with llvm svn snapshots and LTO enabled. In addition to that libdrm updates are provided aswell.
For x86_64 you have to enable both the 64bit and 32bit repositories for llvm and mesa:
For llvm manually create a che-llvm.repo file in /etc/yum.repos.d/ with the following content:
[che-llvm] name=Copr repo for llvm owned by che baseurl=https://copr-be.cloud.fedoraproject.org/results/che/llvm/fedora-$releasever-$basearch/ skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/che/llvm/pubkey.gpg enabled=1 enabled_metadata=1 [che-llvm-x86] name=Copr repo for llvm i386 owned by che baseurl=https://copr-be.cloud.fedoraproject.org/results/che/llvm/fedora-$releasever-i386/ skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/che/llvm/pubkey.gpg enabled=1 enabled_metadata=1
For mesa and libdrm create a che-mesa.repo file in /etc/yum.repos.d/ with the following content:
[che-mesa] name=Copr repo for mesa owned by che baseurl=https://copr-be.cloud.fedoraproject.org/results/che/mesa/fedora-$releasever-$basearch/ skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/che/mesa/pubkey.gpg enabled=1 enabled_metadata=1 [che-mesa-x86] name=Copr repo for mesa i386 owned by che baseurl=https://copr-be.cloud.fedoraproject.org/results/che/mesa/fedora-$releasever-i386/ skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/che/mesa/pubkey.gpg enabled=1 enabled_metadata=1
Important for distribution upgrades or first time installs:
The packages beignet and pocl are not supplied by the repository but installed by default with new installs and distro upgrades, since they both rarely build against llvm svn and mesa git. Please remove the packages manually to avoid any errors when installing the mesa and llvm updates the first time or after a distribution upgrade. For various reasons i do not want to obsolete both packages to get them removed automatically:
dnf remove beignet pocl
Mouse clicks not working in GDM/Gnome-Shell/Mutter:
Additionally the latest mesa exposes RGB10 with radeonsi by default. This leads to the problem with gdm and gnome-shell that mouse clicks are not recieved by the applications when using wayland. If you are affected by the problem the workaround is to turn off RGB10 exposure to gdm/gnome-shell:
echo "allow_rgb10_configs=false" >> /etc/environment
The problem has been reported by Mikhail Gavrilov and he was also kind enough to notify me of the workaround that was provided on the amd-gfx mailinglist. He also reported the problem upstream: Bug Report. Thank you Mikhail!
How do i use amdgpu for my si/cik card to get vulkan support?
Important: If you make your system unbootable by screwing up your grub.cfg, do not blame me! I am not recommending you to do this change!
For SI cards the following kernel boot parameters will enable the amdgpu kernel driver and turn off radeon support:
For CIK cards the following kernel boot parameters will enable the amdgpu kernel driver and turn off radeon support:
If you want to run Xorg based sessions with your SI or CIK card and the amdgpu kernel driver you will also need to install the amdgpu xorg driver:
dnf install xorg-x11-drv-amdgpu
How do i get back to stock versions of mesa and llvm?
For that you simply disable the repositories and run:
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
|Fedora 27||i386 (56)*, x86_64 (111)*||Fedora 27 (255 downloads)|
|Fedora 28||i386 (319)*, x86_64 (888)*||Fedora 28 (45 downloads)|
* Total number of packages downloaded in the last seven days.
External Repository List
The following repositories are accessible during builds