Commit e7dd4b05 authored by librewish's avatar librewish

update mhwd-db

parent cc2e7fbf
......@@ -2,7 +2,7 @@
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."
VERSION="2020.03.26"
VERSION="2020.06.07"
FREEDRIVER="false"
PRIORITY="21"
......@@ -66,12 +66,16 @@ post_install()
_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"
echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
echo "nvidia-uvm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
if [ ! "$(pgrep X)" ]; then
modprobe nvidia-drm
modprobe nvidia-uvm
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()
sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}"
fi
sed -i 's/MODULES=.*/MODULES=()/g' /etc/mkinitcpio.conf
mkinitcpio -P
mhwd-gpu --check
}
......@@ -2,7 +2,7 @@
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."
VERSION="2019.10.25"
VERSION="2020.06.07"
FREEDRIVER="false"
PRIORITY="21"
......@@ -67,12 +67,16 @@ post_install()
_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"
echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
echo "nvidia-uvm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
if [ ! "$(pgrep X)" ]; then
modprobe nvidia-drm
modprobe nvidia-uvm
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()
sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}"
fi
sed -i 's/MODULES=.*/MODULES=()/g' /etc/mkinitcpio.conf
mkinitcpio -P
mhwd-gpu --check
}
......@@ -2,7 +2,7 @@
NAME="video-nvidia-dkms"
INFO="Closed source NVIDIA drivers for linux."
VERSION="2019.10.25"
VERSION="2020.06.07"
FREEDRIVER="false"
PRIORITY="8"
......@@ -50,9 +50,13 @@ post_install()
# Without this 'glxgears' don't work in live-session
MODULES_LOAD="/etc/modules-load.d"
echo "nvidia-drm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
echo "nvidia-uvm" >> "${MODULES_LOAD}/mhwd-gpu.conf"
if [ ! "$(pgrep X)" ]; then
modprobe nvidia-drm
modprobe nvidia-uvm
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()
if [ -f "${MHWDGPU_MODLDNVIDIA}" ]; then
sed -i '/^nvidia/d' "${MHWDGPU_MODLDNVIDIA}"
fi
sed -i 's/MODULES=.*/MODULES=()/g' /etc/mkinitcpio.conf
mkinitcpio -P
mhwd-gpu --check
}
......@@ -2,7 +2,7 @@
NAME="video-linux"
INFO="Standard open source drivers."
VERSION="2018.05.04"
VERSION="2020.06.07"
FREEDRIVER="true"
PRIORITY="2"
......@@ -26,7 +26,8 @@ DEPENDS="xf86-video-ati
vulkan-intel
vulkan-radeon
opencl-mesa
beignet
intel-compute-runtime
libva-intel-driver
libva-mesa-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