Posts

Showing posts from 2019

Fresh take on learning Unreal Engine with Linux

I took a stab at learning UE4 a few years ago but ran out of time. This is my next take on it. I enrolled in  https://www.udemy.com/share/101WeuAkMbdl9WQX4=/  for some help getting started.  I have restarted the course and started at the beginning. I have access to a Clion license through work, so I am using that for my preferred editor. sudo apt-get install --install-suggests --install-recommends mono-devel sudo mkdir -p -m 0755 /opt/clion/bin sudo ln -s /usr/local/bin/clion.sh /opt/clion/bin/clion.sh sudo find /opt/clion -type d -exec chmod 0755 {} \; # initial setup     /bin/rm -rf  /scratch/mkrivacek/UnrealEngine     cd /scratch/mkrivacek     time git clone --single-branch --branch 4.24 https://github.com/EpicGames/UnrealEngine.git         # my_user_name         # github access token     cd UnrealEngine && time ./Setup.sh ; time ./GenerateProjectFiles.sh ; time make         ## accept Register Unreal file types when asked     ./Engine/Binaries/Linux/UE4Ed

Borderlands 3 + Epic Games Store + Lutris

This worked well on machines (Xubuntu 18.04.3) with discrete GPUs.  Could not figure out why my Dell G7 would not use the Nvidia GPU.  Turns out the whole thing was because  I had secure boot enabled and the nvidia driver couldn't be loaded with it enabled. # set nvidia driver 430 # sudo apt-get -y update; sudo apt-get -y dist-upgrade; sudo apt-get -y autoremove; sudo apt-get -y autoclean  ##UPDATE sudo dpkg --add-architecture i386 sudo apt update sudo add-apt-repository ppa:lutris-team/lutris sudo apt-get update sudo apt-get install lutris --install-suggests sudo init 6; exit sudo apt install libvulkan1 libvulkan1:i386 wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' sudo apt-get update sudo apt-get install --install-recommends winehq-stable sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound

Updating passphrase on LUKS home directory

export PARTITION=/dev/mapper/linux1----vg-home sudo cryptsetup luksDump ${PARTITION} sudo cryptsetup luksAddKey ${PARTITION} sudo cryptsetup luksDump ${PARTITION} change user password to new password reboot (to ensure partition is unmounted log in verify LUKS is back with new password then export PARTITION=/dev/mapper/linux1----vg-home sudo cryptsetup luksRemoveKey ${PARTITION}

Netgate SG-1000/SG-1100 + Linux + console access

The magic combination to access the console port on the SG-1X00 series firewalls on linux: user is in dialout group usb to serial is at USB0 cu -l /dev/ttyUSB0 -s 115200 --parity=none --nostop --nortscts