milbits / oldcord

Discord theme that tries its best to restore the 2020 UI
87 stars 16 forks source link

hideous amounts of css lag for some reason #45

Closed toydotgame closed 4 months ago

toydotgame commented 4 months ago

hey gamer,,the last couple of days (ive updated from months old 32 bit discord to brand-new-as-of-right-now discord) theres been massive amounts of lag literally only when i have oldcord loaded as a theme. very occasionally in some areas things go smooth but a good 90% of the time typing moving the mouse around clicking on stuff is like a good 3 fps tops

it doesnt seem to be dependent on it being a server, dm, nor whatever is in the actual chat causing lag, it just randomly does this. i have all three of ur oldcord modification css but without them its still insane

im on kde 5 arch linux btw but i literally have no idea how to diagnose css lag so this is kinda a low importance draft issue rn, im suffering but theres not much i can do to figure it out,,im letting you know to see if this can be recreated but if not its so joever lmao oh well

milbits commented 4 months ago

yeah i get it too( though not as strong) but i cant figure out whats causing it 😭😭 im using fedora 40 kde 6, on a ryzen 3 nvidia 3060 btw

milbits commented 4 months ago

might be related to nvidia and flatpak, i use discord (vesktop to be sepcific) on a flatpak and i ran flatpak update, it updated org.freedesktop.Platform.GL.nvidia-550-78 and now everything runs smooth again! if you dont use an nvidia gpu (or installed discord from the arch repos) then i really dont know, sorry

toydotgame commented 4 months ago

yeah i'm running amdgpu so i have no idea. but i am running vencord+openasar and my packages were last updated in april so there might be something there

milbits commented 4 months ago

yeah after a day the lag came back and even worse, i dont know really and this just confirms its not hardware related

toydotgame commented 4 months ago

does the hwaccel option in just normal discord change anything? probably not at this point if gpu isnt the cause. i dont even think chromium css rendering can use hwaccel at all. no idea where it comes from :((

milbits commented 4 months ago

absolutely no change :c

toydotgame commented 4 months ago

tested on win10 ltsc vesktop 32 bit w/o hwaccell (8 gb ram i5-8350U and som fuckass ssd) image image

still horrendous </3

literally how do you diagnose something that is just css. the hover effects on my website are also css only and they lag a bit so yeah css is laggy but like???how

milbits commented 4 months ago

i should try it on Firefox with vencord web, what if its a fucking chromium/electron problem lmao

milbits commented 4 months ago

i replaced some wildcards in profile.css with normal class selecotrs and it significantly sped up opening profiles, thats probably the culprit