Comments (12)
@leimao 禁用浏览器的GPU加速有帮助么?是所有Chromium内核的浏览器都会卡顿么?有没有可能是Linux Desktop Composer或者Chromium的问题呢?
from hexo-theme-icarus.
@leimao 禁用浏览器的GPU加速有帮助么?是所有Chromium内核的浏览器都会卡顿么?有没有可能是Linux Desktop Composer或者Chromium的问题呢?
您还别说,我把Chrome还有Brave的Hardware Acceleration关了,似乎滑动的那下就不卡了。这个问题貌似只存在Linux的Chromium内核的浏览器里(至少测试了Chrome和Brave)。另外,Linux下的Firefox我看了下,Hardware Acceleration也是开了的,但是就是不卡。
from hexo-theme-icarus.
那很有可能是浏览器内核或者GPU驱动的问题。我在Ubuntu 22.04 + Chrome 110.0.5481.100 + RTX 3090 (驱动版本 525.78.01)上没有复现这个问题。
from hexo-theme-icarus.
那很有可能是浏览器内核或者GPU驱动的问题。我在Ubuntu 22.04 + Chrome 110.0.5481.100 + RTX 3090上没有复现这个问题。
巧了,我们是一样的配置和Chrome,不过我驱动是515.86.01。不过这个问题应该不是一天两天了,我用Icarus一年多以来始终都有。而且如果是GPU驱动问题的话,Firefox应该也要存在这个现象,但是至少Firefox使用正常。
如果想复现这个问题,得刷新页面后,快速把鼠标移动到scroll bar上,马上拖动。不然加载完时间一长,可能就正常了。
from hexo-theme-icarus.
快速把鼠标移动到scroll bar上,马上拖动。不然加载完时间一长,可能就正常了。
您可以反复刷新拖动,一般来说三四次下来应该会有一次卡死。
from hexo-theme-icarus.
那很有可能是浏览器内核或者GPU驱动的问题。我在Ubuntu 22.04 + Chrome 110.0.5481.100 + RTX 3090上没有复现这个问题。
巧了,我们是一样的配置和Chrome,不过我驱动是515.86.01。不过这个问题应该不是一天两天了,我用Icarus一年多以来始终都有。而且如果是GPU驱动问题的话,Firefox应该也要存在这个现象,但是至少Firefox使用正常。
如果想复现这个问题,得刷新页面后,快速把鼠标移动到scroll bar上,马上拖动。不然加载完时间一长,可能就正常了。
你关闭GPU加速或者使用Firefox没有出现这个问题,很大程度上说明目前Icarus的JavaScript或者CSS实现并没有问题。而且Icarus并没有使用任何自定义滚动条的JavaScript库,所以不太可能是JavaScript导致的。
你可以尝试注释掉这几行代码来禁用自定义滚动条样式。如果依然卡顿,那基本上就能确定是Chromium内核的问题了。
from hexo-theme-icarus.
那很有可能是浏览器内核或者GPU驱动的问题。我在Ubuntu 22.04 + Chrome 110.0.5481.100 + RTX 3090上没有复现这个问题。
巧了,我们是一样的配置和Chrome,不过我驱动是515.86.01。不过这个问题应该不是一天两天了,我用Icarus一年多以来始终都有。而且如果是GPU驱动问题的话,Firefox应该也要存在这个现象,但是至少Firefox使用正常。
如果想复现这个问题,得刷新页面后,快速把鼠标移动到scroll bar上,马上拖动。不然加载完时间一长,可能就正常了。你关闭GPU加速或者使用Firefox没有出现这个问题,很大程度上说明目前Icarus的JavaScript或者CSS实现并没有问题。而且Icarus并没有使用任何自定义滚动条的JavaScript库,所以不太可能是JavaScript导致的。
你可以尝试注释掉这几行代码来禁用自定义滚动条样式。如果依然卡顿,那基本上就能确定是Chromium内核的问题了。
我刚删除了您指出的那几行代码,本地测试了一下删除前和删除后的效果(分别测试了十多次),删除前会卡,删除后不卡。
from hexo-theme-icarus.
我虽然不是很懂CSS,但是似乎::-webkit-scrollbar并不是推荐使用的标准函数。
from hexo-theme-icarus.
因为Firefox不支持这个函数,所以Firefox没有这个问题?
https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar#css.selectors.-webkit-scrollbar
from hexo-theme-icarus.
@leimao ::-webkit-scrollbar 是Webkit下广泛使用的CSS伪元素。我依然认为这是浏览器的bug而非Icarus。
from hexo-theme-icarus.
@leimao ::-webkit-scrollbar 是Webkit下广泛使用的CSS伪元素。我依然认为这是浏览器的bug而非Icarus。
没事,我只是反馈一下用户体验。不晓得有没有其他用户在相似的环境下也有类似的感受,说不定我只是少数者,那么也就没有必要特地去换一种实现方式。
from hexo-theme-icarus.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hexo-theme-icarus.
Related Issues (20)
- 配置中`update_time`设为`auto`后显示的更新时间为构建时间 HOT 9
- 能否添加:调用google翻译的语种选择框?
- easy dark theme support with Bulma plugin HOT 2
- FontAwesome之外的图标支持(如 Tabler Icons 等) HOT 1
- 【已解决】主题与[email protected]不兼容。请不要手贱乱更新依赖。
- 文章比较多的时候首页边栏加载很慢 HOT 3
- YAML files in source folder make icarus crash HOT 4
- Supporting sub-menus
- add multi author support HOT 1
- two columns index gallery layout HOT 2
- option to disable all widgets HOT 1
- make container-inner-max-width configurable HOT 2
- Numbers show different in multiline codeblock snippet HOT 3
- 使用自定义字体时首页文章发布时间栏出现滑动条 HOT 4
- Comment Plugin is render-blocking
- [建议]优化主题性能 HOT 16
- 使用源码安装主题报错 HOT 2
- 文章头部是一张照片的效果是怎么弄的? HOT 3
- 引入 Pjax 以加速网页切换速度
- 源码使用 6.0.0 异常 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-icarus.