Unusual lag since 1.0.0 on Windows (not Mac)

Since update to 1.0.0 on Windows, Obsidian lags a lot. I had this before when Obsidian on Windows updated to 0.16.2 or 0.16.3. With the next update, issue disappeared and only returned with update to 1.0.0.
No issues on Mac.

Example videos of new vault with safe mode on.
In my old vault with many plugins, typing lag is ca. 0,5 sec. In this vanilla vault, maybe 0,2 sec.

To demonstrate the lag in this video, I selected text by holding Shift + Arrow down. You will see that for after highlighting some lines, nothing happens anymore. Only when I released the keyboard keys, the rest of the text got highlighted.

3 Likes

Thank you for posting this - I had begun to think my 'pooter was the problem – but I have been experiencing just this series of issues.

2 Likes

I’m curious whether it does this in the Help vault. I haven’t experienced this on Windows yet and I have a rather large vault. I’m just guessing. Hopefully you can resolve this. Good luck!

The help vault doesn’t exist anymore for a while, but I tested it in the Sandbox vault. While the typing lag is hardly noticeable (but I think I do notice the same ca. 0,2s lag), the lag is clearly noticeable when I try to highlight text by clicking shift + down-arrow.

Hence, it’s not caused by plugins, but the plugins and size of my normal vault make it worse.

2 Likes

I did see this post yesterday, which led me to test on my own vault: Sluggish text selection in v1.0?

Clearly there is something up for some people. Hopefully it will be resolved for you soon. I had already seen posts about certain fixes yet to come in v1.0.1, so it must be around the corner.

Thanks.

Same problem…

On Win10, I’m seeing noticeably sluggish text selection (using mouse) compared to the previous version. Selection lags behind the mouse cursor by a few hundred msec, at least.

I think it’s correlated with the number of split panes in the workspace: seems to get worse as more are opened. Seems to happen in both live preview and source mode. Same in demo vault vs. my own vault.

Anybody else noticing the same? I’d post a screen recording but not sure it would be accurately captured due to frame rate.

Edit: also seeing a similar delay when changing the current note in a pane. About 0.5 seconds, whereas it was <0.1 sec before.

1 Like

I will second this. Also on Windows 10, nothing cpu or graphically intensive running.

I am noticing the markdown rendering in while scrolling now. My vault isn’t very different from yesterday pre-update.

1 Like

I’m seeing this on linux too. Not just highlighting but scrolling using the keyboard is very laggy.

Also a big performance hit connected to dataview. I have a query open in one pane, and typing in another pane, which is not part of the query, spikes cpu usage. The query is constantly refreshing while I type. After closing the pane with the query (or just not typing anything) cpu usage goes back to normal.

1 Like

The OP had an non Obsidian related problem.
For anybody else expiriencing this.

  1. Is there anything other program that is taxing you computer?
  2. can you reproduce with default theme, restricted mode, restart obsidian?

If you still can, please provide a performance snapshot
Ctrl-shift-I/Cmd-opt-i → performance tab → record button → do the action that lags → wait → stop recording → export to file → zip it and upload it here or DM to us on discord

1 Like

Here is one profile. This is in safe mode, default theme obsidian restarted. This is scrolling up with the keyboard holding down the up arrow, and the vim up key. The number of panes open seems to make a difference. With just one pane there is less lag. The recording has three open.

Hope this helps.

Profile-20221014T170417.zip (2.0 MB)

  1. Nothing taxing my computer
  2. This is from my own vault (ie not help/sandbox), with default theme, restricted mode, restarted obsidian

This is me selecting text with the mouse, with several panes open. Lagged even more than usual with the recording turned on. Highlighting lagged behind mouse cursor by several hundred msec

Profile-20221016T094717.zip (2.2 MB)

Same.
Maybe my computer is pretty ancient and so the program became almost unusable. Checked in a new Vault, the same thing: laggy when scrolling and typing text (actually maybe not the same, lags are smaller but present).

Also what I’ve noticed: lags are much smaller when using new window (i.e. without side panels etc)

To add a small data point: I opened the same vault while logged into a different Windows user account, and it worked normally, with no lag. Same plugins enabled etc. So a particular vault by itself does not seem to be a necessary + sufficient cause.

I’m having the same issue’s as OP, plus the typing lag is really disorienting for me.

I have a 144hz monitor and there’s also a noticeable scroll lag when scrolling larger notes with the mouse wheel. All this started sometime after Obsidian 1.0.0. because nothing else changed for me (I wasn’t even home with my PC for 7 days)

For anybody else expiriencing this.

  1. Is there anything other program that is taxing you computer?
  2. can you reproduce with default theme, restricted mode, restart obsidian?

If you still can, please provide a performance snapshot
Ctrl-shift-I/Cmd-opt-i → performance tab → record button → do the action that lags → wait → stop recording → export to file → zip it and upload it here or DM to us on discord

1 Like

Thank you for at least acknowledging us! Such a great community. I have already tried some of these troubleshooting steps:

  1. Disabled all plugins. Lag still present
  2. I have always only used the default theme. Lag still present.
  3. Tried the sandbox vault. Lag a little bit decreased but still present.

There is nothing else taxing my PC which, although an older computer, still runs games fine. I am also on Windows 11 with the latest updates applied. I can say with near 100% confidence that this lag was not present in earlier versions of Obsidian (and I have been a user since the very first publicly available version). It really is noticeable and really takes out the joy of using Obsidian for me.

I will try a couple of other troubleshooting steps tomorrow, including trying a different windows profile and your two suggestions @WhiteNoise.

Failing that, I will record a performance snapshot and upload it here.

Cheers!

I have run into a similar issue on my Win10 machine (couple of years old but Core i7 laptop). Lag on the typing and highlighting of text. I don’t have a large vault or run excess of plugins. I am running Vivaldi as my browser and when I disable hardware acceleration on Vivaldi I notice a BIG improvement on performance on Obsidian. This makes me think it’s a GPU resource issue which my Intel UHD onboard cannot keep up with. Hope this helps.

Yea this lag is getting out of hand. Obsidian is taking 64% cpu load, out of the 75% total. I can’t even get a performance snapshot done (or rather, it has been in the process of computing the “click finished”-button for the last seven minutes.)

I’ll update once I get a sample that actually gets saved (and I remember where the button for that was).

I’m seeing this on Win 10 as well. Scrolling with the keyboard just stops updating the display until I release the arrow keys. Same effect in the Sandbox vault as well, although it is less noticeable. I have been getting around this by scrolling with the mouse which works ok. That is not ideal though for an app that is designed for text editing. Really should be able to use the keyboard.

Profile-20221218T113608.zip (1.6 MB)