Need Help Not Bricking CentOS

General support questions
Post Reply
Immitem
Posts: 8
Joined: 2017/10/28 07:44:34

Need Help Not Bricking CentOS

Post by Immitem » 2021/01/20 11:07:48

Hello there. I am attempting to install CentOS, to run Maya (and other 3D animation software), for the umpteenth but now I actually have (some) time to fiddle with it when something inevitably breaks instead of running to the hills.

Now, this is the tutorial I am following from 2019:

Use the minimal installer for CentOS. Then do this:
yum -y update
yum -y install epel-release
yum -y update
reboot
yum -y install yum-utils
yum -y groups install "GNOME Desktop"

systemctl set-default multi-user.target
--- NOUVEAU Instructions ---grubby ––update-kernel=ALL ––args="rd.driver.blacklist=nouveau nouveau.modeset=0"
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
echo "blacklist nouveau" > /etc/modprobe.d/nouveau-blacklist.conf
dracut /boot/initramfs-$(uname -r).img $(uname -r)
reboot

--- ELREPO/NVIDIA Instruction ---yum install libglnvd*
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install https://www.elrepo.org/elrepo-release-7 ... noarch.rpm
yum -y install nvidia-detect
yum -y install $(nvidia-detect)
systemctl set-default graphical.target
reboot

---Maya dependency script:---https://gitlab.com/users/omento/snippets
chmod +x script-name-here.sh
./script-name-here.sh

If VP2 issues:
sudo ln -s /usr/lib64/libGL.so.1.7.0 /usr/autodesk/maya2019/lib/libGL.so

Maya audio:
LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH maya
yum -y install audiofile-devel

--- MISC ---
VSync I believe is on by default for NVIDIA drivers.
You need to open nvidia-settings and disable it.
Quit and save the app then run nvidia-settings -l. (lowercase L).
Then add this to your ~/.bash_profile:
# Load NVIDIA settings
if [ $(echo $DISPLAY) == ":0" ]; then
nvidia-settings -l
Fi
That just makes it auto-load your profile on login.
you can check to see if VSync is on by running glxgears and waiting for <the first result to print out.

GNOME Tweaks:
yum install gnome-tweak-tool
Go to GNOME Tweaks > Windows > Window Action Key: Super
Otherwise you won't be able to navigate in Maya without wanting to die.
And make sure "Attach Modal Dialogs" is off.



I got up to the part where you disable nouveau (I will never remember how to spell that) and rebooted only to have a kernel panic and a tonne of very long errors that I had no way to copy and paste before it would freeze. So I reinstalled CentOS and made my way up to the nouveau part again and am inquiring as how best to proceed?

Thanks!

User avatar
jlehtone
Posts: 3349
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Need Help Not Bricking CentOS

Post by jlehtone » 2021/01/20 12:39:30

Don't do the "disable nouveau". The NVidia packages from ELRepo do it for you.

Code: Select all

yum install elrepo-release
Defines the ELRepo for you. No need to import key. The above package is in CentOS extras repo.

Post Reply

Return to “CentOS 7 - General Support”