I disabled it as such, and unfortunately I still see the lagginess
~ % cat /Users/daniel/Library/Application\ Support/Sublime\ Text/Packages/User/Preferences.sublime-settings
{
"font_size": 14,
"scroll_past_end": true,
"hot_exit": "disabled",
"hot_exit_projects": false,
"hardware_acceleration": "disabled",
}
However, I also noticed this test in the default settings:
// Enables hardware accelerated rendering. This moves rendering to your GPU,
// allowing for faster rendering at higher resolutions. Changing this
// setting requires an application restart to take effect.
// - "none": Performs CPU rendering.
// - "opengl": Uses OpenGL for rendering. Minimum required version is 4.1
//
// On Mac, this value is overridden in the platform specific settings.
"hardware_acceleration": "none",
Do I need to change a MacOS specific file? I was looking at this for example: Determine if hardware_acceleration is enabled on a Mac? – I followed the instructions (View Package File
-> Preferences (OSX).sublime-settings
), and I see
{
"font_face": "Menlo",
"font_size": 12,
"scroll_past_end": false,
"find_selected_text": false,
"move_to_limit_on_up_down": true,
"close_windows_when_empty": true,
"show_full_path": false,
"hardware_acceleration": "opengl", // this seems worrisome
"open_files_in_new_window": "finder_only",
}
However, maybe the preferences override the platform specific ones? (the OSX file isn’t editable).
Looking at Platform specific configurations – a bit unclear.
The first link says “If hardware acceleration is enabled, upon restart, ST would print the driver info at the very beginning of the console output.” – but I’m not sure how to get the console output when opening sublime, and a bit of searching doesn’t find any tips.
I thought maybe there might be a --verbose
flag, but looks like no:
bin % pwd
/Applications/Sublime Text.app/Contents/SharedSupport/bin
bin % ls
subl
bin % ./subl --verbose .
bin %
TLDR – I think I disabled hardware acceleration, but I’m not positive, and the lag/jitteriness is still there. I tried to verify that I disabled hardware acceleration, but wasn’t able to confidently verify.
Thanks!