mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-04-18 14:42:20 +00:00
Merge pull request #297 from ublue-os/revert-autologin-check
revert: "fix(hardware-setup): REVERT ME, disable desktop-autologin if…
This commit is contained in:
commit
0ba71d35e7
@ -2,7 +2,7 @@
|
|||||||
source /etc/default/bazzite
|
source /etc/default/bazzite
|
||||||
|
|
||||||
# SCRIPT VERSION
|
# SCRIPT VERSION
|
||||||
HWS_VER=2
|
HWS_VER=1
|
||||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||||
HWS_VER_RAN=$(cat $HWS_VERSION_FILE)
|
HWS_VER_RAN=$(cat $HWS_VERSION_FILE)
|
||||||
|
|
||||||
@ -84,13 +84,6 @@ elif [[ $IMAGE_NAME =~ "deck" ]]; then
|
|||||||
systemctl --global disable --now sdgyrodsu.service
|
systemctl --global disable --now sdgyrodsu.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# REVERT ME, disable desktop-autologin if gamescope-autologin is enabled
|
|
||||||
if [[ $IMAGE_NAME =~ "deck" ]]; then
|
|
||||||
if systemctl is-enabled --quiet gamescope-autologin; then
|
|
||||||
systemctl disable --now desktop-autologin
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if grep -qz "Kernel driver in use: radeon" <<< $GPU_ID; then
|
if grep -qz "Kernel driver in use: radeon" <<< $GPU_ID; then
|
||||||
echo "Legacy AMD hardware detected, enabling CIK and SI support in AMDGPU"
|
echo "Legacy AMD hardware detected, enabling CIK and SI support in AMDGPU"
|
||||||
if [[ ! $KARGS =~ "radeon.si_support" ]]; then
|
if [[ ! $KARGS =~ "radeon.si_support" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user