Closed tur1ngb0x closed 2 years ago
Hello there, @tur1ngb0x can you check if there's a /etc/redhat-release
file on your system?
If yes we can target RHEL and all of its derivatives as well as Fedora.
Greetings.
Yes.
$ cat /etc/redhat-release
Fedora release 36 (Thirty Six)
Additionally
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Workstation Edition Prerelease)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Workstation Edition Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Should be fixed now
Details:
Description:
Expected behaviour:
Additional information:
Steps to reproduce:
git clone https://github.com/geminis3/envycontrol.git
cd envycontrol
sudo python ./envycontrol.py --switch integrated
reboot
lspci | grep -iE '(3d|vga)'
lsmod | grep -i 'nouveau'
Fix:
sudo dracut --force
in a terminal to generate initramfs on Fedora, blacklists the nouveau kernel module successfully.lsmod | grep -i 'nouveau'
Suggestions:
sudo dracut --force --regenerate-all
after switching GPU mode.