Commit e7dd4b05 authored by librewish's avatar librewish

update mhwd-db

parent cc2e7fbf
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
NAME="video-hybrid-amd-nvidia-dkms-prime-render-offloading" NAME="video-hybrid-amd-nvidia-dkms-prime-render-offloading"
INFO="Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver." INFO="Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver."
VERSION="2020.03.26" VERSION="2020.06.07"
FREEDRIVER="false" FREEDRIVER="false"
PRIORITY="21" PRIORITY="21"
...@@ -66,12 +66,16 @@ post_install() ...@@ -66,12 +66,16 @@ post_install()
_setup_nvidia_powermanagememnt _setup_nvidia_powermanagememnt
# Without this 'glxgears' doesn't work in live-session # Without this 'glxgears' don't work in live-session
MODULES_LOAD="/etc/modules-load.d" MODULES_LOAD="/etc/modules-load.d"
echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf" echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
echo "nvidia-uvm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
if [ ! "$(pgrep X)" ]; then if [ ! "$(pgrep X)" ]; then
modprobe nvidia-drm modprobe nvidia-drm
modprobe nvidia-uvm
fi fi
sed -i 's/MODULES=.*/MODULES=(amdgpu nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf
mkinitcpio -P
} }
...@@ -93,5 +97,7 @@ post_remove() ...@@ -93,5 +97,7 @@ post_remove()
sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}" sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}"
fi fi
sed -i 's/MODULES=.*/MODULES=()/g' /etc/mkinitcpio.conf
mkinitcpio -P
mhwd-gpu --check mhwd-gpu --check
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
NAME="video-hybrid-intel-nvidia-dkms-prime-render-offloading" NAME="video-hybrid-intel-nvidia-dkms-prime-render-offloading"
INFO="Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver." INFO="Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver."
VERSION="2019.10.25" VERSION="2020.06.07"
FREEDRIVER="false" FREEDRIVER="false"
PRIORITY="21" PRIORITY="21"
...@@ -67,12 +67,16 @@ post_install() ...@@ -67,12 +67,16 @@ post_install()
_setup_nvidia_powermanagememnt _setup_nvidia_powermanagememnt
# Without this 'glxgears' doesn't work in live-session # Without this 'glxgears' don't work in live-session
MODULES_LOAD="/etc/modules-load.d" MODULES_LOAD="/etc/modules-load.d"
echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf" echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
echo "nvidia-uvm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
if [ ! "$(pgrep X)" ]; then if [ ! "$(pgrep X)" ]; then
modprobe nvidia-drm modprobe nvidia-drm
modprobe nvidia-uvm
fi fi
sed -i 's/MODULES=.*/MODULES=(i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf
mkinitcpio -P
} }
...@@ -94,5 +98,7 @@ post_remove() ...@@ -94,5 +98,7 @@ post_remove()
sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}" sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}"
fi fi
sed -i 's/MODULES=.*/MODULES=()/g' /etc/mkinitcpio.conf
mkinitcpio -P
mhwd-gpu --check mhwd-gpu --check
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
NAME="video-nvidia-dkms" NAME="video-nvidia-dkms"
INFO="Closed source NVIDIA drivers for linux." INFO="Closed source NVIDIA drivers for linux."
VERSION="2019.10.25" VERSION="2020.06.07"
FREEDRIVER="false" FREEDRIVER="false"
PRIORITY="8" PRIORITY="8"
...@@ -50,9 +50,13 @@ post_install() ...@@ -50,9 +50,13 @@ post_install()
# Without this 'glxgears' don't work in live-session # Without this 'glxgears' don't work in live-session
MODULES_LOAD="/etc/modules-load.d" MODULES_LOAD="/etc/modules-load.d"
echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf" echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
echo "nvidia-uvm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
if [ ! "$(pgrep X)" ]; then if [ ! "$(pgrep X)" ]; then
modprobe nvidia-drm modprobe nvidia-drm
modprobe nvidia-uvm
fi fi
sed -i 's/MODULES=.*/MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf
mkinitcpio -P
} }
...@@ -73,7 +77,8 @@ post_remove() ...@@ -73,7 +77,8 @@ post_remove()
if [ -f "${MHWDGPU_MODLDNVIDIA}" ]; then if [ -f "${MHWDGPU_MODLDNVIDIA}" ]; then
sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}" sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}"
fi fi
sed -i 's/MODULES=.*/MODULES=()/g' /etc/mkinitcpio.conf
mkinitcpio -P
mhwd-gpu --check mhwd-gpu --check
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
NAME="video-linux" NAME="video-linux"
INFO="Standard open source drivers." INFO="Standard open source drivers."
VERSION="2018.05.04" VERSION="2020.06.07"
FREEDRIVER="true" FREEDRIVER="true"
PRIORITY="2" PRIORITY="2"
...@@ -26,7 +26,8 @@ DEPENDS="xf86-video-ati ...@@ -26,7 +26,8 @@ DEPENDS="xf86-video-ati
vulkan-intel vulkan-intel
vulkan-radeon vulkan-radeon
opencl-mesa opencl-mesa
beignet
intel-compute-runtime
libva-intel-driver libva-intel-driver
libva-mesa-driver libva-mesa-driver
libva-vdpau-driver libva-vdpau-driver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment