ArtexJay / Obsidian-CyberGlow

A colorful unique theme, giving Obsidian a fresh new look with glow effects and support for accent color. The theme now tries to provide a unique futuristic eye-candy look to obsidian while keeping it usable and familiar to the users. Made to be yours to tweak.
MIT License
82 stars 6 forks source link

CyberGlow - High GPU and Battery Consumption #80

Open OdiJordan opened 6 months ago

OdiJordan commented 6 months ago

I don't know if this is the proper way to address this issue, but since I'm a huge fan of this theme overall, I thought I'd give it a try and post this here, I had this theme installed since couple of days on my PC, today I decided to apply it on my Laptop, Ran Obsidian as usual and installed on my Lenovo ThinkPad that I use for work mainly.

The moment I applied the theme while still on the settings window too, my laptop fans fired up and sounded awfully loud, I instantly opened my task manager on windows, to see that my GPU consumption is around 80% from obsidian alone, in the background without typing a word on it!

Technically my laptop has an integrated (Intel Xe Graphics) / 12th Gen. i7 CPU, which is more than enough to do whatever I do, but that's probably why I didn't notice this issue at all on my desktop back home, I switched to the default theme, and all came back fine.

Please check the screenshot from my task manager attached to this.

Expected behavior I really hope there can be a work around this to use my favorite theme without draining my laptop's battery in less than 3 minutes.

Desktop (please complete the following information):

image

usualstuff commented 4 months ago

Hey there, did you managed to solve the issue? I cant use the theme on my phone because of this.

ArtexJay commented 2 months ago

You can try to fix the issue by disabling custom background image, which can help.

Ive noticed this issue myself and plan on reconstructing my theme to check what exactly causes this issue, though Im quite certain its custom background image setting that causes the lag. Going forward I will most likely disable that setting by default if Style Settings is installed.

ArtexJay commented 3 weeks ago

I am currently looking through the code and monitoring activity in task manager, I'll put out an update that addresses this soon.

ArtexJay commented 2 weeks ago

The code I found that was causing excess resources when idle was a small animation. With it enabled saw task manager CPU usages on my laptop spike from near 0% to around 5-7% or so. This animation code will be disabled and have an option to enable it in style settings with a warning note to it. Hunting around for any other code that could be a contributor as well.