Skip to content

Instantly share code, notes, and snippets.

View momaek's full-sized avatar
😍
O Very Good

wentx momaek

😍
O Very Good
View GitHub Profile
@techpeace
techpeace / BigSurGPUFreeze.md
Last active July 21, 2022 10:27
Big Sur GPU freeze issues

Big Sur GPU Bug

Howdy! You‘re here because, ever since you upgraded your 2018 MacBook Pro to Big Sur, you’ve been experiencing consistent beachballing and hard freezing issues. You probably figured this out after finding lots of messages like this in the Console during a lock-up:

AMDRadeonX5000GLDriver.bundle/Contents/MacOS/ATIRadeonX5000SCLib.dylib: #2: No such file or directory
May 25 19:54:19 ogma Adobe CEF Helper (GPU)[3327]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
May 25 19:54:19 ogma VTDecoderXPCService[3328]: getattrlist failed for /Library/GPUBundles/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2: #2: No such file or directory
May 25 19:54:19 ogma VTDecoderXPCService[3328]: getattrlist failed for /System/Library/Extensions/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2: #2: No such file or directory
May 25 19:54:19 ogma VTDecoderXPCService[3328]: getattrlist fai
@wadey
wadey / iterm2.zsh
Last active March 10, 2024 00:32
Change iTerm2 tab color when using SSH
# Usage:
# source iterm2.zsh
# iTerm2 tab color commands
# https://iterm2.com/documentation-escape-codes.html
if [[ -n "$ITERM_SESSION_ID" ]]; then
tab-color() {
echo -ne "\033]6;1;bg;red;brightness;$1\a"
echo -ne "\033]6;1;bg;green;brightness;$2\a"